:root {
  --wc-bg-light: #f9f9f9;
  --bs-body-bg: var(--wc-bg-light);
  --wc-font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wc-font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wc-white: #ffffff;
  --wc-bg: #ffffff;
  --wc-surface: #f5f5f5;
  --wc-surface-2: #fbf5ea;
  --wc-border: rgba(0, 0, 0, 0.06);
  --wc-border-strong: rgba(0, 0, 0, 0.16);
  --wc-text: #3A3A38;
  --wc-text-secondary: #6b6b69;
  --wc-muted: rgba(58, 58, 56, 0.55);
  --wc-accent: #111111;
  --wc-accent-hover: #2a2a28;
  --wc-accent-2: rgba(31, 76, 58, 0.12);
  --wc-danger: #dc2626;
  --wc-danger-bg: rgba(220, 38, 38, 0.08);
  --wc-success: #16a34a;
  --wc-warning: #ea580c;

  --wc-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --wc-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  --wc-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
  --wc-radius: 10px;
  --wc-radius-sm: 8px;
  --wc-radius-lg: 12px;

  --wc-input-height: 40px;
  --wc-input-height-lg: 48px;

  /* ── Type scale ─────────────────────────────────────────── */
  --wc-text-2xs: 0.625rem;  /* 10px   – sidebar tags, micro labels */
  --wc-text-xs: 0.72rem;    /* 11.5px – labels, chips, table heads */
  --wc-text-sm: 0.8rem;     /* 12.8px – hints, captions, badges */
  --wc-text-base: 0.875rem; /* 14px   – body text, inputs */
  --wc-text-md: 0.9375rem;  /* 15px   – section titles, nav links */
  --wc-text-lg: 1.5rem;     /* 24px   – stat values */
  --wc-text-xl: 1.75rem;    /* 28px   – page titles */

  /* ── Line heights ────────────────────────────────────────── */
  --wc-leading-none: 1.2;
  --wc-leading-tight: 1.2;
  --wc-leading-snug: 1.35;
  --wc-leading-normal: 1.5;
  --wc-leading-relaxed: 1.2;

  /* ── Letter spacing ──────────────────────────────────────── */
  --wc-tracking-tight: -0.02em;
  --wc-tracking-normal: 0;
  --wc-tracking-wide: 0.06em;
  --wc-tracking-wider: 0.10em;

  /* ── Font weights ────────────────────────────────────────── */
  --wc-weight-normal: 400;
  --wc-weight-medium: 500;
  --wc-weight-semibold: 600;
  --wc-weight-bold: 700;

  --wc-label-color: #1b1b1b;
}

html {
  overflow-x: clip;
}
body {
  overflow-x: clip;
}

.wc-cms {
  font-family: var(--wc-body-font, var(--wc-font-ui));
  font-size: var(--wc-text-base);
  line-height: var(--wc-leading-normal);
  letter-spacing: var(--wc-tracking-normal);
  color: var(--wc-text);
  background: var(--wc-bg-light);
  --bs-card-color: var(--wc-text);
  --bs-body-color: var(--wc-text);
}

.wc-cms .card,
.wc-cms .card-body {
  color: var(--wc-text);
}

.wc-cms h1,
.wc-cms h2,
.wc-cms h3,
.wc-cms h4,
.wc-cms h5,
.wc-cms h6 {
  font-family: 'Inter', sans-serif;
  color: var(--wc-page-text, var(--wc-text));
  line-height: var(--wc-leading-none);
  letter-spacing: var(--wc-tracking-tight);
}

.wc-cms h1 { font-size: 1.5rem; font-weight: var(--wc-weight-bold); font-family: var(--wc-heading-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif); }
.wc-cms h2 { font-size: 1.75rem; font-weight: var(--wc-weight-bold); font-family: var(--wc-heading-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif); }
.wc-cms h3 { font-size: 1.375rem; font-weight: var(--wc-weight-bold); font-family: var(--wc-heading-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif); }
.wc-cms h4 { font-size: 1.25rem; font-weight: var(--wc-weight-bold); font-family: var(--wc-heading-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif); }
.wc-cms h5 { font-size: var(--wc-text-md); font-weight: var(--wc-weight-semibold); }
.wc-cms h6 { font-size: var(--wc-text-base); font-weight: var(--wc-weight-semibold); }

.wc-cms p,
.wc-cms li {
  line-height: var(--wc-leading-normal);
}

.table > thead {
  background: rgba(0, 0, 0, 0.02);
}

.category-wrapper {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 70px 120px;
  align-items: center;
  gap: 8px;
}

.category-wrapper.admin-cats {
  max-width: 520px;
}

@media (max-width: 768px) {
  .category-wrapper {
    grid-template-columns: 1fr;
  }
}

/* ── Buttons ──────────────────────────────────────────────── */
/* ── Button system ─────────────────────────────────────────────────────────── */
.wc-cms .btn {
  font-family: var(--wc-font-ui);
  font-size: var(--wc-text-sm);
  font-weight: 600;
  padding: 7px 16px !important;
  border-radius: var(--wc-btn-radius, var(--wc-radius-sm));
  border-width: 1px;
  border-style: solid;
  transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease, color 150ms ease, transform 80ms ease;
  line-height: var(--wc-leading-normal);
  letter-spacing: var(--wc-tracking-normal);
  cursor: pointer;
  box-shadow: none;
}
.wc-cms .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.10);
}
.wc-cms .btn:active:not(:disabled) {
  transform: scale(0.97);
}
.wc-cms .btn:disabled,
.wc-cms .btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: auto;
}
.wc-cms .btn-sm {
  font-size: var(--wc-text-sm);
  padding: 5px 12px !important;
  border-radius: 6px;
}
.wc-cms .btn-lg {
  font-size: var(--wc-text-base);
  padding: 10px 22px !important;
}

/* Icons inside buttons — always inherit text color */
.wc-cms .btn i,
.wc-cms .btn svg {
  color: inherit !important;
  fill: currentColor;
}

/* Primary / dark — solid black */
.wc-cms .btn-dark,
.wc-cms .btn-primary {
  background: var(--wc-btn-bg, #1e1e1e);
  border-color: var(--wc-btn-bg, #1e1e1e);
  color: var(--wc-btn-text, #ffffff);
  border-radius: var(--wc-btn-radius, 6px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  height: var(--wc-input-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wc-cms .btn-dark:hover,
.wc-cms .btn-primary:hover {
  background: var(--wc-btn-hover-bg, #333333);
  border-color: var(--wc-btn-hover-bg, #333333);
  color: var(--wc-btn-hover-text, #ffffff);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}
.wc-cms .btn-dark:focus-visible,
.wc-cms .btn-primary:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
}

/* Outline secondary — subtle border, purple hover */
.wc-cms .btn-outline-secondary {
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: var(--wc-text) !important;
  background: #fff !important;
  border-radius: var(--wc-btn-radius, 6px);
  height: var(--wc-input-height);
  display: inline-flex;
  align-items: center;
}
.wc-cms .btn-outline-secondary:hover {
  background: rgba(139, 92, 246, 0.04) !important;
  border-color: rgba(139, 92, 246, 0.3) !important;
  color: #7c3aed !important;
  box-shadow: 0 1px 3px rgba(139, 92, 246, 0.08);
}
.wc-cms .btn-outline-secondary:hover i {
  color: #7c3aed !important;
}
.wc-cms .btn-outline-secondary:focus-visible {
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

/* Ghost / light */
.wc-cms .btn-light {
  background: var(--wc-bg-light) !important;
  border-color: var(--wc-border) !important;
  color: var(--wc-text) !important;
}
.wc-cms .btn-light:hover {
  background: rgba(0, 0, 0, 0.06) !important;
  border-color: var(--wc-border-strong) !important;
}

/* Outline danger — red text, subtle red border, fills on hover */
.wc-cms .btn-outline-danger {
  color: var(--wc-danger) !important;
  border-color: rgba(220, 38, 38, 0.25) !important;
  background: transparent !important;
}
.wc-cms .btn-outline-danger:hover {
  background: rgba(220, 38, 38, 0.06) !important;
  border-color: rgba(220, 38, 38, 0.45) !important;
  color: var(--wc-danger) !important;
}
.wc-cms .btn-outline-danger:hover i {
  color: var(--wc-danger) !important;
}
.wc-cms .btn-outline-danger:focus-visible {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

/* Solid danger */
.wc-cms .btn-danger {
  background: var(--wc-danger) !important;
  border-color: var(--wc-danger) !important;
  color: #ffffff !important;
  box-shadow: 0 1px 2px rgba(220, 38, 38, 0.15);
}
.wc-cms .btn-danger:hover {
  background: #b91c1c !important;
  border-color: #b91c1c !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.2);
}
.wc-cms .btn-danger:focus-visible {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18);
}

.wc-cms.bg-body-bg {
  background-color: var(--wc-bg-light, #f9f9f9) !important;
}

.wc-cms .card {
  border: none;
  border-radius: var(--wc-radius);
  box-shadow: none;
  background: transparent;
}
.wc-cms .card-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.wc-cms table {
  border-radius: var(--wc-radius);
  border: none;
  background: var(--wc-white);
  overflow: hidden;
  font-size: 0.875rem;
}

.wc-cms .table-responsive {
  border-radius: var(--wc-radius);
  background: var(--wc-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.wc-cms .table > :not(caption) > * > * {
  border-color: var(--wc-border);
}
.wc-cms .table > :not(caption) > *:last-child > * {
  border-bottom-width: 0;
}

.wc-cms .wc-meditations-table {
  border: none;
  border-radius: var(--wc-radius);
  overflow: hidden;
}

/* Clickable table rows — stretched link pattern */
.wc-table-row--clickable {
  position: relative;
  cursor: pointer;
  transition: background 0.1s;
}
.wc-table-row--clickable:hover {
  background: rgba(0, 0, 0, 0.02);
}
.wc-table-row--clickable .wc-table-row-link {
  color: inherit;
  text-decoration: none;
}
.wc-table-row--clickable .wc-table-row-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.wc-table-row--clickable td:last-child {
  position: relative;
  z-index: 2;
}

.wc-cms .wc-taxonomy-table > :not(caption) > * > * {
  padding: 0.85rem 0.95rem;
}

.wc-cms .wc-taxonomy-table .form-control {
  min-height: var(--wc-input-height);
  height: var(--wc-input-height);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.wc-cms .wc-taxonomy-table .btn-sm {
  padding: 0.4rem 0.65rem !important;
}

.wc-cms .table-responsive table {
  margin-bottom: 0;
}

.wc-cms .table > :not(caption) > * > * {
  background-color: transparent;
  padding: 0.75rem 1rem;
}

.wc-cms .table thead th {
  font-size: var(--wc-text-xs);
  letter-spacing: var(--wc-tracking-wider);
  text-transform: uppercase;
  color: var(--wc-text-secondary);
  font-weight: var(--wc-weight-semibold);
  line-height: var(--wc-leading-normal);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

/* Extra breathing room for long tables */
.wc-cms .wc-pad-bottom tbody tr:last-child td {
  padding-bottom: 1.25rem;
}

/* Sortable column header links */
.wc-cms .wc-sortable-link {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s;
}
.wc-cms .wc-sortable-link:hover {
  color: #7c3aed;
}

.wc-cms .form-control,
.wc-cms .form-select {
  border-radius: var(--wc-btn-radius, var(--wc-radius-sm));
  border-color: var(--wc-border-color, var(--wc-border));
  background: var(--wc-white);
  min-height: var(--wc-input-height);
  font-size: var(--wc-text-base);
  line-height: var(--wc-leading-normal);
  color: var(--wc-text);
}

.wc-cms .form-control:not(textarea),
.wc-cms .form-select {
  height: var(--wc-input-height);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.wc-cms .form-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 2.75rem;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='%236f6658' d='M5 0 0 6h10L5 0z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='%236f6658' d='M5 6 0 0h10L5 6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-size: 10px 6px, 10px 6px;
  background-position: right 0.95rem top calc(50% - 6px), right 0.95rem top calc(50% + 6px);
}

/* Inline label + control row (e.g., Explore limit) */
.wc-cms .wc-inline-field {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.wc-cms .wc-inline-field__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--wc-muted);
  white-space: nowrap;
}

.wc-cms .wc-inline-field__control {
  width: 140px;
}

/* Placeholder-like styling for selects using an empty value + required */
.wc-cms .form-select:invalid {
  color: var(--wc-muted);
}

.wc-cms .form-select option {
  color: var(--wc-text);
}

.wc-cms .form-select option[value=''] {
  color: var(--wc-muted);
}

.wc-cms .form-control:focus,
.wc-cms .form-select:focus {
  border-color: var(--wc-accent);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.wc-cms .form-select:focus {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='%23212b2a' d='M5 0 0 6h10L5 0z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='%23212b2a' d='M5 6 0 0h10L5 6z'/%3E%3C/svg%3E");
}

.wc-cms .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(31, 76, 58, 0.14);
  border-color: rgba(31, 76, 58, 0.55);
}

.wc-cms .form-check-input:checked {
  background-color: var(--wc-accent);
  border-color: var(--wc-accent);
}

.wc-cms .form-switch .form-check-input {
  width: 2.25em;
  height: 1.25em;
  border-radius: 999px;
  border-color: var(--wc-border-strong);
  background-color: rgba(0, 0, 0, 0.08);
}

.wc-cms .form-check.form-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.wc-cms .form-check.form-switch .form-check-input {
  margin-top: 0;
}

.wc-cms .form-check.form-switch .form-check-label {
  margin-top: 0;
  line-height: var(--wc-leading-tight);
}

.wc-cms .form-switch .form-check-input:checked {
  background-color: var(--wc-accent);
  border-color: var(--wc-accent);
}

.wc-cms .form-switch .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.14);
}

.wc-cms td .form-check.form-switch {
  padding-left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wc-cms td .form-check.form-switch .form-check-input {
  margin-left: 0;
}

.wc-cms .text-muted {
  color: var(--wc-muted) !important;
}

.wc-cms .wc-page-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--wc-text-xl);
  font-weight: 700;
  letter-spacing: var(--wc-tracking-tight);
  line-height: var(--wc-leading-tight);
  color: var(--wc-text);
  margin-bottom: 4px;
}

.wc-cms a {
  color: var(--wc-link-color, inherit);
  text-decoration-color: transparent;
  transition: color 0.12s, text-decoration-color 0.12s;
}

.wc-cms a:hover {
  color: var(--wc-link-color, var(--wc-accent-hover));
}

/* ── Sidebar (SaaS layout) ─────────────────────────────── */

/* App-level layout grid */
.wc-app-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar shell */
.wc-sidebar {
  width: 248px;
  flex: 0 0 248px;
  background: #ffffff;
  color: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  overflow-y: auto;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

/* Main content offset */
.wc-main {
  flex: 1 1 auto;
  margin-left: 248px;
  min-width: 0;
}
.wc-main > .container-fluid {
  padding-top: 16px;
  animation: wc-page-fadein 0.45s cubic-bezier(0.25, 0.1, 0.25, 1) both;
}
@keyframes wc-page-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Brand */
.wc-sidebar-brand {
  padding: 20px 18px 12px;
}
.wc-sidebar-brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #111111;
}
.wc-sidebar-brand-link:hover {
  color: #111111;
}
.wc-sidebar-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}
.wc-sidebar-brand-name {
  font-family: var(--wc-font-display);
  font-size: var(--wc-text-md);
  font-weight: var(--wc-weight-semibold);
  letter-spacing: var(--wc-tracking-tight);
  line-height: var(--wc-leading-tight);
  color: #111111 !important;
}
.wc-sidebar-brand-tag {
  font-size: var(--wc-text-2xs);
  font-weight: var(--wc-weight-semibold);
  letter-spacing: var(--wc-tracking-wider);
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.35) !important;
  margin-top: 1px;
}

/* Nav container */
.wc-sidebar-nav {
  flex: 1 1 auto;
  padding: 4px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Nav groups */
.wc-sidebar-group {
  padding: 4px 0;
}
.wc-sidebar-group + .wc-sidebar-group {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 4px;
  padding-top: 8px;
}
.wc-sidebar-group-title {
  font-size: var(--wc-text-2xs);
  font-weight: var(--wc-weight-bold);
  letter-spacing: var(--wc-tracking-wider);
  line-height: var(--wc-leading-normal);
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.35) !important;
  padding: 8px 10px 6px;
}

/* Nav links */
.wc-sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: var(--wc-text-base);
  font-weight: var(--wc-weight-medium);
  color: rgba(0, 0, 0, 0.55) !important;
  text-decoration: none !important;
  transition: background 0.12s, color 0.12s;
  line-height: var(--wc-leading-snug);
  letter-spacing: var(--wc-tracking-normal);
}
.wc-sidebar-link:hover {
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.85) !important;
}
.wc-sidebar-link i {
  font-size: 16px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  opacity: 0.65;
  color: inherit !important;
}
.wc-sidebar-link--active {
  background: rgba(0, 0, 0, 0.06);
  color: #111111 !important;
  font-weight: 600;
}
.wc-sidebar-link--active i {
  opacity: 1;
}
.wc-sidebar-link--active:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #111111 !important;
}

/* Highlighted nav link (e.g. AI Creator) — purple icon only */
.wc-sidebar-link--highlight i {
  color: #8b5cf6 !important;
}

/* Accordion toggle */
.wc-sidebar-accordion-toggle {
  width: 100%;
  border: none;
  background: none;
  cursor: pointer;
  justify-content: flex-start;
}
.wc-sidebar-accordion-chevron {
  margin-left: auto;
  font-size: 14px;
  opacity: 0.5;
  transition: transform 0.2s ease;
}
.wc-sidebar-accordion-chevron--open {
  transform: rotate(180deg);
}
.wc-sidebar-accordion-items {
  padding-left: 12px;
}
.wc-sidebar-link--nested {
  font-size: var(--wc-text-xs, 0.75rem);
  padding: 6px 12px;
}

/* Bottom section */
.wc-sidebar-bottom {
  padding: 12px 12px 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: auto;
}

/* Sidebar user badge */
.wc-sidebar-user-wrapper {
  position: relative;
}
.wc-sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: background 0.12s;
  text-align: left;
}
.wc-sidebar-user:hover {
  background: rgba(0, 0, 0, 0.06);
}
.wc-sidebar-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.wc-sidebar-user-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.6);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--wc-font-ui);
}
.wc-sidebar-user-info {
  min-width: 0;
  flex: 1;
}
.wc-sidebar-user-email {
  font-size: var(--wc-text-sm);
  font-weight: var(--wc-weight-medium);
  line-height: var(--wc-leading-normal);
  color: rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--wc-font-ui);
}
.wc-sidebar-user-role {
  font-size: var(--wc-text-2xs);
  font-weight: var(--wc-weight-semibold);
  line-height: var(--wc-leading-normal);
  color: rgba(0, 0, 0, 0.35);
  text-transform: uppercase;
  letter-spacing: var(--wc-tracking-wide);
  font-family: var(--wc-font-ui);
}
.wc-sidebar-user-more {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  transition: color 0.12s;
}
.wc-sidebar-user:hover .wc-sidebar-user-more {
  color: rgba(0, 0, 0, 0.6);
}

/* Sidebar dropup menu */
.wc-sidebar-dropup {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 4px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 50;
  animation: wc-dropup-in 0.12s ease-out;
}
@keyframes wc-dropup-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.wc-sidebar-dropup-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-size: var(--wc-text-sm);
  font-weight: var(--wc-weight-medium);
  line-height: var(--wc-leading-snug);
  color: rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  font-family: var(--wc-font-ui);
  text-decoration: none;
}
.wc-sidebar-dropup-item:hover {
  background: rgba(0, 0, 0, 0.04);
  color: #111111 !important;
  text-decoration: none;
}
.wc-sidebar-dropup-item i {
  font-size: 16px;
  width: 18px;
  text-align: center;
  color: inherit;
}
.wc-sidebar-dropup-item--danger {
  color: rgba(0, 0, 0, 0.55);
}
.wc-sidebar-dropup-item--danger:hover {
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
}

/* ── Sidebar collapse toggle ─────────────────────────────────── */

.wc-sidebar-collapse-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px 10px;
  margin-top: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.02);
  color: rgba(0, 0, 0, 0.45);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.wc-sidebar-collapse-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.15);
  color: rgba(0, 0, 0, 0.7);
}
.wc-sidebar-collapse-btn .wc-sidebar-collapse-label {
  font-size: 12px;
  letter-spacing: 0.01em;
}

/* ── Sidebar no-transition (prevents flash on initial load) ───── */
.wc-sidebar-no-transition .wc-sidebar,
.wc-sidebar-no-transition .wc-main,
.wc-sidebar-no-transition .wc-sidebar * {
  transition: none !important;
}

/* ── Sidebar collapsed state ─────────────────────────────────── */

.wc-sidebar--collapsed {
  width: 68px;
  flex: 0 0 68px;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.wc-sidebar-is-collapsed .wc-main {
  margin-left: 68px;
}

.wc-sidebar--collapsed .wc-sidebar-brand {
  padding: 16px 10px 10px;
  display: flex;
  justify-content: center;
}

.wc-sidebar--collapsed .wc-sidebar-brand-text {
  display: none;
}

.wc-sidebar--collapsed .wc-sidebar-brand-icon {
  width: 36px;
  height: 36px;
}

.wc-sidebar--collapsed .wc-sidebar-nav {
  padding: 4px 8px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1 1 auto;
  min-height: 0;
}

.wc-sidebar--collapsed .wc-sidebar-group-title {
  display: none;
}

.wc-sidebar--collapsed .wc-sidebar-link {
  justify-content: center;
  padding: 10px;
  border-radius: 10px;
}

.wc-sidebar--collapsed .wc-sidebar-link i {
  font-size: 20px;
  width: auto;
  opacity: 0.7;
}

.wc-sidebar--collapsed .wc-sidebar-link--active i {
  opacity: 1;
}

.wc-sidebar--collapsed .wc-sidebar-label {
  display: none;
}

.wc-sidebar--collapsed .wc-sidebar-accordion-chevron {
  display: none;
}

.wc-sidebar--collapsed .wc-sidebar-accordion-items {
  padding-left: 0;
}

.wc-sidebar--collapsed .wc-sidebar-link--nested {
  font-size: inherit;
  padding: 10px;
}

.wc-sidebar--collapsed .wc-sidebar-bottom {
  padding: 8px 8px 14px;
}

.wc-sidebar--collapsed .wc-sidebar-user {
  justify-content: center;
  padding: 8px;
}

.wc-sidebar--collapsed .wc-sidebar-user-avatar {
  width: 36px;
  height: 36px;
}

.wc-sidebar--collapsed .wc-sidebar-dropup {
  left: 8px;
  right: 8px;
}

/* Collapsed tooltips — only visible when sidebar is collapsed */
.wc-sidebar-tooltip {
  display: none;
}

.wc-sidebar--collapsed .wc-sidebar-tooltip {
  display: none;
  position: fixed;
  left: 78px;
  padding: 5px 10px;
  border-radius: 6px;
  background: #111111;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  letter-spacing: 0;
}

.wc-sidebar--collapsed .wc-sidebar-tooltip::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: #111111;
}

.wc-sidebar--collapsed .wc-sidebar-link {
  position: relative;
}

/* Smooth transitions */
.wc-sidebar {
  transition: width 0.2s ease, flex-basis 0.2s ease;
}
.wc-main {
  transition: margin-left 0.2s ease;
}

/* Hide old template sidebar controls */
.wc-cms .sidebar-burger-menu,
.wc-cms .sidebar-burger-menu-close,
.wc-cms .header-burger-menu,
.wc-cms .header-burger-menu-close {
  display: none !important;
}

.wc-cms .wc-main > .container-fluid {
  padding-top: 16px;
  padding-bottom: 56px;
}

.wc-cms .wc-main > .container-fluid > .d-flex > h3 {
  font-family: var(--wc-font-display);
  letter-spacing: var(--wc-tracking-tight);
  color: var(--wc-text);
}

/* Badges (subtle tints) */
.wc-cms .wc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--wc-text-xs);
  font-weight: var(--wc-weight-semibold);
  line-height: var(--wc-leading-normal);
  letter-spacing: var(--wc-tracking-wide);
  border-radius: 20px;
  padding: 3px 10px;
  border: 1px solid transparent;
}

.wc-cms .wc-badge--visible {
  background: rgba(139, 92, 246, 0.08);
  color: #7c3aed;
  border-color: rgba(139, 92, 246, 0.18);
}

.wc-cms .wc-badge--hidden {
  background: rgba(0, 0, 0, 0.04);
  color: #94a3b8;
  border-color: rgba(0, 0, 0, 0.08);
}
.wc-cms .wc-badge--scheduled {
  background: rgba(139, 92, 246, 0.06);
  color: #8b5cf6;
  border-color: rgba(139, 92, 246, 0.14);
}
.wc-cms .wc-badge--default {
  background: rgba(139, 92, 246, 0.08);
  color: #7c3aed;
  border-color: rgba(139, 92, 246, 0.18);
}
.wc-cms .wc-badge--draft {
  background: rgba(0, 0, 0, 0.04);
  color: var(--wc-text-secondary);
  border-color: rgba(0, 0, 0, 0.08);
}
.wc-cms .wc-badge--warning {
  background: rgba(245, 158, 11, 0.1);
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.2);
}
.wc-cms .wc-badge--info {
  background: rgba(139, 92, 246, 0.06);
  color: #8b5cf6;
  border-color: rgba(139, 92, 246, 0.14);
}
.wc-cms .wc-badge--connected {
  background: rgba(139, 92, 246, 0.08);
  color: #7c3aed;
  border-color: rgba(139, 92, 246, 0.18);
}

/* Developer / super-admin only indicator */
.wc-dev-only {
  position: relative;
  border-left: 3px solid #a78bfa;
}
.wc-dev-only::before {
  content: 'DEV';
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #a78bfa;
  background: rgba(167, 139, 250, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
  line-height: 1.4;
  pointer-events: none;
  z-index: 1;
}
.wc-cms .wc-badge--disconnected {
  background: rgba(0, 0, 0, 0.04);
  color: #94a3b8;
  border-color: rgba(0, 0, 0, 0.06);
}

/* Hint text */
.wc-cms .wc-hint {
  font-size: var(--wc-text-xs);
  color: var(--wc-text-secondary);
  line-height: var(--wc-leading-normal);
  margin-top: 6px;
}
.wc-cms .wc-hint code {
  font-size: calc(var(--wc-text-xs) - 0.05rem);
  background: rgba(0, 0, 0, 0.04);
  padding: 1px 5px;
  border-radius: 4px;
}

/* SEO URL preview */
.wc-cms .wc-seo-url-preview {
  font-size: var(--wc-text-xs);
  color: var(--wc-text-secondary);
  line-height: var(--wc-leading-normal);
  margin-top: 6px;
  padding: 6px 10px;
  background: var(--wc-bg-light, #f9f9f9);
  border-radius: var(--wc-radius-sm, 6px);
  border: 1px solid var(--wc-border, #e5e5e5);
  word-break: break-all;
}
.wc-cms .wc-seo-domain-link {
  font-size: var(--wc-text-xs);
  color: var(--wc-text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}
.wc-cms .wc-seo-domain-link:hover {
  color: var(--wc-accent, #6c5ce7);
  text-decoration: underline;
}

/* Stat card */
.wc-cms .wc-stat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.wc-cms .wc-stat-card__value {
  font-size: var(--wc-text-lg);
  font-weight: 700;
  color: var(--wc-text);
  letter-spacing: var(--wc-tracking-tight);
  line-height: var(--wc-leading-tight);
}
.wc-cms .wc-stat-card__label {
  font-size: var(--wc-text-xs);
  color: var(--wc-text-secondary);
  line-height: var(--wc-leading-normal);
  margin-bottom: 2px;
}
.wc-cms .wc-stat-card__icon {
  font-size: 28px;
  color: var(--wc-text-secondary);
  opacity: 0.5;
}

/* Section picker item */
.wc-cms .wc-section-picker-item {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: var(--wc-radius-sm);
  border: 1px solid var(--wc-border);
  background: var(--wc-white);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.wc-cms .wc-section-picker-item:hover {
  border-color: var(--wc-border-strong);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  background: var(--wc-bg-light);
}
.wc-cms .wc-section-picker-item__icon {
  font-size: 20px;
  color: var(--wc-accent, #4f4db4);
  margin-top: 1px;
  flex-shrink: 0;
}
.wc-cms .wc-section-picker-item__title {
  font-size: var(--wc-text-base);
  font-weight: 600;
  color: var(--wc-text);
  line-height: var(--wc-leading-tight);
  margin-bottom: 2px;
}
.wc-cms .wc-section-picker-item__desc {
  font-size: var(--wc-text-xs);
  line-height: var(--wc-leading-normal);
  color: var(--wc-text-secondary);
}

/* Feature/pricing mini card in editor */
.wc-cms .wc-editor-mini-card {
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: var(--wc-radius-sm);
  border: 1px solid transparent;
}
.wc-cms .wc-editor-mini-card--featured {
}

/* Field group (visual sub-sections inside section panels) */
.wc-cms .wc-field-group {
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius-sm);
}
.wc-cms .wc-field-group__label {
  font-size: var(--wc-text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wc-text-secondary);
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.025);
  border-bottom: 1px solid var(--wc-border);
  border-radius: calc(var(--wc-radius-sm) - 1px) calc(var(--wc-radius-sm) - 1px) 0 0;
}
.wc-cms .wc-field-group__body {
  padding: 14px;
}

/* Editor toolbar (features, etc.) */
.wc-cms .wc-editor-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
}
.wc-cms .wc-editor-toolbar__group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wc-cms .wc-editor-toolbar__sep {
  width: 1px;
  height: 20px;
  background: #dee2e6;
  flex-shrink: 0;
}

/* Circular color dot picker */
.wc-cms .wc-color-dot-picker {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}
.wc-cms .wc-color-dot-picker:hover {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}
.wc-cms .wc-color-dot-picker input[type="color"] {
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  border: none;
  padding: 0;
}

.wc-cms .wc-inline-color-swatch {
  display: block;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: var(--wc-radius-sm, 8px);
  border: 2px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}
.wc-cms .wc-inline-color-swatch:hover {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}
.wc-cms .wc-inline-color-swatch input[type="color"] {
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  border: none;
  padding: 0;
}

/* Chips (read-only identifiers like slugs) */
.wc-cms .wc-chip {
  display: inline-block;
  font-size: var(--wc-text-xs);
  font-weight: var(--wc-weight-semibold);
  padding: 2px 8px;
  border-radius: 0.375rem;
  line-height: var(--wc-leading-normal);
  letter-spacing: var(--wc-tracking-wide);
  white-space: nowrap;
}

.wc-cms .wc-chip--slug {
  background: rgba(17, 17, 17, 0.07);
  color: var(--wc-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 600;
}

/* Prompt category chips */
.wc-cms .wc-chip--general {
  background: rgba(179, 86, 35, 0.12);
  color: #9a4a1b;
  border-color: rgba(179, 86, 35, 0.25);
}

.wc-cms .wc-chip--focus {
  background: rgba(59, 110, 165, 0.14);
  color: #2e5f93;
  border-color: rgba(59, 110, 165, 0.28);
}

.wc-cms .wc-chip--stress {
  background: rgba(181, 71, 42, 0.12);
  color: #9c3a22;
  border-color: rgba(181, 71, 42, 0.26);
}

.wc-cms .wc-chip--anxiety {
  background: rgba(123, 94, 167, 0.14);
  color: #6a4f8a;
  border-color: rgba(123, 94, 167, 0.28);
}

/* Emotional Compass tier badges */
.wc-cms .wc-tier-badge {
  display: inline-block;
  font-size: var(--wc-text-xs);
  font-weight: var(--wc-weight-semibold);
  padding: 2px 8px;
  border-radius: 0.375rem;
  line-height: var(--wc-leading-normal);
  letter-spacing: var(--wc-tracking-wide);
  white-space: nowrap;
}

.wc-cms .wc-tier-badge--l1 {
  background: rgba(17, 17, 17, 0.07);
  color: var(--wc-text);
}

.wc-cms .wc-tier-badge--l2 {
  background: rgba(107, 107, 105, 0.10);
  color: var(--wc-text-secondary);
}

.wc-cms .wc-tier-badge--l3 {
  background: rgba(0, 0, 0, 0.05);
  color: var(--wc-text-secondary);
}

/* Emotional Compass – div-based dnd-kit layout */
.wc-emotion-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--wc-border);
  font-size: var(--wc-text-xs);
  letter-spacing: var(--wc-tracking-wider);
  line-height: var(--wc-leading-normal);
  text-transform: uppercase;
  color: var(--wc-text-secondary);
  font-weight: var(--wc-weight-semibold);
}
.wc-emotion-list {
  display: flex;
  flex-direction: column;
}
.wc-emotion-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--wc-border);
}
.wc-emotion-row:first-child {
  border-top: none;
}
.wc-emotion-cell--handle { flex: 0 0 32px; }
.wc-emotion-cell--parent { flex: 0 0 140px; min-width: 0; }
.wc-emotion-cell--slug { flex: 0 0 150px; min-width: 0; }
.wc-emotion-cell--title { flex: 1; min-width: 140px; }
.wc-emotion-cell--definition { flex: 2; min-width: 200px; }
.wc-emotion-cell--actions { flex: 0 0 50px; text-align: end; }

@media (max-width: 991px) {
  .wc-emotion-header { display: none; }
  .wc-emotion-row { flex-wrap: wrap; }
  .wc-emotion-cell--parent { flex: 0 0 auto; }
  .wc-emotion-cell--slug { flex: 0 0 auto; }
  .wc-emotion-cell--title { flex: 1 0 100%; }
  .wc-emotion-cell--definition { flex: 1 0 100%; }
}

/* Profile settings (App Management → Profile) */
.wc-cms .wc-profile-settings {
  max-width: 980px;
}

.wc-cms .wc-section-block {
  margin-bottom: 44px;
  animation: wcFadeUp 0.25s ease both;
}

.wc-cms .wc-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.wc-cms .wc-section-title {
  font-size: var(--wc-text-md);
  font-weight: 600;
  color: var(--wc-text);
  line-height: var(--wc-leading-tight);
  letter-spacing: var(--wc-tracking-tight);
  margin-bottom: 10px;
}

.wc-cms .wc-section-desc {
  font-size: var(--wc-text-sm);
  color: var(--wc-text-secondary);
  line-height: var(--wc-leading-normal);
}

.wc-cms .wc-profile-settings .wc-section-block {
  margin-bottom: 12px;
}

.wc-cms .wc-accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: background 150ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.wc-cms .wc-accordion-toggle__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 17px;
  color: #8b5cf6;
}

.wc-cms .wc-accordion-toggle__icon + div {
  flex: 1;
  min-width: 0;
}

.wc-cms .wc-accordion-toggle:hover {
  background: rgba(0, 0, 0, 0.015);
  border-color: rgba(0, 0, 0, 0.1);
}

.wc-cms .wc-accordion-chevron {
  font-size: 20px;
  color: #9ca3af;
  transition: transform 200ms ease, color 150ms ease;
  flex-shrink: 0;
}

.wc-cms .wc-accordion-chevron--open {
  transform: rotate(180deg);
  color: #6b7280;
}

.wc-cms .wc-accordion-body {
  padding: 16px 20px 20px;
  border-radius: 0 0 12px 12px;
  background: #fff;
}

.wc-cms .wc-accordion-toggle[aria-expanded="true"] {
  border-radius: 12px 12px 0 0;
}

.wc-cms .wc-policy-card {
  background: var(--wc-white);
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius);
  overflow: hidden;
  box-shadow: var(--wc-shadow-sm);
}

.wc-cms .wc-policy-body {
  padding: 22px 24px;
}

.wc-cms .wc-field-label {
  display: block;
  font-size: var(--wc-text-sm);
  font-weight: var(--wc-weight-semibold);
  line-height: var(--wc-leading-normal);
  letter-spacing: var(--wc-tracking-normal);
  color: var(--wc-text);
  margin-bottom: 6px;
}

.wc-cms .wc-policy-textarea {
  width: 100%;
  border: 1px solid var(--wc-border);
  border-radius: 12px;
  padding: 14px;
  font-family: var(--wc-font-ui);
  font-size: var(--wc-text-base);
  color: var(--wc-text);
  line-height: var(--wc-leading-relaxed);
  resize: vertical;
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
  background: var(--wc-bg);
  min-height: 180px;
}

.wc-cms .wc-policy-textarea:focus {
  border-color: rgba(0, 0, 0, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.07);
  background: var(--wc-white);
}

.wc-cms .wc-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 20px;
  border-top: 1px solid var(--wc-border);
  background: var(--wc-bg-light);
}

.wc-cms .wc-card-footer-hint {
  font-size: var(--wc-text-sm);
  line-height: var(--wc-leading-normal);
  color: var(--wc-text-secondary);
}

.wc-cms .wc-prompts-table td {
  vertical-align: top;
}

.wc-cms .wc-prompts-cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 8px;
}

.wc-cms .wc-prompt-textarea {
  width: 100%;
  border: 1px solid var(--wc-border);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--wc-font-ui);
  font-size: var(--wc-text-base);
  color: var(--wc-text);
  line-height: var(--wc-leading-relaxed);
  resize: vertical;
  outline: none;
  min-height: 78px;
  background: var(--wc-white);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.wc-cms .wc-prompt-textarea:focus {
  border-color: rgba(0, 0, 0, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.07);
}

.wc-cms .wc-input-num {
  max-width: 72px;
  margin-left: auto;
  margin-right: auto;
}

/* Table breathing + gentle fade up */
.wc-cms .wc-meditations-table thead th {
  font-size: var(--wc-text-xs);
  font-weight: 600;
  letter-spacing: var(--wc-tracking-wide);
  text-transform: uppercase;
  color: var(--wc-label-color);
  line-height: var(--wc-leading-normal);
  border-bottom-color: var(--wc-border);
}

/* All table headers */
.wc-cms .table thead th {
  font-weight: 600 !important;
}

/* Auth */
.wc-auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background: var(--wc-bg-light) !important;
}

.wc-auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--wc-white);
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius-lg);
  padding: 36px 32px 32px;
  box-shadow: var(--wc-shadow-lg);
}

.wc-auth-brand {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wc-auth-brand-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}

.wc-auth-logo {
  font-size: var(--wc-text-lg);
  font-weight: var(--wc-weight-bold);
  line-height: var(--wc-leading-tight);
  letter-spacing: var(--wc-tracking-tight);
  color: var(--wc-text);
}

.wc-auth-card .form-label {
  font-size: var(--wc-text-sm);
  font-weight: var(--wc-weight-semibold);
  line-height: var(--wc-leading-normal);
  letter-spacing: var(--wc-tracking-normal);
  color: var(--wc-text-secondary);
  margin-bottom: 6px;
}

.wc-auth-card .form-control {
  height: 44px;
  font-size: var(--wc-text-base);
}

.wc-auth-card .btn {
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--wc-text-base);
  font-weight: var(--wc-weight-semibold);
  margin-top: 4px;
}

.wc-auth-card .alert {
  font-size: var(--wc-text-sm);
  line-height: var(--wc-leading-normal);
  padding: 10px 14px;
  border-radius: var(--wc-radius-sm);
}

.wc-auth-subtitle {
  margin-top: 6px;
  font-size: var(--wc-text-base);
  line-height: var(--wc-leading-normal);
  color: var(--wc-text-secondary);
}

.wc-auth-hint {
  border-radius: var(--wc-radius-sm);
  border: 1px solid var(--wc-border);
  background: var(--wc-bg);
  padding: 14px;
}

.wc-auth-hint-title {
  font-weight: var(--wc-weight-bold);
  font-size: var(--wc-text-sm);
  line-height: var(--wc-leading-normal);
  margin-bottom: 6px;
}

.wc-auth-hint-text {
  color: var(--wc-text-secondary);
  font-size: var(--wc-text-sm);
  line-height: var(--wc-leading-normal);
}

.wc-cms .wc-chip--code {
  background: rgba(179, 86, 35, 0.12);
  color: #9a4a1b;
  border-color: rgba(179, 86, 35, 0.25);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 600;
}

.wc-cms .wc-meditations-table thead th:nth-child(1) {
  width: 40%;
}
.wc-cms .wc-meditations-table thead th:nth-child(2) {
  width: 18%;
}
.wc-cms .wc-meditations-table thead th:nth-child(3) {
  width: 20%;
}
.wc-cms .wc-meditations-table thead th:nth-child(4) {
  width: 8%;
}
.wc-cms .wc-meditations-table thead th:nth-child(5) {
  width: 10%;
}
.wc-cms .wc-meditations-table thead th:nth-child(6) {
  width: 14%;
}

.wc-cms .wc-meditations-index-table thead th {
  font-size: var(--wc-text-xs);
  font-weight: 600;
  letter-spacing: var(--wc-tracking-wide);
  text-transform: uppercase;
  color: var(--wc-label-color);
  line-height: var(--wc-leading-normal);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--wc-border);
}

.wc-cms .wc-meditations-index-table td {
  border-bottom: 1px solid var(--wc-border);
  padding-top: 10px;
  padding-bottom: 10px;
}

.wc-cms .wc-meditations-index-table tbody tr:last-child td {
  border-bottom: none;
}

.wc-cms .wc-meditations-index-table thead th:nth-child(1) {
  width: 26%;
}
.wc-cms .wc-meditations-index-table thead th:nth-child(2) {
  width: 16%;
}
.wc-cms .wc-meditations-index-table thead th:nth-child(3) {
  width: 14%;
}
.wc-cms .wc-meditations-index-table thead th:nth-child(4) {
  width: 8%;
}
.wc-cms .wc-meditations-index-table thead th:nth-child(5) {
  width: 8%;
}
.wc-cms .wc-meditations-index-table thead th:nth-child(6) {
  width: 10%;
}
.wc-cms .wc-meditations-index-table thead th:nth-child(7) {
  width: 12%;
}
.wc-cms .wc-meditations-index-table thead th:nth-child(8) {
  width: 6%;
}
.wc-cms .wc-meditations-index-table td:nth-child(8) {
  white-space: nowrap;
}

/* Blog articles table with checkbox column */
.wc-cms .wc-blog-table thead th:nth-child(1) { width: 28px !important; max-width: 28px; padding-right: 0 !important; }
.wc-cms .wc-blog-table thead th:nth-child(2) { width: auto !important; }
.wc-cms .wc-blog-table thead th:nth-child(3) { width: 20% !important; }
.wc-cms .wc-blog-table thead th:nth-child(4) { width: 10% !important; }
.wc-cms .wc-blog-table thead th:nth-child(5) { width: 12% !important; }
.wc-cms .wc-blog-table thead th:nth-child(6) { width: 10% !important; }
.wc-cms .wc-blog-table thead th:nth-child(7) { width: 8% !important; }
.wc-cms .wc-blog-table td:nth-child(1) { width: 28px; max-width: 28px; padding-right: 0 !important; }
.wc-cms .wc-blog-table td { vertical-align: middle; }
.wc-cms .wc-blog-table tbody tr { transition: background 120ms ease; opacity: 0; animation: wcFadeUp 380ms ease forwards; }
.wc-cms .wc-blog-table tbody tr:hover { background: #f9f9f8; }
.wc-cms .wc-blog-table tbody tr:nth-child(1) { animation-delay: 20ms; }
.wc-cms .wc-blog-table tbody tr:nth-child(2) { animation-delay: 40ms; }
.wc-cms .wc-blog-table tbody tr:nth-child(3) { animation-delay: 60ms; }
.wc-cms .wc-blog-table tbody tr:nth-child(4) { animation-delay: 80ms; }
.wc-cms .wc-blog-table tbody tr:nth-child(5) { animation-delay: 100ms; }
.wc-cms .wc-blog-table tbody tr:nth-child(6) { animation-delay: 120ms; }
.wc-cms .wc-blog-table tbody tr:nth-child(7) { animation-delay: 140ms; }
.wc-cms .wc-blog-table tbody tr:nth-child(8) { animation-delay: 160ms; }
.wc-cms .wc-blog-table tbody tr:nth-child(9) { animation-delay: 180ms; }
.wc-cms .wc-blog-table tbody tr:nth-child(10) { animation-delay: 200ms; }
.wc-cms .wc-blog-table tbody tr:nth-child(11) { animation-delay: 220ms; }
.wc-cms .wc-blog-table tbody tr:nth-child(12) { animation-delay: 240ms; }
.wc-cms .wc-blog-table tbody tr:nth-child(13) { animation-delay: 260ms; }
.wc-cms .wc-blog-table tbody tr:nth-child(14) { animation-delay: 280ms; }
.wc-cms .wc-blog-table tbody tr:nth-child(15) { animation-delay: 300ms; }
.wc-cms .wc-blog-table tbody tr:nth-child(16) { animation-delay: 320ms; }
.wc-cms .wc-blog-table tbody tr:nth-child(17) { animation-delay: 340ms; }
.wc-cms .wc-blog-table tbody tr:nth-child(18) { animation-delay: 360ms; }
.wc-cms .wc-blog-table tbody tr:nth-child(19) { animation-delay: 380ms; }
.wc-cms .wc-blog-table tbody tr:nth-child(20) { animation-delay: 400ms; }
.wc-sort-link { color: inherit; text-decoration: none; white-space: nowrap; }
.wc-sort-link:hover { color: #7c3aed; }

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

.wc-cms .wc-table-animate tbody tr {
  opacity: 0;
  animation: wcFadeUp 340ms ease forwards;
}

.wc-cms .wc-table-animate tbody tr:nth-child(1) {
  animation-delay: 20ms;
}
.wc-cms .wc-table-animate tbody tr:nth-child(2) {
  animation-delay: 40ms;
}
.wc-cms .wc-table-animate tbody tr:nth-child(3) {
  animation-delay: 60ms;
}
.wc-cms .wc-table-animate tbody tr:nth-child(4) {
  animation-delay: 80ms;
}
.wc-cms .wc-table-animate tbody tr:nth-child(5) {
  animation-delay: 100ms;
}
.wc-cms .wc-table-animate tbody tr:nth-child(6) {
  animation-delay: 120ms;
}
.wc-cms .wc-table-animate tbody tr:nth-child(7) {
  animation-delay: 140ms;
}
.wc-cms .wc-table-animate tbody tr:nth-child(8) {
  animation-delay: 160ms;
}
.wc-cms .wc-table-animate tbody tr:nth-child(9) {
  animation-delay: 180ms;
}
.wc-cms .wc-table-animate tbody tr:nth-child(10) {
  animation-delay: 200ms;
}
.wc-cms .wc-table-animate tbody tr:nth-child(11) {
  animation-delay: 220ms;
}
.wc-cms .wc-table-animate tbody tr:nth-child(12) {
  animation-delay: 240ms;
}
.wc-cms .wc-table-animate tbody tr:nth-child(13) {
  animation-delay: 260ms;
}
.wc-cms .wc-table-animate tbody tr:nth-child(14) {
  animation-delay: 280ms;
}
.wc-cms .wc-table-animate tbody tr:nth-child(15) {
  animation-delay: 300ms;
}
.wc-cms .wc-table-animate tbody tr:nth-child(16) {
  animation-delay: 320ms;
}
.wc-cms .wc-table-animate tbody tr:nth-child(17) {
  animation-delay: 340ms;
}
.wc-cms .wc-table-animate tbody tr:nth-child(18) {
  animation-delay: 360ms;
}
.wc-cms .wc-table-animate tbody tr:nth-child(19) {
  animation-delay: 380ms;
}
.wc-cms .wc-table-animate tbody tr:nth-child(20) {
  animation-delay: 400ms;
}

.wc-cms .wc-table-animate tbody tr:hover {
  background: #f9f9f8;
}

.wc-cms .wc-table-gapped {
  border-collapse: separate;
  border-spacing: 0 12px;
}

.wc-cms .wc-table-gapped tbody td {
  background: var(--wc-white);
}

.wc-cms .wc-table-gapped tbody tr td:first-child {
  border-top-left-radius: var(--wc-radius);
  border-bottom-left-radius: var(--wc-radius);
}

.wc-cms .wc-table-gapped tbody tr td:last-child {
  border-top-right-radius: var(--wc-radius);
  border-bottom-right-radius: var(--wc-radius);
}

.wc-cms .wc-taxonomy-table tbody td {
  border-bottom: 0;
  border-top: 0;
}

.wc-cms .wc-taxonomy-table tbody tr td {
  /* border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08); */
}

.wc-cms .wc-taxonomy-table tbody tr td:first-child {
  /* border-left: 1px solid rgba(0, 0, 0, 0.08); */
}

.wc-cms .wc-taxonomy-table tbody tr td:last-child {
  /* border-right: 1px solid rgba(0, 0, 0, 0.08); */
}

/* Taxonomy list (div-based for dnd-kit) */
.wc-taxonomy-create-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 12px 14px;
  background: var(--wc-bg, #f9f9f8);
  border: 1px solid var(--wc-border);
  border-radius: 10px;
}
.wc-taxonomy-create-input-group {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex: 1;
  min-width: 200px;
  max-width: 380px;
}
.wc-taxonomy-create-input-group .form-control {
  height: 38px;
}
.wc-taxonomy-create-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 0 16px;
  height: 38px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}
.wc-taxonomy-active-label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.wc-taxonomy-list {
  display: flex;
  flex-direction: column;
}
.wc-taxonomy-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--wc-border);
}
.wc-taxonomy-row:first-child {
  border-top: none;
}
.wc-taxonomy-row-label {
  flex: 1;
  min-width: 0;
}
.wc-taxonomy-row .form-control {
  min-height: var(--wc-input-height);
  height: var(--wc-input-height);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.wc-taxonomy-row .btn-sm {
  padding: 0.4rem 0.65rem !important;
}

/* Drag handle */


@media (prefers-reduced-motion: reduce) {
  .wc-cms .wc-table-animate tbody tr,
  .wc-cms .wc-meditations-table tbody tr,
  .wc-cms .wc-blog-table tbody tr,
  .wc-dash-list-row,
  .wc-accordion-panel,
  .wc-listing-hero-inner {
    opacity: 1;
    animation: none !important;
    transform: none !important;
  }
}

.wc-cms .wc-meditations-table tbody tr {
  opacity: 0;
  animation: wcFadeUp 340ms ease forwards;
}

.wc-cms .wc-meditations-table tbody tr:nth-child(1) {
  animation-delay: 20ms;
}
.wc-cms .wc-meditations-table tbody tr:nth-child(2) {
  animation-delay: 40ms;
}
.wc-cms .wc-meditations-table tbody tr:nth-child(3) {
  animation-delay: 60ms;
}
.wc-cms .wc-meditations-table tbody tr:nth-child(4) {
  animation-delay: 80ms;
}
.wc-cms .wc-meditations-table tbody tr:nth-child(5) {
  animation-delay: 100ms;
}
.wc-cms .wc-meditations-table tbody tr:nth-child(6) {
  animation-delay: 120ms;
}
.wc-cms .wc-meditations-table tbody tr:nth-child(7) {
  animation-delay: 140ms;
}
.wc-cms .wc-meditations-table tbody tr:nth-child(8) {
  animation-delay: 160ms;
}
.wc-cms .wc-meditations-table tbody tr:nth-child(9) {
  animation-delay: 180ms;
}
.wc-cms .wc-meditations-table tbody tr:nth-child(10) {
  animation-delay: 200ms;
}

.wc-cms .wc-meditations-table tbody tr:hover {
  background: #f9f9f8;
}

.wc-cms .wc-meditations-table tbody tr {
  transition: background 120ms ease;
}

.wc-cms .wc-meditations-table tbody td {
  vertical-align: middle;
}

/* ── Toast notification ────────────────────────────────────────────────────── */
.wc-toast-wrapper {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  pointer-events: none;
  transition: opacity 300ms ease, transform 300ms ease;
}

.wc-toast-wrapper--visible {
  opacity: 1;
  transform: translateY(0);
}

.wc-toast-wrapper--hidden {
  opacity: 0;
  transform: translateY(-8px);
}

.wc-toast {
  background: var(--wc-accent);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--wc-radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--wc-shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 280px;
  max-width: 420px;
  white-space: nowrap;
}

.wc-toast i {
  font-size: 15px;
}

.wc-toast-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: wc-toast-spin 0.6s linear infinite;
}

@keyframes wc-toast-spin {
  to { transform: rotate(360deg); }
}

/* ── Confirm modal ─────────────────────────────────────────────────────────── */
.wc-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
  animation: wcFadeIn 150ms ease both;
}

@keyframes wcFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.wc-modal-card {
  width: 100%;
  max-width: 440px;
  border-radius: var(--wc-radius-lg);
  background: var(--wc-white);
  border: 1px solid var(--wc-border);
  box-shadow: var(--wc-shadow-lg);
  animation: wcModalSlideUp 200ms ease both;
}

@keyframes wcModalSlideUp {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.wc-modal-body {
  padding: 24px;
}

.wc-modal-body h5 {
  font-size: var(--wc-text-md);
  font-weight: var(--wc-weight-bold);
  line-height: var(--wc-leading-snug);
  color: var(--wc-text);
  margin-bottom: 8px;
}

.wc-modal-body .text-muted {
  font-size: var(--wc-text-base);
  line-height: var(--wc-leading-normal);
  color: var(--wc-text-secondary) !important;
}

/* ── Empty state ───────────────────────────────────────────────────────────── */
.wc-cms .wc-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.wc-cms .wc-empty-state__icon {
  font-size: 32px;
  color: var(--wc-border-strong);
  margin-bottom: 12px;
  opacity: 0.6;
}

.wc-cms .wc-empty-state__title {
  font-size: var(--wc-text-base);
  font-weight: var(--wc-weight-semibold);
  line-height: var(--wc-leading-normal);
  color: var(--wc-text);
  margin-bottom: 4px;
}

.wc-cms .wc-empty-state__desc {
  font-size: var(--wc-text-sm);
  line-height: var(--wc-leading-normal);
  color: var(--wc-text-secondary);
  max-width: 320px;
}

.wc-cms .wc-empty-state__action {
  margin-top: 16px;
}

/* ── Skeleton loading placeholders ────────────────────────────────────────── */
.wc-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: wcSkeletonShimmer 1.5s ease-in-out infinite;
  border-radius: 4px;
}
.wc-skeleton--circle { border-radius: 50%; }
.wc-skeleton--text { display: block; }
@keyframes wcSkeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Close button (circular) ────────────────────────────────────────────────── */
.wc-cms .wc-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--wc-accent);
  color: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 120ms ease, transform 80ms ease;
  line-height: 1;
}

.wc-cms .wc-close-btn:hover {
  background: var(--wc-accent-hover);
}

.wc-cms .wc-close-btn:active {
  transform: scale(0.92);
}

.wc-cms .wc-close-btn i {
  font-size: 16px;
  color: #ffffff !important;
}

.wc-cms .wc-close-btn--sm {
  width: 22px;
  height: 22px;
}

.wc-cms .wc-close-btn--sm i {
  font-size: 13px;
}

.wc-cms .wc-close-btn--subtle {
  background: rgba(0, 0, 0, 0.08);
  color: var(--wc-text-secondary);
}

.wc-cms .wc-close-btn--subtle i {
  color: var(--wc-text-secondary) !important;
}

.wc-cms .wc-close-btn--subtle:hover {
  background: rgba(0, 0, 0, 0.14);
}

/* ── Sticky sidebar ────────────────────────────────────────────────────────── */
.wc-cms .wc-sticky-aside {
  position: sticky;
  top: 0;
}

/* ── Table badge chips ─────────────────────────────────────────────────────── */
.wc-cms .wc-table-chip {
  display: inline-block;
  font-size: var(--wc-text-xs);
  font-weight: var(--wc-weight-semibold);
  vertical-align: middle;
  padding: 2px 8px;
  border-radius: 0.375rem;
  line-height: var(--wc-leading-normal);
  letter-spacing: var(--wc-tracking-wide);
  white-space: nowrap;
}

.wc-cms .wc-table-chip--category {
  background: rgba(17, 17, 17, 0.07);
  color: var(--wc-text);
}

.wc-cms .wc-table-chip--primary {
  background: #7c3aed;
  color: #fff;
}

.wc-cms .wc-table-chip--type {
  background: rgba(107, 107, 105, 0.10);
  color: var(--wc-text-secondary);
}

.wc-cms .wc-table-chip--more {
  background: transparent;
  color: var(--wc-text-secondary);
  cursor: pointer;
  border: 1px solid var(--wc-border);
}

.wc-cms .wc-table-chip--empty {
  background: rgba(220, 38, 38, 0.08);
  color: var(--wc-danger);
}

.wc-cms .wc-table-chip--more:hover {
  background: var(--wc-bg);
  border-color: var(--wc-border-strong);
}
.wc-cms .wc-category-cell-btn {
  height: auto !important;
}

/* ── File picker (enhanced drop zone) ──────────────────────────────────────── */
.wc-cms .wc-file-picker__label {
  height: auto;
  min-height: var(--wc-input-height);
  border-radius: var(--wc-radius-sm);
  border: 1px dashed var(--wc-border-strong);
  background: var(--wc-bg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.wc-cms .wc-file-picker__label:hover {
  border-color: var(--wc-accent);
  background: rgba(17, 17, 17, 0.02);
}

.wc-cms .wc-file-picker__label.has-file {
  border-style: solid;
  background: var(--wc-white);
}

/* Section cards (edit pages) */
.wc-cms .wc-section-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--wc-white);
  border-radius: var(--wc-radius);
  box-shadow: var(--wc-shadow-sm);
}
.wc-color-swatch {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: none;
  overflow: hidden;
}
.wc-color-swatch::-webkit-color-swatch-wrapper {
  padding: 0;
}
.wc-color-swatch::-webkit-color-swatch {
  border: none;
  border-radius: 50%;
}
.wc-color-swatch::-moz-color-swatch {
  border: none;
  border-radius: 50%;
}

/* ── Brand Kit Editor ─────────────────────────────────── */
.wc-bk-editor { }
.wc-bk-editor__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--wc-border);
}
.wc-bk-editor__title { font-size: 2.25rem; font-weight: 700; margin: 0; font-family: 'Inter', sans-serif; color: var(--wc-text); }
.wc-bk-editor__desc { font-size: 0.82rem; color: var(--wc-text-muted); margin: 2px 0 0; }
.wc-bk-editor__grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 767px) {
  .wc-bk-editor__grid { grid-template-columns: 1fr; }
  .wc-bk-editor__preview-col { order: -1; }
}
.wc-bk-editor__settings { display: flex; flex-direction: column; gap: 0; }
.wc-bk-editor__section {
  padding: 20px 0;
  border-bottom: 1px solid var(--wc-border);
}
.wc-bk-editor__section:first-child { padding-top: 0; }
.wc-bk-editor__section:last-child { border-bottom: none; }

/* Font picker dropdown */
.wc-font-picker-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border: 1px solid var(--wc-border-strong, rgba(0,0,0,0.12));
  border-radius: var(--wc-radius-sm, 8px);
  box-shadow: var(--wc-shadow-lg, 0 10px 30px rgba(0,0,0,0.08));
  margin-top: 4px;
  overflow: hidden;
}
.wc-font-picker-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--wc-border, rgba(0,0,0,0.06));
}
.wc-font-picker-search i {
  color: var(--wc-muted, #999);
  font-size: 14px;
  flex-shrink: 0;
}
.wc-font-picker-search input {
  border: none;
  outline: none;
  font-size: 13px;
  width: 100%;
  background: transparent;
  font-family: var(--wc-font-ui);
}
.wc-font-picker-list {
  max-height: 280px;
  overflow-y: auto;
  padding: 4px 0;
}
.wc-font-picker-category {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wc-muted, #999);
  padding: 8px 12px 4px;
}
.wc-font-picker-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 6px 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  color: var(--wc-text, #3a3a38);
  transition: background 80ms ease;
}
.wc-font-picker-item:hover {
  background: var(--wc-surface, #f5f5f5);
}
.wc-font-picker-item.is-active {
  background: rgba(0,0,0,0.05);
  font-weight: 600;
}
.wc-font-picker-empty {
  padding: 16px 12px;
  text-align: center;
  color: var(--wc-muted, #999);
  font-size: 13px;
}

/* Section headers */
.wc-bk-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.wc-bk-section-header__icon {
  font-size: 18px;
  color: var(--wc-accent, #111);
  opacity: 0.6;
}
.wc-bk-section-header__title {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--wc-text);
}
.wc-bk-section-header__subtitle {
  font-size: 0.78rem;
  color: var(--wc-text-muted);
  margin: 1px 0 0;
}

/* Color grid */
.wc-bk-color-grid {
  display: grid;
  gap: 12px;
}
.wc-bk-color-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 575px) {
  .wc-bk-color-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

/* Color field */
.wc-bk-color-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--wc-border);
  border-radius: 8px;
  background: var(--wc-white, #fff);
  transition: border-color 0.15s;
  position: relative;
}
.wc-bk-color-field:hover {
  border-color: var(--wc-border-strong, #ccc);
}
.wc-bk-color-field__picker {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.wc-bk-color-field__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.wc-bk-color-field__swatch {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  pointer-events: none;
}
.wc-bk-color-field__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.wc-bk-color-field__label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--wc-text-muted);
  line-height: 1;
}
.wc-bk-color-field__hex {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 12px;
  color: var(--wc-text);
  border: none;
  outline: none;
  padding: 0;
  background: transparent;
  width: 100%;
  line-height: var(--wc-leading-none);
}
.wc-bk-color-field__hex::placeholder { color: var(--wc-text-muted); opacity: 0.5; }
.wc-bk-color-field__clear {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  border: none;
  background: var(--wc-bg-light, #f5f5f5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  color: var(--wc-text-muted);
  opacity: 0;
  transition: opacity 0.15s;
}
.wc-bk-color-field:hover .wc-bk-color-field__clear { opacity: 1; }

/* Preview */
.wc-bk-editor__preview-sticky { position: sticky; top: 24px; }
.wc-bk-editor__preview-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wc-text-muted);
  margin-bottom: 8px;
}
.wc-bk-editor__preview {
  padding: 24px;
  transition: all 0.2s;
}

/* Brand Kit list */
.wc-bk-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--wc-border);
  border-radius: 10px;
  overflow: hidden;
}
.wc-bk-list__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--wc-white, #fff);
  border: none;
  border-bottom: 1px solid var(--wc-border);
  text-align: left;
  cursor: pointer;
  transition: background 0.12s;
  width: 100%;
}
.wc-bk-list__item:last-child { border-bottom: none; }
.wc-bk-list__item:hover { background: var(--wc-bg-light, #fafafa); }
.wc-bk-list__swatches {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.wc-bk-list__swatch {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.wc-bk-list__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.wc-bk-list__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--wc-text);
}
.wc-bk-list__meta {
  font-size: 0.78rem;
  color: var(--wc-text-muted);
}
.wc-bk-list__arrow {
  font-size: 18px;
  color: var(--wc-text-muted);
  opacity: 0.4;
  flex-shrink: 0;
}
.wc-bk-list__item:hover .wc-bk-list__arrow { opacity: 0.8; }

/* Brand Kit card */
.wc-bk-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-2px);
}

/* Brand Kit empty state */
.wc-bk-empty {
  text-align: center;
  padding: 48px 24px;
  border: 1px dashed var(--wc-border);
  border-radius: 12px;
  background: var(--wc-bg-light, #fafafa);
}
.wc-bk-empty__icon {
  font-size: 36px;
  color: var(--wc-text-muted);
  opacity: 0.3;
  margin-bottom: 12px;
}
.wc-bk-empty__title {
  font-weight: 700;
  margin: 0 0 6px;
}
.wc-bk-empty__desc {
  font-size: 0.85rem;
  color: var(--wc-text-muted);
  margin: 0 0 20px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.wc-cms .wc-section-card .card-body {
  padding: 20px;
}

.wc-cms .wc-section-card__header {
  margin-bottom: 12px;
}

/* Accordion sections */
.wc-accordion-item {
  border-top: 1px solid var(--wc-border);
}
.wc-accordion-item:first-child {
  border-top: none;
}
.wc-accordion-item--active {
  background-color: rgba(13, 110, 253, 0.02);
}
.wc-accordion-item--active > .wc-accordion-header {
  border-left: 3px solid var(--wc-accent, #0d6efd);
}
.wc-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
}
.wc-accordion-header:hover {
  background-color: rgba(0, 0, 0, 0.015);
}
.wc-accordion-chevron {
  font-size: 18px;
  color: #999;
  transition: transform 0.2s ease;
}
.wc-accordion-chevron-open {
  transform: rotate(90deg);
}
.wc-accordion-body {
  padding: 0 18px 18px;
}
.wc-reorder-btn {
  background: none;
  border: 1px solid var(--wc-border, #ddd);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #666;
  font-size: 16px;
  padding: 0;
  transition: background 0.12s, color 0.12s;
}
.wc-reorder-btn:hover {
  background: #f0f0ef;
  color: inherit;
}
.wc-reorder-btn:hover i {
  color: inherit !important;
}
.wc-reorder-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.wc-remove-btn {
  background: none !important;
  border-color: var(--wc-border) !important;
  color: var(--wc-text-secondary) !important;
}
.wc-remove-btn:hover {
  background: #fef2f2 !important;
  border-color: var(--wc-danger) !important;
  color: var(--wc-danger, #dc3545) !important;
}
.wc-remove-btn:hover i {
  color: var(--wc-danger, #dc3545) !important;
}
.wc-drag-handle {
  cursor: grab;
  touch-action: none;
}
.wc-drag-handle:active {
  cursor: grabbing;
}
.wc-reorder-cell {
  width: 1px !important;
  white-space: nowrap;
  padding: 0 0 0 10px !important;
}
.wc-reorder-cell .wc-reorder-btn {
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: none;
  font-size: 12px;
  padding: 0;
}

/* ── Menu editor: tree lines & hierarchy ── */
.wc-menu-item {
  position: relative;
  border-top: 1px solid #eee;
}
.wc-menu-item:first-child {
  border-top: none;
}
.wc-menu-item--depth-0 {
  background: #fff;
  border-left: 3px solid #6366f1;
}
.wc-menu-item--nested {
  background: #faf9ff;
  border-left: 3px solid #a78bfa;
}
.wc-menu-item--depth-2 {
  background: #f5f3ff;
  border-left: 3px solid #c4b5fd;
}

/* Vertical tree line — runs full height of nested items */
.wc-menu-tree-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: #ccc;
  pointer-events: none;
  z-index: 1;
}
/* Horizontal branch — connects tree line to item content */
.wc-menu-tree-branch {
  position: absolute;
  top: 50%;
  height: 1.5px;
  width: 14px;
  background: #ccc;
  pointer-events: none;
  z-index: 1;
}
/* Dot at the end of the branch */
.wc-menu-tree-branch::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #bbb;
}
/* Last child: vertical line only goes to 50% */
/* Depth-matched tree line colors */
.wc-menu-tree-line--d0 { background: #a78bfa; }
.wc-menu-tree-branch--d0 { background: #a78bfa; }
.wc-menu-tree-branch--d0::after { background: #a78bfa; }
.wc-menu-tree-line--d1 { background: #c4b5fd; }
.wc-menu-tree-branch--d1 { background: #c4b5fd; }
.wc-menu-tree-branch--d1::after { background: #c4b5fd; }

.wc-menu-tree-line--last {
  bottom: 50% !important;
}

/* Depth badge */
.wc-menu-depth-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--wc-tracking-wide);
  padding: 2px 7px;
  border-radius: 3px;
  white-space: nowrap;
  line-height: var(--wc-leading-relaxed);
  margin-bottom: 10px;
}
.wc-menu-item--nested > * .wc-menu-depth-badge {
  background: #ede9fe;
  color: #7c3aed;
}
.wc-menu-item--depth-2 > * .wc-menu-depth-badge {
  background: #ddd6fe;
  color: #6d28d9;
}

.wc-menu-item .form-control,
.wc-menu-item .form-select {
  margin-bottom: 0;
}
.wc-menu-item__fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Drag handle — pinned to left edge of row */
.wc-menu-drag-handle {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  color: #888;
  font-size: 16px;
  transition: color 0.15s, background 0.15s;
  z-index: 2;
  border-right: 1px solid transparent;
}
.wc-menu-drag-handle:hover {
  color: #888;
  background: #f0f0ef;
  border-right-color: #e0e0e0;
}
.wc-menu-drag-handle:active {
  cursor: grabbing;
  color: #555;
}

/* Toggle children button — inline with label */
.wc-menu-toggle-children {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px 3px 4px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  color: #666;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  line-height: 1;
  margin-bottom: 10px;
}
.wc-menu-toggle-children i {
  font-size: 15px;
  transition: transform 0.2s;
}
.wc-menu-toggle-children:hover,
.wc-menu-toggle-children:hover i {
  background: #f0f0ef;
  border-color: #ccc;
  color: #3A3A38 !important;
}
.wc-menu-toggle-children--collapsed {
  background: #f5f5f4;
  color: #999;
}

.wc-menu-collapse-btn {
  background: none;
  border: none;
  padding: 0;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #888;
  font-size: 15px;
  border-radius: 4px;
  transition: background 0.12s, color 0.12s;
  flex-shrink: 0;
}
.wc-menu-collapse-btn:hover {
  background: #e8e8e7;
  color: #3A3A38;
}

/* Actions dropdown */
.wc-menu-actions-wrap {
  position: relative;
  flex-shrink: 0;
}
.wc-menu-actions-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 170px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
  padding: 4px;
  z-index: 1050;
}
.wc-menu-actions-dropdown--up {
  top: auto;
  bottom: 100%;
}
.wc-menu-actions-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 10px;
  border: none;
  background: none;
  border-radius: 5px;
  font-size: 13px;
  color: #3A3A38;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s;
}
.wc-menu-actions-item i {
  font-size: 15px;
  color: #888;
}
.wc-menu-actions-item:hover:not(:disabled) {
  background: #f5f5f4;
  color: #3A3A38 !important;
}
.wc-menu-actions-item:hover:not(:disabled) i {
  color: #3A3A38 !important;
}
.wc-menu-actions-item:disabled {
  opacity: 0.35;
  cursor: default;
}
.wc-menu-actions-item--danger {
  color: var(--wc-danger, #dc3545);
}
.wc-menu-actions-item--danger i {
  color: var(--wc-danger, #dc3545);
}
.wc-menu-actions-item--danger:hover:not(:disabled) {
  background: #fef2f2;
  color: var(--wc-danger, #dc3545) !important;
}
.wc-menu-actions-item--danger:hover:not(:disabled) i {
  color: var(--wc-danger, #dc3545) !important;
}
.wc-menu-actions-divider {
  height: 1px;
  background: #eee;
  margin: 4px 0;
}

/* ── Shopify-style Link Picker ── */
.wc-link-picker {
  position: relative;
}
.wc-link-picker__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 5px 10px;
  font-size: 0.875rem;
  line-height: 1.5;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  cursor: pointer;
  color: var(--wc-text);
  text-align: left;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.wc-link-picker__trigger:hover:not(:disabled) {
  border-color: #adb5bd;
}
.wc-link-picker__trigger:focus {
  border-color: var(--wc-accent, #3A3A38);
  box-shadow: 0 0 0 2px rgba(58,58,56,0.1);
  outline: none;
}
.wc-link-picker__trigger:disabled {
  opacity: 0.6;
  cursor: default;
}
.wc-link-picker__selected {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.wc-link-picker__placeholder {
  color: #999;
  flex: 1;
}
.wc-link-picker__caret {
  font-size: 16px;
  color: #888;
  flex-shrink: 0;
  margin-left: 4px;
}
.wc-link-picker__dropdown {
  min-width: 260px;
  max-height: 340px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  padding: 6px;
  z-index: 1050;
}
.wc-link-picker__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  background: none;
  border-radius: 6px;
  font-size: 13.5px;
  color: #303030;
  cursor: pointer;
  text-align: left;
  transition: background 0.1s;
}
.wc-link-picker__item i:first-child {
  font-size: 17px;
  color: #666;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}
.wc-link-picker__item span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wc-link-picker__item:hover {
  background: #f5f5f4;
}
.wc-link-picker__item--active {
  background: #f0f0ef;
  font-weight: 500;
}
.wc-link-picker__item--parent {
  font-weight: 500;
}
.wc-link-picker__chevron {
  font-size: 16px;
  color: #999;
  flex-shrink: 0;
  margin-left: auto;
}
.wc-link-picker__check {
  font-size: 16px;
  color: var(--wc-success, #16a34a);
  flex-shrink: 0;
  margin-left: auto;
}
.wc-link-picker__back {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  background: none;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #303030;
  cursor: pointer;
  text-align: left;
  transition: background 0.1s;
}
.wc-link-picker__back i {
  font-size: 18px;
  color: #666;
}
.wc-link-picker__back:hover {
  background: #f5f5f4;
}
.wc-link-picker__divider {
  height: 1px;
  background: #eee;
  margin: 4px 0;
}
.wc-link-picker__item--custom {
  color: #666;
}
.wc-link-picker__item--custom i:first-child {
  color: #888;
}

.wc-cms .wc-edit-shell {
  max-width: 100%;
  overflow: hidden;
  animation: wcFadeUp 320ms ease both;
}

/* Quill rich-text editor */
/* Legacy Quill styles (kept for frontend rendering of ql-* classes) */
.wc-cms .ql-toolbar.ql-snow {
  border-color: var(--wc-border) !important;
  border-radius: 8px 8px 0 0;
}
.wc-cms .ql-container.ql-snow {
  border-color: var(--wc-border) !important;
  border-radius: 0 0 8px 8px;
  max-width: 100%;
}
.wc-cms .ql-editor {
  overflow-wrap: break-word;
  word-break: normal;
  background: #fff;
  color: #1c1c1e;
  min-height: 120px;
}
.wc-cms .ql-editor img {
  max-width: 100%;
  height: auto;
}

/* Tiptap rich-text editor */
.wc-tiptap-wrap {
  border: 1px solid var(--wc-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.wc-tiptap-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  padding: 6px 8px;
  border-bottom: 1px solid var(--wc-border);
  background: var(--wc-bg-light, #fafafa);
}
.wc-tiptap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #444;
  cursor: pointer;
  font-size: 15px;
  padding: 0;
  transition: background 0.15s, color 0.15s;
}
.wc-tiptap-btn:hover { background: var(--wc-border); }
.wc-tiptap-btn--active { background: var(--wc-accent, #4f4db4); color: #fff; }
.wc-tiptap-btn--active:hover { background: var(--wc-accent, #4f4db4); color: #fff; }
.wc-tiptap-divider {
  width: 1px;
  height: 20px;
  background: var(--wc-border);
  margin: 0 4px;
}
.wc-tiptap-select {
  font-size: 13px;
  padding: 2px 6px;
  border: 1px solid var(--wc-border);
  border-radius: 4px;
  background: #fff;
  color: #444;
  cursor: pointer;
  height: 28px;
}
.wc-tiptap-color {
  width: 28px;
  height: 28px;
  padding: 2px;
  border: 1px solid var(--wc-border);
  border-radius: 4px;
  cursor: pointer;
  background: transparent;
}
.wc-tiptap-editor .tiptap {
  padding: 12px 15px;
  min-height: 120px;
  outline: none;
  color: #1c1c1e;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: break-word;
  word-break: normal;
}
.wc-tiptap-editor .tiptap p { margin: 0 0 0.5em; }
.wc-tiptap-editor .tiptap h1 { font-size: 2em; font-weight: 700; margin: 0 0 0.5em; }
.wc-tiptap-editor .tiptap h2 { font-size: 1.5em; font-weight: 700; margin: 0 0 0.5em; }
.wc-tiptap-editor .tiptap h3 { font-size: 1.17em; font-weight: 700; margin: 0 0 0.5em; }
.wc-tiptap-editor .tiptap ul,
.wc-tiptap-editor .tiptap ol { padding-left: 1.5em; margin: 0 0 0.5em; }
.wc-tiptap-editor .tiptap blockquote {
  border-left: 4px solid #ccc;
  padding-left: 16px;
  margin: 0.5em 0;
  color: #666;
}
.wc-tiptap-editor .tiptap a { color: #06c; text-decoration: underline; }
.wc-tiptap-editor .tiptap img { max-width: 100%; height: auto; }
.wc-tiptap-editor .tiptap mark { background: #fef08a; }
.wc-tiptap-editor .tiptap p.is-editor-empty:first-child::before {
  content: attr(data-placeholder);
  float: left;
  color: #adb5bd;
  pointer-events: none;
  height: 0;
}

.wc-cms .wc-edit-cover-preview {
  width: 100%;
  height: auto;
  max-height: 320px;
  border-radius: var(--wc-radius);
  object-fit: cover;
  display: block;
  border: 1px solid var(--wc-border);
}

/* Focal point picker */
.wc-cms .wc-focal-picker {
  position: relative;
  cursor: crosshair;
  display: inline-block;
  width: 100%;
}
.wc-cms .wc-focal-picker__point {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.6);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.3), 0 1px 4px rgba(0,0,0,0.25);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.wc-cms .wc-edit-cover-empty {
  width: 100px;
  height: 100px;
  border-radius: var(--wc-radius);
  border: 1px dashed var(--wc-border-strong);
  background: var(--wc-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wc-text-secondary);
}

.wc-cms .wc-new-card .card-body {
  padding: 20px;
}

.wc-cms .wc-new-section-label {
  font-size: 0.72rem;
  letter-spacing: var(--wc-tracking-wider);
  text-transform: uppercase;
  color: var(--wc-text-secondary);
  font-weight: 600;
  margin-bottom: 14px;
}

.wc-cms .wc-new-field-group {
  margin-bottom: 20px;
}

.wc-cms .wc-new-field-group:last-child {
  margin-bottom: 0;
}

.wc-cms .wc-new-field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--wc-text);
  margin-bottom: 8px;
}

.wc-cms .form-label {
  display: block;
  font-size: var(--wc-text-xs);
  font-weight: 600;
  letter-spacing: var(--wc-tracking-wide);
  text-transform: uppercase;
  color: var(--wc-label-color);
  line-height: var(--wc-leading-normal);
  margin-bottom: 8px;
}

.wc-cms .wc-new-field-label__optional {
  color: var(--wc-text-secondary);
  font-weight: 400;
  letter-spacing: var(--wc-tracking-normal);
  text-transform: none;
}

.wc-cms .wc-new-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 22px 0;
}

.wc-cms .wc-toggle-row--plain {
  background: var(--wc-white);
  border-color: rgba(0, 0, 0, 0.12);
}

.wc-cms .wc-toggle-row--plain:hover {
  border-color: rgba(0, 0, 0, 0.18);
}

.wc-cms .wc-premium-row {
  border-radius: var(--wc-radius);
  padding: 14px 14px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Audio player */
.wc-cms .wc-audio-player {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: var(--wc-radius);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.wc-cms .wc-audio-player__play {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(0, 0, 0, 0.9);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wc-cms .wc-audio-player__play:disabled {
  opacity: 0.45;
}

.wc-cms .wc-audio-player__body {
  flex: 1 1 auto;
  min-width: 0;
}

.wc-cms .wc-audio-player__times {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(31, 42, 42, 0.7);
  margin-bottom: 6px;
}

.wc-cms .wc-audio-player__time--muted {
  color: var(--wc-label-color);
}

.wc-cms .wc-audio-player__range {
  width: 100%;
  accent-color: rgba(0, 0, 0, 0.85);
  height: 4px;
}

.wc-cms .wc-audio-player__mute {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--wc-text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wc-cms .wc-audio-player__mute:hover {
  background: rgba(0, 0, 0, 0.06);
  color: rgba(31, 42, 42, 0.85);
}

/* File picker (custom "Choose file") */
.wc-cms .wc-file-picker {
  width: 100%;
}

.wc-cms .wc-file-picker__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wc-cms .wc-file-picker__label {
  height: auto;
  min-height: var(--wc-input-height);
  border-radius: var(--wc-radius-sm);
  border: 1px dashed var(--wc-border-strong);
  background: var(--wc-bg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  transition: border-color 150ms ease, background 150ms ease;
}

.wc-cms .wc-file-picker__label:hover {
  border-color: var(--wc-accent);
  background: rgba(17, 17, 17, 0.02);
}

.wc-cms .wc-file-picker__label.has-file {
  border-style: solid;
  background: var(--wc-white);
}

.wc-cms .wc-file-picker__label.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wc-cms .wc-file-picker__label.is-disabled:hover {
  border-color: var(--wc-border-strong);
  background: var(--wc-bg);
}

.wc-cms .wc-file-picker__input:focus-visible + .wc-file-picker__label {
  border-color: var(--wc-accent);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.10);
}

.wc-cms .wc-file-picker__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: rgba(31, 42, 42, 0.8);
  font-weight: 700;
  font-size: 14px;
  flex: 0 0 auto;
}

.wc-cms .wc-file-picker__button i {
  font-size: 16px;
}

.wc-cms .wc-file-picker__text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--wc-text-secondary);
  font-weight: 600;
}

.wc-cms .wc-file-picker__text.has-file {
  color: var(--wc-text);
}

/* Header hint (with info icon) */
.wc-cms .wc-header-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 8px;
  font-size: var(--wc-text-sm);
  line-height: var(--wc-leading-normal);
  color: var(--wc-text-secondary);
  background: rgba(0, 0, 0, 0.04);
  border-radius: 999px;
}

.wc-cms .wc-header-hint i {
  font-size: 15px;
  color: var(--wc-text-secondary);
}

/* New meditation form */
.wc-cms .wc-form-wrap {
  padding: 18px;
}

.wc-cms .wc-form-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 18px 0;
}

.wc-cms .wc-toggle-row {
  border-radius: var(--wc-radius);
  padding: 14px 14px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Alerts (match sidebar active soft tints) */
.wc-cms .wc-alert {
  border-radius: var(--wc-radius);
  border-width: 1px;
  box-shadow: none;
}

.wc-cms .wc-alert--success {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.28);
  color: #166534;
}

/* ── Component-specific button overrides ───────────────────────────────────── */

/* Outline primary (edit, action buttons) */
.wc-cms .btn-outline-primary {
  color: var(--wc-accent) !important;
  border-color: var(--wc-border-strong) !important;
  background: transparent !important;
}
.wc-cms .btn-outline-primary:hover {
  background: var(--wc-accent) !important;
  border-color: var(--wc-accent) !important;
  color: #ffffff !important;
}
.wc-cms .btn-outline-primary:hover i,
.wc-cms .btn-outline-primary:hover svg {
  color: #ffffff !important;
  fill: #ffffff !important;
}
.wc-cms a.btn.btn-outline-primary:hover,
.wc-cms a.btn.btn-outline-primary:hover * {
  color: #ffffff !important;
}

/* Outline success */
.wc-cms .btn-outline-success {
  color: #7c3aed !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  background: transparent !important;
}
.wc-cms .btn-outline-success:hover {
  background: #7c3aed !important;
  border-color: #7c3aed !important;
  color: #ffffff !important;
}
.wc-cms a.btn.btn-outline-success:hover,
.wc-cms a.btn.btn-outline-success:hover * {
  color: #ffffff !important;
}

/* Solid-hover primary variant */
.wc-cms .wc-btn-primary-solid.btn-primary,
.wc-cms .wc-btn-primary-solid.btn-primary:hover {
  background: #7c3aed !important;
  border-color: #7c3aed !important;
  color: #ffffff !important;
}

/* New button icon color */
.wc-cms .wc-btn-new,
.wc-cms .wc-btn-new i {
  color: #ffffff;
}

/* Edit button */
.wc-cms .wc-btn-edit.btn-outline-primary {
  border-color: var(--wc-border-strong) !important;
}
.wc-cms .wc-btn-edit.btn-outline-primary:hover,
.wc-cms .wc-btn-edit.btn-outline-primary:hover * {
  color: #ffffff !important;
}

/* Visibility toggle buttons — subtle border, accent on hover */
.wc-cms .wc-btn-unhide.btn-outline-success {
  border-color: var(--wc-border) !important;
}
.wc-cms .wc-btn-unhide.btn-outline-success:hover {
  background: transparent !important;
  border-color: var(--wc-accent) !important;
  color: var(--wc-accent) !important;
}

.wc-cms .wc-btn-hide.btn-outline-secondary {
  color: var(--wc-text-secondary) !important;
  border-color: var(--wc-border) !important;
}
.wc-cms .wc-btn-hide.btn-outline-secondary:hover {
  background: rgba(139, 92, 246, 0.04) !important;
  border-color: rgba(139, 92, 246, 0.3) !important;
  color: #7c3aed !important;
}
.wc-cms .wc-btn-hide.btn-outline-secondary:hover i,
.wc-cms .wc-btn-unhide.btn-outline-success:hover i {
  color: #7c3aed !important;
}

/* (Old sidebar overrides removed — see "Sidebar (SaaS layout)" section above) */

.wc-cms .wc-btn-row-save {
  min-width: 112px;
  text-align: center;
}

/* Tabs (App Management) */
.wc-cms .wc-nav-tabs {
  border-bottom: 1px solid var(--wc-border);
  gap: 4px;
  padding-bottom: 0;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.wc-cms .wc-nav-tabs .nav-link {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 10px 14px;
  font-family: var(--wc-font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--wc-text-secondary);
  background: transparent;
  margin-bottom: -1px;
  cursor: pointer;
  pointer-events: auto;
  transition: color 0.15s, border-color 0.15s;
  text-decoration: none;
}
.wc-cms .wc-nav-tabs .nav-link i {
  font-size: 15px;
}

.wc-cms .wc-nav-tabs .nav-link:hover {
  color: var(--wc-text);
  background: transparent;
}

.wc-cms .wc-nav-tabs .nav-link.active {
  color: var(--wc-text);
  font-weight: 700;
  border-bottom-color: var(--wc-text);
}

.wc-cms .wc-tab-content .tab-pane {
  animation: wcFadeUp 240ms ease-out both;
}

/* Toggle rows (App Management + other settings areas) */
.wc-cms .wc-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid var(--wc-border);
  border-radius: 12px;
  background: var(--wc-white);
}

.wc-cms .wc-visibility-date-row {
  padding: 12px 16px;
  border: 1px solid var(--wc-border);
  border-radius: 12px;
  background: var(--wc-white);
}

.wc-cms .wc-toggle-row__text {
  flex: 1 1 auto;
  min-width: 0;
}

.wc-cms .wc-toggle-row__label {
  font-weight: 600;
  color: var(--wc-text);
}

.wc-cms .wc-toggle-row__desc {
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--wc-muted);
}

/* Onboarding tab: step cards + subtle timeline */
.wc-cms .wc-onboarding-timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.wc-cms .wc-onboarding-v3 {
  max-width: 980px;
}

.wc-cms .wc-onboarding-heading {
  margin-bottom: 26px;
}

.wc-cms .wc-onboarding-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--wc-text);
  margin-bottom: 4px;
}

.wc-cms .wc-onboarding-desc {
  font-size: 0.92rem;
  color: var(--wc-text-secondary);
}

.wc-cms .wc-onboarding-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.wc-cms .wc-onboarding-steps::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: rgba(63, 50, 33, 0.18);
  z-index: 0;
}

.wc-cms .wc-onboarding-step-card {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  align-items: start;
  padding-bottom: 24px;
  position: relative;
  animation: wcFadeUp 320ms ease both;
}

.wc-cms .wc-onboarding-step-card:nth-child(1) {
  animation-delay: 50ms;
}
.wc-cms .wc-onboarding-step-card:nth-child(2) {
  animation-delay: 100ms;
}
.wc-cms .wc-onboarding-step-card:nth-child(3) {
  animation-delay: 150ms;
}

.wc-cms .wc-onboarding-step-card:last-child {
  padding-bottom: 0;
}

.wc-cms .wc-onboarding-step-num {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--wc-white);
  border: 1px solid rgba(63, 50, 33, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--wc-text-secondary);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: border-color 160ms ease, color 160ms ease;
}

.wc-cms .wc-onboarding-step-card:hover .wc-onboarding-step-num {
  border-color: var(--wc-accent);
  color: var(--wc-accent);
}

.wc-cms .wc-onboarding-step-body {
  background: var(--wc-white);
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius);
  overflow: hidden;
  transition: box-shadow 160ms ease;
}

.wc-cms .wc-onboarding-step-card:hover .wc-onboarding-step-body {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.wc-cms .wc-onboarding-step-body-inner {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 160px;
}

.wc-cms .wc-onboarding-step-image-pane {
  position: relative;
  border-right: 1px solid var(--wc-border);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.02);
}

.wc-cms .wc-onboarding-step-image-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wc-cms .wc-onboarding-step-image-empty {
  width: 100%;
  height: 100%;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--wc-label-color);
  font-size: 0.92rem;
}

.wc-cms .wc-onboarding-step-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 200ms ease;
  user-select: none;
}

.wc-cms .wc-onboarding-step-image-pane:hover .wc-onboarding-step-image-overlay,
.wc-cms .wc-onboarding-step-image-pane:focus-within .wc-onboarding-step-image-overlay {
  opacity: 1;
}

.wc-cms .wc-onboarding-step-image-overlay.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.wc-cms .wc-onboarding-overlay-btn {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.88);
  cursor: pointer;
  transition: background 120ms ease;
}

.wc-cms .wc-onboarding-overlay-btn:hover {
  background: #f0f0f0;
}

.wc-cms .wc-onboarding-step-content-pane {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wc-cms .wc-onboarding-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wc-cms .wc-onboarding-step-label,
.wc-cms .wc-onboarding-field-label {
  display: block;
  font-size: var(--wc-text-xs);
  letter-spacing: var(--wc-tracking-wider);
  text-transform: uppercase;
  color: var(--wc-text-secondary);
  font-weight: 600;
  margin-bottom: 8px;
  line-height: var(--wc-leading-normal);
}

.wc-cms .wc-onboarding-field-textarea {
  height: 72px;
  resize: none;
  line-height: var(--wc-leading-relaxed);
}

.wc-cms .wc-onboarding-upload-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.wc-cms .wc-onboarding-upload-row .wc-btn-xs--primary i {
  margin-right: 6px;
}

.wc-cms .wc-onboarding-file-display {
  font-size: 0.9rem;
  color: var(--wc-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

.wc-cms .wc-onboarding-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: stretch;
}

.wc-cms .wc-onboarding-marker {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
}

.wc-cms .wc-onboarding-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--wc-text);
  background: var(--wc-white);
  border: 1px solid rgba(63, 50, 33, 0.18);
}

.wc-cms .wc-onboarding-line {
  flex: 1 1 auto;
  width: 2px;
  margin-top: 10px;
  background: rgba(63, 50, 33, 0.10);
  border-radius: 999px;
}

.wc-cms .wc-onboarding-item:last-of-type .wc-onboarding-line {
  display: none;
}

.wc-cms .wc-onboarding-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius);
  background: var(--wc-white);
  overflow: hidden;
}

.wc-cms .wc-onboarding-card__media {
  min-height: 220px;
  border-right: 1px solid rgba(63, 50, 33, 0.10);
  background: rgba(31, 42, 42, 0.03);
}

.wc-cms .wc-onboarding-image {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: grid;
  place-items: center;
}

.wc-cms .wc-onboarding-image.is-empty::before {
  content: "No image";
  color: var(--wc-muted);
  font-size: 0.95rem;
}

.wc-cms .wc-onboarding-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.wc-cms .wc-onboarding-change {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.42);
  color: #ffffff;
  font-weight: 600;
  letter-spacing: var(--wc-tracking-normal);
  opacity: 0;
  transition: opacity 140ms ease;
  cursor: pointer;
  user-select: none;
}

.wc-cms .wc-onboarding-change.is-disabled {
  cursor: not-allowed;
  opacity: 0.22;
}

.wc-cms .wc-onboarding-image:hover .wc-onboarding-change,
.wc-cms .wc-onboarding-image:focus-within .wc-onboarding-change {
  opacity: 1;
}

@media (hover: none) {
  .wc-cms .wc-onboarding-change {
    opacity: 1;
    background: rgba(0, 0, 0, 0.34);
  }
}

.wc-cms .wc-onboarding-card__body {
  padding: 18px 18px 16px;
}

.wc-cms .wc-onboarding-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.wc-cms .wc-onboarding-step-title {
  font-weight: 700;
  color: var(--wc-text);
}

.wc-cms .wc-onboarding-upload {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.wc-cms .wc-onboarding-upload__label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--wc-text);
}

.wc-cms .wc-onboarding-upload__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1 1 auto;
}

.wc-cms .wc-pill {
  border-radius: 999px;
  padding: 0.46rem 0.82rem;
  line-height: 1;
  font-weight: 600;
}

/* ── Filter dropdowns ──────────────────────────────── */
.wc-cms .wc-filter-dropdown {
  position: relative;
  display: inline-block;
}

.wc-cms .wc-filter-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px 0 12px;
  min-width: 170px;
  border-radius: 8px;
  border: 1px solid var(--wc-border);
  background: var(--wc-white);
  color: var(--wc-text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.wc-cms .wc-filter-dropdown__trigger i:first-child {
  font-size: 15px;
  opacity: 0.55;
}

.wc-cms .wc-filter-dropdown__trigger:hover {
  border-color: var(--wc-border-strong);
  background: var(--wc-bg);
  color: var(--wc-text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.wc-cms .wc-filter-dropdown__trigger i {
  color: inherit !important;
}

.wc-cms .wc-filter-dropdown__trigger.has-selection {
  border-color: rgba(0, 0, 0, 0.25);
  background: rgba(0, 0, 0, 0.06);
  color: var(--wc-text);
  font-weight: 600;
}

.wc-cms .wc-filter-dropdown__trigger.has-selection i:first-child {
  opacity: 0.8;
}

.wc-cms .wc-filter-dropdown__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #333;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0 5px;
  line-height: 1;
  margin-left: auto;
}

.wc-cms .wc-filter-dropdown__caret {
  font-size: 18px;
  opacity: 0.4;
  margin-left: auto;
}

.wc-cms .wc-filter-dropdown__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 100;
  min-width: 240px;
  max-height: 360px;
  border: 1px solid var(--wc-border);
  border-radius: 12px;
  background: var(--wc-white);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: wc-dropdown-in 0.14s ease-out;
}

@keyframes wc-dropdown-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.wc-cms .wc-filter-dropdown__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 8px;
  border-bottom: 1px solid var(--wc-border);
}

.wc-cms .wc-filter-dropdown__title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--wc-text-secondary);
  text-transform: uppercase;
  letter-spacing: var(--wc-tracking-wide);
}

.wc-cms .wc-filter-dropdown__options {
  overflow-y: auto;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-height: 0;
  flex: 1 1 auto;
}

.wc-cms .wc-filter-dropdown__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--wc-text);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background 0.1s;
}

.wc-cms .wc-filter-dropdown__option:hover {
  background: var(--wc-bg);
}

.wc-cms .wc-filter-dropdown__option.is-active {
  background: rgba(0, 0, 0, 0.05);
  color: var(--wc-text);
  font-weight: 600;
}

.wc-cms .wc-filter-dropdown__checkbox {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  transition: background 0.1s, border-color 0.1s;
}

.wc-cms .wc-filter-dropdown__option.is-active .wc-filter-dropdown__checkbox {
  background: #333;
  border-color: #333;
  color: #fff;
}

.wc-cms .wc-filter-dropdown__footer {
  border-top: 1px solid var(--wc-border);
  padding: 8px 14px;
  display: flex;
  justify-content: flex-end;
}

.wc-cms .wc-filter-dropdown__done {
  border: none;
  background: #111;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 5px 18px;
  border-radius: 6px;
  transition: background 0.12s;
}

.wc-cms .wc-filter-dropdown__done:hover {
  background: #333;
}

.wc-cms .wc-filter-dropdown__clear {
  border: none;
  background: none;
  color: var(--wc-text-secondary);
  font-size: 0.74rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wc-cms .wc-filter-dropdown__clear:hover {
  color: var(--wc-text);
}

.wc-cms .wc-filter-clear-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #111;
  color: #fff !important;
  font-size: 16px;
  text-decoration: none !important;
  margin-left: auto;
  flex-shrink: 0;
  transition: background 0.12s, transform 0.12s;
}

.wc-cms .wc-filter-clear-btn:hover {
  background: #333;
  color: #fff !important;
  text-decoration: none !important;
  transform: scale(1.05);
}

.wc-cms .wc-meditations-filters {
  display: grid;
  gap: 10px;
}

.wc-cms .wc-meditations-filters__panel {
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius);
  background: var(--wc-white);
  padding: 16px 18px;
  display: grid;
  gap: 12px;
}

.wc-cms .wc-meditations-filters__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.wc-cms .wc-meditations-filters__label {
  width: 108px;
  flex-shrink: 0;
  font-size: var(--wc-text-xs);
  line-height: 1;
  font-weight: 600;
  color: var(--wc-text-secondary);
  letter-spacing: var(--wc-tracking-wider);
  color: var(--wc-muted);
}

.wc-cms .wc-meditations-filters__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.wc-cms .wc-meditations-filters__divider {
  height: 1px;
  background: var(--wc-border);
}

.wc-cms .wc-meditations-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--wc-border);
  background: var(--wc-white);
  color: var(--wc-text-secondary);
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
  text-decoration: none;
  font-size: 0.81rem;
  font-weight: 500;
  min-height: 31px;
  padding: 0.42rem 0.74rem;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.wc-cms .wc-meditations-filter-pill:hover {
  border-color: var(--wc-border-strong);
  background: var(--wc-bg);
  color: var(--wc-text);
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.wc-cms .wc-meditations-filter-pill__check {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1;
  background: #2d6a4f;
  color: #fff;
  flex-shrink: 0;
}

.wc-cms .wc-meditations-filter-pill.is-active {
  background: #e8f4ee;
  border-color: #9acfb5;
  color: #2d6a4f;
  font-weight: 600;
}

.wc-cms .wc-meditations-filter-pill.is-active .wc-meditations-filter-pill__check {
  display: inline-flex;
}

.wc-cms .wc-meditations-filter-pill--all.is-active {
  background: #111111;
  border-color: #111111;
  color: #fff;
}

.wc-cms .wc-meditations-filter-pill--all.is-active .wc-meditations-filter-pill__check {
  background: #fff;
  color: #111111;
}

.wc-cms .wc-meditations-filter-pill:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(45, 106, 79, 0.18);
}

.wc-cms .wc-meditations-filters__summary {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.wc-cms .wc-meditations-filters__summary-label {
  font-size: 0.78rem;
  color: var(--wc-muted);
}

.wc-cms .wc-meditations-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 999px;
  padding: 4px 10px;
  border: 1px solid #9acfb5;
  background: #e8f4ee;
  color: #2d6a4f;
  font-size: 0.77rem;
  font-weight: 600;
}

.wc-cms .wc-meditations-filter-tag:hover {
  color: #2d6a4f;
  text-decoration: none;
  border-color: #86beaa;
}

.wc-cms .wc-meditations-filter-tag__x {
  opacity: 0.7;
}

.wc-cms .wc-meditations-filters__clear {
  font-size: 0.77rem;
  color: var(--wc-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 2px;
}

.wc-cms .wc-meditations-filters__clear:hover {
  color: var(--wc-text);
}

@media (max-width: 768px) {
  .wc-cms .wc-meditations-filters__panel {
    padding: 12px;
  }

  .wc-cms .wc-meditations-filters__row {
    align-items: flex-start;
  }

  .wc-cms .wc-meditations-filters__label {
    width: 100%;
    margin-bottom: 2px;
  }
}

/* ── Search form ────────────────────────────────── */

.wc-cms .wc-search-form {
  flex: 1;
  min-width: 180px;
  max-width: 420px;
}

.wc-cms .wc-search-form__field {
  position: relative;
  display: flex;
  align-items: center;
}

.wc-cms .wc-search-form__icon {
  position: absolute;
  left: 14px;
  font-size: 0.88rem;
  color: var(--wc-muted);
  pointer-events: none;
}

.wc-cms .wc-search-form__input {
  width: 100%;
  height: 38px;
  padding: 0 38px;
  font-size: 0.85rem;
  border: 1px solid var(--wc-border);
  border-radius: 8px;
  background: var(--wc-white);
  color: var(--wc-text);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.wc-cms .wc-search-form__input::placeholder {
  color: var(--wc-muted);
}

.wc-cms .wc-search-form__input:focus {
  border-color: rgba(45, 106, 79, 0.4);
  box-shadow: 0 0 0 0.18rem rgba(45, 106, 79, 0.1);
}

.wc-cms .wc-search-form__clear {
  position: absolute;
  right: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--wc-muted);
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}

.wc-cms .wc-search-form__clear:hover,
.wc-cms .wc-search-form__submit:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--wc-text);
}

.wc-cms .wc-search-form__submit {
  position: absolute;
  right: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--wc-muted);
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}

/* ── /Search form ──────────────────────────────── */

/* ── Actions menu ──────────────────────────────── */

.wc-cms .wc-actions-menu {
  position: relative;
  display: inline-block;
}

.wc-cms .wc-actions-menu__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--wc-border);
  border-radius: 8px;
  background: var(--wc-white);
  color: var(--wc-muted);
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}

.wc-cms .wc-actions-menu__trigger:hover {
  background: #f5f5f5;
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--wc-text);
}

.wc-cms .wc-actions-menu__trigger:hover i {
  color: inherit;
}

.wc-actions-menu__dropdown {
  z-index: 1050;
  min-width: 160px;
  padding: 4px 0;
  border: 1px solid var(--wc-border);
  border-radius: 10px;
  background: var(--wc-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.wc-cms .wc-actions-menu__item,
.wc-cms a.wc-actions-menu__item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 14px;
  border: none;
  background: none;
  font-size: 0.84rem;
  color: var(--wc-text);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.1s;
}

.wc-cms .wc-actions-menu__item:hover,
.wc-cms a.wc-actions-menu__item:hover {
  background: #f5f5f5;
  color: var(--wc-text);
  text-decoration: none;
}

.wc-cms .wc-actions-menu__item:hover i,
.wc-cms a.wc-actions-menu__item:hover i {
  color: inherit;
}

.wc-cms .wc-actions-menu__item--danger:hover i,
.wc-cms a.wc-actions-menu__item--danger:hover i {
  color: inherit;
}

.wc-cms .wc-actions-menu__item:disabled {
  opacity: 0.5;
  cursor: default;
}

.wc-cms .wc-actions-menu__item--danger,
.wc-cms a.wc-actions-menu__item--danger {
  color: #dc3545;
}

.wc-cms .wc-actions-menu__item--danger:hover,
.wc-cms a.wc-actions-menu__item--danger:hover {
  background: rgba(220, 53, 69, 0.06);
  color: #dc3545;
}

/* Actions dropdown — alternate class names used by taxonomy/category rows */
.wc-actions-dropdown {
  z-index: 1050;
  min-width: 160px;
  padding: 4px 0;
  border: 1px solid var(--wc-border);
  border-radius: 10px;
  background: var(--wc-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.wc-cms .wc-actions-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 14px;
  border: none;
  background: none;
  font-size: 0.84rem;
  color: var(--wc-text);
  cursor: pointer;
  text-align: left;
}
.wc-cms .wc-actions-dropdown-item:hover {
  background: #f5f5f5;
  color: var(--wc-text);
}
.wc-cms .wc-actions-dropdown-item:disabled {
  opacity: 0.5;
  cursor: default;
}
.wc-cms .wc-actions-dropdown-item--danger {
  color: #dc3545;
}
.wc-cms .wc-actions-dropdown-item--danger:hover {
  background: rgba(220, 53, 69, 0.06);
  color: #dc3545;
}

.wc-cms .wc-actions-menu__divider {
  height: 1px;
  margin: 4px 0;
  background: var(--wc-border);
}

.wc-cms .wc-actions-menu__error {
  padding: 6px 14px;
  font-size: 0.78rem;
  color: #dc3545;
}

/* Quick actions dropdown — wider variant used in campaign/page editors */
.wc-cms .wc-quick-actions-dropdown {
  min-width: 210px;
  animation: wc-dropdown-in 0.14s ease-out;
}

/* ── /Actions menu ─────────────────────────────── */

.wc-cms .wc-inline-saved {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.wc-cms .wc-inline-saved.mb-0 {
  margin-bottom: 0;
}

.wc-cms .wc-home-banner-card {
  display: grid;
  grid-template-columns: 22% 1fr;
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius);
  background: var(--wc-white);
  overflow: hidden;
}

.wc-cms .wc-home-banner-card__media {
  min-height: 180px;
  border-right: 1px solid rgba(63, 50, 33, 0.10);
  background: rgba(31, 42, 42, 0.03);
}

.wc-cms .wc-home-banner-image {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: grid;
  place-items: center;
}

.wc-cms .wc-home-banner-image.is-empty::before {
  content: "No image";
  color: var(--wc-muted);
  font-size: 0.95rem;
}

.wc-cms .wc-home-banner-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.wc-cms .wc-home-banner-change-group {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  transition: opacity 140ms ease;
}

.wc-cms .wc-home-banner-change {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--wc-tracking-normal);
  cursor: pointer;
  user-select: none;
  transition: background 120ms ease;
}

.wc-cms .wc-home-banner-change:hover {
  background: rgba(0, 0, 0, 0.5);
}

.wc-cms .wc-home-banner-change.is-disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.wc-cms .wc-home-banner-image:hover .wc-home-banner-change-group,
.wc-cms .wc-home-banner-image:focus-within .wc-home-banner-change-group {
  opacity: 1;
}

.wc-cms .wc-home-banner-card__body {
  padding: 18px 18px 16px;
}

.wc-cms .wc-home-banner-controls {
  margin-top: 6px;
}

.wc-cms .wc-home-banner-controls__label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--wc-text);
  margin-bottom: 8px;
}

.wc-cms .wc-home-banner-controls__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.wc-cms .wc-home-banner-file-name {
  font-size: 0.92rem;
  color: var(--wc-muted);
  min-width: 180px;
  max-width: 360px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wc-cms .wc-home-copy-card {
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius);
  background: var(--wc-white);
  padding: 18px;
}

.wc-cms .wc-home-v3 {
  max-width: 980px;
}

.wc-cms .wc-home-section-block {
  margin-bottom: 12px;
  animation: wcFadeUp 320ms ease both;
}

.wc-cms .wc-home-section-block:nth-child(1) {
  animation-delay: 40ms;
}
.wc-cms .wc-home-section-block:nth-child(2) {
  animation-delay: 90ms;
}

.wc-cms .wc-home-section-heading {
  margin-bottom: 14px;
}

.wc-cms .wc-home-section-title {
  font-size: var(--wc-text-md);
  font-weight: 600;
  color: var(--wc-text);
  line-height: var(--wc-leading-tight);
  letter-spacing: var(--wc-tracking-tight);
  margin-bottom: 2px;
}

.wc-cms .wc-home-section-desc {
  font-size: var(--wc-text-sm);
  color: var(--wc-text-secondary);
  line-height: var(--wc-leading-normal);
}

.wc-cms .wc-home-copy-grid-card {
  background: var(--wc-white);
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius);
  overflow: hidden;
}

.wc-cms .wc-home-saved-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.14);
  color: #166534;
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(34, 197, 94, 0.28);
}

/* Created banner — polished onboarding card */
.wc-cms .wc-created-banner {
  display: flex;
  gap: 16px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(59, 130, 246, 0.06) 100%);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 12px;
  padding: 20px 24px;
}
.wc-cms .wc-created-banner__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(34, 197, 94, 0.15);
  border-radius: 10px;
  color: #16a34a;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.wc-cms .wc-created-banner__content {
  flex: 1;
  min-width: 0;
}
.wc-cms .wc-created-banner__title {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #166534;
  margin: 0 0 10px 0;
}
.wc-cms .wc-created-banner__steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wc-cms .wc-created-banner__step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #374151;
}
.wc-cms .wc-created-banner__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.wc-cms .wc-home-copy-grid-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 12px 20px;
  border-bottom: 1px solid var(--wc-border);
  background: rgba(0, 0, 0, 0.02);
}

.wc-cms .wc-home-copy-grid-header span {
  font-size: var(--wc-text-xs);
  letter-spacing: var(--wc-tracking-wider);
  text-transform: uppercase;
  color: var(--wc-text-secondary);
  font-weight: 600;
}

.wc-cms .wc-home-copy-grid-header span:first-child {
  padding-right: 20px;
  border-right: 1px solid var(--wc-border);
}

.wc-cms .wc-home-copy-grid-header span:last-child {
  padding-left: 20px;
}

.wc-cms .wc-home-copy-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--wc-border);
  transition: background-color 120ms ease;
}

.wc-cms .wc-home-copy-row:last-child {
  border-bottom: none;
}

.wc-cms .wc-home-copy-row:hover {
  background: rgba(0, 0, 0, 0.02);
}

.wc-cms .wc-home-copy-cell {
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wc-cms .wc-home-copy-cell:first-child {
  border-right: 1px solid var(--wc-border);
}

.wc-cms .wc-home-copy-cell-label {
  font-size: var(--wc-text-xs);
  letter-spacing: var(--wc-tracking-wider);
  text-transform: uppercase;
  color: var(--wc-text-secondary);
  font-weight: 600;
  line-height: var(--wc-leading-normal);
}

.wc-cms .wc-home-copy-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.wc-cms .wc-home-copy-table td {
  vertical-align: top;
  width: 50%;
}

.wc-cms .wc-home-copy-label {
  font-size: 0.88rem;
  color: var(--wc-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.wc-cms .wc-panel {
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius);
  background: var(--wc-white);
  padding: 18px;
}

.wc-cms .wc-panel__header {
  margin-bottom: 12px;
}

.wc-cms .wc-panel-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 14px;
  border-radius: var(--wc-radius);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.wc-cms .wc-panel-toggle__text {
  flex: 1 1 auto;
  min-width: 0;
}

.wc-cms .wc-panel-toggle__label {
  font-weight: 700;
  color: var(--wc-text);
}

.wc-cms .wc-panel-toggle__desc {
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--wc-muted);
}

.wc-cms .wc-launch-v3 {
  max-width: 980px;
}

.wc-cms .wc-launch-saved-pill {
  margin-bottom: 18px;
}

.wc-cms .wc-launch-unified-card {
  background: var(--wc-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
}

.wc-cms .wc-launch-phone-col {
  background: #0f0f0f;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.wc-cms .wc-launch-phone-shell {
  width: 132px;
  background: #1c1c1c;
  border-radius: 22px;
  border: 2px solid #303030;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.wc-cms .wc-launch-phone-notch {
  width: 38px;
  height: 5px;
  background: #0f0f0f;
  border-radius: 3px;
  margin: 8px auto 0;
}

.wc-cms .wc-launch-phone-screen {
  position: relative;
  overflow: hidden;
}

.wc-cms .wc-launch-phone-screen img {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.wc-cms .wc-launch-phone-placeholder {
  width: 100%;
  aspect-ratio: 9 / 16;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
}

.wc-cms .wc-launch-phone-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 25%, rgba(0, 0, 0, 0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px 8px 14px;
  text-align: center;
}

.wc-cms .wc-launch-phone-tagline {
  font-family: var(--wc-font-display);
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: var(--wc-leading-normal);
}

.wc-cms .wc-launch-phone-bar {
  width: 30px;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  margin: 8px auto 0;
}

.wc-cms .wc-launch-phone-meta {
  font-size: var(--wc-text-xs);
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: var(--wc-tracking-wider);
  text-transform: uppercase;
}

.wc-cms .wc-launch-right-col {
  display: flex;
  flex-direction: column;
}

.wc-cms .wc-launch-sub-section {
  padding: 22px 26px;
}

.wc-cms .wc-launch-sub-section + .wc-launch-sub-section {
  border-top: 1px solid var(--wc-border);
}

.wc-cms .wc-launch-sub-label,
.wc-cms .wc-launch-field-label {
  font-size: var(--wc-text-xs);
  letter-spacing: var(--wc-tracking-wider);
  text-transform: uppercase;
  color: var(--wc-text-secondary);
  font-weight: 600;
  margin-bottom: 10px;
  line-height: var(--wc-leading-normal);
}

.wc-cms .wc-launch-field-group {
  margin-bottom: 14px;
}

.wc-cms .wc-launch-upload-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border: 1px solid var(--wc-border);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.03);
  width: 100%;
}

.wc-cms .wc-launch-upload-icon {
  color: var(--wc-label-color);
}

.wc-cms .wc-launch-upload-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.92rem;
  color: var(--wc-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wc-cms .wc-launch-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wc-cms .wc-btn-xs {
  background: transparent;
  border: 1px solid var(--wc-border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--wc-text-secondary);
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  line-height: 1;
}

.wc-cms .wc-btn-xs:hover {
  border-color: rgba(31, 42, 42, 0.35);
  color: var(--wc-text);
}

.wc-cms .wc-btn-xs--primary {
  border-color: rgba(0, 0, 0, 0.28);
  color: rgba(0, 0, 0, 0.85);
}

.wc-cms .wc-btn-xs--primary:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.35);
  color: rgba(0, 0, 0, 0.95);
}

.wc-cms .wc-btn-xs--danger {
  border-color: var(--wc-danger);
  color: var(--wc-danger);
}

.wc-cms .wc-btn-xs--danger:hover {
  background: rgba(180, 35, 24, 0.08);
  border-color: var(--wc-danger);
  color: var(--wc-danger);
}

.wc-cms .wc-btn-xs.is-disabled {
  opacity: 0.6;
  pointer-events: none;
}

.wc-cms .wc-launch-toggle-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
}

.wc-cms .wc-launch-toggle-inline__label {
  font-weight: 700;
  color: var(--wc-text);
  margin-bottom: 2px;
}

.wc-cms .wc-launch-toggle-inline__desc {
  font-size: 0.92rem;
  color: var(--wc-text-secondary);
}

.wc-cms .wc-explore-v3 {
  max-width: 980px;
}

.wc-cms .wc-explore-section-block {
  margin-bottom: 36px;
  animation: wcFadeUp 320ms ease both;
}

.wc-cms .wc-explore-section-block:nth-child(1) {
  animation-delay: 40ms;
}
.wc-cms .wc-explore-section-block:nth-child(2) {
  animation-delay: 90ms;
}

.wc-cms .wc-explore-section-heading {
  margin-bottom: 14px;
}

.wc-cms .wc-explore-section-title {
  font-size: var(--wc-text-md);
  font-weight: 600;
  color: var(--wc-text);
  line-height: var(--wc-leading-tight);
  letter-spacing: var(--wc-tracking-tight);
  margin-bottom: 2px;
}

.wc-cms .wc-explore-section-desc {
  font-size: var(--wc-text-sm);
  color: var(--wc-text-secondary);
  line-height: var(--wc-leading-normal);
}

.wc-cms .wc-explore-form-card {
  background: var(--wc-white);
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius);
  overflow: hidden;
}

.wc-cms .wc-explore-card-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--wc-border);
  background: rgba(0, 0, 0, 0.02);
}

.wc-cms .wc-explore-toggle-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--wc-text);
  margin-bottom: 2px;
}

.wc-cms .wc-explore-toggle-desc {
  font-size: 0.9rem;
  color: var(--wc-text-secondary);
}

.wc-cms .wc-explore-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.wc-cms .wc-explore-field-label {
  display: block;
  font-size: var(--wc-text-xs);
  letter-spacing: var(--wc-tracking-wider);
  text-transform: uppercase;
  color: var(--wc-text-secondary);
  font-weight: 600;
  margin-bottom: 8px;
  line-height: var(--wc-leading-normal);
}

.wc-cms .wc-explore-field-row {
  display: grid;
  gap: 16px;
}

.wc-cms .wc-explore-field-row--4 {
  grid-template-columns: 1fr 1fr 1fr 120px;
  align-items: end;
}

@media (max-width: 900px) {
  .wc-cms .wc-explore-field-row--4 {
    grid-template-columns: 1fr;
  }
}

.wc-cms .wc-explore-limit {
  width: 100%;
}

.wc-cms .wc-explore-copy-card {
  background: var(--wc-white);
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius);
  overflow: hidden;
}

.wc-cms .wc-explore-copy-grid-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 12px 20px;
  border-bottom: 1px solid var(--wc-border);
  background: rgba(0, 0, 0, 0.02);
}

.wc-cms .wc-explore-copy-grid-header span {
  font-size: var(--wc-text-xs);
  letter-spacing: var(--wc-tracking-wider);
  text-transform: uppercase;
  color: var(--wc-text-secondary);
  font-weight: 600;
}

.wc-cms .wc-explore-copy-grid-header span:first-child {
  padding-right: 20px;
  border-right: 1px solid var(--wc-border);
}

.wc-cms .wc-explore-copy-grid-header span:last-child {
  padding-left: 20px;
}

.wc-cms .wc-explore-copy-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--wc-border);
  transition: background-color 120ms ease;
}

.wc-cms .wc-explore-copy-row:last-child {
  border-bottom: none;
}

.wc-cms .wc-explore-copy-row:hover {
  background: rgba(0, 0, 0, 0.02);
}

.wc-cms .wc-explore-copy-cell {
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wc-cms .wc-explore-copy-cell:first-child {
  border-right: 1px solid var(--wc-border);
}

.wc-cms .wc-explore-copy-cell-label {
  font-size: var(--wc-text-xs);
  letter-spacing: var(--wc-tracking-wider);
  text-transform: uppercase;
  color: var(--wc-text-secondary);
  font-weight: 600;
  line-height: var(--wc-leading-normal);
}

.wc-cms .wc-onboarding-file-name {
  font-size: 0.92rem;
  color: var(--wc-muted);
  min-width: 180px;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wc-cms .wc-onboarding-add-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1.5px dashed rgba(63, 50, 33, 0.20);
  border-radius: 12px;
  padding: 14px 20px;
  font-weight: 600;
  color: var(--wc-text-secondary);
  cursor: not-allowed;
  margin-top: 8px;
  margin-left: 60px;
  width: calc(100% - 60px);
}

.wc-cms .wc-onboarding-add-step:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

@media (max-width: 991.98px) {
  .wc-cms .wc-home-banner-card {
    grid-template-columns: 1fr;
  }
  .wc-cms .wc-home-banner-card__media {
    border-right: 0;
    border-bottom: 1px solid rgba(63, 50, 33, 0.10);
    min-height: 220px;
  }
  .wc-cms .wc-home-copy-table td {
    width: 100%;
    display: block;
  }
  .wc-cms .wc-onboarding-card {
    grid-template-columns: 1fr;
  }
  .wc-cms .wc-onboarding-card__media {
    border-right: 0;
    border-bottom: 1px solid rgba(63, 50, 33, 0.10);
    min-height: 200px;
  }
  .wc-cms .wc-onboarding-add-step {
    width: 100%;
    margin-left: 0;
  }
  .wc-cms .wc-onboarding-item {
    grid-template-columns: 28px 1fr;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   Push Notifications (dashboard/push-notifications)
   ──────────────────────────────────────────────────────────────────────────── */

.wc-cms .wc-push.section-block {
  animation: wcFadeUp 0.35s ease both;
}

.wc-cms .wc-push.section-block + .wc-push.section-block {
  margin-top: 24px;
}

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

.wc-cms .wc-push .section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.wc-cms .wc-push .section-title {
  font-size: var(--wc-text-md);
  font-weight: 600;
  color: var(--wc-text);
  line-height: var(--wc-leading-tight);
  letter-spacing: var(--wc-tracking-tight);
  margin-bottom: 4px;
}

.wc-cms .wc-push .section-desc {
  font-size: var(--wc-text-sm);
  color: var(--wc-text-secondary);
  line-height: var(--wc-leading-normal);
}

/* Match push inputs to the design system height */
.wc-cms .wc-push .form-control,
.wc-cms .wc-push .form-select {
  min-height: var(--wc-input-height);
}

.wc-cms .wc-push .form-control:not(textarea),
.wc-cms .wc-push .form-select {
  height: var(--wc-input-height);
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

/* Ensure select elements inside push tools get dropdown styling */
.wc-cms .wc-push select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  cursor: pointer;
}

.wc-cms .wc-push textarea.form-control {
  min-height: 90px;
  height: auto;
}

.wc-cms .wc-push-table-wrap {
  background: var(--wc-white);
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius);
  overflow: hidden;
}

/* Template table: add breathing room between data rows */
.wc-cms .wc-push-table-wrap--templates {
  background: var(--wc-white);
}

.wc-cms .wc-push-table-wrap--templates .wc-push-new-row,
.wc-cms .wc-push-table-wrap--templates .wc-push-th-row {
  background: var(--wc-white);
}

.wc-cms .wc-push-table-wrap--templates .wc-push-data-row {
  background: var(--wc-white);
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius-sm);
  margin: 10px 14px;
  padding: 12px 16px;
  gap: 10px;
  border-bottom: 1px solid var(--wc-border);
}

.wc-cms .wc-push-table-wrap--templates .wc-push-data-row:last-child {
  border-bottom: 1px solid var(--wc-border);
}

.wc-cms .wc-push-table-wrap--templates .wc-push-data-row:hover {
  background: var(--wc-white);
}

.wc-cms .wc-push-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--wc-text-secondary);
  margin-bottom: 6px;
}

.wc-cms .wc-push-new-row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr 70px 90px;
  gap: 12px;
  align-items: end;
  padding: 16px 20px;
  background: var(--wc-bg);
  border-bottom: 1px solid var(--wc-border);
}

.wc-cms .wc-push-cell-center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: var(--wc-input-height);
}

.wc-cms .wc-push-cell-right {
  display: flex;
  align-items: center;
  height: var(--wc-input-height);
}

.wc-cms .wc-push-th-row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr 70px 90px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--wc-border);
  background: var(--wc-bg);
}

.wc-cms .wc-push-th-row-results {
  grid-template-columns: 1fr 100px 1fr 1fr;
}

.wc-cms .wc-push-th-row-logs {
  grid-template-columns: 140px 140px 160px 90px 1fr 180px;
}

.wc-cms .wc-push-th-row-campaigns {
  grid-template-columns: 120px 160px 140px 160px 1fr 180px;
}

.wc-cms .wc-push-th {
  font-size: var(--wc-text-xs);
  font-weight: 600;
  color: var(--wc-text-secondary);
  text-transform: uppercase;
  letter-spacing: var(--wc-tracking-wide);
}

.wc-cms .wc-push-th-center {
  text-align: center;
}

.wc-cms .wc-push-th-right {
  text-align: right;
}

.wc-cms .wc-push-data-row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr 70px 90px;
  align-items: center;
  padding: 13px 20px;
  transition: background-color 120ms ease;
  animation: wcFadeUp 0.25s ease both;
}

.wc-cms .wc-push-data-row:last-child {
  border-bottom: none;
}

.wc-cms .wc-push-data-row:hover {
  background: var(--wc-bg);
}

.wc-cms .wc-push-row-results {
  grid-template-columns: 1fr 100px 1fr 1fr;
}

.wc-cms .wc-push-row-logs {
  grid-template-columns: 140px 140px 160px 90px 1fr 180px;
}

.wc-cms .wc-push-row-campaigns {
  grid-template-columns: 120px 160px 140px 160px 1fr 180px;
}

.wc-cms .wc-push-slug {
  font-size: 0.82rem;
  color: #a07850;
  background: #fdf5ec;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 7px;
  font-weight: 500;
}

.wc-cms .wc-push-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.wc-cms .wc-push-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.wc-cms .wc-push-empty {
  padding: 24px 20px;
  font-size: 0.88rem;
  color: var(--wc-text-secondary);
}

/* Toggle (reused) */
.wc-cms .wc-push-toggle {
  position: relative;
  width: 42px;
  height: 24px;
  display: inline-block;
}

.wc-cms .wc-push-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.wc-cms .wc-push-toggle__slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(31, 42, 42, 0.18);
  transition: 0.15s;
  border-radius: 999px;
}

.wc-cms .wc-push-toggle__slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  top: 3px;
  background-color: white;
  transition: 0.15s;
  border-radius: 50%;
}

.wc-cms .wc-push-toggle input:checked + .wc-push-toggle__slider {
  background-color: rgba(45, 106, 79, 0.55);
}

.wc-cms .wc-push-toggle input:checked + .wc-push-toggle__slider:before {
  transform: translateX(18px);
}

/* Badges */
.wc-cms .wc-push-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
}

.wc-cms .wc-push-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.85;
}

.wc-cms .wc-push-badge--sent {
  background: rgba(34, 197, 94, 0.14);
  color: #166534;
}

.wc-cms .wc-push-badge--failed {
  background: rgba(180, 35, 24, 0.12);
  color: var(--wc-danger);
}

.wc-cms .wc-push-log-msg {
  font-size: 0.86rem;
  color: var(--wc-text);
}

.wc-cms .wc-push-log-error {
  font-size: 0.82rem;
  color: var(--wc-text-secondary);
}

/* Compose */
.wc-cms .wc-push-compose-card {
  background: var(--wc-white);
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius);
  overflow: hidden;
}

.wc-cms .wc-push-compose-body {
  padding: 20px 24px;
}

.wc-cms .wc-push-field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--wc-text-secondary);
  margin-bottom: 6px;
}

.wc-cms .wc-push-three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.wc-cms .wc-push-preview[readonly] {
  background: var(--wc-bg);
  color: var(--wc-text-secondary);
}

.wc-cms .wc-push-compose-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 24px;
  border-top: 1px solid var(--wc-border);
  background: rgba(31, 42, 42, 0.02);
}

.wc-cms .wc-push-compose-hint {
  font-size: 0.82rem;
  color: var(--wc-text-secondary);
}

.wc-cms .wc-push-btn-send {
  background: var(--wc-accent);
  border: 1px solid var(--wc-accent);
  color: #ffffff;
  padding-inline: 18px;
}

.wc-cms .wc-push-btn-send:hover {
  background: var(--wc-accent);
  border-color: var(--wc-accent);
  color: #ffffff;
}

/* Developer tools */
.wc-cms .wc-push-dev-card {
  background: var(--wc-white);
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius);
  overflow: hidden;
}

.wc-cms .wc-push-dev-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.wc-cms .wc-push-hint {
  font-size: var(--wc-text-sm);
  color: var(--wc-text-secondary);
  margin-top: 8px;
  line-height: var(--wc-leading-normal);
  letter-spacing: var(--wc-tracking-normal);
}

/* Logs filter bar */
.wc-cms .wc-push-logs-filters {
  display: grid;
  grid-template-columns: 1fr 200px 200px 120px;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--wc-border);
  background: var(--wc-bg);
}

.wc-cms .wc-push-logs-filters--campaign {
  grid-template-columns: 160px 1fr;
}

@media (max-width: 991.98px) {
  .wc-cms .wc-push-new-row,
  .wc-cms .wc-push-th-row,
  .wc-cms .wc-push-data-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .wc-cms .wc-push-three-col {
    grid-template-columns: 1fr;
  }
  .wc-cms .wc-push-logs-filters {
    grid-template-columns: 1fr;
  }
  .wc-cms .wc-push-compose-footer {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Push notification tabs */
.wc-cms .wc-push-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--wc-border);
  margin-bottom: 28px;
}

.wc-cms .wc-push-tabs__btn {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 10px 2px;
  font-family: var(--wc-font-ui);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--wc-text-secondary);
  background: transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 120ms ease;
}

.wc-cms .wc-push-tabs__btn:hover {
  color: var(--wc-text);
}

.wc-cms .wc-push-tabs__btn--active {
  color: var(--wc-text);
  font-weight: 700;
  border-bottom-color: var(--wc-accent);
}

.wc-cms .wc-push-tabs__content {
  animation: wcFadeUp 240ms ease-out both;
}

/* Resolved user name under User ID field */
.wc-cms .wc-push-resolved-name {
  margin-top: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--wc-accent);
}

/* Two-column grid */
.wc-cms .wc-push-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Advanced collapsible */
.wc-cms .wc-push-advanced-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--wc-text-secondary);
}

.wc-cms .wc-push-advanced-toggle:hover {
  color: var(--wc-text);
}

.wc-cms .wc-push-advanced-chevron {
  display: inline-block;
  width: 16px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 16px 12px;
  background-position: center;
  transition: transform 150ms ease;
  font-size: 0;
  line-height: var(--wc-leading-none);
}

.wc-cms .wc-push-advanced-chevron--open {
  transform: rotate(180deg);
}

.wc-cms .wc-push-advanced-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
  padding: 18px 20px;
  background: var(--wc-bg);
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius-sm);
  animation: wcFadeUp 180ms ease-out both;
}

/* Template cards */
.wc-cms .wc-push-tpl-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wc-cms .wc-push-tpl-card {
  background: var(--wc-white);
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius);
  overflow: hidden;
  transition: box-shadow 150ms ease;
}

.wc-cms .wc-push-tpl-card--expanded {
  box-shadow: 0 2px 8px rgba(31, 42, 42, 0.06);
}

.wc-cms .wc-push-tpl-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.wc-cms .wc-push-tpl-card-header:hover {
  background: var(--wc-bg);
}

.wc-cms .wc-push-tpl-card-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.wc-cms .wc-push-tpl-kind {
  font-size: 0.72rem;
  letter-spacing: var(--wc-tracking-wide);
  text-transform: uppercase;
  font-weight: 600;
  color: var(--wc-text-secondary);
  flex-shrink: 0;
}

.wc-cms .wc-push-tpl-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--wc-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wc-cms .wc-push-tpl-card-body {
  padding: 0 18px 18px;
  animation: wcFadeUp 180ms ease-out both;
}

/* Responsive table wrapper */
.wc-cms .wc-push-table-wrap--responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Tablet breakpoint */
@media (max-width: 1199.98px) and (min-width: 992px) {
  .wc-cms .wc-push-th-row-logs,
  .wc-cms .wc-push-row-logs {
    grid-template-columns: 120px 120px 140px 80px 1fr 150px;
  }
  .wc-cms .wc-push-th-row-campaigns,
  .wc-cms .wc-push-row-campaigns {
    grid-template-columns: 100px 140px 120px 140px 1fr 150px;
  }
}

@media (max-width: 991.98px) {
  .wc-cms .wc-push-two-col {
    grid-template-columns: 1fr;
  }
  .wc-cms .wc-push-th-row-logs,
  .wc-cms .wc-push-row-logs,
  .wc-cms .wc-push-th-row-campaigns,
  .wc-cms .wc-push-row-campaigns {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .wc-cms .wc-push-th-row-logs,
  .wc-cms .wc-push-th-row-campaigns {
    display: none;
  }
  .wc-cms .wc-push-row-logs,
  .wc-cms .wc-push-row-campaigns {
    padding: 14px 16px;
  }
  .wc-cms .wc-push-row-logs > div:before,
  .wc-cms .wc-push-row-campaigns > div:before {
    display: block;
    font-size: 0.68rem;
    letter-spacing: var(--wc-tracking-wider);
    text-transform: uppercase;
    color: rgba(31, 42, 42, 0.4);
    font-weight: 600;
    margin-bottom: 2px;
  }
}

@media (max-width: 767.98px) {
  .wc-cms .wc-push-three-col {
    grid-template-columns: 1fr;
  }
  .wc-cms .wc-push-tpl-card-summary {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* ── Content-health hover tooltip ────────────────────────── */
.wc-health-tip {
  position: relative;
  cursor: default;
}
.wc-health-tip::after {
  content: attr(data-tip);
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  background: #1c1c1e;
  color: #fff;
  font-size: var(--wc-text-sm);
  font-weight: var(--wc-weight-normal);
  line-height: var(--wc-leading-normal);
  padding: 8px 12px;
  border-radius: 8px;
  white-space: pre-line;
  min-width: 180px;
  max-width: 280px;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
  pointer-events: none;
}
.wc-health-tip:hover::after {
  display: block;
}

/* ── Dashboard ───────────────────────────────────────────── */

.wc-dash-section-title {
  display: block;
  font-size: var(--wc-text-xs);
  font-weight: 600;
  letter-spacing: var(--wc-tracking-wide);
  text-transform: uppercase;
  color: var(--wc-label-color);
  line-height: var(--wc-leading-normal);
  margin-bottom: 12px;
  opacity: 0;
  animation: wcFadeUp 340ms ease forwards;
  animation-delay: 20ms;
}

/* Quick action pills */
.wc-dash-quick-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--wc-border) !important;
  background: var(--wc-white) !important;
  color: var(--wc-text) !important;
  transition: background 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.wc-dash-quick-action:hover {
  background: rgba(139, 92, 246, 0.06) !important;
  border-color: rgba(139, 92, 246, 0.25) !important;
  color: var(--wc-text) !important;
  text-decoration: none !important;
}
.wc-dash-quick-action i {
  font-size: 16px;
}

/* Stat cards */
.wc-dash-stat-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--wc-white);
  border-radius: var(--wc-radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  opacity: 0;
  animation: wcFadeUp 380ms ease forwards;
}
.wc-dash-stat-card:nth-child(1) { animation-delay: 60ms; }
.wc-dash-stat-card:nth-child(2) { animation-delay: 100ms; }
.wc-dash-stat-card:nth-child(3) { animation-delay: 140ms; }
.wc-dash-stat-card:nth-child(4) { animation-delay: 180ms; }
  height: 100%;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.wc-dash-stat-card:hover {
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.18);
}
.wc-dash-stat-card--link {
  text-decoration: none;
  color: inherit;
}
.wc-dash-stat-card--link:hover {
  color: inherit;
}
.wc-dash-stat-icon {
  font-size: 20px;
  line-height: var(--wc-leading-none);
}
.wc-dash-stat-value {
  font-size: var(--wc-text-lg);
  font-weight: var(--wc-weight-bold);
  color: var(--wc-text);
  line-height: var(--wc-leading-tight);
  letter-spacing: var(--wc-tracking-tight);
}
.wc-dash-stat-sub {
  font-size: var(--wc-text-sm);
  line-height: var(--wc-leading-normal);
  color: var(--wc-muted);
}
.wc-dash-stat-label {
  font-size: var(--wc-text-sm);
  line-height: var(--wc-leading-normal);
  color: var(--wc-muted);
}

/* Content overview grid */
.wc-dash-content-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
@media (max-width: 1199px) {
  .wc-dash-content-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .wc-dash-content-grid { grid-template-columns: repeat(2, 1fr); }
}
.wc-dash-content-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--wc-white);
  border-radius: var(--wc-radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
  opacity: 0;
  animation: wcFadeUp 380ms ease forwards;
}
.wc-dash-content-card:nth-child(1) { animation-delay: 40ms; }
.wc-dash-content-card:nth-child(2) { animation-delay: 80ms; }
.wc-dash-content-card:nth-child(3) { animation-delay: 120ms; }
.wc-dash-content-card:nth-child(4) { animation-delay: 160ms; }
.wc-dash-content-card:nth-child(5) { animation-delay: 200ms; }
.wc-dash-content-card:hover {
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.18);
  color: inherit;
  text-decoration: none;
}
.wc-dash-content-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wc-dash-content-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  font-size: 15px;
  flex-shrink: 0;
}
.wc-dash-content-card__title {
  font-size: var(--wc-text-sm);
  font-weight: 600;
  color: var(--wc-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wc-dash-content-card__value {
  font-size: var(--wc-text-lg);
  font-weight: var(--wc-weight-bold);
  color: var(--wc-text);
  line-height: var(--wc-leading-tight);
  letter-spacing: var(--wc-tracking-tight);
}
.wc-dash-content-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.wc-dash-content-card__badge {
  font-size: 0.68rem;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}
.wc-dash-content-card__badge--published {
  background: rgba(139, 92, 246, 0.08);
  color: #7c3aed;
}
.wc-dash-content-card__badge--draft {
  background: rgba(0, 0, 0, 0.06);
  color: var(--wc-muted);
}
.wc-dash-content-card__extra {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px solid var(--wc-border);
  margin-top: 2px;
}
.wc-dash-content-card__extra-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  color: var(--wc-muted);
  white-space: nowrap;
}
.wc-dash-content-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Stat cards grid */
.wc-dash-stats-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}
.wc-dash-stats-grid--6 {
  grid-template-columns: repeat(6, 1fr);
}
.wc-dash-stats-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}
.wc-dash-stats-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1199px) {
  .wc-dash-stats-grid--6 { grid-template-columns: repeat(3, 1fr); }
  .wc-dash-stats-grid--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .wc-dash-stats-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .wc-dash-stats-grid--6,
  .wc-dash-stats-grid--5,
  .wc-dash-stats-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Dashboard list rows */
.wc-dash-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.12s;
  opacity: 0;
  animation: wcFadeUp 380ms ease forwards;
}
.wc-dash-list-row:nth-child(1) { animation-delay: 40ms; }
.wc-dash-list-row:nth-child(2) { animation-delay: 80ms; }
.wc-dash-list-row:nth-child(3) { animation-delay: 120ms; }
.wc-dash-list-row:nth-child(4) { animation-delay: 160ms; }
.wc-dash-list-row:nth-child(5) { animation-delay: 200ms; }
.wc-dash-list-row:nth-child(6) { animation-delay: 240ms; }
.wc-dash-list-row:nth-child(7) { animation-delay: 280ms; }
.wc-dash-list-row:nth-child(8) { animation-delay: 320ms; }
.wc-dash-list-row:nth-child(9) { animation-delay: 360ms; }
.wc-dash-list-row:nth-child(10) { animation-delay: 400ms; }
.wc-dash-list-row:hover {
  background: rgba(139, 92, 246, 0.04);
}

/* Rank badge */
.wc-dash-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 6px;
  padding: 0 4px;
}
.wc-dash-rank--gold { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }
.wc-dash-rank--silver { background: rgba(139, 92, 246, 0.07); color: #8b5cf6; }
.wc-dash-rank--bronze { background: rgba(139, 92, 246, 0.04); color: #a78bfa; }
.wc-dash-rank--default { background: rgba(0, 0, 0, 0.04); color: var(--wc-muted); }

/* Health status dots */
.wc-dash-health-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}
.wc-dash-health-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
}
.wc-dash-health-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.wc-dash-health-dot--green { background: #22c55e; }
.wc-dash-health-dot--amber { background: #f59e0b; }
.wc-dash-health-dot--red { background: #ef4444; }
.wc-dash-health-dot--gray { background: #94a3b8; }

/* Expandable health detail */
.wc-dash-health-detail {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.wc-dash-health-detail:last-child {
  border-bottom: none;
}
.wc-dash-health-detail summary {
  list-style: none;
}
.wc-dash-health-detail summary::-webkit-details-marker {
  display: none;
}
.wc-dash-health-detail summary .ri-arrow-down-s-line {
  transition: transform 0.2s;
}
.wc-dash-health-detail[open] summary .ri-arrow-down-s-line {
  transform: rotate(180deg);
}

/* Progress bar */
.wc-dash-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.wc-dash-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 300ms ease;
}
.wc-dash-bar-fill--green { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.wc-dash-bar-fill--amber { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.wc-dash-bar-fill--red { background: linear-gradient(90deg, #ef4444, #f87171); }

/* Mood chart */
.wc-dash-mood-chart {
  display: flex;
  gap: 4px;
  height: 120px;
  align-items: flex-end;
  margin-bottom: 12px;
}
.wc-dash-mood-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wc-dash-mood-pct {
  font-size: 11px;
  color: var(--wc-muted);
  margin-bottom: 4px;
}
.wc-dash-mood-bar {
  width: 100%;
  max-width: 40px;
  border-radius: 6px;
  min-height: 4px;
}
.wc-dash-mood-labels {
  display: flex;
  gap: 4px;
}
.wc-dash-mood-label {
  flex: 1;
  text-align: center;
}
.wc-dash-mood-label-text {
  font-size: var(--wc-text-xs);
  line-height: var(--wc-leading-normal);
  color: var(--wc-muted);
}
.wc-dash-mood-label-count {
  font-size: var(--wc-text-sm);
  font-weight: var(--wc-weight-semibold);
  line-height: var(--wc-leading-normal);
}

/* Empty state */
.wc-dash-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  text-align: center;
  color: var(--wc-muted);
  gap: 8px;
}
.wc-dash-empty i {
  font-size: 28px;
  color: #8b5cf6;
  opacity: 0.5;
}
.wc-dash-empty-text {
  font-size: var(--wc-text-base);
  line-height: var(--wc-leading-normal);
}
.wc-dash-empty-action {
  font-size: var(--wc-text-sm);
  line-height: var(--wc-leading-normal);
  color: #7c3aed;
  text-decoration: underline;
}
.wc-dash-empty-action:hover {
  color: #6d28d9;
}

/* Dashboard card header with "View all" / "Manage" link */
.wc-dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.wc-dash-card-title {
  font-size: var(--wc-text-md);
  font-weight: var(--wc-weight-semibold);
  line-height: var(--wc-leading-snug);
  margin: 0;
}
.wc-dash-card-link {
  font-size: var(--wc-text-sm);
  line-height: var(--wc-leading-normal);
  color: var(--wc-muted);
  text-decoration: none;
}
.wc-dash-card-link:hover {
  color: var(--wc-text);
}

/* Notification stat */
.wc-dash-notif-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
}
.wc-dash-notif-value {
  font-size: var(--wc-text-lg);
  font-weight: var(--wc-weight-bold);
  line-height: var(--wc-leading-tight);
  letter-spacing: var(--wc-tracking-tight);
}
.wc-dash-notif-label {
  font-size: var(--wc-text-sm);
  line-height: var(--wc-leading-normal);
  color: var(--wc-muted);
}

/* Email marketing stat */
.wc-dash-email-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
  margin-bottom: 16px;
}

/* ── Public landing page ─────────────────────────────────── */
.wc-landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--wc-page-text, #1c1c1e);
  background-color: var(--wc-page-bg, #ffffff);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --wc-font-display: var(--wc-heading-font, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  --wc-img-radius: 10px;
  font-family: var(--wc-body-font, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: var(--wc-body-size, 15px);
  line-height: 1.6;
  letter-spacing: -0.01em;
}

/* Brand kit — page background & text color cascade */
.wc-landing .wc-landing-header {
  background: var(--wc-page-bg, rgba(255, 255, 255, 0.92));
}
.wc-landing .wc-landing-features {
  background: var(--wc-page-bg, transparent);
}
.wc-landing .wc-landing-feature-card {
  background: var(--wc-page-bg, #ffffff);
}
.wc-landing .wc-landing-feature-icon {
  background: var(--wc-page-bg, #f9f9f8);
  border: 1px solid var(--wc-border-color, #e5e5e5);
}
.wc-landing .wc-landing-footer {
  background: var(--wc-page-bg, transparent);
}
.wc-landing[style*="--wc-page-text"] .wc-landing-footer {
  color: var(--wc-page-text);
}
.wc-landing .wc-landing-footer-link {
  color: var(--wc-page-text, #8a8a8e);
  opacity: 0.6;
}
.wc-landing .wc-landing-footer-link:hover {
  opacity: 1;
}
.wc-landing .wc-landing-logo {
  color: var(--wc-page-text, #1c1c1e);
}
.wc-landing[style*="--wc-page-text"] .text-muted {
  color: var(--wc-page-text) !important;
  opacity: 0.6;
}
.wc-landing .wc-landing-section-title,
.wc-landing .wc-landing-section-subtitle,
.wc-landing .wc-hero-title,
.wc-landing .wc-hero-subtitle,
.wc-landing .wc-landing-download-title,
.wc-landing .wc-landing-download-subtitle,
.wc-landing .wc-landing-static-title,
.wc-landing .wc-landing-feature-title,
.wc-landing .wc-landing-feature-card h3,
.wc-landing .wc-landing-pricing-card h4,
.wc-landing .wc-landing-image-text-headline,
.wc-landing .wc-landing-rich-text-headline,
.wc-landing .wc-art-title {
  color: var(--wc-page-text, #1c1c1e);
}
.wc-landing .wc-landing-feature-desc,
.wc-landing .wc-landing-image-text-caption,
.wc-landing .wc-landing-rich-text-caption,
.wc-landing .wc-art-prose {
  color: var(--wc-page-text, #1c1c1e);
}
.wc-landing .wc-landing-nav-link {
  color: var(--wc-page-text, #1c1c1e);
}
.wc-landing .wc-landing-nav-link:hover,
.wc-landing .wc-landing-nav-link:focus {
  color: var(--wc-link-color, var(--wc-accent-hover, #2a2a28));
}
.wc-landing .wc-landing-nav-link.wc-landing-nav-link--active {
  color: var(--wc-link-color, var(--wc-accent-hover, #2a2a28));
}
.wc-landing .wc-featured-blogs-side {
  border-color: var(--wc-border-color, #eee);
}
.wc-landing .wc-featured-blogs-side-header {
  background: color-mix(in srgb, var(--wc-page-bg, #ffffff) 96%, var(--wc-page-text, #1c1c1e) 4%);
  color: var(--wc-page-text, #3A3A38);
  border-color: color-mix(in srgb, var(--wc-page-bg, #ffffff) 96%, var(--wc-page-text, #1c1c1e) 4%);
}
.wc-landing .wc-featured-blogs-side-item {
}
.wc-landing[style*="--wc-page-text"] .wc-featured-blogs-side-title {
  color: var(--wc-page-text);
}
.wc-landing .wc-featured-blogs-side-meta,
.wc-landing .wc-featured-blogs-side-cat {
  color: var(--wc-page-text, #999);
}
.wc-landing h1,
.wc-landing h2,
.wc-landing h3,
.wc-landing h4,
.wc-landing h5,
.wc-landing h6 {
  color: var(--wc-page-text, #1c1c1e);
}
.wc-cms h1 a:hover,
.wc-cms h2 a:hover,
.wc-cms h3 a:hover,
.wc-cms h4 a:hover,
.wc-cms h5 a:hover,
.wc-cms h6 a:hover,
.wc-cms h1:hover,
.wc-cms h2:hover,
.wc-cms h3:hover,
.wc-cms h4:hover,
.wc-cms h5:hover,
.wc-cms h6:hover,
.wc-landing .wc-landing-feature-title:hover,
.wc-landing .wc-landing-feature-card h3:hover,
.wc-landing .wc-landing-pricing-card h4:hover,
.wc-landing .wc-landing-image-text-headline:hover,
.wc-landing .wc-landing-rich-text-headline:hover,
.wc-landing .wc-art-title:hover,
.wc-landing h1:hover,
.wc-landing h2:hover,
.wc-landing h3:hover,
.wc-landing h4:hover,
.wc-landing h5:hover,
.wc-landing h6:hover {
  color: var(--wc-link-color, var(--wc-accent-hover));
}
.wc-landing .wc-landing-static-title:hover,
.wc-landing .wc-landing-section-title:hover,
.wc-landing .wc-logo-list-subtitle:hover,
.wc-landing .wc-featured-product-name:hover,
.wc-landing .wc-landing-download-title:hover,
.wc-landing .wc-emotion-name:hover,
.wc-landing .wc-faq-headline:hover,
.wc-landing .wc-contact-headline:hover,
.wc-landing .wc-landing-rich-text-title:hover,
.wc-landing .wc-logo-list-headline:hover,
.wc-landing .wc-blog-row-header:hover,
.wc-landing .wc-blog-section-title:hover,
.wc-landing .wc-blog-vertical-headline:hover,
.wc-landing .wc-landing-feature-title:hover {
  color: var(--wc-page-text, #1c1c1e);
  cursor: default;
}
.wc-landing .wc-landing-banner-headline:hover {
  color: #fff;
}
.wc-landing .wc-landing-hero-title:hover,
.wc-landing .wc-landing-image-text-title:hover {
  color: var(--wc-page-text, #1c1c1e) !important;
}

/* Brand kit — button overrides */
.wc-landing .wc-landing-btn,
.wc-landing .wc-landing-btn-sm,
.wc-landing .wc-hero-cta-btn,
.wc-landing .wc-pricing-cta,
.wc-landing .wc-download-btn,
.wc-landing .wc-section-btn,
.wc-landing .wc-landing-banner-btn,
.wc-landing .wc-contact-submit,
.wc-landing .wc-blog-collage-btn,
.wc-landing .wc-course-card-cta,
.wc-landing .wc-featured-blogs-hero-readmore,
.wc-landing .wc-blog-categories-more,
.wc-landing .wc-blog-categories-pill,
.wc-landing .wc-email-signup-btn,
.wc-landing .wc-carousel-view-all-btn {
  background: var(--wc-btn-bg, var(--wc-accent, #111111)) !important;
  color: var(--wc-btn-text, #fff) !important;
  border-color: var(--wc-btn-bg, var(--wc-accent, #111111)) !important;
  border-radius: var(--wc-btn-radius, 6px);
}
/* Outline button style — handled by .wc-landing-btn--outline modifier instead */
.wc-landing .wc-landing-btn:hover,
.wc-landing .wc-landing-btn-sm:hover,
.wc-landing .wc-hero-cta-btn:hover,
.wc-landing .wc-pricing-cta:hover,
.wc-landing .wc-download-btn:hover,
.wc-landing .wc-section-btn:hover,
.wc-landing .wc-landing-banner-btn:hover,
.wc-landing .wc-contact-submit:hover,
.wc-landing .wc-blog-collage-btn:hover,
.wc-landing .wc-course-card-cta:hover,
.wc-landing .wc-featured-blogs-hero-readmore:hover,
.wc-landing .wc-blog-categories-more:hover,
.wc-landing .wc-blog-categories-pill:hover,
.wc-landing .wc-email-signup-btn:hover,
.wc-landing .wc-carousel-view-all-btn:hover {
  background: var(--wc-btn-hover-bg, var(--wc-accent-hover, #2a2a28)) !important;
  color: var(--wc-btn-hover-text, #fff) !important;
  border-color: var(--wc-btn-hover-bg, var(--wc-accent-hover, #2a2a28)) !important;
}
/* Explicit outline modifier — always renders as outline regardless of brand kit style */
.wc-landing .wc-landing-btn--outline,
.wc-landing .wc-landing-btn-sm.wc-landing-btn--outline {
  background: transparent;
  color: var(--wc-btn-bg, var(--wc-accent, #111111));
  border: 1px solid var(--wc-border-color, #e5e5e5);
}
.wc-landing .wc-landing-btn--outline:hover,
.wc-landing .wc-landing-btn-sm.wc-landing-btn--outline:hover {
  background: var(--wc-btn-bg, var(--wc-accent, #111111));
  color: var(--wc-btn-text, #fff);
}

/* Brand kit — heading sizes */
.wc-landing h1 { font-size: var(--wc-h1-size, revert); }
.wc-landing h2 { font-size: var(--wc-h2-size, revert); }
.wc-landing h3 { font-size: var(--wc-h3-size, revert); }
.wc-landing h4 { font-size: var(--wc-h4-size, revert); }
.wc-landing h5 { font-size: var(--wc-h5-size, revert); }
.wc-landing h6 { font-size: var(--wc-h6-size, revert); }

/* Responsive heading sizes — tablet */
@media (max-width: 991px) {
  .wc-landing h1 { font-size: calc(var(--wc-h1-size, 32px) * 0.85); }
  .wc-landing h2 { font-size: calc(var(--wc-h2-size, 30px) * 0.85); }
  .wc-landing h3 { font-size: calc(var(--wc-h3-size, 18px) * 0.9); }
}

/* Responsive heading sizes — mobile */
@media (max-width: 575px) {
  .wc-landing h1 { font-size: calc(var(--wc-h1-size, 32px) * 0.7); }
  .wc-landing h2 { font-size: calc(var(--wc-h2-size, 30px) * 0.75); }
  .wc-landing h3 { font-size: calc(var(--wc-h3-size, 18px) * 0.85); }
  .wc-landing h4 { font-size: calc(var(--wc-h4-size, 16px) * 0.9); }
}

/* Brand kit — image radius */
.wc-landing img { border-radius: var(--wc-img-radius, 10px); }

/* Header */
.wc-landing-header {
  padding: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--wc-border-color, #e8e3db) 20%, transparent);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100;
}
/* Announcement bar */
.wc-announcement-bar {
  background-color: #111113;
  color: rgba(255,255,255,0.88);
  font-size: 12px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
}
.wc-announcement-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 36px;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 12px;
}
.wc-announcement-bar__inner:not(:has(.wc-announcement-bar__text)) {
  justify-content: flex-end;
}
.wc-announcement-bar__text {
  text-align: left;
  font-weight: 500;
  flex: 1;
  line-height: 1.4;
}
.wc-announcement-bar__account {
  flex-shrink: 0;
}
.wc-announcement-bar__account .wc-landing-nav-link {
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  transition: color 0.2s ease;
}
.wc-announcement-bar__account .wc-landing-nav-link:hover {
  color: #fff;
}
@media (max-width: 575px) {
  .wc-announcement-bar__text { font-size: 11px; }
  .wc-announcement-bar__account .wc-landing-nav-link { font-size: 11px; }
}

.wc-landing-header-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
}
/* Inline header layout: logo left, nav right */
.wc-landing-header--inline .wc-landing-header-grid {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  max-width: 100%;
}
.wc-landing-header--inline .wc-landing-logo {
  flex-shrink: 0;
}
.wc-landing-header--inline .wc-landing-header-nav {
  flex: 1;
  justify-content: center;
  grid-column: unset;
  max-width: 678px;
}
.wc-landing-header--inline .wc-header-buttons {
  flex-shrink: 0;
}
/* Account + cart + search — right side of announcement bar */
.wc-landing-header-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  z-index: 2;
}
.wc-landing-header-actions .wc-header-icon,
.wc-landing-header-actions .wc-cart-btn,
.wc-landing-header-actions .wc-search-modal-trigger {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: rgba(255, 255, 255, 0.55);
  border: none;
  background: transparent;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
  font-size: 15px;
  cursor: pointer;
  padding: 0;
  box-shadow: none;
  text-decoration: none;
}
.wc-landing-header-actions .wc-header-icon:hover,
.wc-landing-header-actions .wc-cart-btn:hover,
.wc-landing-header-actions .wc-search-modal-trigger:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  box-shadow: none;
}

/* Header CTA buttons */
.wc-header-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.wc-landing-header--inline .wc-header-buttons {
  position: static;
  transform: none;
}
.wc-header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  height: 36px;
  padding: 0 18px;
  border-radius: var(--wc-btn-radius, 8px);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}
.wc-header-btn--text {
  background: var(--wc-btn-bg, var(--wc-accent, #1c1c1e));
  color: var(--wc-btn-text, #fff) !important;
  border: 1px solid var(--wc-btn-bg, var(--wc-accent, #1c1c1e));
}
.wc-header-btn--text:hover {
  background: var(--wc-btn-hover-bg, var(--wc-accent-hover, #333));
  color: var(--wc-btn-hover-text, #fff) !important;
  border-color: var(--wc-btn-hover-bg, var(--wc-accent-hover, #333));
  text-decoration: none;
}
.wc-header-btn--outline {
  background: var(--wc-btn-bg, var(--wc-accent, #1c1c1e));
  color: var(--wc-btn-text, #fff) !important;
  border: 1px solid var(--wc-btn-bg, var(--wc-accent, #1c1c1e));
}
.wc-header-btn--outline:hover {
  background: var(--wc-btn-hover-bg, var(--wc-accent-hover, #333));
  color: var(--wc-btn-hover-text, #fff) !important;
  border-color: var(--wc-btn-hover-bg, var(--wc-accent-hover, #333));
  text-decoration: none;
}
@media (max-width: 767.98px) {
  .wc-header-buttons {
    display: none;
  }
}

/* ── Search Modal ────────────────────────────────────── */
.wc-search-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20vh;
  animation: wc-search-fade-in 0.15s ease;
}
@keyframes wc-search-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.wc-search-modal {
  width: 100%;
  max-width: 580px;
  background: #fff;
  border-radius: var(--wc-img-radius, 16px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  animation: wc-search-slide-up 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes wc-search-slide-up {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.wc-search-modal__bar {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--wc-border-color, #e8e3db);
  gap: 12px;
}
.wc-search-modal__icon {
  font-size: 18px;
  color: #9ca3af;
  flex-shrink: 0;
}
.wc-search-modal__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: var(--wc-body-font, inherit);
  color: var(--wc-page-text, #1a1a1a);
  background: transparent;
}
.wc-search-modal__input::placeholder {
  color: var(--wc-page-text, #1c1c1e);
  opacity: 0.4;
}
.wc-search-modal__clear {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}
.wc-search-modal__clear:hover {
  color: #6b7280;
}
.wc-search-modal__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.wc-search-modal__close kbd {
  font-family: inherit;
  font-size: 11px;
  color: #9ca3af;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 2px 6px;
  line-height: 1.4;
}
.wc-search-modal__results {
  max-height: 400px;
  overflow-y: auto;
}
.wc-search-modal__status {
  padding: 24px 20px;
  text-align: center;
  color: #9ca3af;
  font-size: 14px;
}
.wc-search-modal__list {
  padding: 8px 0;
}
.wc-search-modal__result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  text-decoration: none;
  color: inherit;
  transition: background 0.1s;
}
.wc-search-modal__result:hover,
.wc-search-modal__result--active {
  background: #f9fafb;
  text-decoration: none;
  color: inherit;
}
.wc-search-modal__thumb {
  width: 40px;
  height: 40px;
  border-radius: var(--wc-btn-radius, 8px);
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.wc-search-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wc-search-modal__thumb i {
  font-size: 18px;
  color: #9ca3af;
}
.wc-search-modal__info {
  flex: 1;
  min-width: 0;
}
.wc-search-modal__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--wc-page-text, #1f2937);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wc-search-modal__result:hover .wc-search-modal__title,
.wc-search-modal__result--active .wc-search-modal__title {
  color: var(--wc-link-color, var(--wc-accent, #4f46e5));
}
.wc-search-modal__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-size: 12px;
  color: #9ca3af;
}
.wc-search-modal__type {
  text-transform: capitalize;
}
.wc-search-modal__price {
  font-weight: 500;
  color: #6b7280;
}
@media (max-width: 640px) {
  .wc-search-modal-overlay {
    padding-top: 10vh;
    padding-left: 12px;
    padding-right: 12px;
  }
  .wc-search-modal__results {
    max-height: 50vh;
  }
}

/* ── Header Search ───────────────────────────────────── */
.wc-header-search {
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 300px;
  justify-self: start;
}
.wc-header-search__mobile-toggle {
  display: none;
}
.wc-header-search__mobile-panel {
  display: none;
}
.wc-header-search__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--wc-border-color, #e8e3db);
  border-radius: var(--wc-btn-radius, 100px);
  background: rgba(255,255,255,0.2);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.wc-header-search__bar:focus-within {
  border-color: var(--wc-accent, #5624d0);
  box-shadow: 0 0 0 2px rgba(86,36,208,0.1);
}
.wc-header-search__input-icon {
  font-size: 16px;
  color: var(--wc-page-text, #9ca3af);
  opacity: 0.5;
  flex-shrink: 0;
}
.wc-header-search__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13px;
  background: transparent;
  color: var(--wc-page-text, #1f2937);
  min-width: 0;
}
.wc-header-search__input::placeholder {
  color: var(--wc-page-text, #9ca3af);
  opacity: 0.5;
}
.wc-header-search__clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: none;
  background: rgba(0,0,0,0.06);
  border-radius: 50%;
  cursor: pointer;
  color: #6b7280;
  font-size: 12px;
  flex-shrink: 0;
  transition: background 0.15s;
}
.wc-header-search__clear:hover {
  background: rgba(0,0,0,0.1);
}
.wc-header-search__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 380px;
  max-height: 480px;
  background: #fff;
  border: 1px solid var(--wc-border-color, #e8e3db);
  border-radius: var(--wc-img-radius, 14px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  z-index: 1000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.wc-header-search__status {
  padding: 24px 16px;
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
}
.wc-header-search__results {
  overflow-y: auto;
  max-height: 400px;
  padding: 6px;
}
.wc-header-search__result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #1f2937;
  transition: background 0.12s;
}
.wc-header-search__result:hover,
.wc-header-search__result--active {
  background: rgba(0,0,0,0.04);
  text-decoration: none;
  color: #1f2937;
}
.wc-header-search__thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--wc-img-radius, 8px);
  background: #f3f4f6;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wc-header-search__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wc-header-search__thumb i {
  font-size: 18px;
  color: #9ca3af;
}
.wc-header-search__info {
  flex: 1;
  min-width: 0;
}
.wc-header-search__title {
  font-size: 14px;
  font-weight: 600;
  line-height: var(--wc-leading-none);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #1c1d1f;
  transition: color 0.15s;
}
.wc-header-search__result:hover .wc-header-search__title,
.wc-header-search__result--active .wc-header-search__title {
  color: var(--wc-link-color, var(--wc-accent, #6d5c4e));
}
.wc-header-search__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-size: 12px;
}
.wc-header-search__type {
  color: #9ca3af;
}
.wc-header-search__price {
  font-weight: 600;
  color: var(--wc-accent, #5624d0);
}
@media (max-width: 1024px) and (min-width: 768px) {
  .wc-header-search {
    max-width: 200px;
  }
  .wc-header-search__dropdown {
    width: 320px;
  }
}
@media (max-width: 767.98px) {
  /* Single row: [hamburger][search] … logo … [account][cart] */
  .wc-landing-header-grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px;
    gap: 8px;
  }
  .wc-landing-logo {
    order: 1;
    flex: 1;
    font-size: 20px;
    line-height: var(--wc-leading-none);
    text-align: left;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .wc-header-search {
    max-width: none;
    width: auto;
    position: static;
    order: 5;
    flex-shrink: 0;
  }
  .wc-landing-header-actions {
    order: 8;
    gap: 0;
  }
  .wc-landing-header-nav {
    order: 10;
    flex-shrink: 0;
  }
  .wc-landing-header--inline .wc-landing-header-nav {
    justify-content: flex-end;
  }
  .wc-landing-header-actions .wc-header-icon,
  .wc-landing-header-actions .wc-cart-btn,
  .wc-landing-header-actions .wc-search-modal-trigger {
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    font-size: 13px;
  }
  /* --- Search mobile behaviour --- */
  .wc-header-search__desktop {
    display: none;
  }
  .wc-header-search__mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--wc-page-text, #1f2937);
    font-size: 20px;
    padding: 0;
  }
  .wc-header-search__mobile-panel {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1001;
    background: var(--wc-page-bg, #fff);
    padding: 12px 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border-top: 1px solid var(--wc-border-color, #e8e3db);
  }
  .wc-header-search__mobile-panel .wc-header-search__bar {
    background: rgba(255,255,255,0.9);
  }
  .wc-header-search__mobile-panel .wc-header-search__dropdown {
    position: static;
    width: 100%;
    margin-top: 8px;
    max-height: calc(100dvh - 140px);
    border: none;
    box-shadow: none;
    border-radius: 0;
  }
}
.wc-landing-header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  grid-column: 1 / -1;
  padding-right: 0;
}
.wc-desktop-nav {
  gap: 10px 20px;
}
@media (max-width: 991px) {
  .wc-desktop-nav { gap: 10px 18px; }
  .wc-landing-nav-link { font-size: 0.75rem; }
}
@media (max-width: 767px) {
  .wc-desktop-nav { gap: 8px 14px; }
  .wc-landing-nav-link { font-size: 0.7rem; }
  .wc-landing-header-nav { padding-right: 0; }
}
.wc-landing-logo {
  font-family: var(--wc-heading-font, 'Playfair Display', Georgia, serif);
  font-weight: 700;
  font-size: 32px;
  color: #1c1c1e;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
@media (max-width: 767.98px) {
  .wc-landing-logo {
    font-size: 20px;
  }
}
.wc-landing-logo:hover {
  color: #1c1c1e;
  text-decoration: none;
}
.wc-landing-logo-icon {
  height: var(--wc-logo-height, 36px);
  width: auto;
  max-width: 180px;
  object-fit: contain;
  border-radius: 0 !important;
}
.wc-landing-nav-link {
  font-size: var(--wc-body-size, 14px);
  color: #64646b;
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0;
}
.wc-landing-nav-link:hover,
.wc-landing .wc-landing-nav-link:hover {
  color: var(--wc-link-color, var(--wc-accent-hover));
}
.wc-landing-nav-link--active,
.wc-landing .wc-landing-nav-link--active {
  color: var(--wc-link-color, var(--wc-accent-hover));
}

/* ── Nav dropdowns ── */
.wc-nav-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.wc-nav-dropdown-wrap--mega {
  position: static;
}
.wc-nav-dropdown-wrap > .wc-landing-nav-link {
  display: inline-flex;
  align-items: center;
}
/* Invisible bridge between trigger and dropdown to prevent close on mouse move */
.wc-nav-dropdown-wrap::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  bottom: -14px;
  pointer-events: none;
  z-index: 99;
}
.wc-nav-dropdown-wrap:hover::before {
  pointer-events: auto;
}
.wc-nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--wc-border-color, #e8e3db);
  border-radius: var(--wc-img-radius, 12px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.04);
  padding: 6px 0;
  min-width: 200px;
  z-index: 100;
  animation: wcDropdownIn 0.18s ease;
}
@keyframes wcDropdownIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Simple dropdown links */
.wc-nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: var(--wc-body-size, 14px);
  color: #3A3A38;
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
  white-space: nowrap;
  line-height: var(--wc-leading-none);
}
.wc-nav-dropdown-link:hover {
  background: #f9f9f8;
  color: var(--wc-accent, #4f4db4);
}
.wc-nav-dropdown-link--active {
  color: var(--wc-accent, #4f4db4);
  font-weight: 500;
}

/* Mega menu — wide centered dropdown */
.wc-nav-dropdown--mega {
  left: 50%;
  transform: translateX(-50%);
  min-width: 480px;
  width: max-content;
  max-width: 90vw;
  padding: 28px 32px;
  border-radius: var(--wc-img-radius, 14px);
}
.wc-nav-dropdown-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.wc-nav-dropdown-column {
  min-width: 0;
  padding: 12px 24px;
  border-bottom: 1px solid var(--wc-border-color, #eee);
}
.wc-nav-dropdown-column:nth-child(n+2) {
  border-left: 1px solid var(--wc-border-color, #eee);
}
.wc-nav-dropdown-column:last-child {
  border-bottom: none;
}
.wc-nav-dropdown-heading {
  display: block;
  font-size: var(--wc-body-size, 14px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #3A3A38;
  padding: 0 0 8px;
  margin-bottom: 6px;
  text-decoration: none;
  border-bottom: none;
}
.wc-nav-dropdown-heading:hover {
  color: var(--wc-accent, #4f4db4);
}
.wc-nav-dropdown--mega .wc-nav-dropdown-link {
  padding: 5px 0;
  font-size: var(--wc-body-size, 14px);
  color: #666;
  white-space: normal;
}
.wc-nav-dropdown--mega .wc-nav-dropdown-link:hover {
  background: transparent;
  color: var(--wc-accent, #4f4db4);
}

/* Brand kit — nav dropdown */
.wc-landing .wc-nav-dropdown {
  background: var(--wc-page-bg, #fff);
  border-color: var(--wc-border-color, rgba(0,0,0,0.06));
}
.wc-landing .wc-nav-dropdown-link {
  color: var(--wc-page-text, #3A3A38);
}
.wc-landing .wc-nav-dropdown-link:hover {
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 96%, var(--wc-page-text, #000) 4%);
}
.wc-landing .wc-nav-dropdown-heading {
  color: var(--wc-page-text, #3A3A38);
}
.wc-landing .wc-nav-dropdown--mega .wc-nav-dropdown-link {
  color: color-mix(in srgb, var(--wc-page-text, #1c1c1e) 60%, var(--wc-page-bg, #fff) 40%);
}
.wc-landing .wc-nav-dropdown--mega .wc-nav-dropdown-link:hover {
  color: var(--wc-link-color, var(--wc-accent, #4f4db4));
}
.wc-landing .wc-nav-dropdown-column {
  border-color: var(--wc-border-color, #eee);
}

.wc-landing-login-btn {
  border-radius: 20px;
  padding: 7px 22px;
  font-size: 13px;
  font-weight: 600;
  color: #fff !important;
  transition: opacity 0.2s;
}
.wc-landing-login-btn:hover {
  opacity: 0.88;
}

/* Mobile drawer */
.wc-mobile-menu-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--wc-page-text, #1c1c1e);
  padding: 6px;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
}
.wc-mobile-menu-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}
.wc-mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
}
.wc-mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.wc-mobile-nav-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 400px;
  max-width: 100vw;
  background: var(--wc-page-bg, #fff);
  color: var(--wc-page-text, #1c1c1e);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  z-index: 1;
}
.wc-mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--wc-border-color, rgba(0, 0, 0, 0.06));
}
.wc-mobile-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.wc-mobile-nav-brand-img {
  height: 28px;
  width: auto;
  object-fit: contain;
}
.wc-mobile-nav-brand-text {
  font-family: var(--wc-heading-font, 'Playfair Display', Georgia, serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--wc-page-text, #1c1c1e);
  letter-spacing: -0.01em;
}
.wc-mobile-nav-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.wc-mobile-nav-close:hover {
  background: rgba(0, 0, 0, 0.08);
}
.wc-mobile-nav-close:active {
  transform: scale(0.92);
}
.wc-mobile-nav-close i {
  font-size: 20px;
  color: var(--wc-page-text, #64646b);
}
.wc-mobile-nav-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wc-mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: var(--wc-btn-radius, 12px);
  font-size: 16px;
  font-weight: 500;
  color: var(--wc-page-text, #1c1c1e);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  letter-spacing: -0.01em;
}
.wc-mobile-nav-link:hover,
.wc-mobile-nav-link:active {
  background: rgba(0, 0, 0, 0.04);
  color: var(--wc-accent, #4f4db4);
}
.wc-mobile-nav-link--active {
  color: var(--wc-accent, #4f4db4);
  background: rgba(0, 0, 0, 0.03);
  font-weight: 600;
}
.wc-mobile-nav-link--active .wc-mobile-nav-link-arrow {
  color: var(--wc-accent, #4f4db4);
}
.wc-mobile-nav-link-arrow {
  font-size: 18px;
  color: var(--wc-page-text, #c8c8cc);
  opacity: 0.5;
  transition: color 0.15s, transform 0.15s, opacity 0.15s;
}
.wc-mobile-nav-link:hover .wc-mobile-nav-link-arrow {
  color: var(--wc-accent, #4f4db4);
  transform: translateX(2px);
}
.wc-mobile-nav-footer {
  padding: 16px 24px 28px;
  border-top: 1px solid var(--wc-border-color, rgba(0, 0, 0, 0.06));
}
.wc-mobile-nav-cta {
  display: block;
  width: 100%;
  padding: 14px 24px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--wc-btn-text, #fff) !important;
  background: var(--wc-btn-bg, var(--wc-accent, #1c1c1e));
  border-radius: var(--wc-btn-radius, 12px);
  text-decoration: none;
  transition: opacity 0.15s, transform 0.1s;
  letter-spacing: -0.01em;
}
.wc-mobile-nav-cta:hover,
.wc-mobile-nav-cta:focus {
  background: var(--wc-btn-hover-bg, var(--wc-accent-hover, var(--wc-accent, #1c1c1e)));
  color: var(--wc-btn-hover-text, var(--wc-btn-text, #fff)) !important;
  opacity: 0.9;
}
.wc-mobile-nav-cta:active {
  transform: scale(0.98);
}

@media (max-width: 480px) {
  .wc-mobile-nav-panel {
    width: 100vw;
  }
}

/* Page enter animation */
@keyframes wc-page-enter {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.wc-landing > header {
  animation: wc-page-enter 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Hero cascade — stagger title, subtitle, CTA, store badges, image */
.wc-landing-hero .wc-landing-hero-title,
.wc-landing-hero .wc-landing-hero-subtitle,
.wc-landing-hero .d-flex,
.wc-landing-hero .wc-landing-hero-img-wrap {
  opacity: 0;
  transform: translateY(20px);
  animation: wc-page-enter 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.wc-landing-hero .wc-landing-hero-title    { animation-delay: 0.1s; }
.wc-landing-hero .wc-landing-hero-subtitle { animation-delay: 0.2s; }
.wc-landing-hero .d-flex                   { animation-delay: 0.3s; }
.wc-landing-hero .wc-landing-hero-img-wrap { animation-delay: 0.4s; }

/* Scroll reveal */
.wc-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.wc-reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children (feature cards, pricing cards, grid columns) */
.wc-reveal-visible .col-md-4:nth-child(1),
.wc-reveal-visible .col-md-6:nth-child(1),
.wc-reveal-visible .col-lg-4:nth-child(1) { transition-delay: 0s; }
.wc-reveal-visible .col-md-4:nth-child(2),
.wc-reveal-visible .col-md-6:nth-child(2),
.wc-reveal-visible .col-lg-4:nth-child(2) { transition-delay: 0.08s; }
.wc-reveal-visible .col-md-4:nth-child(3),
.wc-reveal-visible .col-lg-4:nth-child(3) { transition-delay: 0.16s; }
.wc-reveal-visible .col-md-4:nth-child(4),
.wc-reveal-visible .col-lg-4:nth-child(4) { transition-delay: 0.24s; }
.wc-reveal-visible .col-md-4:nth-child(5),
.wc-reveal-visible .col-lg-4:nth-child(5) { transition-delay: 0.32s; }
.wc-reveal-visible .col-md-4:nth-child(6),
.wc-reveal-visible .col-lg-4:nth-child(6) { transition-delay: 0.4s; }
.wc-reveal [class*="col-"] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.wc-reveal-visible [class*="col-"] {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger emotion cards */
.wc-reveal .wc-emotion-card {
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.wc-reveal-visible .wc-emotion-card { opacity: 1; transform: translateY(0) scale(1); }

/* Stagger section title + subtitle within revealed sections */
.wc-reveal .wc-landing-section-title,
.wc-reveal .wc-landing-section-subtitle {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.wc-reveal-visible .wc-landing-section-title { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.wc-reveal-visible .wc-landing-section-subtitle { opacity: 1; transform: translateY(0); transition-delay: 0.08s; }

/* Image-text: image slides in from the side */
.wc-reveal .wc-landing-image-text-media {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.wc-reveal .wc-landing-image-text-content {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.wc-reveal-visible .wc-landing-image-text-media,
.wc-reveal-visible .wc-landing-image-text-content {
  opacity: 1;
  transform: translateX(0);
}
.wc-reveal-visible .wc-landing-image-text-content { transition-delay: 0.1s; }

/* Social proof cards stagger */
.wc-reveal .wc-landing-testimonial-card {
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.wc-reveal-visible .wc-landing-testimonial-card { opacity: 1; transform: translateY(0) scale(1); }
.wc-reveal-visible .wc-landing-testimonial-card:nth-child(1) { transition-delay: 0s; }
.wc-reveal-visible .wc-landing-testimonial-card:nth-child(2) { transition-delay: 0.1s; }
.wc-reveal-visible .wc-landing-testimonial-card:nth-child(3) { transition-delay: 0.2s; }

/* Pricing plan cards scale in */
.wc-reveal .wc-landing-plan-card {
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.wc-reveal-visible .wc-landing-plan-card { opacity: 1; transform: translateY(0) scale(1); }

/* CTA buttons — subtle scale on hover */
.wc-landing-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wc-landing-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.wc-landing-btn:active {
  transform: translateY(0);
}

/* Store badges — lift on hover */
.wc-store-badge {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wc-store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hero image — subtle float */
@keyframes wc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes wc-orb-drift {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(12px, -8px) scale(1.03); }
  66% { transform: translate(-6px, 6px) scale(0.97); }
  100% { transform: translate(8px, 4px) scale(1.01); }
}
.wc-landing-hero-img-wrap img {
  animation: wc-float 4s ease-in-out infinite;
  animation-delay: 1s;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .wc-landing > header,
  .wc-landing-hero .wc-landing-hero-title,
  .wc-landing-hero .wc-landing-hero-subtitle,
  .wc-landing-hero .d-flex,
  .wc-landing-hero .wc-landing-hero-img-wrap,
  .wc-reveal,
  .wc-reveal [class*="col-"],
  .wc-reveal .wc-emotion-card,
  .wc-reveal .wc-landing-section-title,
  .wc-reveal .wc-landing-section-subtitle,
  .wc-reveal .wc-landing-image-text-media,
  .wc-reveal .wc-landing-image-text-content,
  .wc-reveal .wc-landing-testimonial-card,
  .wc-reveal .wc-landing-plan-card,
  .wc-landing-hero-img-wrap img,
  .wc-landing-hero::before,
  .wc-landing-hero::after,
  .wc-landing-features::before,
  .wc-landing-social-proof::before,
  .wc-landing-pricing::after,
  .wc-landing-emotional-moment::before,
  .wc-email-signup > .container::before,
  .wc-fade-img {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Disable section orb gradients (conflicts with brand kit backgrounds) */
.wc-landing-hero::before,
.wc-landing-hero::after,
.wc-landing-features::before,
.wc-landing-features::after,
.wc-landing-social-proof::before,
.wc-landing-social-proof::after,
.wc-landing-pricing::before,
.wc-landing-pricing::after,
.wc-landing-emotional-moment::before,
.wc-landing-emotional-moment::after,
.wc-email-signup > .container::before,
.wc-email-signup > .container::after {
  display: none !important;
}

/* Hero */
.wc-landing-hero {
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.wc-landing-hero::before {
  content: '';
  position: absolute;
  top: -8%;
  left: -5%;
  width: 520px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, color-mix(in srgb, var(--wc-accent, #4f4db4) 7%, transparent), color-mix(in srgb, var(--wc-accent, #4f4db4) 2%, transparent) 70%, transparent);
  filter: blur(40px);
  pointer-events: none;
  animation: wc-orb-drift 18s ease-in-out infinite alternate;
}
.wc-landing-hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -4%;
  width: 400px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 60%, color-mix(in srgb, var(--wc-accent, #4f4db4) 6%, transparent), color-mix(in srgb, var(--wc-accent, #4f4db4) 1%, transparent) 70%, transparent);
  filter: blur(35px);
  pointer-events: none;
  animation: wc-orb-drift 22s ease-in-out infinite alternate-reverse;
}
.wc-landing-hero-title {
  font-family: var(--wc-font-display);
  font-weight: 700;
  font-size: calc(var(--wc-h1-size, 32px) * 1.7);
  line-height: 1.08;
  margin-bottom: 12px;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  color: #1c1c1e;
  letter-spacing: -0.035em;
}
.wc-landing-hero-title::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: var(--wc-page-text, var(--wc-accent, #4f4db4));
  margin: 0 auto 20px;
}
.wc-landing-hero-subtitle {
  font-size: var(--wc-body-size, 14px);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  word-break: break-word;
}
.wc-landing-hero-img-wrap {
  margin-top: 48px;
  margin-bottom: -4px;
}
/* Fade-in image loading */
.wc-fade-img {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.wc-fade-img.is-loaded {
  opacity: 1;
}

.wc-landing-hero-img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--wc-img-radius, 16px);
  box-shadow: 0 -8px 48px color-mix(in srgb, var(--wc-accent, #4f4db4) 18%, transparent);
}
.wc-landing-btn {
  border-radius: var(--wc-btn-radius, 28px);
  padding: 14px 40px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  background: var(--wc-accent, #4f4db4) !important;
  border-color: var(--wc-accent, #4f4db4) !important;
  color: #fff !important;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s, background 0.2s;
}
.wc-landing-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--wc-accent, #4f4db4) 30%, transparent);
  opacity: 0.92;
}
.wc-landing-btn-sm {
  border-radius: var(--wc-btn-radius, 24px);
  padding: 11px 28px;
  font-weight: 600;
  font-size: var(--wc-body-size, 14px);
  background: var(--wc-btn-bg, var(--wc-accent, #111111));
  color: var(--wc-btn-text, #fff);
  border-color: var(--wc-btn-bg, var(--wc-accent, #111111));
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.wc-landing-btn-sm:hover {
  transform: translateY(-1px);
  background: var(--wc-btn-hover-bg, var(--wc-accent-hover, #2a2a28));
  color: var(--wc-btn-hover-text, #fff);
  border-color: var(--wc-btn-hover-bg, var(--wc-accent-hover, #2a2a28));
}

/* Store badges */
.wc-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1c1c1e;
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--wc-btn-radius, 12px);
  font-size: var(--wc-body-size, 14px);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}
.wc-store-badge:hover {
  opacity: 0.88;
  color: #fff;
  transform: translateY(-1px);
}
.wc-store-badge i {
  font-size: 20px;
}
.wc-store-badge-light {
  background: #fff;
  color: #1c1c1e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.wc-store-badge-light:hover {
  color: #1c1c1e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Section titles */
.wc-landing-section-title {
  font-family: var(--wc-font-display);
  font-weight: 700;
  font-size: var(--wc-h1-size, 32px);
  line-height: 1.15;
  color: #1c1c1e;
  max-width: 768px;
  margin: 0 auto 16px;
  letter-spacing: -0.025em;
  text-align: center;
}
.wc-landing-section-title::before,
.wc-faq-headline::before,
.wc-logo-list-headline::before,
.wc-contact-headline::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: var(--wc-page-text, #1c1c1e);
  margin: 0 auto 20px;
}
.wc-landing-section-subtitle {
  font-size: var(--wc-body-size, 14px);
  font-weight: 400;
  color: #64646b;
  max-width: 768px;
  margin: 0 auto;
  line-height: 1.6;
  letter-spacing: -0.01em;
}
.wc-landing-features .wc-landing-section-title,
.wc-landing-features .wc-landing-section-subtitle {
  max-width: none;
}
.wc-features-align-left .wc-landing-section-title,
.wc-features-align-left .wc-landing-section-subtitle {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}
.wc-features-align-right .wc-landing-section-title,
.wc-features-align-right .wc-landing-section-subtitle {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}
.wc-features-align-left .wc-landing-section-title::before { margin-left: 0; margin-right: auto; }
.wc-features-align-right .wc-landing-section-title::before { margin-left: auto; margin-right: 0; }

/* Features */
.wc-landing-features {
  padding: 48px 0;
  background: #f9f9f8;
  position: relative;
  overflow: hidden;
}
.wc-landing-features::before {
  content: '';
  position: absolute;
  top: -6%;
  right: -5%;
  width: 440px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at 55% 45%, color-mix(in srgb, var(--wc-accent, #4f4db4) 6%, transparent), color-mix(in srgb, var(--wc-accent, #4f4db4) 1%, transparent) 70%, transparent);
  filter: blur(36px);
  pointer-events: none;
  animation: wc-orb-drift 20s ease-in-out infinite alternate;
}
.wc-landing-features::after {
  content: '';
  position: absolute;
  bottom: -8%;
  left: -4%;
  width: 350px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 55%, color-mix(in srgb, var(--wc-accent, #4f4db4) 5%, transparent), color-mix(in srgb, var(--wc-accent, #4f4db4) 1%, transparent) 70%, transparent);
  filter: blur(32px);
  pointer-events: none;
}
.wc-landing-feature-card {
  text-align: center;
  padding: 40px 28px;
  background: #ffffff;
  border-radius: var(--wc-img-radius, 20px);
  border: 1px solid var(--wc-border-color, #e5e5e5);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wc-landing-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--wc-accent, #4f4db4) 12%, transparent);
}
.wc-features-align-left .wc-landing-feature-card {
  text-align: left;
  align-items: flex-start;
}
.wc-features-align-right .wc-landing-feature-card {
  text-align: right;
  align-items: flex-end;
}
.wc-landing-feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 100%;
  background: #f9f9f8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.wc-landing-feature-icon i {
  font-size: 24px;
  font-weight: 300;
  color: var(--wc-accent, #4f4db4);
  opacity: 0.8;
}
.wc-landing-feature-icon-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 100% !important;
}
.wc-landing-feature-title {
  font-family: var(--wc-font-display);
  font-weight: 600;
  font-size: var(--wc-h3-size, 18px);
  margin-bottom: 16px;
  color: #1c1c1e;
  letter-spacing: -0.02em;
}
.wc-landing-feature-desc {
  font-size: var(--wc-body-size, 14px);
  line-height: 1.6;
  color: #64646b;
  margin: 0 0 16px 0;
  letter-spacing: -0.005em;
}

/* Image with text */
.wc-landing-image-text {
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.wc-landing-image-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
/* Alternate layout: flip image/text sides on even instances */
.wc-landing-image-text-alt .wc-landing-image-text-grid {
  direction: rtl;
}
.wc-landing-image-text-alt .wc-landing-image-text-grid > * {
  direction: ltr;
}
.wc-landing-image-text-media {
  position: relative;
  border-radius: var(--wc-img-radius, 20px);
  overflow: hidden;
}
.wc-landing-image-text-img {
  width: 100%;
  max-height: min(85vh, 768px);
  display: block;
  border-radius: var(--wc-img-radius, 20px);
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  position: relative;
  z-index: 1;
}
.wc-landing-image-text-media:hover .wc-landing-image-text-img {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
}
.wc-landing-image-text-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--wc-bg-light);
  border-radius: 20px;
  position: relative;
  z-index: 1;
}
.wc-landing-image-text-content {
  padding: 0 16px;
}
/* Accent marker above headline */
.wc-landing-image-text-content::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: var(--wc-page-text, var(--wc-accent, #4f4db4));
  margin-bottom: 20px;
}
.wc-landing-image-text--no-accent .wc-landing-image-text-content::before {
  display: none;
}
.wc-no-accent .wc-landing-hero-title::before,
.wc-no-accent .wc-landing-section-title::before,
.wc-no-accent .wc-landing-download-title::before,
.wc-no-accent .wc-email-signup-headline::before,
.wc-no-accent .wc-faq-headline::before,
.wc-no-accent .wc-logo-list-headline::before,
.wc-no-accent .wc-contact-headline::before {
  display: none;
}
.wc-landing-image-text-title {
  font-family: var(--wc-font-display);
  font-weight: 700;
  font-size: var(--wc-h2-size, 30px);
  line-height: 1.15;
  color: #1c1c1e;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}
.wc-landing-image-text-caption {
  font-size: var(--wc-body-size, 14px);
  line-height: 1.7;
  color: #64646b;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.wc-landing-image-text-caption p {
  margin: 0 0 12px;
}
.wc-landing-image-text-caption p:last-child {
  margin-bottom: 0;
}
.wc-landing-image-text-caption ul,
.wc-landing-image-text-caption ol {
  margin: 0 0 12px;
  padding-left: 20px;
}
.wc-landing-image-text-caption li {
  margin-bottom: 4px;
}
.wc-landing-image-text-caption h2,
.wc-landing-image-text-caption h3 {
  margin: 16px 0 8px;
  font-weight: 600;
}
.wc-landing-image-text-caption [style] {
  background-color: transparent !important;
  color: inherit !important;
}
.wc-landing-image-text-caption a {
  color: var(--wc-accent, #111);
  text-decoration: underline;
}
/* Accent CTA for image-text */
.wc-landing-image-text .wc-landing-btn-sm {
  background: var(--wc-accent, #4f4db4);
  border-color: var(--wc-accent, #4f4db4);
  color: #fff;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--wc-accent, #4f4db4) 25%, transparent);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wc-landing-image-text .wc-landing-btn-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--wc-accent, #4f4db4) 35%, transparent);
}

/* Featured product */
.wc-featured-product .wc-landing-image-text-content::before {
  display: none;
}
.wc-featured-product-name {
  font-family: var(--wc-font-display);
  font-weight: 700;
  font-size: var(--wc-h2-size, 30px);
  line-height: var(--wc-leading-none);
  color: #1c1c1e;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.wc-featured-product-price {
  font-family: var(--wc-font-display);
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.wc-featured-product-description {
  font-size: var(--wc-body-size, 14px);
  line-height: 1.7;
  color: var(--wc-page-text);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.wc-featured-product-description p {
  margin-bottom: 8px;
}
.wc-featured-product-description p:last-child {
  margin-bottom: 0;
}

/* Rich text */
.wc-landing-rich-text {
  padding: 48px 0;
}
.wc-landing-rich-text-title {
  font-family: var(--wc-font-display);
  font-weight: 700;
  font-size: var(--wc-h1-size, 32px);
  line-height: 1.15;
  color: #1c1c1e;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}
.wc-landing-rich-text-caption {
  font-size: var(--wc-body-size, 14px);
  line-height: 1.6;
  color: #64646b;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  word-break: break-word;
}
.wc-landing-rich-text-caption [style] {
  background-color: transparent !important;
  color: inherit !important;
}

/* Embed / Widget */
.wc-landing-embed {
  padding: 0;
}

/* Full-width banner */
.wc-landing-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-color: #1b1b1b;
}
.wc-landing-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.wc-landing-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 20px;
}
.wc-landing-banner-headline {
  font-size: calc(var(--wc-h1-size, 32px) * 1.2);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: var(--wc-leading-none);
}
.wc-landing-banner-caption {
  font-size: var(--wc-body-size, 14px);
  color: #fff;
  max-width: 600px;
  margin: 0 auto 16px;
  line-height: 1.6;
}
.wc-landing .wc-landing-banner-headline,
.wc-landing .wc-landing-banner-caption {
  color: #fff;
}
.wc-landing-banner-btn {
  font-weight: 600;
  padding: 12px 32px;
  border-radius: var(--wc-btn-radius, 8px);
  font-size: var(--wc-body-size, 14px);
}
.wc-landing-banner--medium {
  min-height: 560px;
}
.wc-landing-banner--large {
  min-height: 720px;
}
.wc-landing-banner-inner.wc-landing-banner--medium {
  min-height: 560px;
}
.wc-landing-banner-inner.wc-landing-banner--large {
  min-height: 720px;
}
/* Banner horizontal position */
.wc-landing-banner--h-left .wc-landing-banner-content {
  text-align: left;
}
.wc-landing-banner--h-left .wc-landing-banner-caption {
  margin-left: 0;
  margin-right: auto;
}
.wc-landing-banner--h-right .wc-landing-banner-content {
  text-align: right;
}
.wc-landing-banner--h-right .wc-landing-banner-caption {
  margin-left: auto;
  margin-right: 0;
}
/* Banner vertical position */
.wc-landing-banner--v-top { align-items: flex-start; }
.wc-landing-banner--v-bottom { align-items: flex-end; }
.wc-landing-banner--v-top .wc-landing-banner-content { padding-top: 40px; padding-bottom: 20px; }
.wc-landing-banner--v-bottom .wc-landing-banner-content { padding-top: 20px; padding-bottom: 40px; }
.wc-landing-banner--v-top .wc-landing-banner-inner { align-items: flex-start; }
.wc-landing-banner--v-bottom .wc-landing-banner-inner { align-items: flex-end; }
/* Content-width: ensure text fills the inner for proper alignment */
.wc-landing-banner--content .wc-landing-banner-content { width: 100%; box-sizing: border-box; }
.wc-landing-banner--content {
  background: none !important;
  min-height: auto;
  padding: 48px 0;
}
.wc-landing-banner-inner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-color: #1b1b1b;
  border-radius: var(--wc-img-radius, 16px);
  overflow: hidden;
}

/* Video */
.wc-landing-video {
  padding: 48px 0;
}
.wc-landing-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--wc-img-radius, 16px);
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
}
.wc-landing-video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Social Proof / Trust */
.wc-landing-social-proof {
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.wc-landing-social-proof::before {
  content: '';
  position: absolute;
  top: -6%;
  left: -5%;
  width: 380px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 40%, color-mix(in srgb, var(--wc-accent, #4f4db4) 6%, transparent), color-mix(in srgb, var(--wc-accent, #4f4db4) 1%, transparent) 70%, transparent);
  filter: blur(34px);
  pointer-events: none;
  animation: wc-orb-drift 24s ease-in-out infinite alternate-reverse;
}
.wc-landing-social-proof::after {
  content: '';
  position: absolute;
  bottom: -8%;
  right: -5%;
  width: 320px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 55%, color-mix(in srgb, var(--wc-accent, #4f4db4) 5%, transparent), color-mix(in srgb, var(--wc-accent, #4f4db4) 1%, transparent) 70%, transparent);
  filter: blur(30px);
  pointer-events: none;
}
.wc-landing-testimonial-card {
  border: 1px solid var(--wc-border-color, #e5e5e5);
  border-radius: var(--wc-img-radius, 16px);
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.wc-landing-testimonial-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}
.wc-landing-testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--wc-page-text);
  font-size: 16px;
}
.wc-landing-testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--wc-page-text);
  margin: 0;
  flex: 1;
  font-style: italic;
}
.wc-landing-testimonial-author {
  border-top: 1px solid var(--wc-border-color, #e8e3db);
  padding-top: 16px;
}
.wc-landing-testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--wc-page-text);
}
.wc-landing-testimonial-role {
  font-size: 0.85rem;
  color: var(--wc-page-text);
  margin-top: 2px;
}

/* FAQ Accordion */
.wc-landing-faq {
  padding: 48px 0;
}
.wc-landing-faq .container {
}
.wc-faq-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.wc-faq-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--wc-page-text, #1c1c1e);
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 88%, var(--wc-page-text, #1c1c1e) 12%);
  padding: 5px 18px;
  border-radius: var(--wc-btn-radius, 20px);
  border: 1px solid var(--wc-border-color, #e8e3db);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.wc-faq-headline {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--wc-page-heading, var(--wc-page-text, #1a1a1a));
  font-family: var(--wc-heading-font, inherit);
}
.wc-faq-subtitle {
  font-size: var(--wc-body-size, 14px);
  color: var(--wc-page-text, #1c1c1e);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}
.wc-faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.wc-faq-item {
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 94%, var(--wc-page-text, #1c1c1e) 6%);
  border: 1px solid var(--wc-border-color, #e5e5e5);
  border-radius: var(--wc-img-radius, 12px);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.wc-faq-item:hover {
  border-color: var(--wc-border-color, #e5e5e5);
}
.wc-faq-item.open {
  border-color: var(--wc-border-color, #e5e5e5);
}
.wc-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--wc-body-font, inherit);
  font-size: var(--wc-body-size, 14px);
  font-weight: 500;
  color: var(--wc-page-text, #1a1a1a);
  transition: color 0.15s ease;
}
.wc-faq-trigger:hover {
  color: var(--wc-accent, #c96442);
}
.wc-faq-trigger:focus-visible {
  outline: 2px solid var(--wc-accent, #c96442);
  outline-offset: -2px;
}
.wc-faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--wc-page-bg, #fafaf7);
  color: var(--wc-page-text, #1c1c1e);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease, color 0.2s ease;
}
.wc-faq-item.open .wc-faq-icon {
  transform: rotate(180deg);
  background: color-mix(in srgb, var(--wc-accent, #c96442) 10%, transparent);
  color: var(--wc-accent, #c96442);
}
.wc-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.wc-faq-content-inner {
  padding: 0 20px 20px;
  font-size: 15px;
  line-height: 1.7;
}
.wc-faq-content-inner p + p {
  margin-top: 0.75rem;
}
.wc-faq-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--wc-border-color, #e8e3db) 20%, transparent);
  text-align: center;
}
.wc-faq-footer-text {
  font-size: var(--wc-body-size, 14px);
  margin-bottom: 1rem;
}
.wc-faq-footer-btn {
  display: inline-block;
  padding: 10px 20px;
  background: var(--wc-page-text, #1a1a1a);
  color: var(--wc-page-bg, #fafaf7);
  text-decoration: none;
  border-radius: var(--wc-btn-radius, 8px);
  font-size: var(--wc-body-size, 14px);
  font-weight: 600;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.wc-faq-footer-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
  color: var(--wc-page-bg, #fafaf7);
}
@media (max-width: 600px) {
  .wc-landing-faq {
    padding: 40px 0;
  }
  .wc-faq-trigger {
    padding: 16px;
    font-size: 15px;
  }
  .wc-faq-content-inner {
    padding: 0 16px 16px;
    font-size: var(--wc-body-size, 14px);
  }
}

/* ── Logo List ─────────────────────────────────────── */
.wc-landing-logo-list {
  padding: 48px 0;
}
.wc-logo-list-header {
  text-align: center;
  margin-bottom: 3rem;
}
.wc-logo-list-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--wc-page-text, #1c1c1e);
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 88%, var(--wc-page-text, #1c1c1e) 12%);
  padding: 5px 18px;
  border-radius: var(--wc-btn-radius, 20px);
  border: 1px solid var(--wc-border-color, #e8e3db);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.wc-logo-list-headline {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.wc-logo-list-subtitle {
  font-size: var(--wc-body-size, 14px);
  max-width: 460px;
  margin: 0 auto;
}
.wc-logo-strip {
  position: relative;
  padding: 1.5rem 0;
}
.wc-logo-strip::before,
.wc-logo-strip::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wc-border-color, rgba(0,0,0,0.06)), transparent);
}
.wc-logo-strip::before { top: 0; }
.wc-logo-strip::after { bottom: 0; }
.wc-logo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}
.wc-logo-row--1 { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
.wc-logo-row--2 { grid-template-columns: repeat(2, 1fr); max-width: 560px; margin: 0 auto; }
.wc-logo-row--3 { grid-template-columns: repeat(3, 1fr); }
.wc-logo-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  padding: 0 1.5rem;
  text-decoration: none;
  transition: transform 0.25s ease;
}
a.wc-logo-cell { cursor: pointer; }
.wc-logo-cell:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 32px;
  background: var(--wc-border-color, rgba(0,0,0,0.06));
}
.wc-logo-cell:hover {
  transform: translateY(-2px);
}
.wc-logo-cell-img {
  max-width: 100%;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0 !important;
  transition: opacity 0.25s ease;
}
@media (max-width: 768px) {
  .wc-landing-logo-list {
    padding: 40px 0;
  }
  .wc-logo-list-header {
    margin-bottom: 2rem;
  }
  .wc-logo-row,
  .wc-logo-row--3,
  .wc-logo-row--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .wc-logo-cell {
    height: 64px;
    padding: 0 0.75rem;
  }
  .wc-logo-cell::after {
    display: none;
  }
  .wc-logo-cell:nth-child(odd)::after {
    display: block;
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 28px;
    background: var(--wc-border-color, rgba(0,0,0,0.06));
  }
  .wc-logo-cell:nth-child(-n+2) {
    border-bottom: 1px solid var(--wc-border-color, rgba(0,0,0,0.06));
    padding-bottom: 1rem;
    height: auto;
    min-height: 64px;
  }
  .wc-logo-cell:nth-child(n+3) {
    padding-top: 1rem;
    height: auto;
    min-height: 64px;
  }
}

/* ── Contact Form ──────────────────────────────────── */
.wc-landing-contact {
  padding: 48px 0;
}
.wc-landing-contact .container {
}
.wc-contact-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.wc-contact-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--wc-page-text, #1c1c1e);
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 88%, var(--wc-page-text, #1c1c1e) 12%);
  padding: 5px 18px;
  border-radius: var(--wc-btn-radius, 20px);
  border: 1px solid var(--wc-border-color, #e8e3db);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.wc-contact-headline {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.wc-contact-subtitle {
  font-size: var(--wc-body-size, 14px);
  color: var(--wc-page-text, #1c1c1e);
  max-width: 440px;
  margin: 0 auto;
}
.wc-contact-card {
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 94%, var(--wc-page-text, #1c1c1e) 6%);
  border: 1px solid var(--wc-border-color, #e5e5e5);
  border-radius: var(--wc-img-radius, 12px);
  padding: 2rem;
}
.wc-contact-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--wc-success-soft, #e1f5ee);
  border: 0.5px solid var(--wc-success, #0f6e56);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--wc-success, #0f6e56);
  font-size: var(--wc-body-size, 14px);
}
.wc-contact-error-banner {
  background: #fef2f2;
  border: 0.5px solid #dc2626;
  border-radius: 8px;
  padding: 14px 16px;
  color: #dc2626;
  font-size: var(--wc-body-size, 14px);
  margin-bottom: 1.25rem;
}
.wc-contact-field {
  margin-bottom: 1.25rem;
}
.wc-contact-field:last-of-type {
  margin-bottom: 1.75rem;
}
.wc-contact-field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.wc-contact-field-label label {
  font-size: var(--wc-body-size, 14px);
  font-weight: 500;
}
.wc-contact-hint {
  font-size: 12px;
}
.wc-contact-field input,
.wc-contact-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: var(--wc-body-size, 14px);
  color: var(--wc-page-text, #1c1c1e);
  background: var(--wc-page-bg, #fafaf7);
  border: 1px solid var(--wc-border-color, #e5e5e5);
  border-radius: var(--wc-btn-radius, 8px);
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.wc-contact-field input::placeholder,
.wc-contact-field textarea::placeholder {
  color: var(--wc-page-text, #1c1c1e);
  opacity: 0.5;
}
.wc-contact-field input:hover,
.wc-contact-field textarea:hover {
  border-color: var(--wc-border-color, #e5e5e5);
}
.wc-contact-field input:focus,
.wc-contact-field textarea:focus {
  outline: none;
  border-color: var(--wc-accent, #c96442);
  box-shadow: 0 0 0 3px var(--wc-accent-soft, #faece7);
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 94%, var(--wc-page-text, #1c1c1e) 6%);
}
.wc-contact-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}
.wc-contact-field.error input,
.wc-contact-field.error textarea {
  border-color: #dc2626;
}
.wc-contact-field-error {
  font-size: 12px;
  color: #dc2626;
  margin-top: 6px;
}
.wc-contact-char-count {
  font-size: 12px;
  text-align: right;
  margin-top: 6px;
}
.wc-contact-submit {
  width: 100%;
  font-family: inherit;
  font-size: var(--wc-body-size, 14px);
  font-weight: 600;
  color: var(--wc-btn-text, #ffffff);
  background: var(--wc-btn-bg, #1a1a1a);
  border: none;
  border-radius: var(--wc-btn-radius, 8px);
  padding: 13px 20px;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.wc-contact-submit:hover {
  opacity: 0.88;
}
.wc-contact-submit:active {
  transform: scale(0.99);
}
.wc-contact-submit:focus-visible {
  outline: 2px solid var(--wc-accent, #c96442);
  outline-offset: 2px;
}
.wc-contact-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.wc-contact-submit svg {
  transition: transform 0.2s ease;
}
.wc-contact-submit:hover svg {
  transform: translateX(2px);
}
.wc-contact-footer-note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 13px;
  color: var(--wc-page-text, #1c1c1e);
}
.wc-contact-footer-note a {
  color: var(--wc-link-color, var(--wc-page-text, #1c1c1e));
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 600px) {
  .wc-landing-contact {
    padding: 40px 0;
  }
  .wc-contact-card {
    padding: 1.5rem;
  }
}

/* Pricing */
.wc-landing-pricing {
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.wc-landing-pricing::before {
  content: '';
  position: absolute;
  bottom: -8%;
  left: -5%;
  width: 420px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 60%, color-mix(in srgb, var(--wc-accent, #4f4db4) 6%, transparent), color-mix(in srgb, var(--wc-accent, #4f4db4) 1%, transparent) 70%, transparent);
  filter: blur(36px);
  pointer-events: none;
}
.wc-landing-pricing::after {
  content: '';
  position: absolute;
  top: -6%;
  right: -4%;
  width: 330px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, color-mix(in srgb, var(--wc-accent, #4f4db4) 5%, transparent), color-mix(in srgb, var(--wc-accent, #4f4db4) 1%, transparent) 70%, transparent);
  filter: blur(30px);
  pointer-events: none;
  animation: wc-orb-drift 20s ease-in-out infinite alternate;
}
.wc-landing-plan-card {
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--wc-img-radius, 20px);
  padding: 36px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wc-landing-plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.wc-landing-plan-featured {
  border: 1px solid var(--wc-border-color, #e8e3db);
}
.wc-landing-plan-featured:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-8px);
}
.wc-landing-plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 88%, var(--wc-page-text, #1c1c1e) 12%);
  color: var(--wc-page-text, #1c1c1e);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 18px;
  border-radius: var(--wc-btn-radius, 20px);
  border: 1px solid var(--wc-border-color, #e8e3db);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.wc-landing-plan-name {
  font-family: var(--wc-font-display);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--wc-page-text);
  letter-spacing: -0.02em;
}
.wc-landing-plan-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--wc-page-text);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.wc-landing-plan-period {
  font-size: var(--wc-body-size, 14px);
  font-weight: 400;
  letter-spacing: 0;
}
.wc-landing-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}
.wc-landing-plan-features li {
  font-size: var(--wc-body-size, 14px);
  color: var(--wc-page-text);
  padding: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  letter-spacing: -0.005em;
}
.wc-landing-plan-features li i {
  color: var(--wc-accent, #4f4db4);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Download CTA */
.wc-landing-download {
  padding: 48px 0;
  color: #1c1c1e;
}
.wc-landing-download-title {
  font-family: var(--wc-font-display);
  font-weight: 700;
  font-size: var(--wc-h1-size, 32px);
  margin-bottom: 16px;
  color: #1c1c1e;
  letter-spacing: -0.025em;
  position: relative;
}
.wc-landing-download-title::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: var(--wc-page-text, #1c1c1e);
  margin: 0 auto 20px;
}
.wc-landing-download-subtitle {
  font-size: var(--wc-body-size, 14px);
  font-weight: 400;
  color: #64646b;
  margin-bottom: 16px;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  letter-spacing: -0.01em;
  position: relative;
}

/* Static pages */
.wc-landing-static-page {
  padding: 72px 0 96px;
  min-height: 50vh;
}
.wc-landing-static-title {
  font-family: var(--wc-font-display);
  font-weight: 700;
  font-size: var(--wc-h2-size, 30px);
  margin-bottom: 32px;
  color: #1c1c1e;
  letter-spacing: -0.025em;
}
.wc-landing-static-content {
  font-size: var(--wc-body-size, 14px);
  line-height: 1.7;
  color: #3a3a3f;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  word-break: break-word;
}
.wc-landing-static-content h2 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}
.wc-landing-static-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}
.wc-landing-static-content p {
  margin-bottom: 16px;
}
.wc-landing-static-content ul,
.wc-landing-static-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.wc-landing-static-content a {
  color: var(--wc-accent, #4f4db4);
  text-decoration: underline;
}
.wc-landing-static-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.wc-landing-static-content iframe {
  max-width: 100%;
}

/* Footer */
.wc-landing-footer {
  padding: 64px 0 0;
  border-top: 1px solid color-mix(in srgb, var(--wc-border-color, #e8e3db) 20%, transparent);
  margin-top: auto;
  background: #fff;
}
.wc-landing-footer-link {
  font-size: var(--wc-body-size, 14px);
  color: #8a8a8e;
  text-decoration: none;
  transition: color 0.2s;
}
.wc-landing-footer-link:hover {
  color: var(--wc-accent, #4f4db4);
}
.wc-landing-footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid color-mix(in srgb, var(--wc-border-color, #e8e3db) 20%, transparent);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wc-landing-footer-admin {
  font-size: 0.8rem;
  color: var(--wc-muted, #999);
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.15s;
}
.wc-landing-footer-admin:hover {
  opacity: 1;
  color: var(--wc-muted, #999);
}
.wc-footer-social {
  display: flex;
  align-items: center;
  gap: 4px;
}
.wc-footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--wc-page-text, #6b7280);
  opacity: 0.6;
  font-size: 18px;
  text-decoration: none;
  transition: opacity 0.15s, background 0.15s;
}
.wc-footer-social__link:hover {
  opacity: 1;
  background: rgba(0,0,0,0.06);
  color: var(--wc-page-text, #6b7280);
  text-decoration: none;
}

/* Toast notification */

/* Landing page responsive — tablet */
@media (max-width: 991px) {
  .wc-landing-hero-title {
    font-size: calc(var(--wc-h1-size, 32px) * 1.3);
  }
  .wc-landing-section-title,
  .wc-landing-download-title,
  .wc-landing-static-title {
    font-size: calc(var(--wc-h1-size, 32px) * 0.9);
  }
  .wc-landing-plan-price {
    font-size: var(--wc-h2-size, 30px);
  }
  .wc-landing-hero {
    padding: 72px 0 48px;
  }
  .wc-landing-features,
  .wc-landing-pricing,
  .wc-landing-social-proof,
  .wc-landing-video {
    padding: 72px 0;
  }
  .wc-landing-download {
    padding: 72px 0;
  }
  .wc-landing-image-text {
    padding: 48px 0;
  }
  .wc-landing-image-text-grid {
    gap: 40px;
  }
  .wc-landing-image-text-title {
    font-size: calc(var(--wc-h2-size, 30px) * 0.9);
  }
  .wc-landing-rich-text {
    padding: 72px 0;
  }
  .wc-landing-rich-text-title {
    font-size: calc(var(--wc-h1-size, 32px) * 0.9);
  }
  .wc-landing-footer {
    padding: 48px 0 0;
  }
  .wc-landing-embed {
    padding: 0;
  }
}

/* Landing page responsive — mobile */
@media (max-width: 767px) {
  .wc-landing-hero {
    padding: 40px 0 32px;
  }
  .wc-landing-hero-title {
    font-size: var(--wc-h1-size, 32px);
    letter-spacing: -0.03em;
  }
  .wc-landing-hero-subtitle {
    font-size: var(--wc-body-size, 14px);
    margin-bottom: 24px;
  }
  .wc-landing-hero-img-wrap {
    margin-top: 28px;
  }
  .wc-landing-section-title,
  .wc-landing-download-title,
  .wc-landing-static-title {
    font-size: calc(var(--wc-h1-size, 32px) * 0.75);
  }
  .wc-landing-section-subtitle,
  .wc-landing-download-subtitle {
    font-size: var(--wc-body-size, 14px);
  }
  .wc-landing-features,
  .wc-landing-pricing,
  .wc-landing-social-proof,
  .wc-landing-video {
    padding: 48px 0;
  }
  .wc-landing-plan-price {
    font-size: var(--wc-h2-size, 30px);
  }
  .wc-landing-feature-card {
    padding: 28px 18px;
  }
  .wc-landing-plan-card {
    padding: 28px 22px;
  }
  .wc-landing-image-text {
    padding: 48px 0;
  }
  .wc-landing-image-text-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .wc-landing-image-text-alt .wc-landing-image-text-grid {
    direction: ltr;
  }
  .wc-landing-image-text-title {
    font-size: calc(var(--wc-h2-size, 30px) * 0.8);
  }
  .wc-landing-rich-text {
    padding: 48px 0;
  }
  .wc-landing-rich-text-title {
    font-size: calc(var(--wc-h1-size, 32px) * 0.75);
  }
  .wc-landing-embed {
    padding: 0;
  }
  .wc-landing-footer {
    padding: 32px 0 0;
  }
  .wc-featured-blogs {
    padding: 0;
  }
}

/* ===== Footer menu accordion (mobile) ===== */
/* Desktop: show static links, hide accordion toggle + body */
.wc-footer-accordion-toggle {
  display: none;
}
.wc-footer-accordion-body {
  display: none;
}
.wc-footer-desktop-links {
  display: block;
}

@media (max-width: 767px) {
  /* Mobile: hide static links, show accordion */
  .wc-footer-desktop-links {
    display: none;
  }
  .wc-footer-accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid var(--wc-border-color, #e8e3db);
    padding: 14px 0;
    margin: 0;
    color: var(--wc-page-text, inherit);
    font-size: var(--wc-body-size, 14px);
    cursor: pointer;
    text-align: left;
  }
  .wc-footer-accordion-chevron {
    font-size: 18px;
    opacity: 0.5;
    transition: transform 0.25s ease;
    line-height: 1;
  }
  .wc-footer-accordion-chevron--open {
    transform: rotate(180deg);
  }
  .wc-footer-accordion-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease;
    overflow: hidden;
  }
  .wc-footer-accordion-body > div {
    min-height: 0;
  }
  .wc-footer-accordion-body--open {
    grid-template-rows: 1fr;
  }
  .wc-footer-accordion-body--open > div {
    padding: 10px 0 14px;
  }
  .wc-footer-menu-col {
    padding-top: 0;
    padding-bottom: 0;
  }
  .wc-footer-menu-col .wc-landing-footer-link {
    padding: 4px 0;
  }
}

/* ===== Blog Section Title (shared) ===== */
.wc-blog-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--wc-page-text, #3A3A38);
  margin: 0;
  line-height: var(--wc-leading-none);
  letter-spacing: -0.01em;
}

/* ===== Featured Blogs Section ===== */
.wc-featured-blogs {
  padding: 48px 0;
}
.wc-featured-blogs-headline {
  font-family: 'Inter', sans-serif;
  font-size: var(--wc-h3-size, 18px);
  font-weight: 700;
  margin: 0;
  color: var(--wc-page-text, #3A3A38);
}
.wc-featured-blogs-headline.wc-blog-section-title {
  font-size: var(--wc-h3-size, 18px);
}
.wc-featured-blogs-side-header .wc-featured-blogs-headline,
.wc-cms .wc-featured-blogs-side-header .wc-featured-blogs-headline {
  color: var(--wc-page-text, #3A3A38);
}
.wc-featured-blogs-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  align-items: stretch;
  width: 100%;
}
.wc-featured-blogs-grid--hero-only {
  grid-template-columns: 1fr;
}

/* Hero article — left column (image with overlay) */
.wc-featured-blogs-hero {
  position: relative;
  display: block;
  border-radius: var(--wc-img-radius, 8px);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  min-height: 420px;
}
.wc-featured-blogs-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.wc-featured-blogs-hero:hover .wc-featured-blogs-hero-img {
  transform: scale(1.03);
}
.wc-featured-blogs-hero-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a2a3e 0%, #1a1a2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(255,255,255,0.2);
}
.wc-featured-blogs-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.25) 45%, rgba(0,0,0,0.05) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}
.wc-featured-blogs-hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}
.wc-featured-blogs-hero-author {
  font-weight: 600;
  color: #fff;
}
.wc-featured-blogs-hero-meta-sep {
  color: rgba(255,255,255,0.4);
}
.wc-featured-blogs-hero-title,
.wc-landing .wc-featured-blogs-hero-title {
  font-family: var(--wc-heading-font, 'Playfair Display', Georgia, serif);
  font-size: var(--wc-h2-size, 30px);
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1;
  color: #fff;
}
.wc-featured-blogs-hero-excerpt {
  font-size: var(--wc-body-size, 14px);
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wc-featured-blogs-hero-readmore {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--wc-btn-text, #fff);
  padding: 8px 20px;
  background: var(--wc-btn-bg, transparent);
  border: none;
  border-radius: var(--wc-btn-radius, 24px);
  text-decoration: none;
  transition: background 0.2s;
}
.wc-featured-blogs-hero:hover .wc-featured-blogs-hero-readmore {
  background: var(--wc-btn-hover-bg, rgba(255,255,255,0.15));
  color: var(--wc-btn-hover-text, var(--wc-btn-text, #fff));
}

/* Side articles — right column */
.wc-featured-blogs-side {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--wc-border-color, #eee);
  border-radius: var(--wc-img-radius, 8px);
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}
.wc-featured-blogs-side-header {
  padding: 18px 20px;
  background: #f9f9f8;
  color: #3A3A38;
  border-radius: 0;
  border: 1px solid #f9f9f8;
  border-bottom: none;
}
.wc-featured-blogs-side-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  text-decoration: none;
  color: inherit;
  background: var(--wc-page-bg, #fff);
  transition: background 0.15s;
}
.wc-featured-blogs-side-item:first-child {
  border-top: 1px solid var(--wc-border-color, #eee);
  border-radius: 8px 8px 0 0;
}
.wc-featured-blogs-side-header + .wc-featured-blogs-side-item:first-of-type {
  border-top: none;
  border-radius: 0 !important;
}
.wc-featured-blogs-side-item:first-child:last-child {
  border-radius: 8px;
}
.wc-featured-blogs-side-item:hover {
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 96%, var(--wc-page-text, #000) 4%);
}
.wc-featured-blogs-side-content {
  flex: 1;
  min-width: 0;
}
.wc-featured-blogs-side-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--wc-page-text, #999);
  margin-bottom: 4px;
}
.wc-featured-blogs-side-author {
  font-weight: 600;
  color: var(--wc-page-text, #555);
}
.wc-featured-blogs-side-meta-sep {
  color: #ccc;
}
.wc-featured-blogs-side-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.35;
  color: var(--wc-page-text, #3A3A38);
}
.wc-featured-blogs-side-item:hover .wc-featured-blogs-side-title {
  color: var(--wc-link-color, var(--wc-accent, #6c5ce7));
}
.wc-featured-blogs-side-cat {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--wc-page-text, #999);
  margin-bottom: 10px;
}
.wc-featured-blogs-side-img-link {
  flex-shrink: 0;
  width: 100px;
  aspect-ratio: 3 / 4;
  border-radius: var(--wc-img-radius, 8px);
  overflow: hidden;
}
.wc-featured-blogs-side-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Featured blogs responsive */
@media (max-width: 767px) {
  .wc-featured-blogs-grid {
    grid-template-columns: 1fr;
  }
  .wc-featured-blogs-hero {
    min-height: 260px;
  }
  .wc-featured-blogs-side-img-link {
    width: 80px;
  }
}

/* ===== Blog Collage Section ===== */
.wc-blog-collage {
  padding: 48px 0;
}
.wc-art-layout .wc-blog-collage {
  padding-top: 0;
}
.wc-blog-collage-headline {
  font-family: 'Inter', sans-serif;
  font-size: var(--wc-body-size, 14px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 48px;
  color: #999;
  text-align: center;
}
.wc-blog-collage-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 20px;
  align-items: start;
}

/* Shared card styles */
.wc-blog-collage-card {
  display: flex;
  flex-direction: column;
}
.wc-blog-collage-img-link {
  display: block;
  overflow: hidden;
  border-radius: var(--wc-img-radius, 8px);
  margin-bottom: 18px;
}
.wc-blog-collage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  border-radius: var(--wc-img-radius, 8px);
}
.wc-blog-collage-img-link:hover .wc-blog-collage-img {
  transform: scale(1.04);
}
.wc-blog-collage-category {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #999;
  margin-bottom: 10px;
}
.wc-blog-collage-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  line-height: var(--wc-leading-none);
  margin: 0 0 8px;
  color: var(--wc-page-text, #3A3A38);
  letter-spacing: -0.01em;
}
.wc-blog-collage-title a {
  color: var(--wc-page-text, #3A3A38);
  font-size: 18px;
  line-height: var(--wc-leading-none);
  text-decoration: none;
  transition: color 0.2s;
}
.wc-blog-collage-title a:hover {
  color: #3A3A38;
}
.wc-blog-collage-date {
  font-size: 12px;
  font-weight: 400;
  color: #999;
  margin-bottom: 12px;
}
.wc-blog-collage-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--wc-text-sm);
  line-height: var(--wc-leading-normal);
  color: var(--wc-page-text, var(--wc-muted));
  margin-bottom: 12px;
}
.wc-blog-collage-meta > span:first-child {
  font-weight: var(--wc-weight-semibold);
  color: var(--wc-page-text, var(--wc-text-secondary));
}
.wc-blog-collage-meta-sep {
  color: var(--wc-border-strong);
}
.wc-blog-collage-excerpt {
  font-family: 'Inter', sans-serif;
  font-size: var(--wc-body-size, 14px);
  color: var(--wc-page-text);
  line-height: 1.7;
  margin-bottom: 18px;
}
.wc-blog-collage-btn,
a.wc-blog-collage-btn {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--wc-btn-text, #fff);
  background: var(--wc-btn-bg, #3A3A38);
  text-decoration: none;
  padding: 8px 20px;
  border: 1.5px solid var(--wc-btn-bg, #3A3A38);
  border-radius: var(--wc-btn-radius, 24px);
  transition: background 0.2s, color 0.2s;
  width: fit-content;
  margin: 0 auto;
  cursor: pointer;
}
a.wc-blog-collage-btn:hover,
.wc-blog-collage-btn:hover {
  background: var(--wc-btn-hover-bg, #222);
  border-color: var(--wc-btn-hover-bg, #222);
  color: var(--wc-btn-hover-text, var(--wc-btn-text, #fff)) !important;
  text-decoration: none;
}

/* Left column — full article with image */
.wc-blog-collage-col--left .wc-blog-collage-img-link {
  height: 240px;
}
.wc-blog-collage-col--left .wc-blog-collage-excerpt {
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

/* Center column — hero */
.wc-blog-collage-col--center {
  padding-top: 0;
}
.wc-blog-collage-col--center .wc-blog-collage-img-link--hero {
  height: 365px;
}
.wc-blog-collage-col--center .wc-blog-collage-category,
.wc-blog-collage-col--center .wc-blog-collage-date {
  text-align: center;
  display: block;
}
.wc-blog-collage-col--center .wc-blog-collage-meta {
  justify-content: center;
}
.wc-blog-collage-title--hero {
  font-size: 26px;
  text-align: center;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.wc-blog-collage-col--center .wc-blog-collage-excerpt {
  text-align: center;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}
.wc-blog-collage-col--center .wc-blog-collage-btn {
  display: inline-block;
  margin-top: 4px;
  width: fit-content;
  margin: 0 auto;
}

/* Right column — stacked compact cards */
.wc-blog-collage-col--right {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.wc-blog-collage-card--sm .wc-blog-collage-img-link--sm {
  height: 160px;
}
.wc-blog-collage-title--sm {
  font-size: 18px;
  line-height: var(--wc-leading-none);
  color: var(--wc-page-text, #3A3A38);
}
.wc-blog-collage-excerpt--sm {
  font-size: 13px;
  line-height: 1.65;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

/* Divider between right-column cards */
.wc-blog-collage-col--right .wc-blog-collage-card--sm + .wc-blog-collage-card--sm {
  padding-top: 36px;
  margin-top: -36px;
}

/* Responsive */
@media (max-width: 991px) {
  .wc-blog-collage-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .wc-blog-collage-col--center {
    order: -1;
    grid-column: 1 / -1;
    padding-top: 0;
  }
  .wc-blog-collage-col--center .wc-blog-collage-img-link--hero {
    height: 320px;
  }
  .wc-blog-collage-title--hero {
    font-size: 28px;
  }
}
@media (max-width: 575px) {
  .wc-blog-collage {
    padding: 0 0 40px;
  }
  .wc-blog-collage-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .wc-blog-collage-col--center {
    grid-column: auto;
  }
  .wc-blog-collage-title--hero {
    font-size: 22px;
  }
  .wc-blog-collage-col--left .wc-blog-collage-img-link,
  .wc-blog-collage-card--sm .wc-blog-collage-img-link--sm {
    height: 200px;
  }
}

/* ===== Blog Categories Section ===== */
.wc-blog-categories {
  padding: 48px 0;
}
.wc-blog-categories-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--wc-border-color, #e8e3db);
  gap: 24px;
}
.wc-blog-categories-headline {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--wc-page-text, #3A3A38);
  margin: 0;
  line-height: var(--wc-leading-none);
}
.wc-blog-categories-subtitle {
  font-size: var(--wc-body-size, 14px);
  margin: 4px 0 0;
  line-height: 1.5;
}
.wc-blog-categories-link {
  font-size: var(--wc-body-size, 14px);
  font-weight: 600;
  color: var(--wc-accent, #6c5ce7);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.wc-blog-categories-link:hover {
  opacity: 0.75;
}
.wc-blog-categories-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.wc-cms .wc-blog-categories-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--wc-btn-radius, 100px);
  font-size: var(--wc-body-size, 14px);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.wc-blog-categories-pill-icon {
  font-size: 16px;
  line-height: 1;
}
.wc-blog-categories-more {
  border-radius: var(--wc-btn-radius, 100px);
  padding: 8px 18px;
  font-size: var(--wc-body-size, 14px);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 767px) {
  .wc-blog-categories-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .wc-blog-categories-pills {
    gap: 8px;
  }
  .wc-blog-categories-pill {
    padding: 6px 14px;
    font-size: 13px;
  }
}

/* ── Featured blogs row ── */

.wc-blog-row {
  padding: 48px 0;
}
.wc-blog-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--wc-border-color, #e8e3db);
}
.wc-blog-row-headline {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  color: var(--wc-page-text, #3A3A38);
}
.wc-blog-row-see-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--wc-link-color, var(--wc-accent, #3A3A38));
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
  letter-spacing: 0.02em;
}
.wc-blog-row-see-all:hover {
  opacity: 0.7;
  gap: 10px;
}
.wc-blog-row-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.wc-blog-row-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}
.wc-blog-row-card:hover {
  transform: none;
}
.wc-blog-row-card-img-wrap {
  border-radius: var(--wc-img-radius, 8px);
  overflow: hidden;
  margin-bottom: 16px;
}
.wc-blog-row-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.wc-blog-row-card:hover .wc-blog-row-card-img {
  transform: scale(1.03);
}
.wc-blog-row-card-placeholder {
  background: #f0f2f5;
  height: 200px;
}
.wc-blog-row-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.wc-blog-row-card-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--wc-page-text, #999);
  margin-bottom: 8px;
}
.wc-blog-row-card-author {
  font-weight: 600;
  color: var(--wc-page-text, #555);
}
.wc-blog-row-card-meta-sep {
  color: #ccc;
}
.wc-blog-row-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  line-height: var(--wc-leading-none);
  margin: 0 0 8px;
  color: var(--wc-page-text, #3A3A38);
}
.wc-blog-row-card:hover .wc-blog-row-card-title {
  color: var(--wc-page-text, var(--wc-accent, #6c5ce7));
}
.wc-blog-row-card-excerpt {
  font-size: var(--wc-body-size, 14px);
  color: var(--wc-page-text, #666);
  line-height: 1.55;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wc-blog-row-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #999;
  padding-top: 10px;
}
.wc-blog-row-card-cat {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #999;
  margin-bottom: 10px;
}
@media (max-width: 991px) {
  .wc-blog-row-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .wc-blog-row-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .wc-blog-row-headline {
    font-size: 22px;
  }
}

/* ── Blog category page ── */

.wc-blog-category-page {
  padding: 0 0 64px;
}
.wc-blog-category-page > .container {
}
.wc-blog-category-header {
  margin-bottom: 32px;
}
.wc-blog-category-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--wc-page-text, #3A3A38);
  margin: 0 0 8px;
}
.wc-blog-category-count {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--wc-page-text, #1c1c1e);
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 88%, var(--wc-page-text, #1c1c1e) 12%);
  padding: 5px 18px;
  border-radius: var(--wc-btn-radius, 20px);
  border: 1px solid var(--wc-border-color, #e8e3db);
  margin: 0;
  letter-spacing: 0.02em;
}
.wc-blog-category-empty {
  text-align: center;
  padding: 80px 0;
  color: #999;
}
.wc-blog-category-empty-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
  opacity: 0.4;
}
.wc-blog-category-back-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: #3A3A38;
  border: 1.5px solid #3A3A38;
  border-radius: 24px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.wc-blog-category-back-btn:hover {
  background: #222;
  border-color: #222;
  color: #fff !important;
}

/* ── Category page — featured hero card ── */

.wc-cat-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  background: var(--wc-page-bg, var(--art-bg, #fff));
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 48px;
}
.wc-cat-featured-img-wrap {
  overflow: hidden;
  border-radius: var(--wc-img-radius, 8px);
  height: 100%;
  min-height: 320px;
}
.wc-cat-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.wc-cat-featured:hover .wc-cat-featured-img {
  transform: scale(1.03);
}
.wc-cat-featured-placeholder {
  background: #f0f2f5;
}
.wc-cat-featured-body {
  padding: 32px 32px 32px 0;
}
.wc-cat-featured-cat {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #999;
  margin-bottom: 12px;
}
.wc-cat-featured-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--wc-page-text, #3A3A38);
  margin: 0 0 14px;
}
.wc-cat-featured:hover .wc-cat-featured-title {
  color: var(--wc-link-color, var(--wc-accent, #6c5ce7));
}
.wc-cat-featured-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--wc-page-text, #666);
  margin: 0 0 18px;
}
.wc-cat-featured-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--wc-page-text, #999);
  margin-bottom: 12px;
}
.wc-cat-featured-author {
  font-weight: 600;
}
.wc-cat-featured-sep {
  color: #ccc;
}

/* ── Category page — more articles heading ── */

.wc-cat-more-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--wc-page-text, #3A3A38);
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--wc-border-color, #e8e3db);
}

/* ── Category page — compact card grid ── */

.wc-cat-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.wc-cat-card {
  display: flex;
  flex-direction: row;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
  align-items: stretch;
}
.wc-cat-card:hover {
}
.wc-cat-card-img-wrap {
  border-radius: var(--wc-img-radius, 8px);
  overflow: hidden;
  flex-shrink: 0;
  width: 260px;
}
.wc-cat-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.wc-cat-card:hover .wc-cat-card-img {
  transform: scale(1.03);
}
.wc-cat-card-placeholder {
  background: #f0f2f5;
  height: 100%;
  min-height: 160px;
}
.wc-cat-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 24px;
}
.wc-cat-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--wc-page-text, #3A3A38);
  margin: 0 0 8px;
}
.wc-cat-card:hover .wc-cat-card-title {
  color: var(--wc-link-color, var(--wc-accent, #6c5ce7));
}
.wc-cat-card-excerpt {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--wc-page-text, #666);
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wc-cat-card-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--wc-page-text, #999);
  margin-bottom: 6px;
}
.wc-cat-card-author {
  font-weight: 600;
  color: var(--wc-page-text, inherit);
}

/* ── Category page — no-more-articles placeholder ── */

.wc-cat-no-more {
  text-align: center;
  padding: 64px 0;
  margin-top: 8px;
  border-top: 1px solid #e8e3db;
}
.wc-cat-no-more-icon {
  font-size: 2.5rem;
  color: #ccc;
  display: block;
  margin-bottom: 12px;
}
.wc-cat-no-more-text {
  color: #999;
  font-size: 0.95rem;
  margin: 0 0 4px;
}

/* ── Category page — responsive ── */

@media (max-width: 767px) {
  .wc-cat-featured {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .wc-cat-featured-img-wrap {
    min-height: 220px;
  }
  .wc-cat-featured-body {
    padding: 24px 16px;
  }
  .wc-cat-featured-title {
    font-size: 1.35rem;
  }
  .wc-cat-card {
    flex-direction: column;
  }
  .wc-cat-card-img-wrap {
    width: 100%;
  }
  .wc-cat-card-img {
    height: 200px;
  }
  .wc-cat-card-placeholder {
    min-height: 200px;
  }
  .wc-cat-card-body {
    padding-left: 0;
    padding-top: 12px;
  }
}

/* ── Emotional moment section ── */

.wc-landing-emotional-moment {
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.wc-landing-emotional-moment::before {
  content: '';
  position: absolute;
  top: -6%;
  right: -5%;
  width: 370px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 55% 40%, color-mix(in srgb, var(--wc-accent, #4f4db4) 6%, transparent), color-mix(in srgb, var(--wc-accent, #4f4db4) 1%, transparent) 70%, transparent);
  filter: blur(34px);
  pointer-events: none;
  animation: wc-orb-drift 19s ease-in-out infinite alternate-reverse;
}
.wc-landing-emotional-moment::after {
  content: '';
  position: absolute;
  bottom: -8%;
  left: -4%;
  width: 310px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 60%, color-mix(in srgb, var(--wc-accent, #4f4db4) 5%, transparent), color-mix(in srgb, var(--wc-accent, #4f4db4) 1%, transparent) 70%, transparent);
  filter: blur(28px);
  pointer-events: none;
}
.wc-emotion-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--wc-img-radius, 20px);
  border: 1px solid var(--wc-border-color, #e5e5e5);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wc-emotion-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
}
.wc-emotion-dot {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  display: block;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.wc-emotion-name {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 18px;
  color: #1c1c1e;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.wc-emotion-quote {
  font-style: normal;
  color: var(--wc-page-text);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
  letter-spacing: -0.005em;
}

@media (max-width: 767px) {
  .wc-landing-emotional-moment {
    padding: 40px 0;
  }
  .wc-emotion-card {
    padding: 28px 18px;
  }
}

/* ── Email signup section ── */

.wc-email-signup {
  padding: 48px 0;
}
.wc-email-signup > .container {
  background: var(--wc-page-bg, #2c2c2a);
  color: var(--wc-page-text, #fff);
  border-radius: var(--wc-img-radius, 20px);
  position: relative;
  overflow: hidden;
}
.wc-email-signup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}
.wc-email-signup-media {
  position: relative;
  z-index: 1;
}
.wc-email-signup-img {
  width: 100%;
  height: auto;
  border-radius: var(--wc-img-radius, 16px);
  object-fit: cover;
}
.wc-email-signup-grid .wc-email-signup-inner {
  text-align: left;
  margin: 0;
}
.wc-email-signup-grid .wc-email-signup-headline::before {
  margin: 0 0 20px;
}
.wc-email-signup > .container::before {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 55%, color-mix(in srgb, var(--wc-accent, #4f4db4) 10%, transparent), color-mix(in srgb, var(--wc-accent, #4f4db4) 2%, transparent) 70%, transparent);
  filter: blur(36px);
  pointer-events: none;
  animation: wc-orb-drift 21s ease-in-out infinite alternate;
}
.wc-email-signup > .container::after {
  content: '';
  position: absolute;
  top: -8%;
  right: -6%;
  width: 310px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 45%, color-mix(in srgb, var(--wc-accent, #4f4db4) 8%, transparent), color-mix(in srgb, var(--wc-accent, #4f4db4) 2%, transparent) 70%, transparent);
  filter: blur(30px);
  pointer-events: none;
}
.wc-email-signup-inner {
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.wc-email-signup-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: var(--wc-h1-size, 32px);
  font-weight: 700;
  color: var(--wc-page-text, #fff) !important;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.wc-email-signup-headline::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: var(--wc-page-text, rgba(255, 255, 255, 0.5));
  margin: 0 auto 20px;
}
.wc-email-signup-subtitle {
  font-size: var(--wc-body-size, 14px);
  line-height: 1.6;
  color: var(--wc-page-text, rgba(255, 255, 255, 0.7));
  margin: 0 0 16px;
}
.wc-email-signup-form {
  width: 100%;
}
.wc-email-signup-input-wrap {
  display: flex;
  gap: 0;
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 94%, var(--wc-page-text, #1c1c1e) 6%);
  border-radius: var(--wc-btn-radius, 28px);
  overflow: hidden;
  padding: 5px;
  border: 1px solid var(--wc-border-color, #e8e3db);
  transition: border-color 0.2s ease;
}
.wc-email-signup-input-wrap:focus-within {
  border-color: rgba(0, 0, 0, 0.25);
}
.wc-email-signup-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 22px;
  font-size: var(--wc-body-size, 14px);
  color: var(--wc-page-text, #1c1c1e);
  background: transparent;
  min-width: 0;
}
.wc-email-signup-input::placeholder {
  color: var(--wc-page-text, #1c1c1e);
  opacity: 0.4;
}
.wc-email-signup-btn {
  flex-shrink: 0;
  padding: 14px 32px;
  border: none;
  border-radius: var(--wc-btn-radius, 24px);
  background: var(--wc-btn-bg, var(--wc-accent, #4f4db4));
  color: var(--wc-btn-text, #fff);
  font-size: var(--wc-body-size, 14px);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}
.wc-email-signup-btn:hover {
  background: var(--wc-btn-hover-bg, var(--wc-accent-hover, #4f4db4));
  color: var(--wc-btn-hover-text, var(--wc-btn-text, #fff));
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--wc-btn-bg, var(--wc-accent, #4f4db4)) 30%, transparent);
}
.wc-email-signup-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.wc-email-signup-error {
  color: #ff6b6b;
  font-size: 0.82rem;
  margin: 10px 0 0;
}
.wc-email-signup-success,
.wc-email-signup-already {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wc-page-text, #fff);
  gap: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
}
.wc-email-signup-success i,
.wc-email-signup-already i {
  font-size: 1.4rem;
}

@media (max-width: 575px) {
  .wc-email-signup-headline {
    font-size: 1.5rem;
  }
  .wc-email-signup-input-wrap {
    flex-direction: column;
    border-radius: 14px;
  }
  .wc-email-signup-btn {
    border-radius: 8px;
    width: 100%;
  }
  .wc-email-signup-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .wc-email-signup-grid .wc-email-signup-inner {
    text-align: center;
  }
  .wc-email-signup-grid .wc-email-signup-headline::before {
    margin: 0 auto 20px;
  }
}

/* ── Featured blogs vertical ── */

.wc-blog-vertical {
  padding: 48px 0;
}
.wc-blog-vertical-headline {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--wc-page-text, #3A3A38);
}
.wc-blog-vertical-list {
  display: flex;
  flex-direction: column;
}
.wc-blog-vertical-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  padding: 28px 0;
  border-top: 1px solid var(--wc-border-color, #e8e3db);
}
.wc-blog-vertical-item:last-child {
  border-bottom: 1px solid var(--wc-border-color, #e8e3db);
}
.wc-blog-vertical-img {
  width: 220px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--wc-img-radius, 8px);
  flex-shrink: 0;
  display: block;
}
.wc-blog-vertical-placeholder {
  background: #f0f2f5;
}
.wc-blog-vertical-content {
  flex: 1;
  min-width: 0;
}
.wc-blog-vertical-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: var(--wc-leading-none);
  margin: 0 0 10px;
  color: var(--wc-page-text, #3A3A38);
}
.wc-blog-vertical-item:hover .wc-blog-vertical-title {
  color: var(--wc-link-color, var(--wc-accent, #5e8060));
}
.wc-blog-vertical-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--wc-page-text, #999);
  margin-bottom: 10px;
}
.wc-blog-vertical-author {
  font-weight: 600;
  color: var(--wc-page-text, #555);
}
.wc-blog-vertical-date {
  font-size: 0.78rem;
  color: var(--wc-page-text, #999);
}
.wc-blog-vertical-excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--wc-page-text, #555);
  margin: 0;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}
@media (max-width: 767px) {
  .wc-blog-vertical-item {
    flex-direction: column;
    gap: 16px;
  }
  .wc-blog-vertical-img {
    width: 100%;
    height: 200px;
  }
}

/* ── Blog index & article ── */

.wc-blog-index { min-height: 100vh; }

.wc-blog-index-title {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.wc-blog-index-subtitle {
  font-size: 1.1rem;
}

.wc-blog-logo-link {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: inherit;
  text-decoration: none;
}

.wc-blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.wc-blog-card {
  background: #fff;
  border-radius: var(--wc-img-radius, 8px);
  overflow: hidden;
  border: 1px solid #e8e8ec;
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.wc-blog-card:hover {
  box-shadow: none;
  transform: none;
}

.wc-blog-card-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.wc-blog-card:hover .wc-blog-card-image {
  transform: scale(1.03);
}

.wc-blog-card-image-placeholder {
  width: 100%;
  height: 190px;
  background: #f5f5f8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #ccc;
}

.wc-blog-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wc-blog-card-category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--wc-accent, #6c5ce7);
  margin-bottom: 8px;
}

.wc-blog-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--wc-page-text, #3A3A38);
}

.wc-blog-card:hover .wc-blog-card-title {
  color: var(--wc-accent, #6c5ce7);
}

.wc-blog-card-excerpt {
  font-size: var(--wc-body-size, 14px);
  color: #666;
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wc-blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #999;
  margin-top: 12px;
}

.wc-blog-card-meta-sep {
  width: 3px;
  height: 3px;
  background: #ccc;
  border-radius: 50%;
  display: inline-block;
}

/* ── Article page ── */

.wc-art {
  --art-bg: var(--wc-page-bg, #ffffff);
  --art-bg-warm: color-mix(in srgb, var(--art-bg) 96%, #8a7a60 4%);
  --art-ink: var(--wc-page-text, #111008);
  --art-ink-2: color-mix(in srgb, var(--art-ink) 85%, var(--art-bg) 15%);
  --art-mid: color-mix(in srgb, var(--art-ink) 55%, var(--art-bg) 45%);
  --art-soft: color-mix(in srgb, var(--art-ink) 40%, var(--art-bg) 60%);
  --art-rule: color-mix(in srgb, var(--art-ink) 10%, var(--art-bg) 90%);
  --art-accent: var(--wc-accent, #c4714e);
  --art-accent-light: color-mix(in srgb, var(--art-accent) 12%, var(--art-bg));
  --art-sage: #5e8060;
  --art-sage-light: #eaf2ea;
  --art-r: var(--wc-img-radius, 14px);
  --art-r-sm: 8px;
  --art-max: 720px;
  width: 100%;
  background: var(--art-bg);
  color: var(--art-ink);
  -webkit-font-smoothing: antialiased;
}

/* Breadcrumb */
.wc-art-breadcrumb-wrap { padding-top: 18px; }
.wc-art-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--art-soft);
}
.wc-art-breadcrumb a {
  color: var(--art-mid);
  text-decoration: none;
  transition: color 0.2s;
}
.wc-art-breadcrumb a:hover { color: var(--art-accent); }
.wc-art-breadcrumb-sep { color: var(--art-rule); }
.wc-art-breadcrumb-current {
  color: var(--art-ink);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

/* Article header */
.wc-art-header { padding-top: 40px; }

.wc-art-tag {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #999;
  margin-bottom: 16px;
  text-decoration: none;
  transition: color 0.2s;
}
.wc-art-tag:hover {
  color: #3A3A38;
}

/* Author meta bar (below title) */
.wc-art-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--art-mid);
}
.wc-art-meta-author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wc-art-avatar--sm {
  width: 32px;
  height: 32px;
  font-size: 0.65rem;
}
.wc-art-meta-author-name {
  font-weight: 600;
  color: var(--art-ink);
}
.wc-art-meta-date {
  color: var(--wc-page-text, var(--art-soft));
  font-size: 0.82rem;
}

.wc-art-title,
.wc-cms .wc-art-title {
  font-family: var(--wc-heading-font, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.18;
  color: var(--art-ink, var(--wc-text));
  margin-bottom: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.wc-art-subtitle {
  font-family: var(--wc-body-font, 'Inter', sans-serif);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--art-mid);
  margin-top: 16px;
  margin-bottom: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Author bar */
.wc-art-author-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--art-bg-warm);
  border-radius: var(--art-r);
  border: 1px solid var(--art-rule);
  margin-top: 28px;
}

.wc-art-avatar {
  width: 44px;
  height: 44px;
  border-radius: 100%;
  background: linear-gradient(135deg, #a8c4a0, #5e8060);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.wc-art-avatar--img {
  object-fit: cover;
  border-radius: 50%;
}
.wc-art-author-info { flex: 1; }
.wc-art-author-name { font-size: 0.88rem; font-weight: 700; letter-spacing: -0.01em; }

.wc-art-bar-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  color: var(--art-mid);
}

.wc-art-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.wc-art-meta-item i { font-size: 13px; color: var(--art-soft); }

/* Hero image */
.wc-art-hero-wrap { margin-top: 24px; position: relative; overflow: hidden; border-radius: var(--art-r); }
.wc-art-photo-credit {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: var(--wc-btn-radius, 4px);
  z-index: 1;
}
.wc-art-hero-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--art-r);
  display: block;
}
.wc-art-hero-wrap--medium .wc-art-hero-img { max-height: 560px; }
.wc-art-hero-wrap--large .wc-art-hero-img { max-height: 720px; }

/* Article layout */
.wc-art-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  align-items: start;
  margin-top: 30px;
  margin-bottom: 64px;
}

.wc-art-body {
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.wc-art-aside {
  position: sticky;
  top: 24px;
}

/* Prose — article body */
.wc-art-prose {
  font-family: var(--wc-body-font, 'Inter', sans-serif);
  font-size: 1.01rem;
  line-height: 1.78;
  color: var(--art-ink-2);
  overflow-wrap: break-word;
}
/* Reset inline styles from Shopify imports */
.wc-art-prose p,
.wc-art-prose span,
.wc-art-prose div,
.wc-art-prose li,
.wc-art-prose td,
.wc-art-prose th {
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
  background: transparent !important;
  letter-spacing: inherit !important;
}
.wc-art-prose h1,
.wc-art-prose h2,
.wc-art-prose h3,
.wc-art-prose h4,
.wc-art-prose h5,
.wc-art-prose h6 {
  font-family: var(--wc-heading-font, 'Playfair Display', Georgia, serif) !important;
  color: var(--art-ink) !important;
  background: transparent !important;
}

.wc-art-prose h2 {
  font-family: var(--wc-heading-font, 'Playfair Display', Georgia, serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--art-ink);
  margin: 32px 0 14px;
}

.wc-art-prose h3 {
  font-family: var(--wc-heading-font, 'Playfair Display', Georgia, serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--art-ink);
  margin: 28px 0 10px;
}

.wc-art-prose p { margin-bottom: 18px; }
.wc-art-prose p:last-child { margin-bottom: 0; }
.wc-art-prose strong { font-weight: 700; color: var(--art-ink); }
.wc-art-prose em { font-style: italic; color: var(--art-mid); }

.wc-art-prose ul,
.wc-art-prose ol {
  margin: 16px 0 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wc-art-prose li { font-size: 1rem; line-height: 1.7; }

.wc-art-prose a {
  color: var(--art-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}
.wc-art-prose a:hover { opacity: 0.75; }

.wc-art-prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--art-r-sm);
  margin: 1.5rem 0;
  display: block;
}

.wc-art-prose pre {
  overflow-x: auto;
  max-width: 100%;
  padding: 18px 20px;
  background: var(--art-bg-warm);
  border: 1px solid var(--art-rule);
  border-radius: var(--art-r-sm);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 20px 0;
}

.wc-art-prose table {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  display: block;
}

.wc-art-prose iframe,
.wc-art-prose video,
.wc-art-prose embed,
.wc-art-prose object {
  max-width: 100%;
}

/* Blockquote / pull quote */
.wc-art-prose blockquote {
  margin: 36px 0;
  padding: 28px 32px;
  border-left: 3px solid #3A3A38;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.22rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.5;
  color: var(--art-ink);
  letter-spacing: -0.01em;
  background: #fff;
  border-radius: 0 8px 8px 0;
}

/* Horizontal rule / divider */
.wc-art-prose hr {
  border: none;
  border-top: 1px solid var(--art-rule);
  margin: 40px 0;
}

/* Tags at bottom */
.wc-art-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--art-rule);
}

.wc-art-aside-heading {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.wc-art-aside-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wc-art-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--art-mid, #555);
  background: color-mix(in srgb, var(--art-bg, #fff) 94%, var(--art-ink, #111008) 6%);
  border: 1px solid var(--wc-border-color, transparent);
  border-radius: var(--wc-img-radius, 8px);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.wc-cms a.wc-art-tag-pill:hover {
  color: var(--wc-page-text, #3A3A38);
  background: color-mix(in srgb, var(--art-bg, #fff) 88%, var(--art-ink, #111008) 12%);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* Back link */
.wc-art-back {
  margin: 48px 0 56px;
  padding-top: 28px;
  border-top: 1px solid var(--art-rule);
}
.wc-art-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wc-page-text, #3A3A38);
  text-decoration: none;
  padding: 8px 20px;
  border: 1.5px solid #3A3A38;
  border-radius: 24px;
  transition: background 0.2s, color 0.2s, gap 0.2s;
}
.wc-art-back-link:hover {
  background: #3A3A38;
  color: #fff;
  gap: 10px;
}

/* Aside sidebar */
.wc-art-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.wc-art-aside-card {
  background: var(--art-bg, #fff);
  border: 1px solid var(--wc-border-color, var(--art-rule, rgba(0,0,0,0.08)));
  border-radius: var(--art-r, 14px);
  padding: 20px;
}
.wc-art-aside-card--flush { padding: 0; overflow: hidden; }
.wc-art-aside-card--flush iframe { width: 100% !important; min-width: 0 !important; max-width: 100% !important; }
.wc-art-aside-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wc-art-aside-author-name { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 12px; }
.wc-art-aside-author-date { font-size: 0.75rem; color: var(--art-mid, #6b6355); display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.wc-art-aside-overlay-card {
  display: block;
  position: relative;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
}
.wc-art-aside-overlay-img {
  width: 100%;
  aspect-ratio: 3 / 6;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.wc-art-aside-overlay-card:hover .wc-art-aside-overlay-img { transform: scale(1.04); }
.wc-art-aside-overlay-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: 20px 16px 16px;
}
.wc-cms .wc-art-aside-overlay-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.wc-art-aside-overlay-btn {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 16px;
  border: 1px solid var(--wc-border-color, transparent);
  border-radius: var(--wc-btn-radius, 100px);
  background: var(--wc-btn-bg, var(--art-accent, #c4714e));
  color: var(--wc-btn-text, #fff);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.wc-art-aside-overlay-btn:hover {
  background: var(--wc-btn-hover-bg, var(--wc-btn-bg, var(--art-accent, #c4714e)));
  color: var(--wc-btn-hover-text, var(--wc-btn-text, #fff));
}
/* Waitlist variant — inline input + icon button in sidebar */
.wc-art-aside-overlay-card--waitlist .wc-art-aside-overlay-content {
  position: relative;
  background: var(--wc-page-bg, #fff);
  padding: 20px 16px;
}
.wc-art-aside-overlay-card--waitlist .wc-art-aside-overlay-title {
  color: var(--wc-page-text, #1f2937);
}
.wc-art-aside-overlay-card--waitlist .wc-art-aside-overlay-img {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.wc-art-aside-overlay-card--waitlist .wc-email-signup-input-wrap {
  border-radius: var(--wc-btn-radius, 50px);
  padding: 3px 3px 3px 14px;
  align-items: center;
}
.wc-art-aside-overlay-card--waitlist .wc-email-signup-input {
  padding: 8px 0;
  font-size: 0.82rem;
}
.wc-art-aside-overlay-card--waitlist .wc-email-signup-success,
.wc-art-aside-overlay-card--waitlist .wc-email-signup-already {
  color: var(--wc-page-text, #1f2937);
  font-size: 0.85rem;
  padding: 8px 0;
}
/* Icon-only submit button */
.wc-email-signup-btn--icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  padding: 0;
  border-radius: var(--wc-btn-radius, 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
/* Inline spinner for icon-only button */
.wc-email-signup-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: wc-email-spin 0.6s linear infinite;
}
@keyframes wc-email-spin { to { transform: rotate(360deg); } }
.wc-art-aside-embed { padding: 16px; }
.wc-art-content-block { margin-bottom: 32px; }

/* Related articles */
.wc-art-related {
  padding: 48px 0 64px;
  background: var(--wc-page-bg, #f9f9f8);
}
.wc-art-related-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--wc-border-color, #e8e3db);
  color: var(--wc-page-text, #3A3A38);
}
.wc-art-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.wc-art-related-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: visible;
  background: transparent;
}
.wc-art-related-card:hover {
}
.wc-art-related-card-img-wrap {
  border-radius: var(--wc-img-radius) !important;
  overflow: hidden;
}
.wc-art-related-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: var(--wc-img-radius) !important;
  transition: transform 0.4s ease;
}
.wc-art-related-card:hover .wc-art-related-card-img {
  transform: scale(1.04);
}
.wc-art-related-card-placeholder {
  background: #e8e3db;
  border-radius: var(--art-r, 8px);
}
.wc-art-related-card-body {
  padding: 14px 0 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.wc-art-related-card-meta {
  font-size: 0.78rem;
  color: var(--wc-page-text, var(--art-soft, #999));
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.wc-art-related-card-author { font-weight: 600; color: var(--wc-page-text, var(--art-ink, #3A3A38)); }
.wc-art-related-card-meta-sep { opacity: 0.5; }
.wc-art-related-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: var(--wc-leading-none);
  margin: 0;
  color: var(--wc-page-text, #3A3A38);
}


/* Animations */
@keyframes wcArtFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.wc-art-header { animation: wcArtFadeUp 0.55s ease both; }
.wc-art-hero-wrap { animation: wcArtFadeUp 0.55s 0.08s ease both; }
.wc-art-layout { animation: wcArtFadeUp 0.55s 0.14s ease both; }

@media (max-width: 991px) {
  .wc-art-related-grid { grid-template-columns: repeat(2, 1fr); }
  .wc-cat-card-excerpt { -webkit-line-clamp: 2; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .wc-cat-card-img-wrap { width: 220px; }
}

@media (max-width: 767px) {
  .wc-blog-index-title { font-size: 1.75rem; }
  .wc-blog-card-image { height: 160px; }
  .wc-blog-card-image-placeholder { height: 160px; }
  .wc-art-title { font-size: 1.6rem; }
  .wc-art-header { padding-top: 28px; }
  .wc-art-author-bar { flex-wrap: wrap; gap: 12px; padding: 14px 16px; margin-top: 20px; }
  .wc-art-bar-meta { width: 100%; padding-top: 8px; border-top: 1px solid var(--art-rule); }
  .wc-art-hero-wrap { margin-top: 18px; }
  .wc-art-hero-img { max-height: 260px; }
  .wc-art-hero-wrap--medium .wc-art-hero-img { max-height: 340px; }
  .wc-art-hero-wrap--large .wc-art-hero-img { max-height: 440px; }
  .wc-art-layout { grid-template-columns: 1fr; margin-top: 28px; margin-bottom: 48px; }
  .wc-art-aside { position: static; }
  .wc-art-prose { font-size: 0.95rem; line-height: 1.7; }
  .wc-art-prose h2 { font-size: 1.22rem; margin: 32px 0 12px; padding-top: 32px; }
  .wc-art-prose h3 { font-size: 1.05rem; }
  .wc-art-prose blockquote { padding: 20px 22px; font-size: 1.05rem; }
  .wc-art-prose ul, .wc-art-prose ol { margin-left: 16px; }
  .wc-art-breadcrumb-current { max-width: 200px; }
  .wc-art-related { padding: 32px 0 48px; }
  .wc-art-related-heading { font-size: 1.3rem; margin-bottom: 20px; }
  .wc-art-related-grid { grid-template-columns: 1fr; gap: 24px; }
  .wc-art-related-card-img { height: 200px; }
  .wc-art-tag-pill { padding: 5px 12px; font-size: 12px; }
  .wc-cat-featured-excerpt { font-size: 0.88rem; -webkit-line-clamp: 2; }
  .wc-cat-card-excerpt { display: none; }
  .wc-cat-card-title { font-size: 1rem; }
  .wc-cat-more-heading { font-size: 1.15rem; }
  .wc-blog-vertical-content { padding: 0; }
  .wc-blog-vertical-title { font-size: 1.05rem; }
  .wc-blog-vertical-excerpt { font-size: 0.85rem; -webkit-line-clamp: 2; }
}
@media (max-width: 575px) {
  .wc-art-title { font-size: 1.35rem; }
  .wc-art-hero-img { max-height: 200px; }
  .wc-art-hero-wrap--medium .wc-art-hero-img { max-height: 260px; }
  .wc-art-hero-wrap--large .wc-art-hero-img { max-height: 340px; }
  .wc-art-prose blockquote { padding: 16px 18px; font-size: 0.95rem; }
  .wc-art-author-bar { padding: 12px 14px; }
  .wc-cat-featured-title { font-size: 1.15rem; }
  .wc-cat-featured-body { padding: 20px 12px; }
  .wc-blog-category-title { font-size: 1.5rem; }
}

/* ───────────────────────────────────────────────────────────────────────────
   Social Media Section
   ─────────────────────────────────────────────────────────────────────────── */

/* Filter pills (status filter bar) */
.wc-cms .wc-social-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wc-cms .wc-social-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  border-radius: 20px;
  font-family: var(--wc-font-ui);
  font-size: var(--wc-text-xs);
  font-weight: var(--wc-weight-medium);
  line-height: var(--wc-leading-normal);
  letter-spacing: var(--wc-tracking-wide);
  color: var(--wc-text-secondary);
  cursor: pointer;
  padding: 6px 16px;
  transition: all 0.18s ease;
}

.wc-cms .wc-social-filter-pill:hover {
  border-color: rgba(139, 92, 246, 0.3);
  color: #7c3aed;
  background: rgba(139, 92, 246, 0.04);
}

.wc-cms .wc-social-filter-pill.is-active {
  background: #8b5cf6;
  border-color: #8b5cf6;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.25);
}

.wc-cms .wc-social-filter-pill .wc-pill-count {
  background: rgba(255, 255, 255, 0.22);
  font-size: var(--wc-text-2xs);
  font-weight: var(--wc-weight-bold);
  padding: 1px 7px;
  border-radius: 0.25rem;
  line-height: var(--wc-leading-snug);
}

.wc-cms .wc-social-filter-pill:not(.is-active) .wc-pill-count {
  background: rgba(139, 92, 246, 0.08);
  color: #7c3aed;
}

/* Status badges */
.wc-cms .wc-social-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--wc-font-ui);
  font-size: var(--wc-text-2xs);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  line-height: 1.4;
  line-height: var(--wc-leading-normal);
}

.wc-cms .wc-social-badge--published {
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
  border-color: rgba(34, 197, 94, 0.24);
}

.wc-cms .wc-social-badge--scheduled {
  background: rgba(59, 130, 246, 0.10);
  color: #1d4ed8;
  border-color: rgba(59, 130, 246, 0.20);
}

.wc-cms .wc-social-badge--draft {
  background: rgba(0, 0, 0, 0.05);
  color: var(--wc-text-secondary);
  border-color: rgba(0, 0, 0, 0.08);
}

.wc-cms .wc-social-badge--failed {
  background: rgba(239, 68, 68, 0.10);
  color: #991b1b;
  border-color: rgba(239, 68, 68, 0.22);
}

.wc-cms .wc-social-badge--publishing {
  background: rgba(234, 179, 8, 0.10);
  color: #854d0e;
  border-color: rgba(234, 179, 8, 0.22);
}

.wc-cms .wc-social-badge--evergreen {
  background: rgba(16, 185, 129, 0.10);
  color: #065f46;
  border-color: rgba(16, 185, 129, 0.20);
}

.wc-cms .wc-social-badge--success {
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
  border-color: rgba(34, 197, 94, 0.24);
}

.wc-cms .wc-social-badge--error {
  background: rgba(239, 68, 68, 0.10);
  color: #991b1b;
  border-color: rgba(239, 68, 68, 0.22);
}

.wc-cms .wc-social-badge--skipped {
  background: rgba(0, 0, 0, 0.05);
  color: var(--wc-text-secondary);
  border-color: rgba(0, 0, 0, 0.08);
}

/* Platform icon row */
.wc-cms .wc-social-platforms {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wc-cms .wc-social-platform-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
  flex-shrink: 0;
}

/* Post card */
.wc-cms .wc-social-post-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wc-cms .wc-social-post-card:hover {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.wc-cms .wc-social-post-message {
  font-size: var(--wc-text-sm);
  color: var(--wc-text);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-wrap;
  word-break: break-word;
}

.wc-cms .wc-social-post-meta {
  font-size: var(--wc-text-xs);
  color: var(--wc-text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Action buttons (icon-only) */
.wc-cms .wc-social-action-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--wc-radius-sm);
  border: 1px solid var(--wc-border);
  background: var(--wc-white);
  color: var(--wc-text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
}

.wc-cms .wc-social-action-btn:hover {
  border-color: var(--wc-border-strong);
  background: var(--wc-bg-light);
  color: var(--wc-text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.wc-cms .wc-social-action-btn--danger:hover {
  border-color: rgba(239, 68, 68, 0.30);
  background: rgba(239, 68, 68, 0.06);
  color: var(--wc-danger);
}

.wc-cms .wc-social-action-btn--primary:hover {
  border-color: var(--wc-accent);
  background: var(--wc-accent);
  color: #fff;
}

/* Result badges (per-platform publish result) */
.wc-cms .wc-social-result {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 0.375rem;
  border: 1px solid transparent;
}

.wc-cms .wc-social-result a {
  color: inherit;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.wc-cms .wc-social-result a:hover { opacity: 1; }

/* Connection card */
.wc-cms .wc-social-connection {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wc-cms .wc-social-connection:hover {
  border-color: var(--wc-border-strong);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.wc-cms .wc-social-connection-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--wc-text);
  background: var(--wc-bg-offset, #f0f2f5);
  flex-shrink: 0;
}

.wc-cms .wc-social-connection-icon--disconnected {
  background: #e9ecef;
  color: #adb5bd;
}

/* Monochrome platform icon — simple muted inline icon */
.wc-cms .wc-social-platform-mono {
  color: var(--wc-muted, #6c757d);
  font-size: 15px;
}

/* Empty state */
.wc-cms .wc-social-empty {
  text-align: center;
  padding: 48px 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  background: #fff;
}

.wc-cms .wc-social-empty i {
  font-size: 36px;
  color: #8b5cf6;
  opacity: 0.4;
  margin-bottom: 10px;
  display: block;
}

.wc-cms .wc-social-empty p {
  color: var(--wc-text-secondary);
  font-size: var(--wc-text-sm);
  margin: 0;
}

/* OG link preview card */
.wc-cms .wc-og-preview {
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius);
  overflow: hidden;
  background: var(--wc-white);
}

.wc-cms .wc-og-preview__image {
  width: 100%;
  max-height: 200px;
  overflow: hidden;
}

.wc-cms .wc-og-preview__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wc-cms .wc-og-preview--compact .wc-og-preview__image {
  max-height: 120px;
}

.wc-cms .wc-og-preview__body {
  padding: 10px 14px;
}

.wc-cms .wc-og-preview__site {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--wc-muted);
  margin-bottom: 2px;
}

.wc-cms .wc-og-preview__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--wc-text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wc-cms .wc-og-preview__desc {
  font-size: 12px;
  color: var(--wc-text-secondary);
  line-height: 1.4;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Image grid (multiple image upload) */
.wc-cms .wc-image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wc-cms .wc-image-grid__item {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: var(--wc-radius-sm);
  overflow: hidden;
  border: 1px solid var(--wc-border);
  cursor: grab;
  flex-shrink: 0;
}

.wc-cms .wc-image-grid__item:active {
  cursor: grabbing;
  opacity: 0.7;
}

.wc-cms .wc-image-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wc-cms .wc-image-grid__index {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wc-cms .wc-image-grid__ratio {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 3px;
}

.wc-cms .wc-image-grid__actions {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.wc-cms .wc-image-grid__item:hover .wc-image-grid__actions {
  opacity: 1;
}

.wc-cms .wc-image-grid__actions button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--wc-text);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.wc-cms .wc-image-grid__actions button:hover {
  background: #fff;
  color: var(--wc-text);
}

.wc-cms .wc-image-grid__actions button:hover i {
  color: inherit;
}

/* Aspect ratio guide */
.wc-cms .wc-aspect-guide {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--wc-text-secondary);
}

.wc-cms .wc-aspect-guide__tag {
  background: rgba(0, 0, 0, 0.06);
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 10px;
}

/* Crop modal */
.wc-crop-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.wc-cms .wc-crop-modal {
  background: var(--wc-white);
  border-radius: var(--wc-radius);
  padding: 24px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.wc-cms .wc-crop-preview {
  background: #f0f0f0;
  border-radius: var(--wc-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  overflow: hidden;
}

/* ── Customers CRM ──────────────────────────────────────────────────────────── */

/* Stat cards: use the dashboard stat card pattern */
.wc-customers-stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}
.wc-customers-stat-icon--total   { background: rgba(17, 17, 17, 0.07);  color: var(--wc-text); }
.wc-customers-stat-icon--premium { background: rgba(34, 197, 94, 0.12); color: #166534; }
.wc-customers-stat-icon--free    { background: rgba(59, 130, 246, 0.10); color: #1d4ed8; }
.wc-customers-stat-icon--app     { background: rgba(139, 92, 246, 0.10); color: #6d28d9; }
.wc-customers-stat-icon--web     { background: rgba(234, 179, 8, 0.12);  color: #854d0e; }
.wc-customers-stat-icon--new     { background: rgba(6, 182, 212, 0.10);  color: #0e7490; }

/* Filter bar */
.wc-customers-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  width: 100%;
}

/* Search and tag fields */
.wc-customers-search-field,
.wc-customers-tag-field {
  position: relative;
  display: flex;
  align-items: center;
}
.wc-customers-search-field {
  flex: 1;
  min-width: 180px;
  max-width: 260px;
}
.wc-customers-tag-field {
  min-width: 140px;
  max-width: 170px;
}
.wc-customers-search-icon {
  position: absolute;
  left: 12px;
  font-size: 14px;
  color: var(--wc-muted);
  pointer-events: none;
}
.wc-customers-search-input {
  width: 100%;
  height: 36px;
  padding: 0 32px 0 34px;
  font-family: var(--wc-font-ui, 'Inter', sans-serif);
  font-size: 13px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 9px;
  background: #fff;
  color: var(--wc-text);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.wc-customers-search-input::placeholder {
  color: var(--wc-muted);
}
.wc-customers-search-input:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}
.wc-customers-search-clear {
  position: absolute;
  right: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--wc-muted);
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s, color 0.15s;
}
.wc-customers-search-clear:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--wc-text);
}

/* Filter selects */
.wc-customers-filter-select {
  height: 36px;
  padding: 0 30px 0 12px;
  font-family: var(--wc-font-ui, 'Inter', sans-serif);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 9px;
  background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") no-repeat right 10px center / 10px;
  color: var(--wc-text-secondary);
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.wc-customers-filter-select:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Clear all button */
.wc-customers-clear-all {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 9px;
  background: #fff;
  color: var(--wc-muted);
  cursor: pointer;
  font-size: 16px;
  transition: all 0.15s;
}
.wc-customers-clear-all:hover {
  border-color: #ef4444;
  color: #ef4444;
  background: #fef2f2;
}

/* Result count */
.wc-customers-result-count {
  font-size: 13px;
  color: var(--wc-text-secondary);
  white-space: nowrap;
  margin-left: auto;
}

/* Table */
.wc-customers-table-wrap {
  background: var(--wc-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--wc-radius);
  overflow: hidden;
}
.wc-customers-table {
  font-size: var(--wc-text-base);
  margin-bottom: 0;
}
.wc-customers-table thead th {
  font-size: var(--wc-text-xs);
  font-weight: var(--wc-weight-semibold);
  letter-spacing: var(--wc-tracking-wider);
  line-height: var(--wc-leading-normal);
  text-transform: uppercase;
  color: var(--wc-muted);
  background: rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid var(--wc-border);
  padding: 10px 12px;
  white-space: nowrap;
  user-select: none;
}
.wc-customers-table thead th.wc-sortable {
  cursor: pointer;
  transition: color 0.15s;
}
.wc-customers-table thead th.wc-sortable:hover {
  color: var(--wc-text);
}
.wc-customers-table tbody td {
  padding: 10px 12px;
  vertical-align: middle;
  border-color: var(--wc-border);
}
.wc-customers-table tbody tr {
  transition: background 120ms ease;
}
.wc-customers-table tbody tr:hover {
  background: #f9f9f8;
}
.wc-customers-table tbody tr:last-child td {
  border-bottom: 0;
}
.wc-customers-table tbody tr.wc-row-deactivated {
  opacity: 0.55;
}

/* Row animation */
.wc-customers-table.wc-table-animate tbody tr {
  opacity: 0;
  animation: wcFadeUp 340ms ease forwards;
}

/* Badges */
.wc-customer-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--wc-text-xs);
  font-weight: var(--wc-weight-semibold);
  letter-spacing: var(--wc-tracking-wide);
  line-height: var(--wc-leading-normal);
  border-radius: 999px;
  padding: 3px 10px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.wc-customer-badge--premium  { background: rgba(34, 197, 94, 0.12); color: #166534; border-color: rgba(34, 197, 94, 0.24); }
.wc-customer-badge--free     { background: rgba(0, 0, 0, 0.05);     color: var(--wc-text-secondary); border-color: rgba(0, 0, 0, 0.08); }
.wc-customer-badge--app      { background: rgba(139, 92, 246, 0.10); color: #6d28d9; border-color: rgba(139, 92, 246, 0.20); }
.wc-customer-badge--web      { background: rgba(234, 179, 8, 0.10);  color: #854d0e; border-color: rgba(234, 179, 8, 0.20); }
.wc-customer-badge--merged   { background: rgba(59, 130, 246, 0.10); color: #1d4ed8; border-color: rgba(59, 130, 246, 0.20); }
.wc-customer-badge--deactivated { background: rgba(220, 38, 38, 0.08); color: var(--wc-danger); border-color: rgba(220, 38, 38, 0.18); }

/* Provider chip */
.wc-customer-provider {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--wc-text-sm);
  color: var(--wc-text-secondary);
}
.wc-customer-provider i { font-size: 14px; }

/* Expand detail panel */
.wc-customer-detail {
  background: #f5f5f5;
  padding: 20px 24px;
  animation: wcFadeIn 200ms ease;
}
.wc-customer-detail .form-label {
  font-size: var(--wc-text-xs);
  font-weight: 600;
  letter-spacing: var(--wc-tracking-wide);
  text-transform: uppercase;
  color: var(--wc-muted);
  margin-bottom: 4px;
}
.wc-customer-detail .form-control,
.wc-customer-detail .form-select {
  font-size: var(--wc-text-sm);
  border-radius: var(--wc-radius-sm);
}
.wc-customer-detail-meta {
  font-size: var(--wc-text-sm);
  color: var(--wc-text-secondary);
  line-height: 1.7;
}
.wc-customer-detail-meta strong {
  color: var(--wc-text);
  font-weight: 600;
}

/* Customer info grid */
.wc-customer-info-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.wc-customer-info-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: var(--wc-radius-sm);
  padding: 10px 12px;
  min-width: 0;
  overflow: hidden;
}
.wc-customer-info-card > div {
  min-width: 0;
  flex: 1;
}
.wc-customer-info-icon {
  font-size: 16px;
  color: var(--wc-text-secondary);
  margin-top: 1px;
  flex-shrink: 0;
}
.wc-customer-info-label {
  font-size: var(--wc-text-xs);
  color: var(--wc-text-secondary);
  font-weight: 500;
  margin-bottom: 1px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.wc-customer-info-value {
  font-size: var(--wc-text-sm);
  color: var(--wc-text);
  font-weight: 600;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Customer detail tabs */
.wc-customer-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 8px;
}
.wc-customer-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  font-size: var(--wc-text-sm);
  font-weight: 500;
  color: var(--wc-text-secondary);
  background: none;
  border: none;
  border-radius: var(--wc-radius-sm);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.wc-customer-tab:hover {
  background: rgba(0,0,0,0.04);
  color: var(--wc-text);
}
.wc-customer-tab--active {
  background: rgba(0,0,0,0.06);
  color: var(--wc-text);
  font-weight: 600;
}
.wc-customer-tab i { font-size: 14px; }
.wc-customer-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 600;
  border-radius: 9px;
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

/* Customer notes */
.wc-customer-notes { max-width: 640px; }
.wc-customer-note-form { margin-bottom: 16px; }
.wc-customer-note-form textarea {
  resize: vertical;
  min-height: 48px;
}
.wc-customer-notes-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wc-customer-note-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: var(--wc-radius-sm);
  padding: 10px 14px;
}
.wc-customer-note-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.wc-customer-note-author {
  font-size: var(--wc-text-xs);
  font-weight: 600;
  color: var(--wc-text);
  display: flex;
  align-items: center;
  gap: 4px;
}
.wc-customer-note-author i { font-size: 12px; }
.wc-customer-note-time {
  font-size: var(--wc-text-xs);
  color: var(--wc-text-secondary);
}
.wc-customer-note-body {
  font-size: var(--wc-text-sm);
  color: var(--wc-text);
  line-height: 1.5;
  white-space: pre-wrap;
}

/* Customer purchases */
.wc-customer-purchases { max-width: 640px; }
.wc-customer-purchase-heading {
  font-size: var(--wc-text-sm);
  font-weight: 600;
  color: var(--wc-text);
  margin-bottom: 6px;
}
.wc-customer-purchase-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: var(--wc-text-sm);
}
.wc-customer-purchase-row:last-child { border-bottom: none; }
.wc-customer-purchase-title {
  flex: 1;
  font-weight: 500;
  color: var(--wc-text);
}
.wc-customer-purchase-date {
  color: var(--wc-text-secondary);
  font-size: var(--wc-text-xs);
  white-space: nowrap;
}

/* Bulk action bar */
.wc-customers-bulk-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--wc-radius-sm);
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.16);
  margin-bottom: 12px;
  font-size: var(--wc-text-sm);
  animation: wcFadeIn 180ms ease;
}
.wc-customers-bulk-bar .wc-bulk-count {
  font-weight: 700;
  color: var(--wc-text);
  white-space: nowrap;
}

/* Pagination */
.wc-customers-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--wc-border);
  font-size: var(--wc-text-sm);
  color: var(--wc-muted);
}

/* App account indicator */
.wc-customer-app-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
  font-size: 11px;
  margin-left: 4px;
  vertical-align: middle;
}

/* Loading overlay */
.wc-customers-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--wc-radius);
}
.wc-customers-loading-overlay .spinner-border {
  width: 20px;
  height: 20px;
  border-width: 2px;
  color: var(--wc-muted);
}

@media (max-width: 991px) {
  .wc-customers-filter-bar { gap: 8px; }
  .wc-customers-search-field { max-width: 100%; }
  .wc-customers-tag-field { max-width: 100%; }
  .wc-customers-filter-select { flex: 1; min-width: 0; }
  .wc-customers-bulk-bar { flex-wrap: wrap; }
}

/* ══════════════════════════════════════════════════════════════
   CURRICULUM BUILDER
   ══════════════════════════════════════════════════════════════ */

.wc-curriculum-module {
  background: var(--wc-bg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--wc-radius);
  margin-bottom: 16px;
  box-shadow: var(--wc-shadow-sm);
  transition: box-shadow 0.15s ease;
}
.wc-curriculum-module.wc-curriculum-module--drag-over {
  box-shadow: 0 0 0 2px var(--wc-accent);
}

.wc-curriculum-module__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
.wc-curriculum-module__header:hover {
  background: var(--wc-surface);
  border-radius: var(--wc-radius) var(--wc-radius) 0 0;
}
.wc-curriculum-module--expanded .wc-curriculum-module__header {
  border-bottom-color: var(--wc-border);
}

.wc-curriculum-module__drag-handle {
  cursor: grab;
  color: var(--wc-muted);
  font-size: 20px;
  flex-shrink: 0;
}
.wc-curriculum-module__drag-handle:active { cursor: grabbing; }

.wc-curriculum-module__title {
  flex: 1;
  font-size: 1rem;
  font-weight: var(--wc-weight-semibold);
  color: var(--wc-text);
  line-height: var(--wc-leading-snug);
  background: none;
  border: 1px dashed transparent;
  border-radius: var(--wc-radius-sm);
  padding: 4px 8px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.15s, background 0.15s;
}
.wc-curriculum-module__title:hover {
  border-color: var(--wc-border-strong, rgba(0,0,0,0.2));
  background: var(--wc-surface, rgba(0,0,0,0.02));
}
.wc-curriculum-module__title-edit-icon {
  font-size: 14px;
  color: var(--wc-muted);
  opacity: 0;
  transition: opacity 0.15s;
}
.wc-curriculum-module__title:hover .wc-curriculum-module__title-edit-icon {
  opacity: 1;
}
.wc-curriculum-module__title-input {
  flex: 1;
  font-size: 1rem;
  font-weight: var(--wc-weight-semibold);
  border: 1px solid var(--wc-border-strong);
  border-radius: var(--wc-radius-sm);
  padding: 6px 10px;
  outline: none;
  background: var(--wc-bg);
}
.wc-curriculum-module__title-input:focus {
  border-color: var(--wc-accent);
  box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.1);
}

.wc-curriculum-module__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.wc-curriculum-module__lesson-count {
  font-size: 0.8rem;
  color: var(--wc-muted);
  background: var(--wc-surface-2, rgba(0,0,0,0.04));
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.wc-curriculum-module__actions button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--wc-muted) !important;
  padding: 6px;
  border-radius: 6px;
  font-size: 20px;
  line-height: 1;
  transition: color 0.15s, background 0.15s;
}
.wc-curriculum-module__actions button:hover {
  color: var(--wc-text) !important;
  background: var(--wc-surface-2);
}
.wc-curriculum-module__actions button.text-danger {
  color: var(--wc-muted) !important;
}
.wc-curriculum-module__actions button.text-danger:hover {
  color: var(--wc-danger, #dc3545) !important;
  background: rgba(220, 53, 69, 0.08);
}

.wc-curriculum-module__body {
  padding: 8px 0 16px;
}
.wc-curriculum-module__body .wc-curriculum-add-btn {
  margin: 12px 20px 4px 20px;
  width: calc(100% - 40px);
  border-width: 1.5px;
}

/* Lesson rows */
.wc-curriculum-lesson {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 48px;
  font-size: 0.9rem;
  color: var(--wc-text);
  transition: background 0.1s;
  border-bottom: 1px solid transparent;
}
.wc-curriculum-lesson:hover {
  background: var(--wc-surface);
}
.wc-curriculum-lesson.wc-curriculum-lesson--drag-over {
  border-top: 2px solid var(--wc-accent);
}

.wc-curriculum-lesson__drag-handle {
  cursor: grab;
  color: var(--wc-muted);
  font-size: 18px;
  flex-shrink: 0;
}
.wc-curriculum-lesson__drag-handle:active { cursor: grabbing; }

.wc-curriculum-lesson__type-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.wc-curriculum-lesson__type-icon--video {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}
.wc-curriculum-lesson__type-icon--text {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}
.wc-curriculum-lesson__type-icon--mixed {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.wc-curriculum-lesson__title {
  flex: 1;
  font-weight: var(--wc-weight-medium);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wc-curriculum-lesson__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.wc-curriculum-lesson__duration {
  color: var(--wc-muted);
  font-size: 0.8rem;
  flex-shrink: 0;
  background: var(--wc-surface-2, rgba(0,0,0,0.04));
  padding: 2px 8px;
  border-radius: 4px;
}

.wc-curriculum-lesson__preview-badge {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: var(--wc-weight-semibold);
  color: var(--wc-success, #16a34a);
  background: rgba(22, 163, 74, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.wc-curriculum-lesson__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.wc-curriculum-lesson__actions button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--wc-muted) !important;
  padding: 6px;
  border-radius: 6px;
  font-size: 18px;
  line-height: 1;
  transition: color 0.15s, background 0.15s;
}
.wc-curriculum-lesson__actions button:hover {
  color: var(--wc-text) !important;
  background: var(--wc-surface-2);
}
.wc-curriculum-lesson__actions button.text-danger {
  color: var(--wc-muted) !important;
}
.wc-curriculum-lesson__actions button.text-danger:hover {
  color: var(--wc-danger, #dc3545) !important;
  background: rgba(220, 53, 69, 0.08);
}

/* Add buttons */
.wc-curriculum-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: var(--wc-weight-medium);
  color: var(--wc-muted);
  background: none;
  border: 2px dashed var(--wc-border);
  border-radius: var(--wc-radius);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  width: 100%;
  justify-content: center;
}
.wc-curriculum-add-btn i {
  font-size: 20px;
}
.wc-curriculum-add-btn:hover {
  color: var(--wc-accent, #111);
  border-color: var(--wc-accent, #111);
  background: var(--wc-surface);
}
.wc-curriculum-add-btn--inline {
  margin: 4px 20px 8px 48px;
  width: auto;
  border: none;
  padding: 8px 14px;
  justify-content: flex-start;
}
.wc-curriculum-add-btn--inline:hover {
  border: none;
}

/* Lesson editor modal */
.wc-lesson-modal {
  background: var(--wc-bg);
  border-radius: var(--wc-radius-lg);
  box-shadow: var(--wc-shadow-lg);
  width: 90%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
}
.wc-lesson-modal h5 {
  font-size: var(--wc-text-md);
  font-weight: var(--wc-weight-semibold);
  margin-bottom: 20px;
}
.wc-lesson-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.wc-lesson-modal__header .wc-close-btn {
  width: 32px;
  height: 32px;
  background: var(--wc-text, #1c1c1e);
}
.wc-lesson-modal__header .wc-close-btn:hover {
  opacity: 0.8;
  background: var(--wc-text, #1c1c1e);
}
.wc-lesson-modal__header .wc-close-btn i {
  font-size: 18px;
}
.wc-lesson-modal__body {
  /* just a wrapper for form fields */
}
.wc-lesson-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--wc-border);
}

/* ── Video Picker Modal ─────────────────────────────── */
.wc-video-picker-modal {
  background: var(--wc-bg);
  border-radius: var(--wc-radius-lg);
  box-shadow: var(--wc-shadow-lg);
  width: 90%;
  max-width: 720px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  position: relative;
}
.wc-video-picker-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--wc-border);
  flex-shrink: 0;
}
.wc-video-picker-modal__header h5 {
  font-size: var(--wc-text-md);
  font-weight: var(--wc-weight-semibold);
}
.wc-video-picker-modal__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--wc-text, #1c1c1e);
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.wc-video-picker-modal__close:hover {
  opacity: 0.8;
}
.wc-video-picker-modal__body {
  padding: 16px 20px;
  overflow-y: auto;
  flex: 1;
}
.wc-video-picker-modal__empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--wc-muted);
  font-size: 0.9rem;
}
.wc-video-picker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 575px) {
  .wc-video-picker-grid { grid-template-columns: repeat(2, 1fr); }
}
.wc-video-picker-card {
  border: 1px solid var(--wc-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--wc-white, #fff);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  text-align: left;
  padding: 0;
}
.wc-video-picker-card:hover {
  border-color: var(--wc-accent, #111);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.wc-video-picker-card--selected {
  border-color: var(--wc-accent, #111);
  box-shadow: 0 0 0 2px var(--wc-accent, #111);
}
.wc-video-picker-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}
.wc-video-picker-card__thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.wc-video-picker-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.15s;
}
.wc-video-picker-card:hover .wc-video-picker-card__play {
  opacity: 1;
}
.wc-video-picker-card__play i {
  font-size: 28px;
  color: #fff;
}
.wc-video-picker-card__check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--wc-accent, #111);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.wc-video-picker-card__info {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wc-video-picker-card__name {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--wc-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wc-video-picker-card__size {
  font-size: 0.7rem;
  color: var(--wc-muted);
}

/* Image Picker Grid */
.wc-image-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 767px) {
  .wc-image-picker-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
  .wc-image-picker-grid { grid-template-columns: repeat(2, 1fr); }
}
.wc-image-picker-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f3f4f6;
  overflow: hidden;
}
.wc-image-picker-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* File picker list (LinkPicker modal) */
.wc-file-picker-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wc-file-picker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border: none;
  background: none;
  border-radius: 6px;
  text-align: left;
  width: 100%;
  cursor: pointer;
  transition: background 0.15s;
}
.wc-file-picker-item:hover {
  background: #f3f4f6;
}
.wc-file-picker-item > i:first-child {
  font-size: 20px;
  color: #6b7280;
  flex-shrink: 0;
}
.wc-file-picker-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.wc-file-picker-item__name {
  font-size: 13px;
  font-weight: 500;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wc-file-picker-item__meta {
  font-size: 11px;
  color: #9ca3af;
}
.wc-file-picker-item__arrow {
  font-size: 16px;
  color: #d1d5db;
  flex-shrink: 0;
}

.wc-curriculum-drag-handle {
  cursor: grab;
  color: var(--wc-muted) !important;
  font-size: 20px;
  flex-shrink: 0;
}
.wc-curriculum-drag-handle:hover { color: var(--wc-text) !important; }
.wc-curriculum-drag-handle:active { cursor: grabbing; }

/* Drag placeholder */
.wc-curriculum-module--dragging,
.wc-curriculum-lesson--dragging {
  opacity: 0.4;
}

.wc-curriculum-add-btn--module {
  margin-top: 16px;
}

/* Expand/collapse chevron */
.wc-curriculum-module__chevron {
  color: var(--wc-muted);
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.wc-curriculum-module--expanded .wc-curriculum-module__chevron {
  transform: rotate(90deg);
}

/* ══════════════════════════════════════════════════════════════
   PUBLIC COURSE PAGES
   ══════════════════════════════════════════════════════════════ */

/* ── Course row section (dynamic landing page section) ── */
.wc-course-row-section {
  padding: 48px 0;
}

/* ── Course card grid (listing page) ── */
.wc-course-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.wc-course-card {
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 94%, var(--wc-page-text, #1c1c1e) 6%);
  border-radius: var(--wc-img-radius, 16px);
  overflow: hidden;
  border: 1px solid var(--wc-border-color, rgba(0, 0, 0, 0.06));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.wc-course-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10), 0 2px 8px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
}

.wc-course-card-image-wrap {
  position: relative;
  overflow: hidden;
}
.wc-course-card-image-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(to top, rgba(0,0,0,0.06), transparent);
  pointer-events: none;
}

.wc-course-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.wc-course-card:hover .wc-course-card-image {
  transform: scale(1.05);
}

.wc-course-card-image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #f0eef6 0%, #e8e6f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: #c4c0d4;
}

.wc-course-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: var(--wc-btn-radius, 20px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1;
}
.wc-course-card-badge--free {
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 88%, var(--wc-page-text, #1c1c1e) 12%);
  color: var(--wc-page-text, #1c1c1e);
  border: 1px solid var(--wc-border-color, #e8e3db);
}
.wc-course-card-badge--paid {
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 88%, var(--wc-page-text, #1c1c1e) 12%);
  color: var(--wc-page-text, #1c1c1e);
  border: 1px solid var(--wc-border-color, #e8e3db);
}

.wc-course-card-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wc-course-card-title {
  font-family: var(--wc-heading-font, 'Inter', sans-serif);
  font-size: var(--wc-body-size, 14px);
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 12px;
  padding: 0;
  color: var(--wc-text, #1a1a1a);
  transition: color 0.2s;
}


.wc-course-card-excerpt {
  font-size: 13px;
  color: var(--wc-page-text, #6b7280);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 4px;
}

.wc-course-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--wc-page-text, #6b7280);
  margin-top: auto;
  padding-top: 12px;
  flex-wrap: wrap;
}
.wc-course-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.wc-course-card-meta span i {
  font-size: 13px;
  color: var(--wc-page-text, #9ca3af);
}
.wc-course-card-meta span + span::before {
  content: '·';
  margin-right: 2px;
  color: var(--wc-page-text, #d1d5db);
}

.wc-course-card-price {
  font-weight: 700;
  color: var(--wc-accent, #111);
  margin-left: auto;
  font-size: var(--wc-body-size, 14px);
}
.wc-course-card-price::before {
  content: none;
}

.wc-course-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  padding: 10px 16px;
  font-size: var(--wc-body-size, 14px);
  font-weight: 600;
  background: var(--wc-btn-bg, var(--wc-accent, #111));
  color: var(--wc-btn-text, #fff);
  border-radius: var(--wc-btn-radius, 10px);
  transition: background 0.2s, transform 0.15s;
}
.wc-course-card-cta i {
  transition: transform 0.2s;
}
.wc-course-card:hover .wc-course-card-cta {
  background: var(--wc-btn-hover-bg, var(--wc-accent-hover, #2a2a28));
  color: var(--wc-btn-hover-text, var(--wc-btn-text, #fff));
}
.wc-course-card:hover .wc-course-card-cta i {
  transform: translateX(3px);
}

/* Coming Soon */
.wc-coming-soon {
  text-align: center;
  padding: 80px 20px;
  max-width: 680px;
  margin: 0 auto;
}
.wc-coming-soon__icon {
  font-size: 48px;
  color: var(--wc-accent, #333);
  margin-bottom: 20px;
}
.wc-coming-soon__title {
  font-family: var(--wc-heading-font, inherit);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
}
.wc-coming-soon__text {
  color: #64646b;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}
.wc-coming-soon__signup {
  margin-top: 56px;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.wc-coming-soon__signup-label {
  font-family: var(--wc-heading-font, inherit);
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
}

/* Coming Soon — full-page standalone */
.wc-coming-soon-fullpage {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wc-page-bg, #fff);
  color: var(--wc-page-text, #1c1c1e);
  padding: 40px 24px;
  overflow-y: auto;
}
.wc-coming-soon-fullpage__inner {
  text-align: center;
  max-width: 520px;
  width: 100%;
}
.wc-coming-soon-fullpage__brand {
  font-family: var(--wc-heading-font, inherit);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wc-accent, var(--wc-page-text, #1c1c1e));
  margin-bottom: 32px;
}
.wc-coming-soon-fullpage__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--wc-btn-radius, 16px);
  background: var(--wc-btn-bg, var(--wc-accent, #1c1c1e));
  color: var(--wc-btn-text, #fff);
  border: 1px solid var(--wc-border-color, #e8e3db);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.wc-coming-soon-fullpage__icon i {
  font-size: 24px;
}
.wc-coming-soon-fullpage .wc-coming-soon-fullpage__title,
.wc-coming-soon-fullpage .wc-coming-soon-fullpage__title:hover {
  font-family: var(--wc-heading-font, inherit);
  font-size: var(--wc-h1-size, 32px);
  font-weight: 700;
  color: var(--wc-page-text, #1c1c1e);
  margin: 0 0 14px;
  line-height: 1.2;
  cursor: default;
}
.wc-coming-soon-fullpage__text {
  font-family: var(--wc-body-font, inherit);
  font-size: var(--wc-body-size, 16px);
  line-height: 1.7;
  color: var(--wc-page-text, #1c1c1e);
  opacity: 0.65;
  margin: 0 0 16px;
}
.wc-coming-soon-fullpage__signup {
  max-width: 400px;
  margin: 0 auto;
}
.wc-coming-soon-fullpage__signup-label {
  font-family: var(--wc-heading-font, inherit);
  font-size: 15px;
  font-weight: 600;
  color: var(--wc-page-text, #1c1c1e);
  margin: 0 0 14px;
}
.wc-coming-soon-fullpage .wc-email-signup-success,
.wc-coming-soon-fullpage .wc-email-signup-already {
  color: var(--wc-page-text, #1c1c1e);
}
.wc-cms a.wc-coming-soon-fullpage__cta,
.wc-coming-soon-fullpage__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--wc-btn-radius, 24px);
  background: var(--wc-btn-bg, var(--wc-accent, #1c1c1e));
  color: var(--wc-btn-text, #fff);
  text-decoration: none;
  font-family: var(--wc-body-font, inherit);
  font-size: var(--wc-body-size, 14px);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-top: 8px;
}
.wc-cms a.wc-coming-soon-fullpage__cta:hover,
.wc-coming-soon-fullpage__cta:hover {
  background: var(--wc-btn-hover-bg, var(--wc-accent-hover, #1c1c1e));
  color: var(--wc-btn-hover-text, var(--wc-btn-text, #fff));
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--wc-btn-bg, var(--wc-accent, #1c1c1e)) 30%, transparent);
}
@media (max-width: 480px) {
  .wc-coming-soon-fullpage__title { font-size: 26px; }
}

.wc-course-card-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.wc-course-card-progress-bar {
  flex: 1;
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
}
.wc-course-card-progress-fill {
  height: 100%;
  background: var(--wc-accent, #6366f1);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.wc-course-card-progress-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--wc-accent, #6366f1);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Course Detail (Udemy-style) ── */

/* Dark hero banner */
/* Wrapper spans hero + body */
.wc-cdl-wrapper {
  position: relative;
}
.wc-cdl-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--wc-cdl-hero-h, 280px);
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 94%, var(--wc-page-text, #1c1c1e) 6%);
  z-index: 0;
}
.wc-cdl-wrapper::after {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  right: -60px;
  height: calc(var(--wc-cdl-hero-h, 280px) + 120px);
  background-image: var(--wc-cdl-hero-img, none);
  background-size: cover;
  background-position: center;
  filter: blur(40px) brightness(0.4) saturate(1.2);
  z-index: 0;
  pointer-events: none;
  clip-path: inset(60px 60px 60px 60px);
}
.wc-cdl-wrapper > .container {
  position: relative;
  z-index: 1;
}

/* Hero text (left column top) */
.wc-cdl-hero-text {
  padding: 36px 0 44px;
  color: #fff !important;
}
.wc-cdl-hero-text * {
  color: inherit;
}
.wc-cdl-breadcrumb {
  font-size: 13px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.5) !important;
}
.wc-cdl-breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}
.wc-cdl-breadcrumb a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none;
  transition: color 0.15s;
}
.wc-cdl-breadcrumb a:hover { color: #fff !important; text-decoration: underline; }
.wc-cdl-breadcrumb i { font-size: 14px; }
.wc-cdl-hero-title {
  font-family: var(--wc-font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: var(--wc-leading-none);
  margin-bottom: 14px;
  max-width: 680px;
  color: #fff !important;
}
.wc-cdl-hero-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75) !important;
  max-width: 600px;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wc-cdl-hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7) !important;
  flex-wrap: wrap;
}
.wc-cdl-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: var(--wc-btn-radius, 20px);
  font-weight: 500;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.wc-cdl-hero-meta i {
  font-size: 14px;
}

/* Body layout */
.wc-cdl-body {
  padding: 32px 0 60px;
}

/* Sections */
.wc-cdl-section {
  padding-top: 28px;
  margin-bottom: 28px;
}
.wc-cdl-section:first-child {
}
.wc-cdl-section-title,
.wc-landing .wc-cdl-section-title,
.wc-landing .wc-cdl-section-title:hover,
.wc-cms .wc-cdl-section-title:hover {
  font-family: var(--wc-font-display);
  font-size: 1.25rem !important;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--wc-page-text, #1c1d1f) !important;
  transform: none !important;
  cursor: default;
  transform: none !important;
}
.wc-cdl-section-header {
  margin-bottom: 12px;
}
.wc-cdl-section-meta {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.wc-cdl-dot { color: #aaa; }
.wc-cdl-expand-btn {
  background: none;
  border: none;
  color: var(--wc-accent, #5624d0);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}
.wc-cdl-expand-btn:hover { text-decoration: underline; }

/* What you'll learn box */
.wc-cdl-learn {
  border: 1px solid var(--wc-border-color, #e5e7eb);
  border-radius: var(--wc-img-radius, 14px);
  padding: 24px;
  margin-bottom: 12px;
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 94%, var(--wc-page-text, #1c1c1e) 6%);
}
.wc-cdl-learn .wc-cdl-section-title {
  margin-bottom: 16px;
}
.wc-cdl-learn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.wc-cdl-learn-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--wc-body-size, 14px);
  line-height: 1.45;
}
.wc-cdl-learn-item i {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--wc-page-text, #1c1c1e);
  border: 1px solid var(--wc-border-color, #e0e0e0);
  font-size: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Accordion curriculum */
.wc-cdl-accordion {
  border: 1px solid var(--wc-border-color, #d1d7dc);
  border-radius: var(--wc-img-radius, 14px);
  overflow: hidden;
}
.wc-cdl-accordion-item + .wc-cdl-accordion-item {
  border-top: 1px solid var(--wc-border-color, #d1d7dc);
}
.wc-cdl-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 94%, var(--wc-page-text, #1c1c1e) 6%);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: var(--wc-body-size, 14px);
  gap: 12px;
}
.wc-cdl-accordion-header:hover {
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 90%, var(--wc-page-text, #1c1c1e) 10%);
}
.wc-cdl-accordion-header--open {
  border-bottom: 1px solid var(--wc-border-color, #d1d7dc);
}
.wc-cdl-accordion-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--wc-page-text, #1c1d1f);
  min-width: 0;
}
.wc-cdl-accordion-header-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wc-cdl-accordion-chevron {
  font-size: 18px;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.wc-cdl-accordion-chevron--open {
  transform: rotate(90deg);
}
.wc-cdl-accordion-header-right {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--wc-page-text, #6a6f73);
  flex-shrink: 0;
  white-space: nowrap;
}

.wc-cdl-accordion-body {
  padding: 0;
}
.wc-cdl-lesson-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 10px;
  font-size: 14px;
  color: var(--wc-page-text, #1c1d1f);
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 94%, var(--wc-page-text, #1c1c1e) 6%);
  border-bottom: 1px solid var(--wc-border-color, #f0f0f2);
}
.wc-cdl-lesson-row:last-child { border-bottom: none; }
.wc-cdl-lesson-row i {
  font-size: 16px;
  flex-shrink: 0;
}
.wc-cdl-lesson-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wc-cdl-preview-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--wc-accent, #5624d0);
  text-decoration: underline;
  flex-shrink: 0;
}
.wc-cdl-lesson-dur {
  font-size: 12px;
  flex-shrink: 0;
}

/* Description truncation */
.wc-cdl-desc-wrap {
  position: relative;
}
.wc-cdl-desc-content {
  font-size: var(--wc-body-size, 15px);
  line-height: var(--wc-leading-normal);
  overflow-wrap: break-word;
  word-break: break-word;
}
.wc-cdl-desc-content p { margin-bottom: 12px; }
.wc-cdl-desc-content p:last-child { margin-bottom: 0; }
.wc-cdl-desc-content img { max-width: 100%; height: auto; border-radius: 4px; margin: 12px 0; }
.wc-cdl-desc-content h1 { font-size: 24px; font-weight: 700; margin: 24px 0 8px; }
.wc-cdl-desc-content h2 { font-size: 20px; font-weight: 600; margin: 20px 0 8px; }
.wc-cdl-desc-content h3 { font-size: 17px; font-weight: 600; margin: 16px 0 6px; }
.wc-cdl-desc-content strong,
.wc-cdl-desc-content b { font-weight: 600; }
.wc-cdl-desc-content em,
.wc-cdl-desc-content i:not([class]) { font-style: italic; }
.wc-cdl-desc-content u { text-decoration: underline; }
.wc-cdl-desc-content s,
.wc-cdl-desc-content strike { text-decoration: line-through; }
.wc-cdl-desc-content a { color: var(--wc-accent, #a435f0); text-decoration: underline; }
.wc-cdl-desc-content ul,
.wc-cdl-desc-content ol { padding-left: 20px; margin-bottom: 12px; }
.wc-cdl-desc-content li { margin-bottom: 4px; }
.wc-cdl-desc-content blockquote {
  border-left: 4px solid #e5e7eb;
  padding: 8px 16px;
  margin: 12px 0;
  color: #6b7280;
  font-style: italic;
}
.wc-cdl-desc-content pre {
  background: #f3f4f6;
  padding: 12px 16px;
  border-radius: 6px;
  overflow-x: auto;
  margin: 12px 0;
  font-size: 13px;
}
.wc-cdl-desc-content .ql-align-center { text-align: center; }
.wc-cdl-desc-content .ql-align-right { text-align: right; }
.wc-cdl-desc-content .ql-align-justify { text-align: justify; }
.wc-cdl-desc-content .ql-indent-1 { padding-left: 3em; }
.wc-cdl-desc-content .ql-indent-2 { padding-left: 6em; }
.wc-cdl-desc-content .ql-indent-3 { padding-left: 9em; }

.wc-cdl-desc-fade {
  display: none;
}
.wc-cdl-show-more {
  background: none;
  border: none;
  color: var(--wc-accent, #5624d0);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.wc-cdl-show-more:hover { text-decoration: underline; }

/* Instructor section */
.wc-cdl-instructor .wc-cdl-instructor-card {
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 94%, var(--wc-page-text, #1c1c1e) 6%);
  border: 1px solid var(--wc-border-color, rgba(0, 0, 0, 0.06));
  border-radius: var(--wc-img-radius, 14px);
  padding: 20px;
}
.wc-cdl-instructor-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.wc-cdl-instructor-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f0f0f4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #999;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.wc-cdl-instructor-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.wc-cdl-instructor-name {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: var(--wc-page-text, #1c1d1f) !important;
}
.wc-cdl-instructor-role {
  font-size: 13px;
  margin-top: 2px;
}
.wc-cdl-instructor-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.wc-cdl-instructor-credential {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--wc-page-text, #1c1c1e);
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 88%, var(--wc-page-text, #1c1c1e) 12%);
  padding: 5px 18px;
  border: 1px solid var(--wc-border-color, #e8e3db);
  border-radius: var(--wc-btn-radius, 20px);
  letter-spacing: 0.02em;
}
.wc-cdl-instructor-bio {
  font-size: var(--wc-body-size, 15px);
  line-height: var(--wc-leading-normal);
  overflow-wrap: break-word;
  word-break: break-word;
}
.wc-cdl-instructor-bio p { margin-bottom: 10px; }

/* Sticky sidebar */
.wc-cdl-sidebar {
  position: sticky;
  top: 170px;
  max-height: calc(100vh - 190px);
  overflow-y: auto;
  margin-top: 32px;
  margin-bottom: 32px;
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 94%, var(--wc-page-text, #1c1c1e) 6%);
  border: 1px solid var(--wc-border-color, rgba(0, 0, 0, 0.06));
  border-radius: var(--wc-img-radius, 16px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow-x: hidden;
  z-index: 5;
}
.wc-cdl-sidebar-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 14px 14px 0 0;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
/* Favorite / wishlist button */
.wc-cdl-favorite-wrap {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}
.wc-cdl-favorite-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--wc-btn-bg, var(--wc-accent, #1c1c1e));
  color: var(--wc-btn-text, #fff);
  border: 1px solid var(--wc-btn-bg, var(--wc-accent, #1c1c1e));
  cursor: pointer;
  padding: 0;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.wc-cdl-favorite-btn:hover {
  background: var(--wc-btn-hover-bg, var(--wc-accent-hover, #333));
  border-color: var(--wc-btn-hover-bg, var(--wc-accent-hover, #333));
  color: var(--wc-btn-hover-text, #fff);
}
.wc-cdl-favorite-btn--active {
  color: #ef4444;
}
.wc-cdl-favorite-btn--active:hover {
  color: #ef4444;
}
.wc-cdl-favorite-btn--loading {
  opacity: 0.5;
}
/* Play button overlay on sidebar thumbnail */
.wc-cdl-sidebar-play-wrap {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: #000;
  overflow: hidden;
}
.wc-cdl-sidebar-play-wrap:hover .wc-cdl-sidebar-image {
  opacity: 0.75;
}
.wc-cdl-sidebar-play-wrap .wc-cdl-sidebar-image {
  transition: opacity 0.2s;
}
.wc-cdl-sidebar-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  pointer-events: none;
  transition: background 0.2s, transform 0.2s;
}
.wc-cdl-sidebar-play-wrap:hover .wc-cdl-sidebar-play-btn {
  background: rgba(0, 0, 0, 0.85);
  transform: translate(-50%, -50%) scale(1.08);
}
.wc-cdl-sidebar-play-label {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

/* Video modal overlay */
.wc-cdl-video-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: wcCdlFadeIn 0.2s ease;
}
@keyframes wcCdlFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.wc-cdl-video-modal {
  position: relative;
  width: 90vw;
  max-width: 900px;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}
.wc-cdl-video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 4px;
  opacity: 0.8;
  transition: opacity 0.15s;
  z-index: 1;
}
.wc-cdl-video-modal-close:hover {
  opacity: 1;
}
.wc-cdl-video-modal-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}
.wc-cdl-sidebar-body {
  padding: 24px;
}
.wc-cdl-sidebar-price {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.wc-payment-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.wc-payment-icons svg {
  height: 28px;
  width: auto;
  border-radius: 4px;
}
.wc-cdl-sidebar-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  border-radius: var(--wc-btn-radius);
  background: var(--wc-btn-bg, var(--wc-accent, #a435f0));
  color: var(--wc-btn-text, #fff) !important;
  font-size: var(--wc-body-size, 14px);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.wc-cdl-sidebar-cta:hover {
  background: var(--wc-btn-hover-bg, var(--wc-accent-hover, #333));
  color: var(--wc-btn-hover-text, #fff) !important;
}
.wc-checkout-alert {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: var(--wc-btn-radius, 8px);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 10px;
}
.wc-cdl-sidebar-includes {
  margin-top: 20px;
  border-top: 1px solid var(--wc-border-color, #f0f0f2);
  padding-top: 18px;
}
.wc-cdl-sidebar-includes h4 {
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--wc-page-text, #1c1c1e);
  text-decoration: none;
  pointer-events: none;
}
.wc-cdl-sidebar-includes ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wc-cdl-sidebar-includes li {
  font-size: 13px;
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wc-cdl-sidebar-includes li i {
  color: var(--wc-accent, #5624d0);
  font-size: 16px;
  flex-shrink: 0;
}

/* ── Lesson Player (Udemy-style) ── */
.wc-lp {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  font-family: var(--wc-body-font, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

/* Dark top bar */
.wc-lp-topbar {
  background: #1c1d1f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 56px;
  flex-shrink: 0;
  z-index: 10;
  position: sticky;
  top: 0;
}
.wc-lp-topbar * { color: inherit; }
.wc-lp-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.wc-lp-topbar-back {
  color: #fff !important;
  font-size: 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0.8;
  transition: opacity 0.15s;
}
.wc-lp-topbar-back:hover { opacity: 1; }
.wc-lp-topbar-logo {
  height: 28px;
  width: auto;
  flex-shrink: 0;
}
.wc-lp-topbar-title {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff !important;
}
.wc-lp-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.wc-lp-topbar-link {
  font-size: 13px;
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.wc-lp-topbar-link:hover { color: #fff !important; }

/* Layout: main + sidebar */
.wc-lp-layout {
  display: flex;
  flex: 1;
  min-height: 0;
}
.wc-lp-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.wc-lp-aside {
  width: 380px;
  flex-shrink: 0;
  border-left: 1px solid #d1d7dc;
  overflow-y: auto;
  max-height: calc(100vh - 56px);
  position: sticky;
  top: 56px;
}

/* Edge-to-edge video — fills viewport */
.wc-lp-video-wrap {
  background: #000;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.wc-lp-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* Prev/Next hover overlays on video */
.wc-lp-video-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 240px;
  padding: 10px 16px;
  text-decoration: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s, background 0.15s;
  z-index: 5;
  pointer-events: none;
}
.wc-lp-video-nav:hover {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
}
.wc-lp-video-nav--visible {
  opacity: 1;
  pointer-events: auto;
}
.wc-lp-video-nav--prev {
  left: 12px;
}
.wc-lp-video-nav--prev.wc-lp-video-nav--visible {
  transform: translateY(-50%) translateX(0);
}
.wc-lp-video-nav--next {
  right: 12px;
  text-align: right;
}
.wc-lp-video-nav--next.wc-lp-video-nav--visible {
  transform: translateY(-50%) translateX(0);
}
.wc-lp-video-nav i {
  font-size: 22px;
  flex-shrink: 0;
  color: #fff;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transition: background 0.15s;
}
.wc-lp-video-nav:hover i {
  background: rgba(255,255,255,0.25);
}
.wc-lp-video-nav-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.wc-lp-video-nav-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
  margin-bottom: 2px;
  font-weight: 500;
}
.wc-lp-video-nav-title {
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: var(--wc-leading-none);
}

/* Autoplay toggle */
.wc-lp-autoplay {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  z-index: 6;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.wc-lp-autoplay--visible {
  opacity: 1;
  pointer-events: auto;
}
.wc-lp-autoplay-label {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  user-select: none;
}
.wc-lp-autoplay-toggle {
  position: relative;
  width: 36px;
  height: 20px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.wc-lp-autoplay-toggle--on {
  background: var(--wc-accent, #6366f1);
}
.wc-lp-autoplay-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.wc-lp-autoplay-toggle--on .wc-lp-autoplay-toggle-thumb {
  transform: translateX(16px);
}

/* End screen overlay */
.wc-lp-endscreen {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10;
}
.wc-lp-endscreen-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  max-width: 320px;
  padding: 32px;
}
.wc-lp-endscreen-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-bottom: 8px;
  font-weight: 500;
}
.wc-lp-endscreen-title {
  font-size: 18px;
  font-weight: 700;
  line-height: var(--wc-leading-none);
  margin-bottom: 24px;
}
.wc-lp-endscreen-countdown {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}
.wc-lp-endscreen-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.wc-lp-endscreen-ring-bg {
  fill: none;
  stroke: rgba(255,255,255,0.15);
  stroke-width: 3;
}
.wc-lp-endscreen-ring-fill {
  fill: none;
  stroke: var(--wc-accent, #6366f1);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s linear;
}
.wc-lp-endscreen-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}
.wc-lp-endscreen-actions {
  display: flex;
  gap: 10px;
}
.wc-lp-endscreen-btn {
  padding: 8px 20px;
  border-radius: 8px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.wc-lp-endscreen-btn:active {
  transform: scale(0.97);
}
.wc-lp-endscreen-btn--cancel {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.wc-lp-endscreen-btn--cancel:hover {
  background: rgba(255,255,255,0.25);
}
.wc-lp-endscreen-btn--play {
  background: var(--wc-accent, #6366f1);
  color: #fff;
}
.wc-lp-endscreen-btn--play:hover {
  background: var(--wc-accent, #5558e6);
  filter: brightness(1.1);
}

/* Content below video */
.wc-lp-content {
  padding: 28px 32px 40px;
  flex: 1;
}
.wc-lp-content--text {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 16px;
  flex: none;
}
.wc-lp-main--text {
  justify-content: center;
  align-items: center;
  padding: 24px 16px;
}
.wc-lp-main--text .wc-lp-complete-btn {
  max-width: 680px;
}
.wc-lp-main--quiz {
  justify-content: center;
  align-items: center;
  padding: 24px 16px;
}
.wc-lp-main--quiz .wc-quiz {
  max-width: 600px;
  width: 100%;
}
.wc-lp-main--quiz .wc-lp-complete-btn {
  max-width: 600px;
}
.wc-lp-content--quiz {
  max-width: 600px;
  width: 100%;
  padding: 0 0 8px;
  flex: none;
}
.wc-lp-content--quiz .wc-lp-content-title {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
  font-size: 1.5rem;
}
.wc-lp-content--quiz .wc-lp-content-header {
  margin-bottom: 8px;
}
.wc-lp-content-header {
  margin-bottom: 20px;
}
.wc-lp-content-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6a6f73;
}
.wc-lp-content-type-badge i {
  font-size: 14px;
}
.wc-lp-content-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1c1d1f;
  line-height: var(--wc-leading-none);
  letter-spacing: -0.02em;
}
.wc-lp-content--text .wc-lp-content-title {
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e8e8ec;
}
.wc-lp-content-desc {
  font-size: var(--wc-body-size, 14px);
  line-height: 1.65;
  color: #6a6f73;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e8e8ec;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
  overflow: hidden;
}
.wc-lp-content-desc p { margin-bottom: 8px; }
.wc-lp-content-desc img { max-width: 100%; height: auto; }
.wc-lp-content-desc ul,
.wc-lp-content-desc ol { padding-left: 20px; margin-bottom: 8px; }
.wc-lp-content-desc iframe { max-width: 100%; }

.wc-lp-content-html {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #2d2d2d;
  overflow-wrap: break-word;
  word-break: break-word;
}
.wc-lp-content-html p { margin-bottom: 18px; }
.wc-lp-content-html p:last-child { margin-bottom: 0; }
.wc-lp-content-html h1,
.wc-lp-content-html h2,
.wc-lp-content-html h3 {
  font-family: 'Inter', sans-serif;
  margin-top: 32px;
  margin-bottom: 14px;
  font-weight: 700;
  color: #1c1d1f;
  letter-spacing: -0.01em;
}
.wc-lp-content-html h1 { font-size: 1.5rem; }
.wc-lp-content-html h2 { font-size: 1.25rem; }
.wc-lp-content-html h3 { font-size: 1.1rem; }
.wc-lp-content-html ul,
.wc-lp-content-html ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
.wc-lp-content-html li { margin-bottom: 6px; }
.wc-lp-content-html blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 3px solid #e8e8ec;
  color: #555;
  font-style: italic;
  background: #fafafa;
  border-radius: 0 8px 8px 0;
}
.wc-lp-content-html a { color: var(--wc-accent, #4f46e5); text-decoration: underline; }
.wc-lp-content-html a:hover { opacity: 0.8; }
.wc-lp-content-html img { max-width: 100%; height: auto; border-radius: 8px; margin: 8px 0; }
.wc-lp-content-html hr {
  border: none;
  border-top: 1px solid #e8e8ec;
  margin: 28px 0;
}
.wc-lp-content-html pre {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 16px 20px;
  overflow-x: auto;
  font-size: 14px;
  margin: 18px 0;
}
.wc-lp-content-html code {
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
.wc-lp-content-html pre code {
  background: none;
  padding: 0;
  border-radius: 0 !important;
}

/* PDF attachment link */
.wc-lp-content-pdf {
  margin-top: 24px;
  padding: 0;
  border-top: none;
}
.wc-lp-pdf-link {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 22px;
  border-radius: 12px;
  border: 2px solid #ef4444;
  background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
  color: #1c1d1f;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.1s;
  box-shadow: 0 1px 3px rgba(239, 68, 68, 0.1);
}
.wc-lp-pdf-link:hover {
  background: linear-gradient(135deg, #fee2e2 0%, #fef2f2 100%);
  border-color: #dc2626;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
  color: #1c1d1f;
  transform: translateY(-1px);
}
.wc-lp-pdf-link i {
  font-size: 26px;
  color: #ef4444;
}
.wc-lp-pdf-link span {
  flex: 1;
}
.wc-lp-pdf-link-arrow {
  font-size: 16px !important;
  color: #ef4444 !important;
  margin-left: auto;
}

/* Prev/Next navigation */
.wc-lp-prevnext {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e8e8ec;
}
.wc-lp-prevnext-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid #d1d7dc;
  border-radius: var(--wc-img-radius, 4px);
  text-decoration: none;
  color: #1c1d1f;
  transition: background 0.1s, border-color 0.1s;
  max-width: 48%;
}
.wc-lp-prevnext-btn:hover {
  background: #f7f9fa;
  border-color: #1c1d1f;
  color: #1c1d1f;
}
.wc-lp-prevnext-btn--next {
  margin-left: auto;
  text-align: right;
}
.wc-lp-prevnext-btn i {
  font-size: 18px;
  flex-shrink: 0;
  color: #6a6f73;
}
.wc-lp-prevnext-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6a6f73;
  margin-bottom: 2px;
}
.wc-lp-prevnext-title {
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Sidebar */
.wc-lp-sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.wc-lp-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  color: #1c1d1f;
  border-bottom: 1px solid #d1d7dc;
  flex-shrink: 0;
}
.wc-lp-sidebar-header-progress {
  font-size: 12px;
  font-weight: 500;
  color: #6a6f73;
}

/* Sidebar sections (accordion) */
.wc-lp-sidebar-section {
  border-bottom: 1px solid #d1d7dc;
}
.wc-lp-sidebar-section:last-child { border-bottom: none; }

.wc-lp-sidebar-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  background: #f7f9fa;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  gap: 8px;
}
.wc-lp-sidebar-section-header:hover { background: #f0f2f4; }
.wc-lp-sidebar-section-header--open {
  border-bottom: 1px solid #e8e8ec;
}
.wc-lp-sidebar-section-info {
  min-width: 0;
}
.wc-lp-sidebar-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #1c1d1f;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wc-lp-sidebar-section-meta {
  font-size: 11px;
  color: #6a6f73;
  margin-top: 2px;
}
.wc-lp-sidebar-chevron {
  font-size: 18px;
  color: #6a6f73;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.wc-lp-sidebar-chevron--open {
  transform: rotate(180deg);
}

.wc-lp-sidebar-section-body {
  padding: 0;
}

/* Sidebar lesson rows */
.wc-lp-sidebar-lesson {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 13px;
  text-decoration: none;
  color: #1c1d1f;
  transition: background 0.1s;
  border-bottom: 1px solid #f0f0f2;
}
.wc-lp-sidebar-lesson:last-child { border-bottom: none; }
.wc-lp-sidebar-lesson:hover { background: #f7f9fa; }

.wc-lp-sidebar-lesson--active {
  background: #f3e8ff;
  font-weight: 600;
}
.wc-lp-sidebar-lesson--active:hover {
  background: #ede9fe;
}

.wc-lp-sidebar-lesson i {
  color: #6a6f73;
  font-size: 16px;
  flex-shrink: 0;
}
.wc-lp-sidebar-lesson--active i {
  color: var(--wc-accent, #5624d0);
}

.wc-lp-sidebar-lesson-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wc-lp-sidebar-lesson-dur {
  color: #6a6f73;
  font-size: 11px;
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .wc-course-card-image { height: 180px; }
  .wc-course-card-image-placeholder { height: 180px; }
  .wc-cdl-hero-title { font-size: 1.5rem; }
  .wc-cdl-learn-grid { grid-template-columns: 1fr; }
  .wc-cdl-lesson-row { padding-left: 20px; }
  .wc-cdl-accordion-header { padding: 12px 14px; }
  .wc-cdl-accordion-header-title { white-space: normal; }
}
@media (max-width: 991px) {
  .wc-cdl-sidebar { position: static; margin-top: 0; margin-bottom: 24px; }
  .wc-cdl-row {
    display: flex;
    flex-direction: column;
  }
  .wc-cdl-col-main {
    display: contents;
  }
  .wc-cdl-col-main > .wc-cdl-hero-text {
    order: 1;
    width: 100%;
    box-sizing: border-box;
    padding-left: 16px;
    padding-right: 16px;
  }
  .wc-cdl-col-sidebar {
    order: 2;
    width: 100%;
    box-sizing: border-box;
    padding-top: 16px;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
  }
  .wc-cdl-col-main > .wc-cdl-hero-text ~ * {
    order: 3;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    width: 100%;
    box-sizing: border-box;
  }
  .wc-cdl-col-main > .wc-cdl-learn {
    margin-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    margin-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    padding: 24px;
    width: auto;
  }
  .wc-cdl-hero-meta span { font-size: 11px; padding: 4px 10px; }
  .wc-cdl-learn-grid { grid-template-columns: 1fr; }
  .wc-lp-layout { flex-direction: column; }
  .wc-lp-aside {
    width: 100%;
    max-height: none;
    position: static;
    border-left: none;
    border-top: 1px solid #d1d7dc;
  }
  .wc-lp-prevnext { flex-direction: column; }
  .wc-lp-prevnext-btn { max-width: 100%; }
  .wc-lp-content { padding: 20px 16px 32px; }
  .wc-lp-content--text { padding: 0 0 16px; }
  .wc-lp-content--quiz { padding: 16px 16px 0; }
  .wc-lp-complete-btn { margin: 0; width: 100%; }
  .wc-lp-topbar-link { display: none; }
}

/* ============================================================
   Course Purchase — enrolled CTA variant
   ============================================================ */
.wc-btn-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: wc-spin 0.6s linear infinite;
  vertical-align: middle;
}
.wc-cdl-sidebar-cta--enrolled .wc-btn-spinner {
  border-color: rgba(46, 125, 50, 0.3);
  border-top-color: #2e7d32;
}

.wc-cdl-sidebar-cta--enrolled {
  background: #e8f5e9;
  color: #2e7d32;
}
.wc-cdl-sidebar-cta--enrolled:hover {
  background: #e8f5e9;
  color: #2e7d32 !important;
}

/* ============================================================
   Product Card overrides (listing page)
   ============================================================ */
.wc-product-card .wc-course-card-image {
  aspect-ratio: 4 / 5;
}
.wc-product-card .wc-course-card-image-placeholder {
  aspect-ratio: 4 / 5;
}

/* ============================================================
   Product Listing — subtitle
   ============================================================ */
.wc-pdp-listing-subtitle {
  font-size: 1.05rem;
  color: #6a6f73;
  margin-top: -8px;
  margin-bottom: 32px;
  text-align: left;
}

/* ============================================================
   Product Detail Page (Shopify Horizon–style)
   ============================================================ */
.wc-pdp {
  padding: 0 0 80px;
}
.wc-pdp-breadcrumb {
  padding: 20px 0;
}
.wc-pdp .wc-cdl-breadcrumb {
  color: var(--wc-page-text, #6a6f73) !important;
  opacity: 0.6;
}
.wc-pdp .wc-cdl-breadcrumb a {
  color: var(--wc-link-color, var(--wc-page-text, #1c1d1f)) !important;
  opacity: 1;
}
.wc-pdp .wc-cdl-breadcrumb span {
  color: var(--wc-page-text, #6a6f73);
}
.wc-pdp-grid {
  --bs-gutter-x: 48px;
}
.wc-pdp-media {
  position: sticky;
  top: 120px;
}
.wc-pdp-image {
  width: 100%;
  display: block;
  border-radius: var(--wc-img-radius, 12px);
  object-fit: cover;
}
.wc-pdp-image-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #ccc;
  font-size: 48px;
}
/* Product Gallery / Slideshow */
.wc-gallery {
  width: 100%;
}
.wc-gallery-main {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--wc-img-radius, 12px);
}
.wc-gallery-main .wc-pdp-image {
  width: 100%;
  display: block;
}
.wc-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--wc-btn-bg, var(--wc-accent, #1c1d1f));
  color: var(--wc-btn-text, #fff);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background 0.15s, transform 0.15s;
  z-index: 2;
}
.wc-gallery-arrow:hover {
  background: var(--wc-btn-hover-bg, var(--wc-accent-hover, #333));
  color: var(--wc-btn-hover-text, #fff);
  transform: translateY(-50%) scale(1.05);
}
.wc-gallery-arrow--prev {
  left: 12px;
}
.wc-gallery-arrow--next {
  right: 12px;
}
.wc-gallery-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  z-index: 2;
}
.wc-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.wc-gallery-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border: 2px solid transparent;
  border-radius: var(--wc-img-radius, 8px);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: none;
  opacity: 0.6;
  transition: opacity 0.15s, border-color 0.15s;
}
.wc-gallery-thumb:hover {
  opacity: 0.9;
}
.wc-gallery-thumb--active {
  opacity: 1;
  border-color: var(--wc-accent, #4f46e5);
}
.wc-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}
.wc-pdp-info {
  padding-top: 8px;
  min-width: 0;
  overflow: hidden;
}
.wc-pdp-title {
  font-family: var(--wc-heading-font, 'Inter', sans-serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: var(--wc-leading-none);
  color: #1c1d1f;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.wc-pdp-price {
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wc-pdp-price-was {
  text-decoration: line-through;
  color: var(--wc-page-text, #9ca3af);
  font-weight: 400;
}
.wc-pdp-price-now {
  color: #dc2626;
  font-weight: 600;
}
.wc-pdp-actions {
  margin-bottom: 32px;
}
.wc-pdp-actions .wc-cdl-sidebar-cta {
  border-radius: var(--wc-btn-radius, 8px);
  padding: 16px 24px;
  font-size: var(--wc-body-size, 14px);
  font-weight: 600;
  letter-spacing: 0.02em;
}
/* Product Bundle */
.wc-bundle {
  border: 1px solid var(--wc-border-color, #e5e7eb);
  border-radius: var(--wc-img-radius, 10px);
  overflow: hidden;
  margin-bottom: 20px;
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 94%, var(--wc-page-text, #1c1c1e) 6%);
}
.wc-bundle-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid #e5e7eb;
}
.wc-bundle-header i {
  font-size: 18px;
  color: var(--wc-accent, #4f46e5);
}
.wc-bundle-items {
  padding: 0;
}
.wc-bundle-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid #f0f0f0;
}
.wc-bundle-item:last-child {
  border-bottom: none;
}
.wc-bundle-item-img {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}
.wc-bundle-item-img--placeholder {
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 20px;
}
.wc-bundle-item-info {
  flex: 1;
  min-width: 0;
}
.wc-bundle-item-title {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wc-bundle-item-meta {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.wc-bundle-item-price {
  text-decoration: line-through;
}
.wc-bundle-savings {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #f0fdf4;
  color: #15803d;
  font-size: 13px;
  font-weight: 500;
  border-top: 1px solid #e5e7eb;
}
.wc-bundle-savings i {
  font-size: 16px;
}

.wc-pdp-description {
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
  max-width: 100%;
}
.wc-pdp-description p {
  margin-bottom: 16px;
}
.wc-pdp-description p:last-child {
  margin-bottom: 0;
}
.wc-pdp-description h1 {
  font-family: var(--wc-heading-font, 'Inter', sans-serif);
  font-size: 26px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 8px;
  color: #1c1d1f;
}
.wc-pdp-description h2,
.wc-pdp-description h3 {
  font-family: var(--wc-heading-font, 'Inter', sans-serif);
  margin-top: 24px;
  margin-bottom: 8px;
  color: #1c1d1f;
}
.wc-pdp-description strong,
.wc-pdp-description b { font-weight: 600; }
.wc-pdp-description em,
.wc-pdp-description i:not([class]) { font-style: italic; }
.wc-pdp-description u { text-decoration: underline; }
.wc-pdp-description s,
.wc-pdp-description strike { text-decoration: line-through; }
.wc-pdp-description a {
  color: var(--wc-accent, #a435f0);
  text-decoration: underline;
}
.wc-pdp-description ul,
.wc-pdp-description ol { padding-left: 24px; margin-bottom: 16px; }
.wc-pdp-description li { margin-bottom: 4px; }
.wc-pdp-description blockquote {
  border-left: 4px solid #e5e7eb;
  padding: 10px 18px;
  margin: 16px 0;
  color: #6b7280;
  font-style: italic;
}
.wc-pdp-description pre {
  background: #f3f4f6;
  padding: 14px 18px;
  border-radius: 6px;
  overflow-x: auto;
  margin: 16px 0;
  font-size: 13px;
}
.wc-pdp-description img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 16px 0;
}
.wc-pdp-description .ql-align-center { text-align: center; }
.wc-pdp-description .ql-align-right { text-align: right; }
.wc-pdp-description .ql-align-justify { text-align: justify; }
.wc-pdp-description .ql-indent-1 { padding-left: 3em; }
.wc-pdp-description .ql-indent-2 { padding-left: 6em; }
.wc-pdp-description .ql-indent-3 { padding-left: 9em; }
.wc-pdp-details {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--wc-border-color, #e8e8ec);
}
.wc-pdp-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wc-pdp-details li {
  font-size: 14px;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wc-pdp-details li i {
  font-size: 16px;
  flex-shrink: 0;
}
/* Share links */
.wc-pdp-share {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--wc-border-color, #e8e8ec);
  display: flex;
  align-items: center;
  gap: 12px;
}
.wc-pdp-share-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.wc-pdp-share-links {
  display: flex;
  gap: 8px;
}
.wc-pdp-share-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--wc-border-color, #e8e8ec);
  font-size: 16px;
  text-decoration: none;
  transition: all 0.15s;
}
.wc-pdp-share-link:hover {
  color: #1c1d1f;
  border-color: #1c1d1f;
}

/* Related products */
.wc-pdp-related {
  padding: 0 0 80px;
}
.wc-pdp-related-title {
  font-family: var(--wc-heading-font, 'Inter', sans-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: #1c1d1f;
  margin-bottom: 24px;
  padding-top: 32px;
  border-top: 1px solid #e8e8ec;
}

@media (max-width: 991px) {
  .wc-pdp-media {
    position: static;
  }
  .wc-pdp-title {
    font-size: 1.5rem;
  }
}

/* ============================================================
   Lesson Paywall Gate
   ============================================================ */
.wc-lp-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 40px 20px;
}
.wc-lp-gate-message {
  max-width: 480px;
  margin-bottom: 24px;
}
.wc-lp-gate-message i {
  color: var(--wc-accent, #4f46e5);
  margin-bottom: 16px;
  display: block;
}
.wc-lp-gate-message h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.wc-lp-gate-message p {
  color: #6b7280;
}
.wc-lp-gate-cta {
  display: flex;
  gap: 12px;
}

/* ============================================================
   Account Dashboard — SaaS style
   ============================================================ */
.wc-acct-page {
  min-height: 100vh;
  background: var(--wc-page-bg, var(--wc-bg-light, #f6f3ee));
  color: var(--wc-page-text, var(--wc-text, #3a3a38));
  padding: 40px 16px 80px;
}
.wc-acct {
  max-width: 720px;
  margin: 0 auto;
}

/* Loading state */
.wc-acct-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 12px;
  color: var(--wc-page-text, var(--wc-text-secondary, #6b6b69));
  font-size: 0.9rem;
}
.wc-acct-loading-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--wc-border, rgba(0,0,0,0.1));
  border-top-color: var(--wc-accent, #111);
  border-radius: 50%;
  animation: wc-spin 0.6s linear infinite;
}
@keyframes wc-spin { to { transform: rotate(360deg); } }

/* Success toast */
.wc-acct-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--wc-radius, 10px);
  color: #166534;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
}
.wc-acct-toast i { font-size: 1.2rem; }

/* Profile header */
.wc-acct-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.wc-acct-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--wc-btn-bg, var(--wc-accent, #111));
  color: var(--wc-btn-text, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.wc-acct-header-info {
  flex: 1;
  min-width: 0;
}
.wc-acct-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  line-height: var(--wc-leading-none);
  color: var(--wc-page-text, var(--wc-text, #3a3a38));
}
.wc-acct-name-edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  color: #9ca3af;
  font-size: 0.9rem;
  transition: color 0.15s, background 0.15s;
}
.wc-acct-name-edit-btn:hover { color: #6b7280; background: #f3f4f6; }
.wc-acct-name-edit {
  display: flex;
  align-items: center;
  gap: 6px;
}
.wc-acct-name-input {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 4px 10px;
  border: 1px solid var(--wc-border-color, #d1d5db);
  border-radius: 8px;
  outline: none;
  width: 200px;
  color: var(--wc-page-text, #1f2937);
  background: var(--wc-page-bg, #fff);
}
.wc-acct-name-input:focus { border-color: #7c3aed; box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.15); }
.wc-acct-name-save,
.wc-acct-name-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.15s;
}
.wc-acct-name-save { background: #f0fdf4; color: #16a34a; }
.wc-acct-name-save:hover { background: #dcfce7; }
.wc-acct-name-cancel { background: #fef2f2; color: #ef4444; }
.wc-acct-name-cancel:hover { background: #fee2e2; }
.wc-acct-email {
  font-size: 0.85rem;
  color: var(--wc-page-text, var(--wc-text-secondary, #6b6b69));
  opacity: 0.7;
}
.wc-acct-signout {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--wc-border-color, var(--wc-border, rgba(0,0,0,0.1)));
  border-radius: var(--wc-btn-radius, 8px);
  background: transparent;
  color: var(--wc-page-text, var(--wc-text-secondary, #6b6b69));
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}
.wc-acct-signout:hover {
  border-color: var(--wc-border-color, var(--wc-border-strong));
  color: var(--wc-page-text, var(--wc-text, #3a3a38));
}

/* Stats row */
.wc-acct-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.wc-acct-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--wc-page-bg, var(--wc-white, #fff));
  border: 1px solid var(--wc-border-color, var(--wc-border, rgba(0,0,0,0.1)));
  border-radius: var(--wc-img-radius, 10px);
}
.wc-acct-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--wc-img-radius, 10px);
  background: var(--wc-accent-2, rgba(31,76,58,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--wc-accent, #111);
  flex-shrink: 0;
}
.wc-acct-stat-icon--membership {
  background: #fef3c7;
  color: #b45309;
}
.wc-acct-stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--wc-page-text, var(--wc-text, #3a3a38));
  line-height: var(--wc-leading-none);
}
.wc-acct-stat-label {
  font-size: 0.75rem;
  color: var(--wc-page-text, var(--wc-text-secondary, #6b6b69));
  opacity: 0.7;
}

/* Sections */
.wc-acct-section {
  background: var(--wc-page-bg, var(--wc-white, #fff));
  border: 1px solid var(--wc-border-color, var(--wc-border, rgba(0,0,0,0.1)));
  border-radius: var(--wc-img-radius, 12px);
  overflow: hidden;
  margin-bottom: 20px;
}
.wc-acct-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--wc-border-color, var(--wc-border, rgba(0,0,0,0.1)));
}
.wc-acct-section-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--wc-page-text, var(--wc-text, #3a3a38));
}
.wc-acct-section-title i {
  font-size: 1.1rem;
  opacity: 0.5;
}
.wc-acct-section-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--wc-link-color, var(--wc-accent, #111));
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 2px;
  transition: opacity 0.15s;
}
.wc-acct-section-link:hover { opacity: 0.7; }
.wc-acct-section-body {
  padding: 22px;
}

/* Badges */
.wc-acct-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.wc-acct-badge--active {
  background: #dcfce7;
  color: #166534;
}
.wc-acct-badge--warning {
  background: #fef3c7;
  color: #92400e;
}

/* Membership active */
.wc-acct-membership-active {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wc-acct-membership-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--wc-border-color, var(--wc-border, rgba(0,0,0,0.06)));
}
.wc-acct-membership-detail:last-of-type { border-bottom: none; }
.wc-acct-membership-label {
  font-size: 0.85rem;
  color: var(--wc-page-text, var(--wc-text-secondary, #6b6b69));
  opacity: 0.7;
}
.wc-acct-membership-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wc-page-text, var(--wc-text, #3a3a38));
}

/* Membership empty */
.wc-acct-membership-empty {
  text-align: center;
  padding: 12px 0;
}
.wc-acct-membership-empty-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--wc-btn-radius, 50%);
  background: #fef3c7;
  color: #b45309;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 12px;
}
.wc-acct-membership-empty p {
  font-size: 0.9rem;
  color: var(--wc-page-text, var(--wc-text-secondary, #6b6b69));
  opacity: 0.7;
  margin-bottom: 16px;
}

/* Buttons */
.wc-acct-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--wc-btn-radius, 8px);
  font-size: var(--wc-body-size, 14px);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
}
.wc-acct-btn--primary,
.wc-cms a.wc-acct-btn--primary {
  background: var(--wc-btn-bg, var(--wc-accent, #111));
  color: var(--wc-btn-text, #fff);
}
.wc-acct-btn--primary:hover,
.wc-acct-btn--primary:focus,
.wc-acct-btn--primary:active,
.wc-cms a.wc-acct-btn--primary:hover {
  background: var(--wc-btn-hover-bg, var(--wc-accent-hover, #2a2a28));
  color: var(--wc-btn-hover-text, var(--wc-btn-text, #fff)) !important;
}
.wc-acct-btn--outline {
  background: transparent;
  border: 1px solid var(--wc-border-color, var(--wc-border, rgba(0,0,0,0.1)));
  color: var(--wc-page-text, var(--wc-text, #3a3a38));
}
.wc-acct-btn--outline:hover {
  border-color: var(--wc-border-color, var(--wc-border-strong));
}

/* Empty state */
.wc-acct-empty {
  text-align: center;
  padding: 24px 0;
}
.wc-acct-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--wc-btn-radius, 50%);
  background: var(--wc-accent-2, rgba(31,76,58,0.12));
  color: var(--wc-accent, #111);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 14px;
}
.wc-acct-empty h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--wc-page-text, var(--wc-text, #3a3a38));
}
.wc-acct-empty p {
  font-size: 0.875rem;
  color: var(--wc-page-text, var(--wc-text-secondary, #6b6b69));
  opacity: 0.7;
  margin-bottom: 16px;
}

/* Course list */
.wc-acct-courses {
  display: flex;
  flex-direction: column;
}
.wc-acct-course {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--wc-border-color, var(--wc-border, rgba(0,0,0,0.06)));
  text-decoration: none;
  color: var(--wc-page-text, inherit);
  transition: opacity 0.15s;
}
.wc-acct-course:last-child { border-bottom: none; }
.wc-acct-course:hover { opacity: 0.8; }
.wc-acct-course-thumb-wrap {
  position: relative;
  flex-shrink: 0;
}
.wc-acct-course-thumb {
  width: 96px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--wc-radius-sm, 8px);
  display: block;
}
.wc-acct-course-thumb-placeholder {
  width: 96px;
  height: 60px;
  border-radius: var(--wc-radius-sm, 8px);
  background: var(--wc-surface-2, #fbf5ea);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--wc-muted, rgba(58,58,56,0.55));
}
.wc-acct-course-type {
  position: absolute;
  bottom: 4px;
  left: 4px;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0,0,0,0.6);
  color: #fff;
}
.wc-acct-course-type--membership {
  background: rgba(180, 83, 9, 0.85);
}
.wc-acct-course-info {
  flex: 1;
  min-width: 0;
}
.wc-acct-course-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--wc-page-text, var(--wc-text, #3a3a38));
  line-height: var(--wc-leading-none);
}
.wc-acct-course-date {
  font-size: 0.75rem;
  color: var(--wc-page-text, var(--wc-text-secondary, #6b6b69));
  opacity: 0.7;
}
.wc-acct-course-arrow {
  flex-shrink: 0;
  color: var(--wc-page-text, var(--wc-muted, rgba(58,58,56,0.55)));
  opacity: 0.5;
  font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 640px) {
  .wc-acct-stats { grid-template-columns: 1fr; }
  .wc-acct-header { flex-wrap: wrap; }
  .wc-acct-signout { margin-left: auto; }
  .wc-acct-course-thumb { width: 72px; height: 45px; }
}

/* ============================================================
   Customer Auth (Login / Register)
   ============================================================ */
.wc-customer-auth {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px;
}
.wc-customer-auth-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

/* ============================================================
   Lesson Progress
   ============================================================ */
.wc-lp-progress {
  padding: 12px 16px;
  border-bottom: 1px solid #d1d7dc;
}
.wc-lp-progress-bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}
.wc-lp-progress-fill {
  height: 100%;
  background: var(--wc-accent, #4f46e5);
  border-radius: 3px;
  transition: width 0.3s ease;
}
.wc-lp-progress-text {
  font-size: 0.75rem;
  color: #6b7280;
}

/* Sidebar lesson checkmark */
.wc-lp-sidebar-lesson-check {
  color: #16a34a;
  font-size: 1.1rem;
}
.wc-lp-sidebar-lesson--done .wc-lp-sidebar-lesson-title {
  color: #6b7280;
}

/* Mark Complete button */
.wc-lp-complete-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 14px 20px;
  border: none;
  border-radius: 0;
  background: #f3f4f6;
  color: #374151;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  border-top: 1px solid #e5e7eb;
}
.wc-lp-complete-btn:hover { background: #e5e7eb; }
.wc-lp-complete-btn:disabled { opacity: 0.6; cursor: default; }
.wc-lp-complete-btn--done { background: #f0fdf4; color: #166534; border-top: 1px solid #bbf7d0; }
.wc-lp-complete-btn--done:hover { background: #dcfce7; color: #166534; }
.wc-lp-complete-btn--done i { font-size: 1.25rem; color: #16a34a; }
.wc-lp-complete-btn i { font-size: 1.1rem; }
.wc-lp-complete-btn--locked {
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px dashed #c4b5fd;
  cursor: not-allowed;
  opacity: 1;
}
.wc-lp-complete-btn--locked:hover { background: #f5f3ff; }
.wc-lp-complete-btn--locked i { color: #a78bfa; }

/* ── Lesson gate (paywall / login required) ── */
.wc-lesson-gate {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
}
.wc-lesson-gate__card {
  width: 100%;
  max-width: 420px;
  text-align: center;
  background: #fff;
  border-radius: var(--wc-img-radius, 20px);
  padding: 40px 36px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  border: 1px solid var(--wc-border-color, #e8e3db);
}
.wc-lesson-gate__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--wc-btn-radius, 16px);
  background: var(--wc-btn-bg, var(--wc-accent, #1c1c1e));
  color: var(--wc-btn-text, #fff);
  border: 1px solid var(--wc-border-color, #e8e3db);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
}
.wc-lesson-gate__site-name {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  color: var(--wc-label-color) !important;
}
.wc-lesson-gate__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--wc-label-color) !important;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.wc-lesson-gate__desc {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 24px;
}
.wc-lesson-gate__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  text-align: left;
}
.wc-lesson-gate__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.825rem;
  color: #374151;
}
.wc-lesson-gate__feature i {
  font-size: 1rem;
  color: #7c3aed;
  flex-shrink: 0;
}
.wc-lesson-gate__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  border-radius: var(--wc-btn-radius, 12px);
  background: var(--wc-btn-bg, var(--wc-accent, #1c1c1e));
  color: var(--wc-btn-text, #fff);
  font-weight: 600;
  font-size: var(--wc-body-size, 14px);
  text-decoration: none;
  transition: opacity 0.15s;
  box-shadow: 0 2px 8px rgba(124,58,237,0.25);
}
.wc-lesson-gate__cta:hover, .wc-lesson-gate__cta:focus { background: var(--wc-btn-hover-bg, var(--wc-accent-hover, var(--wc-accent, #1c1c1e))); color: var(--wc-btn-hover-text, var(--wc-btn-text, #fff)) !important; text-decoration: none; }
.wc-lesson-gate__cta i { font-size: 1.1rem; }
.wc-lesson-gate__back {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.15s;
}
.wc-lesson-gate__back:hover { color: var(--wc-accent, #1c1c1e); }
@media (max-width: 480px) {
  .wc-lesson-gate__card { padding: 32px 24px 24px; }
}
/* Prevent iOS Safari auto-zoom on input focus */
.wc-lesson-gate__card .form-control,
.wc-lesson-gate__card .form-select,
.wc-lesson-gate__card input,
.wc-lesson-gate__card select,
.wc-lesson-gate__card textarea {
  font-size: 16px;
}

/* ── Lesson sidebar quiz badges ── */
.wc-lp-sidebar-lesson-quiz {
  font-size: 0.7rem;
  color: #9ca3af;
  flex-shrink: 0;
  margin-left: auto;
}
.wc-lp-sidebar-lesson-quiz--passed {
  color: #22c55e;
}

/* ── Certificate buttons ── */
.wc-lp-sidebar-cert {
  padding: 8px 16px 4px;
}
.wc-cert-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--wc-btn-radius, 10px);
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
  text-decoration: none;
}
.wc-cert-btn:hover { opacity: 0.9; }
.wc-cert-btn:disabled { opacity: 0.5; cursor: default; }
.wc-cert-btn--sidebar {
  width: 100%;
  padding: 10px 16px;
  font-size: 0.8rem;
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  color: #7c3aed;
  border: 1px solid #e9d5ff;
}
.wc-cert-btn--sidebar i { font-size: 1rem; }
.wc-cert-btn--compact {
  padding: 6px 14px;
  font-size: 0.75rem;
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #e9d5ff;
}
.wc-cert-btn--compact i { font-size: 0.9rem; }
.wc-cert-btn--full {
  width: 100%;
  padding: 12px 20px;
  font-size: 0.875rem;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
  box-shadow: 0 2px 8px rgba(124,58,237,0.2);
}
.wc-cert-btn--full:hover { color: #fff; }
.wc-cert-btn--full i { font-size: 1.1rem; }
.wc-cert-wrap { max-width: 600px; margin: 16px auto; padding: 0 16px; }
.wc-cert-error { font-size: 0.75rem; color: #dc2626; text-align: center; margin-top: 6px; }

/* ── Account page certificates ── */
.wc-acct-certs { display: flex; flex-direction: column; gap: 8px; }
.wc-acct-cert {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--wc-img-radius, 12px);
  border: 1px solid var(--wc-border-color, #e5e7eb);
  background: var(--wc-page-bg, #fff);
  transition: border-color 0.15s;
}
.wc-acct-cert:hover { border-color: #c4b5fd; }
.wc-acct-cert-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--wc-img-radius, 10px);
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.wc-acct-cert-info { flex: 1; min-width: 0; }
.wc-acct-cert-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--wc-page-text, #1f2937);
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wc-acct-cert-date {
  font-size: 0.75rem;
  color: var(--wc-page-text, #6b7280);
  opacity: 0.7;
  display: block;
}
.wc-acct-cert-number {
  font-size: 0.65rem;
  color: var(--wc-page-text, #9ca3af);
  opacity: 0.5;
  font-family: monospace;
  display: block;
  margin-top: 2px;
}
.wc-acct-cert-download {
  width: 36px;
  height: 36px;
  border-radius: var(--wc-btn-radius, 8px);
  border: 1px solid #e9d5ff;
  background: #f5f3ff;
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.wc-acct-cert-download:hover { background: #ede9fe; }

/* ============================================================
   Public Quiz UI (user-facing)
   ============================================================ */

.wc-quiz {
  margin: 8px auto 16px;
  max-width: 600px;
  padding: 0;
}

.wc-quiz__loading,
.wc-quiz__error {
  text-align: center;
  padding: 24px;
  color: #6b7280;
  font-size: 0.875rem;
}
.wc-quiz__error { color: #dc2626; }

/* Header */
.wc-quiz__header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border-radius: 14px 14px 0 0;
  border: 1px solid #e5e7eb;
  border-bottom: none;
}
.wc-quiz__header-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.wc-quiz__title {
  font-weight: 700;
  font-size: 1rem;
  color: #1f2937;
}
.wc-quiz__subtitle {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 2px;
}

/* Questions */
.wc-quiz__questions {
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  background: #fff;
}
.wc-quiz__question {
  padding: 20px 24px;
  border-bottom: 1px solid #f3f4f6;
}
.wc-quiz__question:last-child { border-bottom: none; }
.wc-quiz__question-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1f2937;
  margin-bottom: 14px;
  line-height: 1.5;
}
.wc-quiz__question-num {
  color: #7c3aed;
  margin-right: 6px;
  font-weight: 700;
}

/* Options */
.wc-quiz__options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wc-quiz__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-align: left;
  font-size: 0.9rem;
  color: #374151;
  width: 100%;
}
.wc-quiz__option:hover {
  border-color: #c4b5fd;
  background: #faf5ff;
}
.wc-quiz__option--selected {
  border-color: #7c3aed;
  background: #f5f3ff;
}
.wc-quiz__option:disabled {
  cursor: default;
  opacity: 0.7;
}
.wc-quiz__option-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s;
}
.wc-quiz__option--selected .wc-quiz__option-radio {
  border-color: #7c3aed;
}
.wc-quiz__option-radio-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7c3aed;
}

/* Footer */
.wc-quiz__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #fafafa;
  border-radius: 0 0 14px 14px;
  border: 1px solid #e5e7eb;
  border-top: none;
}
.wc-quiz__progress {
  font-size: 0.8rem;
  color: #6b7280;
}
.wc-quiz__submit-btn {
  padding: 10px 24px;
  border-radius: 10px;
  border: none;
  background: #7c3aed;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: opacity 0.15s;
}
.wc-quiz__submit-btn:hover { opacity: 0.9; }
.wc-quiz__submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Results */
.wc-quiz__result {
  text-align: center;
  padding: 48px 32px 40px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.wc-quiz__result--pass {
  background: linear-gradient(160deg, #f0fdf4 0%, #ecfdf5 50%, #f5f3ff 100%);
  border-color: #86efac;
}
.wc-quiz__result--fail {
  background: linear-gradient(160deg, #fef2f2 0%, #fff7ed 100%);
  border-color: #fecaca;
}
.wc-quiz__result-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.wc-quiz__result--pass .wc-quiz__result-icon { color: #16a34a; }
.wc-quiz__result--fail .wc-quiz__result-icon { color: #dc2626; }
.wc-quiz__result-score {
  font-size: 3rem;
  font-weight: 800;
  color: #1f2937;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.wc-quiz__result-label {
  font-size: 1.15rem;
  font-weight: 600;
  color: #374151;
  margin: 8px 0 4px;
}
.wc-quiz__result-detail {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 24px;
}
.wc-quiz__retry-btn {
  padding: 10px 28px;
  border-radius: 10px;
  border: none;
  background: #1f2937;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: opacity 0.15s;
}
.wc-quiz__retry-btn:hover { opacity: 0.9; }
.wc-quiz__result-pass-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #16a34a;
  font-weight: 600;
  margin-top: 16px;
  padding: 8px 16px;
  background: rgba(22,163,106,0.08);
  border-radius: 8px;
}
.wc-quiz__next-lesson-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 16px auto 0;
  padding: 8px 20px;
  border-radius: 8px;
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #e9d5ff;
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
  transition: background 0.15s;
}
.wc-quiz__next-lesson-btn:hover { background: #ede9fe; color: #7c3aed; }
.wc-quiz__next-lesson-btn i { font-size: 0.95rem; }

/* Passed banner (compact) */
.wc-quiz--passed { margin: 16px auto; }
.wc-quiz__passed-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 12px;
  background: #f0fdf4;
  border: 1px solid #86efac;
}
.wc-quiz__passed-banner > i {
  font-size: 1.4rem;
  color: #16a34a;
  flex-shrink: 0;
}
.wc-quiz__passed-banner > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.wc-quiz__passed-banner strong {
  font-size: 0.875rem;
  color: #166534;
}
.wc-quiz__passed-banner span {
  font-size: 0.8rem;
  color: #15803d;
}
.wc-quiz__retake-btn {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid #86efac;
  background: #fff;
  color: #166534;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.wc-quiz__retake-btn:hover { background: #f0fdf4; }

/* Attempts */
.wc-quiz__attempts {
  margin-top: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}
.wc-quiz__attempts-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: #fafafa;
  font-size: 0.8rem;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
}
.wc-quiz__attempts-toggle:hover { background: #f3f4f6; }
.wc-quiz__attempts-list {
  border-top: 1px solid #e5e7eb;
}
.wc-quiz__attempt-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  font-size: 0.8rem;
  border-bottom: 1px solid #f3f4f6;
}
.wc-quiz__attempt-row:last-child { border-bottom: none; }
.wc-quiz__attempt-score {
  font-weight: 700;
  color: #dc2626;
  min-width: 36px;
}
.wc-quiz__attempt-score--pass { color: #16a34a; }
.wc-quiz__attempt-status {
  flex: 1;
  color: #6b7280;
}
.wc-quiz__attempt-date {
  color: #9ca3af;
  font-size: 0.75rem;
}

/* ── Article Picker (searchable dropdown) ── */
.wc-article-picker {
  position: relative;
}
.wc-article-picker__trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 6px 12px;
  font-size: 0.8125rem;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  cursor: pointer;
  color: #666;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.wc-article-picker__trigger:hover {
  border-color: #adb5bd;
  color: #333;
}
.wc-article-picker__trigger:focus {
  border-color: var(--wc-accent, #3A3A38);
  box-shadow: 0 0 0 2px rgba(58,58,56,0.1);
  outline: none;
}
.wc-article-picker__trigger i {
  font-size: 15px;
}
.wc-article-picker__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  z-index: 100;
  overflow: hidden;
}
.wc-article-picker__dropdown--up {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: 4px;
}
.wc-article-picker__search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid #f0f0f0;
}
.wc-article-picker__search-icon {
  font-size: 14px;
  color: #999;
  flex-shrink: 0;
}
.wc-article-picker__search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13px;
  background: transparent;
  color: #333;
}
.wc-article-picker__search-input::placeholder {
  color: #aaa;
}
.wc-article-picker__list {
  max-height: 260px;
  overflow-y: auto;
  padding: 4px;
}
.wc-article-picker__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 7px 10px;
  border: none;
  background: none;
  border-radius: 6px;
  font-size: 13px;
  color: #303030;
  cursor: pointer;
  text-align: left;
  transition: background 0.1s;
}
.wc-article-picker__item:hover {
  background: #f5f5f5;
}
.wc-article-picker__thumb {
  width: 44px;
  height: 30px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.wc-article-picker__thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  color: #bbb;
  font-size: 14px;
}
.wc-article-picker__title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wc-article-picker__empty {
  padding: 16px;
  text-align: center;
  font-size: 13px;
  color: #999;
}

/* ===== Classes ===== */
.wc-class-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
  color: #6b7280;
}
.wc-class-meta i {
  margin-right: 4px;
  font-size: 1em;
}
.wc-class-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
}
.wc-class-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.wc-class-filter-bar select,
.wc-class-filter-bar input {
  font-size: 0.875rem;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}
.wc-class-player {
  display: flex;
  flex-direction: column;
  height: 100vh;
}
.wc-class-player .wc-lp-main {
  max-width: 100%;
}
.wc-class-detail {
  padding-top: 24px;
  padding-bottom: 40px;
}

/* ── Class Watch Layout ── */
.wc-watch-body {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.wc-watch-video {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.wc-watch-sidebar {
  width: 0;
  min-width: 0;
  overflow: hidden;
  transition: width 0.3s ease, min-width 0.3s ease;
  border-left: 1px solid transparent;
  background: #fff;
}
.wc-watch-sidebar--open {
  width: 380px;
  min-width: 380px;
  border-left-color: #e5e7eb;
}
.wc-watch-sidebar__inner {
  width: 380px;
  height: 100%;
  overflow-y: auto;
  padding: 20px 18px;
}

/* Sidebar toggle button */
.wc-watch-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 14px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.7);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.wc-watch-toggle:hover,
.wc-watch-toggle--active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

/* ── Sidebar Content ── */
.wc-watch-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: #111827;
  line-height: 1.4;
  font-family: Inter, sans-serif !important;
}
.wc-watch-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.wc-watch-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}
.wc-watch-pill--accent {
  background: #1f2937;
  color: #f9fafb;
}
.wc-watch-section {
  background: #f9fafb;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.wc-watch-section__heading {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
  margin-bottom: 8px;
}
.wc-watch-section__body {
  font-size: 0.85rem;
  line-height: 1.65;
  color: #374151;
}

/* Instructor card */
.wc-watch-instructor {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wc-watch-instructor__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c7d2fe, #a78bfa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
  margin-bottom: 0;
}
.wc-watch-instructor__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wc-watch-instructor__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
}
.wc-watch-instructor__bio {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.45;
  margin-top: 2px;
}

/* ── Video Player Overlays ── */
.wc-player-wrap {
  position: relative;
}
.wc-player-wrap--interactive { cursor: pointer; }

/* Countdown overlay */
.wc-player-countdown {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  z-index: 10;
  gap: 20px;
}
.wc-player-countdown__ring {
  position: relative;
  width: 120px;
  height: 120px;
}
.wc-player-countdown__ring svg {
  transform: rotate(-90deg);
}
.wc-player-countdown__number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.wc-player-countdown__text {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  font-weight: 500;
}
.wc-player-countdown__skip {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 8px 24px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.wc-player-countdown__skip:hover {
  background: rgba(255,255,255,0.2);
}

/* Play/pause button */
.wc-player-playpause {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 11;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.25s ease, background 0.2s;
}
.wc-player-playpause:hover {
  background: rgba(0,0,0,0.75);
}

/* Unmute button */
.wc-player-unmute {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Split-pane editor with live preview ── */
.wc-split-pane {
  display: flex;
  gap: 0;
  align-items: flex-start;
  margin: 0 -12px;
}
.wc-split-pane__editor {
  flex: 0 0 55%;
  max-width: 55%;
  padding: 0 12px;
  min-width: 0;
}
.wc-split-pane__preview {
  flex: 0 0 45%;
  max-width: 45%;
  padding: 0 12px 0 0;
}

/* Live preview panel */
.wc-live-preview {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 48px);
  position: sticky;
  align-self: flex-start;
}
.wc-live-preview__header {
  padding: 10px 16px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  color: #64646b;
  font-size: 0.8125rem;
}
.wc-live-preview__header i { font-size: 15px; }
.wc-live-preview__expand-btn {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 6px;
  background: #fff;
  color: #64646b;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 14px;
  padding: 0;
}
.wc-live-preview__expand-btn:hover {
  background: #f0f0f0;
  color: #1a1a1a;
  border-color: rgba(0,0,0,0.18);
}
.wc-live-preview__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}
/* ── Fullscreen preview overlay ── */
.wc-fs-preview {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
  backdrop-filter: blur(0px);
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.wc-fs-preview--visible {
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
}

.wc-fs-preview__panel {
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  max-width: 1600px;
  background: #fff;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.06);
  transform: scale(0.92) translateY(20px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}
.wc-fs-preview__panel--visible {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Toolbar */
.wc-fs-preview__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  background: #fafafa;
  flex-shrink: 0;
}
.wc-fs-preview__toolbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 140px;
}
.wc-fs-preview__toolbar-right {
  display: flex;
  align-items: center;
  min-width: 140px;
  justify-content: flex-end;
}

/* Device switcher */
.wc-fs-preview__device-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: #f0f0f0;
  border-radius: 8px;
  padding: 3px;
}
.wc-fs-preview__device-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #71717a;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.wc-fs-preview__device-btn i { font-size: 15px; }
.wc-fs-preview__device-btn:hover {
  color: #3f3f46;
}
.wc-fs-preview__device-btn--active {
  background: #fff;
  color: #18181b;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
}

/* Close button */
.wc-fs-preview__close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #18181b;
  color: #fff;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 18px;
  padding: 0;
}
.wc-fs-preview__close-btn:hover {
  background: #3f3f46;
  color: #fff;
}

/* Viewport */
.wc-fs-preview__viewport {
  flex: 1 1 auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  padding: 24px;
  background: #f0f0f0;
  transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.wc-fs-preview__viewport:has(.wc-fs-preview__device-frame--desktop) {
  padding: 0;
  background: #fff;
}

/* Device frame */
.wc-fs-preview__device-frame {
  transition: max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  width: 100%;
  height: 100%;
}
.wc-fs-preview__device-frame--desktop {
  max-width: 100%;
  border-radius: 0;
  box-shadow: none;
}
.wc-fs-preview__device-frame--tablet {
  max-width: 792px;
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.06);
  background: #1a1a1a;
}
.wc-fs-preview__device-frame--mobile {
  max-width: 399px;
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 2px 28px rgba(0,0,0,0.14), 0 0 0 1px rgba(0,0,0,0.06);
  background: #1a1a1a;
}

/* Iframe wrapper */
.wc-fs-preview__iframe-clip {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
}

/* Iframe */
.wc-fs-preview__iframe {
  position: absolute;
  inset: 0;
  border: none;
  background: #fff;
  display: block;
  width: 100%;
  height: 100%;
}

/* Width label */
.wc-fs-preview__device-label {
  font-size: 11px;
  color: #a1a1aa;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  margin-right: 8px;
}

/* Active section highlight in live preview — intentionally minimal to avoid layout issues */

/* Responsive: stack vertically on smaller screens */
@media (max-width: 1199px) {
  .wc-split-pane { flex-direction: column; margin: 0; }
  .wc-split-pane__editor { flex: 1 1 auto; max-width: 100%; padding: 0; }
  .wc-split-pane__preview { display: none; }
}

/* ── Getting Started Checklist ────────────────────────── */

.wc-gs {
  padding: 0 0 40px;
  animation: wcGsFadeIn 400ms ease both;
}
@keyframes wcGsFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Hero banner */
.wc-gs-hero {
  position: relative;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  border-radius: 16px;
  padding: 32px 32px 24px;
  margin-bottom: 20px;
  overflow: hidden;
  opacity: 0;
  animation: wcFadeUp 400ms ease forwards;
  animation-delay: 20ms;
}
.wc-gs-hero-glow {
  position: absolute;
  top: -60%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.wc-gs-hero-content {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.wc-gs-hero-text { flex: 1; }
.wc-gs-hero .wc-gs-hero-title,
.wc-gs-hero .wc-gs-hero-title:hover {
  font-family: 'Inter', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  line-height: var(--wc-leading-none);
}
.wc-gs-hero-subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  margin: 0;
  line-height: 1.5;
}
.wc-gs-dismiss-btn {
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 150ms ease, color 150ms ease;
}
.wc-gs-dismiss-btn:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

/* Trial banner */
.wc-gs-trial-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
}
.wc-gs-trial-banner--expired {
  background: rgba(239,68,68,0.15);
  border-color: rgba(239,68,68,0.25);
}
.wc-gs-trial-banner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}
.wc-gs-trial-banner--expired .wc-gs-trial-banner-icon {
  background: rgba(239,68,68,0.25);
  color: #fecaca;
}
.wc-gs-trial-banner-content {
  flex: 1;
  min-width: 0;
}
.wc-gs-trial-banner-content strong {
  display: block;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: var(--wc-leading-none);
}
.wc-gs-trial-banner-content p {
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  margin: 2px 0 0;
  line-height: 1.4;
}
.wc-gs-trial-banner .btn {
  flex-shrink: 0;
  white-space: nowrap;
}
.wc-gs-trial-banner .btn-outline-primary {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  background: transparent;
}
.wc-gs-trial-banner .btn-outline-primary:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.wc-gs-trial-banner .btn-primary {
  background: #fff;
  color: #6366f1;
  border-color: #fff;
  font-weight: 600;
}
.wc-gs-trial-banner .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.9);
}

/* Progress */
.wc-gs-progress {
  position: relative;
}
.wc-gs-progress-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.wc-gs-progress-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.wc-gs-progress-label i { font-size: 16px; }
.wc-gs-progress-pct {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.wc-gs-progress-track {
  height: 6px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 16px;
}
.wc-gs-progress-fill {
  height: 100%;
  background: #fff;
  border-radius: 3px;
  transition: width 600ms cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 0;
}
.wc-gs-progress-fill--done {
  background: linear-gradient(90deg, #4ade80, #22c55e);
}

/* Section dots */
.wc-gs-progress-dots {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.wc-gs-progress-dot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms ease;
  font-family: inherit;
}
.wc-gs-progress-dot i { font-size: 14px; }
.wc-gs-progress-dot:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.wc-gs-progress-dot--active {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  font-weight: 600;
}
.wc-gs-progress-dot--done {
  color: #4ade80;
}
.wc-gs-progress-dot--done.wc-gs-progress-dot--active {
  color: #4ade80;
}

/* Two-column layout */
.wc-gs-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
}
@media (max-width: 991px) {
  .wc-gs-grid {
    grid-template-columns: 1fr;
  }
}

/* Main checklist column */
.wc-gs-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Section card */
.wc-gs-section {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 200ms ease, border-color 200ms ease;
  opacity: 0;
  animation: wcFadeUp 380ms ease forwards;
}
.wc-gs-section:nth-child(1) { animation-delay: 80ms; }
.wc-gs-section:nth-child(2) { animation-delay: 140ms; }
.wc-gs-section:nth-child(3) { animation-delay: 200ms; }
.wc-gs-section:nth-child(4) { animation-delay: 260ms; }
.wc-gs-section:nth-child(5) { animation-delay: 320ms; }
.wc-gs-section:hover {
  border-color: rgba(0, 0, 0, 0.1);
}
.wc-gs-section--expanded {
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
}
.wc-gs-section--done {
  opacity: 0.7;
}
.wc-gs-section--done:hover {
  opacity: 0.85;
}

/* Section header */
.wc-gs-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  transition: background 120ms ease;
}
.wc-gs-section-header:hover {
  background: rgba(0,0,0,0.015);
}
.wc-gs-section-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}
.wc-gs-section-info {
  flex: 1;
  min-width: 0;
}
.wc-gs-section-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--wc-text, #1f2937);
  line-height: var(--wc-leading-none);
}
.wc-gs-section-subtitle {
  font-size: 0.8rem;
  color: var(--wc-muted, #9ca3af);
  margin-top: 1px;
}
.wc-gs-section-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.wc-gs-section-counter {
  font-size: 0.78rem;
  font-weight: 700;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
  padding: 3px 10px;
  border-radius: 10px;
  letter-spacing: 0.02em;
}
.wc-gs-section--done .wc-gs-section-counter {
  color: #16a34a;
  background: rgba(22, 163, 74, 0.1);
}
.wc-gs-section-chevron {
  font-size: 18px;
  color: var(--wc-muted, #9ca3af);
  transition: transform 200ms ease;
}

/* Section body (task list) */
.wc-gs-section-body {
  padding: 0 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Task */
.wc-gs-task {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 120ms ease;
}
.wc-gs-task:hover {
  background: rgba(0,0,0,0.02);
}
.wc-gs-task--done {
  opacity: 0.5;
}
.wc-gs-task--done:hover {
  opacity: 0.65;
}

/* Task icon */
.wc-gs-task-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--wc-surface, #f3f4f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--wc-text-secondary, #6b7280);
  flex-shrink: 0;
  transition: all 200ms ease;
}
.wc-gs-task-icon--done {
  background: rgba(22,163,74,0.1);
  color: #16a34a;
}

/* Task body */
.wc-gs-task-body {
  flex: 1;
  min-width: 0;
}
.wc-gs-task-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--wc-text, #1f2937);
  line-height: var(--wc-leading-none);
}
.wc-gs-task--done .wc-gs-task-title {
  text-decoration: line-through;
  color: var(--wc-muted, #9ca3af);
}
.wc-gs-task-desc {
  font-size: 0.8rem;
  color: var(--wc-text-secondary, #6b7280);
  margin-top: 1px;
  line-height: 1.4;
}

/* Task actions */
.wc-gs-task-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wc-gs-task-btn {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 6px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 150ms ease, transform 150ms ease;
  white-space: nowrap;
}
.wc-gs-task-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #fff !important;
  text-decoration: none;
}
.wc-gs-task-skip {
  background: none;
  border: none;
  padding: 5px 10px;
  font-size: 0.8rem;
  color: var(--wc-muted, #9ca3af);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  border-radius: 6px;
  transition: color 120ms ease, background 120ms ease;
}
.wc-gs-task-skip:hover {
  color: var(--wc-text-secondary, #6b7280);
  background: rgba(0,0,0,0.04);
}
.wc-gs-task-done {
  font-size: 0.8rem;
  font-weight: 500;
  color: #16a34a;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.wc-gs-task-done i { font-size: 14px; }

/* Sidebar */
.wc-gs-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* AI Creator card */
.wc-gs-ai-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 20px;
  opacity: 0;
  animation: wcFadeUp 380ms ease forwards;
  animation-delay: 100ms;
}
.wc-gs-ai-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--wc-text, #1f2937);
  margin-bottom: 6px;
}
.wc-gs-ai-header i {
  font-size: 18px;
  color: #a855f7;
}
.wc-gs-ai-desc {
  font-size: 0.82rem;
  color: var(--wc-text-secondary, #6b7280);
  margin: 0 0 14px;
  line-height: 1.4;
}
.wc-gs-ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.wc-gs-ai-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--wc-border, #e5e7eb);
  background: var(--wc-bg, #fff);
  text-decoration: none;
  color: var(--wc-text, #1f2937);
  font-size: 0.8rem;
  font-weight: 500;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
  opacity: 0;
  animation: wcFadeUp 340ms ease forwards;
}
.wc-gs-ai-item:nth-child(1) { animation-delay: 160ms; }
.wc-gs-ai-item:nth-child(2) { animation-delay: 200ms; }
.wc-gs-ai-item:nth-child(3) { animation-delay: 240ms; }
.wc-gs-ai-item:nth-child(4) { animation-delay: 280ms; }
.wc-gs-ai-item:nth-child(5) { animation-delay: 320ms; }
.wc-gs-ai-item:nth-child(6) { animation-delay: 360ms; }
.wc-gs-ai-item:hover {
  border-color: var(--wc-border-strong, #d1d5db);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transform: translateY(-1px);
  color: var(--wc-text, #1f2937);
  text-decoration: none;
}
.wc-gs-ai-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}

/* Quick links card */
.wc-gs-links-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 20px;
  opacity: 0;
  animation: wcFadeUp 380ms ease forwards;
  animation-delay: 180ms;
}
.wc-gs-links-card:nth-child(2) { animation-delay: 240ms; }
.wc-gs-links-card:nth-child(3) { animation-delay: 300ms; }
.wc-gs-links-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--wc-text, #1f2937);
  margin-bottom: 12px;
}
.wc-gs-quick-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  text-decoration: none;
  color: var(--wc-text, #1f2937);
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid var(--wc-border, #e5e7eb);
  transition: color 120ms ease;
}
.wc-gs-quick-link:last-child {
  border-bottom: none;
}
.wc-gs-quick-link:hover {
  color: #6366f1;
  text-decoration: none;
}
.wc-gs-quick-link > i:first-child {
  font-size: 16px;
  color: var(--wc-muted, #9ca3af);
  width: 20px;
  text-align: center;
}
.wc-gs-quick-link > span {
  flex: 1;
}
.wc-gs-quick-link-arrow {
  font-size: 16px;
  color: var(--wc-muted, #9ca3af);
  transition: transform 150ms ease;
}
.wc-gs-quick-link:hover .wc-gs-quick-link-arrow {
  transform: translateX(2px);
  color: #6366f1;
}

/* Dismissed state */
/* Celebration banner */
.wc-gs-celebration {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(52,211,153,0.1));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
}
.wc-gs-celebration-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(16,185,129,0.2);
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}
.wc-gs-celebration-content {
  flex: 1;
  min-width: 0;
}
.wc-gs-celebration-content strong {
  display: block;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: var(--wc-leading-none);
}
.wc-gs-celebration-content p {
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  margin: 2px 0 0;
  line-height: 1.4;
}
.wc-gs-celebration .btn {
  flex-shrink: 0;
  white-space: nowrap;
  background: #fff;
  color: #10b981;
  border-color: #fff;
  font-weight: 600;
}

/* Task time estimate */
.wc-gs-task-estimate {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 10px;
  background: rgba(139,92,246,0.08);
  color: #7c3aed;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  vertical-align: middle;
}

/* Help description */
.wc-gs-help-desc {
  font-size: 0.8rem;
  color: var(--wc-text-secondary, #6b7280);
  margin: 0 0 10px;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 767px) {
  .wc-gs-hero {
    padding: 24px 20px 20px;
    border-radius: 12px;
  }
  .wc-gs-hero-title { font-size: 1.3rem; }
  .wc-gs-progress-dots { gap: 3px; }
  .wc-gs-progress-dot span { display: none; }
  .wc-gs-progress-dot { padding: 6px 8px; }
  .wc-gs-section-header { padding: 14px 16px; }
  .wc-gs-section-body { padding: 0 16px 14px; }
  .wc-gs-task { flex-wrap: wrap; }
  .wc-gs-task-actions { width: 100%; padding-left: 44px; }
  .wc-gs-ai-grid { grid-template-columns: 1fr; }
  .wc-gs-trial-banner { flex-wrap: wrap; gap: 10px; padding: 12px 14px; }
  .wc-gs-trial-banner .btn { width: 100%; text-align: center; }
}

/* ── Custom Domain ───────────────────────────────────── */
.wc-domain-url-display {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--wc-surface);
  border-radius: var(--wc-radius-sm);
  font-size: var(--wc-text-base);
  font-weight: 500;
  color: var(--wc-text);
  font-family: var(--wc-font-ui);
}
.wc-domain-url-display > i {
  font-size: 16px;
  color: var(--wc-muted);
}
.wc-domain-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  margin-left: auto;
}
.wc-domain-badge--verified {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}
.wc-domain-badge--configured {
  background: rgba(234, 88, 12, 0.1);
  color: #ea580c;
}
.wc-domain-badge--pending {
  background: rgba(0, 0, 0, 0.06);
  color: var(--wc-muted);
}

.wc-domain-steps-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.wc-domain-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.wc-domain-step:first-child {
  padding-top: 0;
}
.wc-domain-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.wc-domain-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 1px;
}
.wc-domain-step-content {
  flex: 1 1 auto;
  min-width: 0;
}
.wc-domain-step-content > strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--wc-text, #1f2937);
  line-height: 1.3;
}
.wc-domain-step-content .text-muted {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--wc-text-secondary, #6b7280);
}

/* Help details toggle */
.wc-domain-help-details {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 14px;
}
.wc-domain-help-details > summary {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wc-text-secondary, #6b7280);
  cursor: pointer;
  list-style: none;
}
.wc-domain-help-details > summary::-webkit-details-marker {
  display: none;
}
.wc-domain-help-details > summary::before {
  content: "\ea6e"; /* ri-arrow-right-s-line */
  font-family: "remixicon" !important;
  font-size: 16px;
  transition: transform 150ms ease;
  margin-right: 2px;
}
.wc-domain-help-details[open] > summary::before {
  transform: rotate(90deg);
}
.wc-domain-help-details__body {
  margin-top: 12px;
  padding-left: 4px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--wc-text-secondary, #6b7280);
}

/* DNS records table */
.wc-domain-dns-table {
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius-sm);
  overflow: hidden;
}
.wc-domain-dns-header,
.wc-domain-dns-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr 36px;
  gap: 0;
}
.wc-domain-dns-header {
  background: var(--wc-surface);
  border-bottom: 1px solid var(--wc-border);
}
.wc-domain-dns-header > span {
  padding: 8px 12px;
  font-size: var(--wc-text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--wc-tracking-wide);
  color: var(--wc-muted);
}
.wc-domain-dns-row {
  border-bottom: 1px solid var(--wc-border);
}
.wc-domain-dns-row:last-child {
  border-bottom: none;
}
.wc-domain-dns-row > span {
  padding: 10px 12px;
  font-size: var(--wc-text-sm);
  color: var(--wc-text);
  word-break: break-all;
}
.wc-domain-dns-type {
  font-weight: 600;
}
.wc-domain-dns-mono {
  font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
  font-size: 0.78rem !important;
}

/* Copy button */
.wc-domain-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--wc-border, #ddd);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  color: #888;
  font-size: 13px;
  padding: 0;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.wc-domain-copy-btn:hover {
  background: #f5f5f4;
  color: #333;
  border-color: #ccc;
}

/* DNS diagnostics */
.wc-domain-diag {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 12px;
  padding: 18px 20px;
}
.wc-domain-diag > .fw-semibold {
  font-size: 0.9rem;
  color: #dc2626;
}

/* Setup guide */
.wc-domain-setup-guide {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 20px 22px;
}
.wc-domain-setup-guide__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.wc-domain-setup-guide__title-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  flex-shrink: 0;
}
.wc-domain-setup-guide__title-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--wc-text, #1f2937);
}
.wc-domain-steps {
  margin: 0;
  padding-left: 18px;
  font-size: var(--wc-text-sm, 13px);
  color: var(--wc-text, #333);
  line-height: 1.7;
}
.wc-domain-steps li {
  margin-bottom: 6px;
}
.wc-domain-steps li:last-child {
  margin-bottom: 0;
}
.wc-domain-steps code {
  background: #fff;
  border: 1px solid var(--wc-border, #e8e8ec);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.78rem;
  font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
  color: #1a1a1a;
  user-select: all;
}

/* ── Settings page sections ── */
.wc-settings-section {
  margin-bottom: 2rem;
}
.wc-settings-section:first-child {
  margin-top: 0;
}
.wc-settings-section__header {
  margin-bottom: 0.75rem;
}
.wc-settings-section__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.125rem;
}
.wc-settings-section__desc {
  font-size: var(--wc-text-sm);
  color: var(--wc-muted);
  margin-bottom: 0;
}
.wc-cms .wc-section-card > .card-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--wc-border);
}
.wc-btn-manage:hover {
  color: #fff !important;
}

/* Dashboard analytics accordions */
/* Settings nav grid */
.wc-settings-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 1024px) {
  .wc-settings-nav-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .wc-settings-nav-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}

/* Settings nav cards */
.wc-settings-nav-card {
  opacity: 0;
  animation: wcFadeUp 340ms ease forwards;
}
.wc-settings-nav-card:nth-child(1)  { animation-delay: 40ms; }
.wc-settings-nav-card:nth-child(2)  { animation-delay: 70ms; }
.wc-settings-nav-card:nth-child(3)  { animation-delay: 100ms; }
.wc-settings-nav-card:nth-child(4)  { animation-delay: 130ms; }
.wc-settings-nav-card:nth-child(5)  { animation-delay: 160ms; }
.wc-settings-nav-card:nth-child(6)  { animation-delay: 190ms; }
.wc-settings-nav-card:nth-child(7)  { animation-delay: 220ms; }
.wc-settings-nav-card:nth-child(8)  { animation-delay: 250ms; }
.wc-settings-nav-card:nth-child(9)  { animation-delay: 280ms; }
.wc-settings-nav-card:nth-child(10) { animation-delay: 310ms; }
.wc-settings-nav-card:nth-child(11) { animation-delay: 340ms; }
.wc-settings-nav-card:nth-child(12) { animation-delay: 370ms; }
.wc-settings-nav-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transform: translateY(-1px);
}

.wc-dash-accordion {
  border-bottom: 1px solid var(--wc-border, #e5e7eb);
}
.wc-dash-accordion:last-child {
  border-bottom: none;
}
.wc-dash-accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
}
.wc-dash-accordion__header::-webkit-details-marker {
  display: none;
}
.wc-dash-accordion__header:hover {
  background: rgba(0, 0, 0, 0.02);
}
.wc-dash-accordion__chevron {
  font-size: 18px;
  color: var(--wc-muted, #6b7280);
  transition: transform 0.2s ease;
}
details[open] > .wc-dash-accordion__header .wc-dash-accordion__chevron {
  transform: rotate(90deg);
}
.wc-dash-accordion__count {
  font-size: 11px;
  font-weight: 600;
  color: #7c3aed;
  background: rgba(139, 92, 246, 0.08);
  border-radius: 10px;
  padding: 1px 8px;
  line-height: 1.4;
}
.wc-dash-accordion__body {
  padding: 0 20px 16px 20px;
}

/* ═══════════════════════════════════════════════════════════════════
   AI Content Creator
   ═══════════════════════════════════════════════════════════════════ */

.wc-aic {
  --aic-purple: #8b5cf6;
  --aic-purple-light: #a78bfa;
  --aic-purple-dark: #7c3aed;
  --aic-purple-glow: rgba(139, 92, 246, 0.15);
  --aic-purple-glow-strong: rgba(139, 92, 246, 0.25);
  --aic-surface: #ffffff;
  --aic-surface-2: #faf9fb;
  --aic-border: rgba(139, 92, 246, 0.12);
  --aic-border-subtle: rgba(0, 0, 0, 0.06);
  --aic-radius: 14px;
  --aic-radius-sm: 10px;
  --aic-radius-xs: 8px;
}

/* ── Navigation tabs (shared) ───────────────────────────────────── */

.wc-aic-nav-tabs {
  display: flex;
  background: var(--aic-surface);
  border: 1px solid var(--aic-border-subtle);
  border-radius: 12px;
  padding: 4px;
  gap: 2px;
}

.wc-aic-nav-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--wc-text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wc-aic-nav-tab:hover {
  background: var(--aic-surface-2);
  color: var(--wc-text);
}

.wc-aic-nav-tab--active {
  background: var(--aic-purple);
  color: #fff;
  box-shadow: 0 2px 8px var(--aic-purple-glow-strong);
}

.wc-aic-nav-tab--active:hover {
  background: var(--aic-purple-dark);
  color: #fff;
}

.wc-aic-nav-tab i {
  font-size: 15px;
}

.wc-aic-btn-new {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--aic-border-subtle);
  border-radius: 10px;
  background: var(--aic-surface);
  color: var(--wc-text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wc-aic-btn-new:hover {
  border-color: var(--aic-purple-light);
  box-shadow: 0 0 0 3px var(--aic-purple-glow);
}

/* ── Compact header (generation / history view) ────────────────── */

.wc-aic-compact-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 16px 24px;
  background: var(--aic-surface);
  border: 1px solid var(--aic-border-subtle);
  border-radius: var(--aic-radius);
}

.wc-aic-compact-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wc-aic-compact-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--aic-purple) 0%, var(--aic-purple-light) 100%);
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}

.wc-aic-compact-title {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--wc-text);
  margin: 0;
  letter-spacing: -0.2px;
}

.wc-aic-compact-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Hero section ───────────────────────────────────────────────── */

.wc-aic-hero {
  position: relative;
  background: var(--aic-surface);
  border: 1px solid var(--aic-border-subtle);
  border-radius: var(--aic-radius);
  padding: 24px 24px 24px;
  overflow: hidden;
}

.wc-aic-hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, var(--aic-purple-glow-strong) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.7;
}

.wc-aic-hero-inner {
  position: relative;
  z-index: 1;
}

.wc-aic-hero-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
}

.wc-aic-hero-actions {
  flex-shrink: 0;
}

.wc-aic-hero .wc-aic-hero-title {
  font-family: 'Inter', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--wc-text);
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}

.wc-aic-hero-subtitle {
  font-size: 14px;
  color: var(--wc-text-secondary);
  margin: 0;
  max-width: 520px;
  line-height: 1.5;
}

/* ── Content Type Selector ──────────────────────────────────────── */

.wc-aic-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.wc-aic-type-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  border: 1.5px solid var(--aic-border-subtle);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  opacity: 0;
  animation: wcFadeUp 340ms ease forwards;
}
.wc-aic-type-card:nth-child(1) { animation-delay: 40ms; }
.wc-aic-type-card:nth-child(2) { animation-delay: 80ms; }
.wc-aic-type-card:nth-child(3) { animation-delay: 120ms; }
.wc-aic-type-card:nth-child(4) { animation-delay: 160ms; }
.wc-aic-type-card:nth-child(5) { animation-delay: 200ms; }
.wc-aic-type-card:nth-child(6) { animation-delay: 240ms; }

.wc-aic-type-card:hover {
  border-color: var(--aic-purple-light);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 6px 20px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.wc-aic-type-card--active {
  border-color: var(--aic-purple);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(139, 92, 246, 0.02) 100%);
  box-shadow: 0 0 0 3px var(--aic-purple-glow), 0 4px 16px rgba(139, 92, 246, 0.08);
}

.wc-aic-type-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
}

.wc-aic-type-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--wc-text);
  margin-bottom: 4px;
  line-height: var(--wc-leading-none);
}

.wc-aic-type-desc {
  font-size: 0.82rem;
  color: var(--wc-text-secondary);
  line-height: 1.45;
}

@media (max-width: 991px) {
  .wc-aic-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .wc-aic-type-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .wc-aic-type-card {
    padding: 16px;
  }
  .wc-aic-type-icon {
    width: 38px;
    height: 38px;
    font-size: 18px;
    margin-bottom: 10px;
  }
  .wc-aic-type-label {
    font-size: 0.88rem;
  }
  .wc-aic-type-desc {
    font-size: 0.78rem;
  }
  .wc-aic-hero {
    padding: 28px 20px 24px;
  }
  .wc-aic-hero-header {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
  }
  .wc-aic-hero-title {
    font-size: 22px;
  }
  .wc-aic-compact-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 18px;
  }
  .wc-aic-compact-right {
    width: 100%;
    justify-content: space-between;
  }
}

/* ── Prompt Input ───────────────────────────────────────────────── */

.wc-aic-prompt-area {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--aic-border-subtle);
}

.wc-aic-prompt-wrapper {
  border: 1.5px solid var(--aic-border-subtle);
  border-radius: var(--aic-radius-sm);
  background: var(--aic-surface);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.wc-aic-prompt-wrapper:focus-within {
  border-color: var(--aic-purple-light);
  box-shadow: 0 0 0 3px var(--aic-purple-glow);
}

.wc-aic-prompt-input {
  width: 100%;
  border: none;
  outline: none;
  padding: 16px 16px 8px;
  font-size: 14px;
  line-height: 1.5;
  resize: none;
  background: transparent;
  color: var(--wc-text);
  font-family: var(--wc-font-ui);
}

.wc-aic-prompt-input::placeholder {
  color: var(--wc-muted);
}

.wc-aic-prompt-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-top: 1px solid var(--aic-border-subtle);
  background: var(--aic-surface-2);
}

.wc-aic-prompt-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wc-aic-prompt-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border: 1px solid var(--aic-border-subtle);
  border-radius: 6px;
  background: transparent;
  color: var(--wc-text-secondary);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
}

.wc-aic-prompt-toggle:hover,
.wc-aic-prompt-toggle--active {
  border-color: var(--aic-purple-light);
  color: var(--aic-purple);
  background: rgba(139, 92, 246, 0.06);
}

.wc-aic-prompt-count {
  font-size: 11px;
  color: var(--wc-muted);
}

.wc-aic-btn-generate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border: none;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--aic-purple) 0%, var(--aic-purple-dark) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px var(--aic-purple-glow-strong);
}

.wc-aic-btn-generate:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--aic-purple-glow-strong);
}

.wc-aic-btn-generate:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wc-aic-tone-input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px solid var(--aic-border-subtle);
  border-radius: var(--aic-radius-xs);
  background: var(--aic-surface);
}

.wc-aic-tone-input i {
  color: var(--aic-purple);
  font-size: 15px;
  flex-shrink: 0;
}

.wc-aic-tone-input input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13px;
  background: transparent;
  color: var(--wc-text);
}

.wc-aic-tone-input input::placeholder {
  color: var(--wc-muted);
}

.wc-aic-prompt-hint {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 11px;
  color: var(--wc-muted);
}

.wc-aic-prompt-hint kbd {
  display: inline-block;
  padding: 1px 5px;
  font-size: 10px;
  font-family: var(--wc-font-ui);
  background: var(--aic-surface-2);
  border: 1px solid var(--aic-border-subtle);
  border-radius: 4px;
  color: var(--wc-text-secondary);
}

/* ── Loading State ──────────────────────────────────────────────── */

.wc-aic-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: var(--aic-surface);
  border: 1px solid var(--aic-border-subtle);
  border-radius: var(--aic-radius);
}

.wc-aic-loading-orb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aic-purple) 0%, var(--aic-purple-light) 100%);
  box-shadow: 0 0 30px var(--aic-purple-glow-strong), 0 0 60px var(--aic-purple-glow);
  animation: wc-aic-pulse 1.8s ease-in-out infinite;
  margin-bottom: 20px;
}

.wc-aic-loading-orb--sm {
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
}

@keyframes wc-aic-pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.15); opacity: 1; }
}

.wc-aic-loading-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--wc-text);
  margin-bottom: 4px;
}

.wc-aic-loading-sub {
  font-size: 12px;
  color: var(--wc-muted);
}

/* ── Error ──────────────────────────────────────────────────────── */

.wc-aic-error {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  background: var(--wc-danger-bg);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: var(--aic-radius-xs);
  color: var(--wc-danger);
  font-size: 13px;
}

.wc-aic-error button {
  margin-left: auto;
  border: none;
  background: transparent;
  color: var(--wc-danger);
  cursor: pointer;
  padding: 2px;
  font-size: 16px;
  opacity: 0.6;
}

.wc-aic-error button:hover {
  opacity: 1;
}

/* ── Results Layout ─────────────────────────────────────────────── */

.wc-aic-results {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
}

.wc-aic-results-main {
  min-width: 0;
}

.wc-aic-results-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 20px;
}

@media (max-width: 1024px) {
  .wc-aic-results {
    grid-template-columns: 1fr;
  }
  .wc-aic-results-sidebar {
    position: static;
  }
}

/* ── Sidebar Cards ──────────────────────────────────────────────── */

.wc-aic-context-card {
  background: linear-gradient(135deg, var(--aic-purple) 0%, var(--aic-purple-dark) 100%);
  border-radius: var(--aic-radius-sm);
  padding: 18px;
  color: #fff;
  box-shadow: 0 4px 20px var(--aic-purple-glow-strong);
}

.wc-aic-context-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
  margin-bottom: 8px;
}

.wc-aic-context-header i {
  font-size: 13px;
}

.wc-aic-context-title {
  font-size: 16px;
  font-weight: 600;
  line-height: var(--wc-leading-none);
  margin-bottom: 10px;
}

.wc-aic-context-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  opacity: 0.8;
}

.wc-aic-type-pill {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  text-transform: capitalize;
}

.wc-aic-sidebar-card {
  background: var(--aic-surface);
  border: 1px solid var(--aic-border-subtle);
  border-radius: var(--aic-radius-sm);
  padding: 16px;
}

.wc-aic-sidebar-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--wc-muted);
  margin-bottom: 8px;
}

.wc-aic-sidebar-prompt {
  font-size: 13px;
  color: var(--wc-text);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wc-aic-btn-regen {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px;
  border: 1.5px solid var(--aic-border);
  border-radius: var(--aic-radius-xs);
  background: transparent;
  color: var(--aic-purple);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.wc-aic-btn-regen:hover:not(:disabled) {
  background: rgba(139, 92, 246, 0.06);
  border-color: var(--aic-purple-light);
}

.wc-aic-btn-regen:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ── Suggestions ────────────────────────────────────────────────── */

.wc-aic-suggestions {
  background: var(--aic-surface);
  border: 1px solid var(--aic-border-subtle);
  border-radius: var(--aic-radius-sm);
  overflow: hidden;
}

.wc-aic-suggestions-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--wc-muted);
}

.wc-aic-suggestions-header i {
  color: var(--aic-purple);
  font-size: 15px;
}

.wc-aic-suggestions-list {
  padding: 0 8px 8px;
}

.wc-aic-suggestion {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 10px;
  border: none;
  border-radius: var(--aic-radius-xs);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
}

.wc-aic-suggestion:hover:not(:disabled) {
  background: var(--aic-surface-2);
}

.wc-aic-suggestion:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.wc-aic-suggestion-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.08);
  color: var(--aic-purple);
  font-size: 15px;
  flex-shrink: 0;
}

.wc-aic-suggestion-body {
  flex: 1;
  min-width: 0;
}

.wc-aic-suggestion-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--wc-text);
}

.wc-aic-suggestion-desc {
  font-size: 11px;
  color: var(--wc-muted);
  line-height: var(--wc-leading-none);
}

.wc-aic-suggestion-arrow {
  color: var(--wc-muted);
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.15s, transform 0.15s;
}

.wc-aic-suggestion:hover .wc-aic-suggestion-arrow {
  opacity: 1;
  transform: translateX(2px);
}

/* ── Output View ────────────────────────────────────────────────── */

.wc-aic-output {
  background: var(--aic-surface);
  border: 1px solid var(--aic-border-subtle);
  border-radius: var(--aic-radius);
  overflow: hidden;
}

.wc-aic-output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--aic-border-subtle);
  background: var(--aic-surface-2);
}

.wc-aic-version-tabs {
  display: flex;
  gap: 4px;
}

.wc-aic-version-tab {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--wc-text-secondary);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.wc-aic-version-tab:hover {
  background: var(--aic-surface);
  border-color: var(--aic-border-subtle);
}

.wc-aic-version-tab--active {
  background: var(--aic-surface);
  border-color: var(--aic-purple-light);
  color: var(--aic-purple);
  box-shadow: 0 0 0 2px var(--aic-purple-glow);
}

.wc-aic-version-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
}

.wc-aic-version-tab--active .wc-aic-version-dot {
  background: var(--aic-purple);
  opacity: 1;
}

.wc-aic-version-type {
  font-size: 10px;
  opacity: 0.7;
}

.wc-aic-output-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(139, 92, 246, 0.08);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--aic-purple);
  text-transform: capitalize;
}

.wc-aic-output-content {
  padding: 28px 24px;
  min-height: 200px;
}

.wc-aic-output-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

/* ── Output Content Styles ──────────────────────────────────────── */

.wc-aic-output-raw {
  white-space: pre-wrap;
  font-size: 13px;
  margin: 0;
  color: var(--wc-text);
}

.wc-aic-output-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--wc-text);
  margin: 0 0 12px;
  letter-spacing: -0.2px;
}

.wc-aic-output-excerpt {
  font-size: 14px;
  color: var(--wc-text-secondary);
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 20px;
  padding-left: 14px;
  border-left: 3px solid var(--aic-purple-light);
}

.wc-aic-output-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--wc-text);
}

.wc-aic-output-body h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 8px;
}

.wc-aic-output-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 20px 0 6px;
}

.wc-aic-output-body p {
  margin: 0 0 12px;
}

.wc-aic-output-body ul, .wc-aic-output-body ol {
  margin: 0 0 12px;
  padding-left: 20px;
}

.wc-aic-output-body li {
  margin-bottom: 4px;
}

/* Social posts */
.wc-aic-output-posts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wc-aic-output-post {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--aic-surface-2);
  border-radius: var(--aic-radius-sm);
  border: 1px solid var(--aic-border-subtle);
}

.wc-aic-output-post-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--aic-purple) 0%, var(--aic-purple-light) 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.wc-aic-output-post-body {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: var(--wc-text);
}

.wc-aic-output-hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.wc-aic-hashtag {
  font-size: 12px;
  color: var(--aic-purple);
  font-weight: 500;
}

/* Tags */
.wc-aic-output-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--aic-border-subtle);
}

.wc-aic-tag {
  padding: 3px 10px;
  background: var(--aic-surface-2);
  border: 1px solid var(--aic-border-subtle);
  border-radius: 5px;
  font-size: 12px;
  color: var(--wc-text-secondary);
}

/* SEO preview */
.wc-aic-output-seo {
  margin-top: 20px;
  padding: 14px;
  background: var(--aic-surface-2);
  border-radius: var(--aic-radius-xs);
  border: 1px solid var(--aic-border-subtle);
}

.wc-aic-output-seo-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--wc-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.wc-aic-seo-title {
  font-size: 16px;
  font-weight: 500;
  color: #1a0dab;
  margin-bottom: 2px;
}

.wc-aic-seo-desc {
  font-size: 13px;
  color: #545454;
  line-height: 1.4;
}

/* Meta chips (class details) */
.wc-aic-output-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--aic-border-subtle);
}

.wc-aic-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: var(--aic-surface-2);
  border: 1px solid var(--aic-border-subtle);
  border-radius: 6px;
  font-size: 12px;
  color: var(--wc-text-secondary);
  text-transform: capitalize;
}

.wc-aic-meta-chip i {
  font-size: 13px;
  color: var(--aic-purple);
}

/* Course modules */
.wc-aic-module {
  margin-top: 20px;
  border: 1px solid var(--aic-border-subtle);
  border-radius: var(--aic-radius-sm);
  overflow: hidden;
}

.wc-aic-module-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--aic-surface-2);
  border-bottom: 1px solid var(--aic-border-subtle);
}

.wc-aic-module-num {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--aic-purple) 0%, var(--aic-purple-light) 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.wc-aic-module-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--wc-text);
}

.wc-aic-lessons {
  padding: 4px 0;
}

.wc-aic-lesson {
  display: flex;
  gap: 10px;
  padding: 10px 16px;
  transition: background 0.1s;
}

.wc-aic-lesson:hover {
  background: var(--aic-surface-2);
}

.wc-aic-lesson > i {
  color: var(--aic-purple-light);
  font-size: 16px;
  margin-top: 1px;
  flex-shrink: 0;
}

.wc-aic-lesson-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--wc-text);
}

.wc-aic-lesson-desc {
  font-size: 12px;
  color: var(--wc-muted);
  margin-top: 2px;
  line-height: 1.4;
}

/* Content series */
.wc-aic-series-parts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.wc-aic-series-part {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--aic-surface-2);
  border: 1px solid var(--aic-border-subtle);
  border-radius: var(--aic-radius-sm);
}

.wc-aic-series-part-num {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--aic-purple) 0%, var(--aic-purple-light) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.wc-aic-series-part-body {
  flex: 1;
  min-width: 0;
}

.wc-aic-series-part-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.wc-aic-series-part-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--wc-text);
}

.wc-aic-series-part-summary {
  font-size: 13px;
  color: var(--wc-text-secondary);
  line-height: 1.5;
}

.wc-aic-series-part-outline {
  font-size: 12px;
  color: var(--wc-muted);
  margin-top: 6px;
  line-height: 1.4;
}

/* ── Output Actions ─────────────────────────────────────────────── */

.wc-aic-output-actions {
  padding: 16px 20px;
  border-top: 1px solid var(--aic-border-subtle);
  background: var(--aic-surface-2);
}

.wc-aic-btn-save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border: none;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--aic-purple) 0%, var(--aic-purple-dark) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px var(--aic-purple-glow-strong);
}

.wc-aic-btn-save:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--aic-purple-glow-strong);
}

.wc-aic-btn-save:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wc-aic-save-success {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wc-aic-save-success-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
}

.wc-aic-save-success-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--wc-text);
}

.wc-aic-save-success-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--aic-purple);
  text-decoration: none;
  font-weight: 500;
}

.wc-aic-save-success-link:hover {
  text-decoration: underline;
}

/* ── History Panel ──────────────────────────────────────────────── */

.wc-aic-history-filters {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.wc-aic-history-filter {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border: 1px solid var(--aic-border-subtle);
  border-radius: 8px;
  background: var(--aic-surface);
  color: var(--wc-text-secondary);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.wc-aic-history-filter:hover {
  border-color: var(--aic-purple-light);
  color: var(--aic-purple);
}

.wc-aic-history-filter--active {
  background: var(--aic-purple);
  border-color: var(--aic-purple);
  color: #fff;
  box-shadow: 0 2px 8px var(--aic-purple-glow-strong);
}

.wc-aic-history-filter--active:hover {
  color: #fff;
}

.wc-aic-history-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.wc-aic-history-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: var(--aic-surface);
  border: 1px solid var(--aic-border-subtle);
  border-radius: var(--aic-radius);
}

.wc-aic-history-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(139, 92, 246, 0.06) 100%);
  color: var(--aic-purple);
  font-size: 24px;
  margin-bottom: 16px;
}

.wc-aic-history-empty-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--wc-text);
  margin-bottom: 6px;
}

.wc-aic-history-empty-desc {
  font-size: 13px;
  color: var(--wc-muted);
  text-align: center;
  line-height: 1.5;
}

.wc-aic-history-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wc-aic-history-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--aic-border-subtle);
  border-radius: var(--aic-radius-sm);
  background: var(--aic-surface);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
}

.wc-aic-history-item:hover {
  border-color: var(--aic-purple-light);
  box-shadow: 0 0 0 3px var(--aic-purple-glow), 0 2px 8px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}

.wc-aic-history-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.08);
  color: var(--aic-purple);
  font-size: 16px;
  flex-shrink: 0;
}

.wc-aic-history-item-body {
  flex: 1;
  min-width: 0;
}

.wc-aic-history-item-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--wc-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wc-aic-history-item-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--wc-muted);
  margin-top: 2px;
}

.wc-aic-history-item-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

.wc-aic-history-item-status {
  flex-shrink: 0;
}

.wc-aic-status-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wc-muted);
}

.wc-aic-status-dot--draft {
  background: #f59e0b;
}

.wc-aic-status-dot--saved {
  background: #22c55e;
}

.wc-aic-status-dot--archived {
  background: #9ca3af;
}

.wc-aic-history-item-arrow {
  color: var(--wc-muted);
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.15s, transform 0.15s;
  flex-shrink: 0;
}

.wc-aic-history-item:hover .wc-aic-history-item-arrow {
  opacity: 1;
  transform: translateX(2px);
}

/* ── Template Starters ──────────────────────────────────────────── */

.wc-aic-templates {
  margin-bottom: 16px;
}

.wc-aic-templates-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--wc-muted);
  margin-bottom: 10px;
}

.wc-aic-templates-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wc-aic-template-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1.5px solid var(--aic-border-subtle);
  border-radius: var(--aic-radius-xs);
  background: var(--aic-surface);
  color: var(--wc-text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.wc-aic-template-card:hover {
  border-color: var(--aic-purple-light);
  background: rgba(139, 92, 246, 0.04);
  box-shadow: 0 0 0 3px var(--aic-purple-glow);
}

.wc-aic-template-card i {
  color: var(--aic-purple);
  font-size: 15px;
}

.wc-aic-templates-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 4px;
  font-size: 11px;
  color: var(--wc-muted);
}

.wc-aic-templates-divider::before,
.wc-aic-templates-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--aic-border-subtle);
}

/* ── Refine Input ───────────────────────────────────────────────── */

.wc-aic-refine {
  margin-top: 14px;
  border: 1px solid var(--aic-border-subtle);
  border-radius: var(--aic-radius-sm);
  background: var(--aic-surface);
  overflow: hidden;
}

.wc-aic-refine-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: transparent;
  color: var(--wc-text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s;
}

.wc-aic-refine-toggle:hover {
  color: var(--aic-purple);
}

.wc-aic-refine-toggle--open {
  color: var(--aic-purple);
  border-bottom: 1px solid var(--aic-border-subtle);
}

.wc-aic-refine-body {
  padding: 14px 16px;
}

.wc-aic-refine-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.wc-aic-refine-chip {
  padding: 5px 12px;
  border: 1px solid var(--aic-border-subtle);
  border-radius: 20px;
  background: transparent;
  color: var(--wc-text-secondary);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.wc-aic-refine-chip:hover:not(:disabled) {
  border-color: var(--aic-purple-light);
  color: var(--aic-purple);
  background: rgba(139, 92, 246, 0.04);
}

.wc-aic-refine-chip:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.wc-aic-refine-input-wrap {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.wc-aic-refine-textarea {
  flex: 1;
  border: 1px solid var(--aic-border-subtle);
  border-radius: var(--aic-radius-xs);
  padding: 10px 12px;
  font-size: 13px;
  resize: none;
  outline: none;
  font-family: var(--wc-font-ui);
  color: var(--wc-text);
  transition: border-color 0.2s;
}

.wc-aic-refine-textarea:focus {
  border-color: var(--aic-purple-light);
  box-shadow: 0 0 0 3px var(--aic-purple-glow);
}

.wc-aic-btn-refine {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  border: none;
  border-radius: var(--aic-radius-xs);
  background: linear-gradient(135deg, var(--aic-purple) 0%, var(--aic-purple-dark) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 2px 8px var(--aic-purple-glow-strong);
}

.wc-aic-btn-refine:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--aic-purple-glow-strong);
}

.wc-aic-btn-refine:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── Copy Button ────────────────────────────────────────────────── */

.wc-aic-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border: 1px solid var(--aic-border-subtle);
  border-radius: 6px;
  background: var(--aic-surface);
  color: var(--wc-text-secondary);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  margin-top: 8px;
}

.wc-aic-copy-btn:hover {
  border-color: var(--aic-purple-light);
  color: var(--aic-purple);
}

/* ── Inline Editable Fields ─────────────────────────────────────── */

.wc-aic-editable {
  position: relative;
  cursor: text;
  padding: 4px 6px;
  margin: -4px -6px;
  border-radius: 6px;
  transition: background 0.15s;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.wc-aic-editable:hover {
  background: rgba(139, 92, 246, 0.06);
}

.wc-aic-editable-icon {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 12px;
  color: var(--aic-purple);
  opacity: 0;
  transition: opacity 0.15s;
}

.wc-aic-editable:hover .wc-aic-editable-icon {
  opacity: 1;
}

.wc-aic-edited-badge {
  display: inline-block;
  padding: 1px 6px;
  margin-left: 6px;
  background: rgba(139, 92, 246, 0.12);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  color: var(--aic-purple);
}

/* ── Social Post Multi-Select ───────────────────────────────────── */

.wc-aic-output-post--dimmed {
  opacity: 0.4;
}

.wc-aic-post-check {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.wc-aic-post-check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.wc-aic-post-checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--aic-border-subtle);
  border-radius: 5px;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wc-aic-post-check input:checked + .wc-aic-post-checkmark {
  background: var(--aic-purple);
  border-color: var(--aic-purple);
}

.wc-aic-post-check input:checked + .wc-aic-post-checkmark::after {
  content: '';
  width: 5px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* ── Stream Preview ─────────────────────────────────────────────── */

.wc-aic-stream-preview {
  max-height: 400px;
  overflow-y: auto;
  padding: 4px 0;
}

.wc-aic-stream-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--aic-purple);
  border-radius: 2px;
  animation: wc-aic-blink 1s step-end infinite;
  margin-left: 2px;
  vertical-align: text-bottom;
}

@keyframes wc-aic-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── Quality Panel ──────────────────────────────────────────── */

.wc-aic-quality-panel {
  border: 1.5px solid var(--aic-border-subtle);
  border-radius: var(--aic-radius);
  background: var(--aic-card-bg);
  overflow: hidden;
}

.wc-aic-quality-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--wc-text-primary);
  gap: 8px;
}

.wc-aic-quality-toggle-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.wc-aic-quality-toggle-left i {
  font-size: 16px;
  color: #8b5cf6;
}

.wc-aic-quality-toggle:hover {
  background: rgba(139, 92, 246, 0.04);
}

.wc-aic-quality-score {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.wc-aic-quality-body {
  padding: 0 14px 14px;
}

.wc-aic-quality-empty {
  text-align: center;
  padding: 12px 0;
}

.wc-aic-quality-empty p {
  font-size: 12px;
  color: var(--wc-muted);
  margin: 0 0 10px;
}

.wc-aic-btn-quality {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: none;
  border-radius: var(--aic-radius-xs);
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}

.wc-aic-btn-quality:hover { opacity: 0.9; }
.wc-aic-btn-quality:disabled { opacity: 0.5; cursor: not-allowed; }

.wc-aic-quality-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  justify-content: center;
  font-size: 12px;
  color: var(--wc-muted);
}

.wc-aic-quality-error {
  padding: 8px 10px;
  border-radius: 6px;
  background: #fef2f2;
  color: #dc2626;
  font-size: 12px;
  margin-bottom: 8px;
}

.wc-aic-quality-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wc-aic-quality-item {
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
}

.wc-aic-quality-item-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: #faf9ff;
  font-size: 12px;
  font-weight: 600;
  color: var(--wc-text-primary);
  border-bottom: 1px solid #f0f0f0;
}

.wc-aic-quality-item-header i {
  font-size: 14px;
  color: #8b5cf6;
}

.wc-aic-quality-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.wc-aic-quality-summary {
  padding: 8px 10px;
  margin: 0;
  font-size: 12px;
  color: #52525b;
  line-height: 1.5;
}

.wc-aic-quality-flags {
  padding: 0 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wc-aic-quality-flag {
  padding: 6px 8px;
  border-radius: 6px;
  background: #f9fafb;
  font-size: 11px;
}

.wc-aic-quality-flag-old {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  color: #71717a;
}

.wc-aic-quality-flag-old i { color: #ef4444; font-size: 12px; margin-top: 1px; }
.wc-aic-quality-flag-old span { text-decoration: line-through; }

.wc-aic-quality-flag-new {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-top: 2px;
  color: #1f2937;
}

.wc-aic-quality-flag-new i { color: #22c55e; font-size: 12px; margin-top: 1px; }

.wc-aic-quality-alts {
  padding: 0 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wc-aic-quality-alt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 6px;
  background: #f9fafb;
  font-size: 12px;
  color: #1f2937;
}

.wc-aic-quality-alt button {
  border: none;
  background: #6366f1;
  color: #fff;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.wc-aic-quality-alt button:hover { opacity: 0.85; }

.wc-aic-quality-seo {
  padding: 8px 10px;
}

.wc-aic-quality-seo-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a0dab;
  margin-bottom: 2px;
  line-height: var(--wc-leading-none);
}

.wc-aic-quality-seo-desc {
  font-size: 12px;
  color: #545454;
  line-height: 1.4;
}

.wc-aic-quality-rerun {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: var(--wc-muted);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.15s;
}

.wc-aic-quality-rerun:hover {
  border-color: #8b5cf6;
  color: #8b5cf6;
}

.wc-aic-quality-rerun:disabled { opacity: 0.5; cursor: not-allowed; }

/* ═══════════════════════════════════════════════════════════════════
   Listing Hero — Elevated hero pattern for listing pages
   (products, courses, classes)
   ═══════════════════════════════════════════════════════════════════ */

.wc-listing-hero {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 24px 24px 24px;
  overflow: hidden;
}

/* Lighter borders for elements inside the hero */
.wc-listing-hero .wc-search-form__input,
.wc-listing-hero .wc-filter-dropdown__trigger,
.wc-listing-hero .wc-filter-clear-btn,
.wc-listing-hero .btn-outline-secondary,
.wc-listing-hero .wc-taxonomy-row,
.wc-listing-hero .form-control,
.wc-listing-hero .form-select,
.wc-listing-hero .input-group-text {
  border-color: rgba(0, 0, 0, 0.06);
}

/* Table embedded inside the hero */
.wc-listing-hero .wc-listing-table-area {
  margin: 0;
}

.wc-listing-hero .wc-listing-table-area .table {
  margin-bottom: 0;
}

.wc-listing-hero .wc-listing-table-area thead th {
  border-top: none;
}

.wc-listing-hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  pointer-events: none;
  opacity: 0.5;
}

.wc-listing-hero-glow--products {
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
}

.wc-listing-hero-glow--courses {
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
}

.wc-listing-hero-glow--classes {
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
}

.wc-listing-hero-glow--sessions {
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
}

.wc-listing-hero-glow--articles {
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
}

.wc-listing-hero-glow--customers {
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
}

.wc-listing-hero-glow--purchases {
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
}

.wc-listing-hero-glow--analytics {
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
}
.wc-listing-hero-glow--getting-started {
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
}
.wc-listing-hero-glow--categories {
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
}
.wc-listing-hero-glow--settings {
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
}

.wc-listing-hero-inner {
  position: relative;
  z-index: 1;
  animation: wcGsFadeIn 400ms ease both;
}

.wc-listing-hero-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.wc-listing-hero-title {
  font-family: 'Inter', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--wc-text);
  margin: 0 0 4px;
  letter-spacing: -0.3px;
}

.wc-listing-hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--wc-muted, #9ca3af);
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: rgba(0, 0, 0, 0.03);
  padding: 4px 10px;
  border-radius: 6px;
}

.wc-listing-hero-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 2px;
}

/* Toolbar row: search + toggles */
.wc-listing-hero-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.wc-listing-hero-toolbar > :last-child:not(:first-child) {
  margin-left: auto;
}

/* Listing toolbar — polished search + status bar */
.wc-listing-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  margin-bottom: 20px;
}
.wc-listing-toolbar__search {
  flex: 1;
  min-width: 0;
}
.wc-listing-toolbar__search .wc-search-form {
  max-width: 100%;
}
.wc-listing-toolbar__search .wc-search-form__input {
  border-color: transparent;
  background: var(--wc-surface, #f3f4f6);
}
.wc-listing-toolbar__search .wc-search-form__input:focus {
  border-color: rgba(99, 102, 241, 0.3);
  background: #fff;
  box-shadow: 0 0 0 0.18rem rgba(99, 102, 241, 0.08);
}
.wc-listing-toolbar__status {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.wc-listing-toolbar__status-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--wc-muted, #9ca3af);
  white-space: nowrap;
}
.wc-listing-toolbar__filters {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  flex-wrap: wrap;
}
.wc-listing-toolbar__dropdowns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.wc-listing-toolbar__select {
  width: auto;
  min-width: 100px;
  border-color: transparent;
  background-color: var(--wc-surface, #f3f4f6);
  font-size: 0.82rem;
  border-radius: 8px;
  background-size: 8px 5px, 8px 5px;
  background-position: right 0.7rem top calc(50% - 5px), right 0.7rem top calc(50% + 5px);
  padding-right: 2rem;
}
.wc-listing-toolbar__select:focus {
  border-color: rgba(99, 102, 241, 0.3);
  background-color: #fff;
  box-shadow: 0 0 0 0.18rem rgba(99, 102, 241, 0.08);
}
.wc-listing-toolbar__tag-filter {
  max-width: 170px;
  min-width: 130px;
}
.wc-listing-toolbar__count {
  font-size: 0.8rem;
  color: var(--wc-muted, #9ca3af);
  white-space: nowrap;
}
.wc-listing-toolbar__pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

/* Segmented pill tabs inside the hero */
.wc-listing-hero-tabs {
  display: inline-flex;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 4px;
  gap: 2px;
  margin-bottom: 24px;
}

.wc-listing-hero-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: none;
  border-radius: 9px;
  font-family: var(--wc-font-ui, 'Inter', sans-serif);
  font-size: 13px;
  font-weight: 500;
  color: var(--wc-text-secondary);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.wc-listing-hero-tabs a:hover {
  background: #faf9fb;
  color: var(--wc-text);
}

.wc-listing-hero-tabs a.active,
.wc-listing-hero-tabs a.wc-listing-hero-tab--active {
  background: #8b5cf6;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.25);
}

.wc-listing-hero-tabs a.active:hover,
.wc-listing-hero-tabs a.wc-listing-hero-tab--active:hover {
  background: #7c3aed;
  color: #fff;
}

/* Responsive — tablet */
@media (max-width: 1024px) and (min-width: 769px) {
  .wc-listing-hero-header {
    gap: 12px;
    margin-bottom: 20px;
  }
  .wc-listing-hero-title {
    font-size: 1.5rem;
  }
  .wc-listing-hero-subtitle {
    font-size: 12px;
  }
  .wc-listing-hero-actions {
    flex-wrap: wrap;
    gap: 6px;
  }
  .wc-listing-hero-actions .btn {
    font-size: 12px;
    padding: 5px 10px;
  }
  .wc-listing-hero-tabs a {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* Responsive — mobile */
@media (max-width: 768px) {
  .wc-listing-hero {
    padding: 24px 20px 0;
  }
  .wc-listing-hero .wc-listing-table-area {
    margin: 0;
  }
  .wc-listing-hero-header {
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
  }
  .wc-listing-hero-title {
    font-size: 20px;
  }
  .wc-listing-hero-subtitle {
    font-size: 12px;
    line-height: 1.4;
  }
  .wc-listing-hero-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .wc-listing-hero-tabs {
    width: 100%;
  }
  .wc-listing-hero-tabs a {
    flex: 1;
    justify-content: center;
    padding: 8px 10px;
    font-size: 12px;
  }
  .wc-listing-hero-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ─── Live Sessions Page ─────────────────────────────────── */

.wc-sessions-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.wc-sessions-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
}
.wc-sessions-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--wc-text);
}
.wc-sessions-stat-label {
  font-size: 0.8rem;
  color: var(--wc-text-secondary);
  font-weight: 500;
}

.wc-sessions-section {
  margin-bottom: 28px;
}
.wc-sessions-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.wc-sessions-section-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.wc-sessions-section-dot--upcoming { background: #8b5cf6; }
.wc-sessions-section-dot--past { background: #9ca3af; }
.wc-sessions-section-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wc-text);
  margin: 0;
}
.wc-sessions-section-count {
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(139, 92, 246, 0.08);
  color: #8b5cf6;
  padding: 2px 8px;
  border-radius: 10px;
}

.wc-sessions-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--wc-text-secondary);
}
.wc-sessions-empty i {
  font-size: 28px;
  display: block;
  margin-bottom: 8px;
  color: #d1d5db;
}
.wc-sessions-empty p {
  margin: 0;
  font-size: 0.85rem;
}

.wc-sessions-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wc-sessions-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  transition: box-shadow 0.15s, border-color 0.15s;
  opacity: 0;
  animation: wcFadeUp 380ms ease forwards;
}
.wc-sessions-card:nth-child(1) { animation-delay: 40ms; }
.wc-sessions-card:nth-child(2) { animation-delay: 80ms; }
.wc-sessions-card:nth-child(3) { animation-delay: 120ms; }
.wc-sessions-card:nth-child(4) { animation-delay: 160ms; }
.wc-sessions-card:nth-child(5) { animation-delay: 200ms; }
.wc-sessions-card:nth-child(6) { animation-delay: 240ms; }
.wc-sessions-card:nth-child(7) { animation-delay: 280ms; }
.wc-sessions-card:nth-child(8) { animation-delay: 320ms; }
.wc-sessions-card:nth-child(9) { animation-delay: 360ms; }
.wc-sessions-card:nth-child(10) { animation-delay: 400ms; }

.wc-sessions-card:hover {
  border-color: rgba(139, 92, 246, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.wc-sessions-card--past {
  opacity: 0;
  animation: wcFadeUp 380ms ease forwards;
}
.wc-sessions-card--cancelled {
  background: #fafafa;
}

.wc-sessions-card-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}
.wc-sessions-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.08);
  color: #8b5cf6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.wc-sessions-card-icon--past {
  background: rgba(156, 163, 175, 0.1);
  color: #6b7280;
}
.wc-sessions-card-info {
  min-width: 0;
}
.wc-sessions-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--wc-text);
  line-height: var(--wc-leading-none);
  margin-bottom: 4px;
}
.wc-sessions-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--wc-text-secondary);
}
.wc-sessions-card-meta i {
  font-size: 13px;
  margin-right: 2px;
  vertical-align: -1px;
}
.wc-sessions-card-class {
  margin-top: 4px;
}
.wc-sessions-card-class a {
  font-size: 0.78rem;
  font-weight: 500;
  color: #8b5cf6;
  text-decoration: none;
}
.wc-sessions-card-class a:hover {
  text-decoration: underline;
}

.wc-sessions-card-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.wc-sessions-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.wc-sessions-badge--scheduled {
  background: rgba(139, 92, 246, 0.08);
  color: #7c3aed;
}
.wc-sessions-badge--completed {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
}
.wc-sessions-badge--cancelled {
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
}
.wc-sessions-badge--zoom {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
}
.wc-sessions-badge--zoom i {
  font-size: 12px;
}

.wc-sessions-card-actions {
  display: flex;
  gap: 6px;
}
.wc-sessions-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--wc-text-secondary);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.15s;
}
.wc-sessions-action:hover {
  color: #8b5cf6;
  border-color: rgba(139, 92, 246, 0.2);
  background: rgba(139, 92, 246, 0.04);
}
.wc-sessions-action i {
  font-size: 13px;
}

@media (max-width: 768px) {
  .wc-sessions-stats {
    flex-wrap: wrap;
  }
  .wc-sessions-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .wc-sessions-card-right {
    flex-wrap: wrap;
  }
  .wc-sessions-card-meta {
    flex-direction: column;
    gap: 4px;
  }
}

/* ─── Accordion Panel (SaaS-style) ────────────────────────── */

.wc-accordion-panel {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 200ms ease, border-color 200ms ease;
  opacity: 0;
  animation: wcFadeUp 380ms ease forwards;
}
.wc-accordion-panel:nth-child(1) { animation-delay: 60ms; }
.wc-accordion-panel:nth-child(2) { animation-delay: 120ms; }
.wc-accordion-panel:nth-child(3) { animation-delay: 180ms; }
.wc-accordion-panel:nth-child(4) { animation-delay: 240ms; }
.wc-accordion-panel:nth-child(5) { animation-delay: 300ms; }
.wc-accordion-panel:nth-child(6) { animation-delay: 360ms; }
.wc-accordion-panel:nth-child(7) { animation-delay: 420ms; }
.wc-accordion-panel:nth-child(8) { animation-delay: 480ms; }
.wc-accordion-panel:hover {
  border-color: rgba(0, 0, 0, 0.1);
}
.wc-accordion-panel--open {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
}

.wc-accordion-panel__header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  width: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  user-select: none;
  text-align: left;
  transition: background 150ms ease;
}
.wc-accordion-panel__header:hover {
  background: rgba(0, 0, 0, 0.015);
}

.wc-accordion-panel__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.08);
  color: #8b5cf6;
  font-size: 17px;
  flex-shrink: 0;
  transition: background 150ms ease;
}
.wc-accordion-panel--open .wc-accordion-panel__icon {
  background: rgba(139, 92, 246, 0.12);
}

.wc-accordion-panel__info {
  flex: 1;
  min-width: 0;
}
.wc-accordion-panel__title {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--wc-text, #1f2937);
  line-height: var(--wc-leading-none);
}
.wc-accordion-panel__subtitle {
  font-size: 0.78rem;
  color: var(--wc-text-secondary, #6b7280);
  margin-top: 2px;
  line-height: 1.4;
}

.wc-accordion-panel__chevron {
  font-size: 20px;
  color: #9ca3af;
  flex-shrink: 0;
  transition: transform 200ms ease, color 150ms ease;
}
.wc-accordion-panel--open .wc-accordion-panel__chevron {
  color: #6b7280;
}

.wc-accordion-panel__body {
  padding: 16px 20px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
  .wc-accordion-panel__header {
    padding: 14px 16px;
    gap: 12px;
  }
  .wc-accordion-panel__body {
    padding: 0 16px 16px;
  }
  .wc-accordion-panel__icon {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
}

/* ============================================================
   Quiz Builder (CMS admin)
   ============================================================ */

/* Toggle button (collapsed state) */
.wc-quiz-builder-toggle {
  margin-top: 16px;
  border-top: 1px dashed var(--wc-border);
  padding-top: 16px;
}
.wc-quiz-builder-toggle__btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px dashed var(--wc-border);
  background: transparent;
  color: var(--wc-text-secondary);
  font-size: var(--wc-text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.wc-quiz-builder-toggle__btn:hover {
  border-color: var(--wc-accent);
  color: var(--wc-accent);
  background: rgba(99, 102, 241, 0.04);
}
.wc-quiz-builder-toggle__btn--has-quiz {
  border-style: solid;
  border-color: var(--wc-accent);
  color: var(--wc-accent);
  background: rgba(99, 102, 241, 0.04);
}

/* Expanded builder container */
.wc-quiz-builder {
  margin-top: 16px;
  border-top: 1px solid var(--wc-border);
  padding-top: 16px;
}
.wc-quiz-builder__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.wc-quiz-builder__settings {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.wc-quiz-builder__field {
  flex: 1;
}

/* Questions list */
.wc-quiz-builder__questions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wc-quiz-question {
  border: 1px solid var(--wc-border);
  border-radius: 10px;
  background: var(--wc-surface);
  overflow: hidden;
}
.wc-quiz-question__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--wc-border);
  background: #fff;
}
.wc-quiz-question__number {
  font-size: var(--wc-text-xs);
  font-weight: 700;
  color: var(--wc-accent);
  background: rgba(99, 102, 241, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

/* Answers list */
.wc-quiz-question__answers {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wc-quiz-answer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
.wc-quiz-answer--correct .form-control {
  border-color: #22c55e;
  background: #f0fdf4;
}
.wc-quiz-answer__radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--wc-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 12px;
  color: transparent;
  transition: border-color 0.15s, background 0.15s;
}
.wc-quiz-answer__radio:hover {
  border-color: #22c55e;
}
.wc-quiz-answer__radio--selected {
  border-color: #22c55e;
  background: #22c55e;
  color: #fff;
}
.wc-quiz-answer__add {
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
  border: none;
  background: transparent;
  color: var(--wc-text-secondary);
  font-size: var(--wc-text-xs);
  cursor: pointer;
  margin-top: 2px;
}
.wc-quiz-answer__add:hover {
  color: var(--wc-accent);
}

/* Add question button */
.wc-quiz-builder__add-question {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px;
  margin-top: 10px;
  border: 1.5px dashed var(--wc-border);
  border-radius: 8px;
  background: transparent;
  color: var(--wc-text-secondary);
  font-size: var(--wc-text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.wc-quiz-builder__add-question:hover {
  border-color: var(--wc-accent);
  color: var(--wc-accent);
}

/* Footer */
.wc-quiz-builder__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--wc-border);
}

/* Quiz badge on curriculum lesson rows */
.wc-curriculum-lesson__quiz-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: var(--wc-text-2xs);
  font-weight: 600;
  color: var(--wc-accent);
  background: rgba(99, 102, 241, 0.08);
  padding: 1px 7px;
  border-radius: 4px;
  white-space: nowrap;
}

/* ── Live Classes & Sessions ─────────────────────────────── */

.wc-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--wc-text-2xs, 11px);
  font-weight: 700;
  color: #fff;
  background: #16a34a;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.wc-live-badge--workshop {
  color: #fff;
  background: #8b5cf6;
}

.wc-course-card-badge--live {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 88%, var(--wc-page-text, #1c1c1e) 12%) !important;
  color: var(--wc-page-text, #1c1c1e) !important;
  border: 1px solid var(--wc-border-color, #e8e3db);
}
.wc-course-card-badge--workshop {
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 88%, var(--wc-page-text, #1c1c1e) 12%) !important;
  color: var(--wc-page-text, #1c1c1e) !important;
  border: 1px solid var(--wc-border-color, #e8e3db);
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
}
.wc-course-card-badge--replay {
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 88%, var(--wc-page-text, #1c1c1e) 12%) !important;
  color: var(--wc-page-text, #1c1c1e) !important;
  border: 1px solid var(--wc-border-color, #e8e3db);
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
}
.wc-course-card-badge--type {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 88%, var(--wc-page-text, #1c1c1e) 12%) !important;
  color: var(--wc-page-text, #1c1c1e) !important;
  border: 1px solid var(--wc-border-color, #e8e3db);
}

/* Session list */
.wc-session-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.wc-session-highlight {
  animation: wc-session-pulse 1.5s ease;
  border-radius: 12px;
}
@keyframes wc-session-pulse {
  0%, 100% { box-shadow: none; }
  30% { box-shadow: 0 0 0 3px rgba(var(--wc-accent-rgb, 232, 149, 58), 0.3); }
  60% { box-shadow: 0 0 0 3px rgba(var(--wc-accent-rgb, 232, 149, 58), 0.15); }
}

/* Session card */
.wc-session-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--wc-img-radius, 14px);
  border: 1px solid var(--wc-border-color, #e8e3db);
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 94%, var(--wc-page-text, #1c1c1e) 6%);
  transition: box-shadow 200ms ease, border-color 200ms ease;
}
.wc-session-card--today {
  border-color: var(--wc-accent, #5624d0);
}
.wc-session-card--booked {
  border-color: var(--wc-accent, #5624d0);
  background: color-mix(in srgb, var(--wc-accent, #5624d0) 6%, var(--wc-page-bg, #fff) 94%);
  box-shadow: inset 3px 0 0 var(--wc-accent, #5624d0);
}
.wc-session-card--booked .wc-session-card__date {
  background: var(--wc-accent, #5624d0);
  border-color: var(--wc-accent, #5624d0);
  color: #fff;
}
.wc-session-card__booked-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--wc-accent, #5624d0);
  background: color-mix(in srgb, var(--wc-accent, #5624d0) 12%, transparent);
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 8px;
  vertical-align: middle;
}
.wc-session-card__booked-badge i {
  font-size: 11px;
}
.wc-session-card:hover {
  border-color: var(--wc-border-color, #e8e3db);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
}

.wc-session-card__date {
  width: 56px;
  height: 56px;
  border-radius: var(--wc-img-radius, 12px);
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 88%, var(--wc-page-text, #1c1c1e) 12%);
  border: 1px solid var(--wc-border-color, #e8e3db);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wc-session-card__day {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
}
.wc-session-card__month {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wc-session-card__info {
  flex: 1;
  min-width: 0;
}
.wc-session-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: var(--wc-leading-none);
}
.wc-session-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}
.wc-session-card__meta i {
  font-size: 13px;
  margin-right: 3px;
  vertical-align: -1px;
  opacity: 0.6;
}
.wc-session-card__spots {
  font-size: 11px;
  font-weight: 500;
  color: var(--wc-page-text, #1c1c1e);
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 88%, var(--wc-page-text, #1c1c1e) 12%);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--wc-border-color, #e8e3db);
}
.wc-session-card__spots--full {
  color: #dc2626;
}

.wc-session-card__action {
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .wc-session-card {
    flex-wrap: wrap;
  }
  .wc-session-card__info {
    flex: 1 1 0;
    min-width: 0;
  }
  .wc-session-card__spots {
    width: 100%;
    padding-left: 72px;
  }
  .wc-session-card__action {
    width: 100%;
    padding-left: 72px;
  }
}
.wc-session-card__locked {
  font-size: 0.8rem;
  color: var(--wc-muted, #9ca3af);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.wc-session-card__locked i {
  font-size: 14px;
}

/* Session buttons */
.wc-session-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 20px;
  border-radius: var(--wc-btn-radius, 8px);
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 150ms ease, opacity 150ms ease, transform 150ms ease;
  white-space: nowrap;
}
.wc-session-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wc-session-btn--book {
  background: var(--wc-btn-bg, var(--wc-accent, #111));
  color: var(--wc-btn-text, #fff);
}
.wc-session-btn--book:hover:not(:disabled) {
  background: var(--wc-btn-hover-bg, var(--wc-accent-hover, #333));
  color: var(--wc-btn-hover-text, #fff);
  transform: translateY(-1px);
}

.wc-session-btn--cancel {
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
}
.wc-session-btn--cancel:hover:not(:disabled) {
  background: rgba(220, 38, 38, 0.15);
}

.wc-session-btn--join {
  background: #16a34a;
  color: #fff;
}
.wc-session-btn--join:hover:not(:disabled) {
  background: #15803d;
  transform: translateY(-1px);
}

/* ── Workshop Booking Calendar ────────────────────────── */

/* Empty state */
.wc-wbc-empty {
  padding: 40px 20px;
  text-align: center;
}
.wc-wbc-empty__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f3f4f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.wc-wbc-empty__icon i {
  font-size: 22px;
  color: #9ca3af;
}
.wc-wbc-empty__title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.wc-wbc-empty__subtitle {
  font-size: 13px;
  opacity: 0.6;
}

/* Toast message */
.wc-wbc-toast {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 500;
}
.wc-wbc-toast--success {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.wc-wbc-toast--error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.wc-wbc-toast i {
  font-size: 16px;
}

/* Date carousel */
.wc-wbc-carousel {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}
.wc-wbc-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--wc-border, #e5e7eb);
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 14px;
  transition: all 0.15s;
  color: inherit;
}
.wc-wbc-arrow:disabled {
  background: #f9fafb;
  color: #d1d5db;
  cursor: default;
}
.wc-wbc-dates {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.wc-wbc-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  flex-shrink: 0;
  padding: 8px 2px 6px;
  border-radius: var(--wc-img-radius, 10px);
  border: 1px solid var(--wc-border-color, #e8e3db);
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 94%, var(--wc-page-text, #1c1c1e) 6%);
  color: var(--wc-page-text, #1c1c1e);
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.wc-wbc-date--selected {
  border: 2px solid var(--wc-btn-bg, var(--wc-accent, #6366f1));
  background: var(--wc-btn-bg, var(--wc-accent, #6366f1));
  color: var(--wc-btn-text, #fff);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.wc-wbc-date__weekday {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.wc-wbc-date--selected .wc-wbc-date__weekday {
  color: var(--wc-btn-text, #fff);
  opacity: 0.8;
}
.wc-wbc-date__day {
  font-size: 18px;
  font-weight: 700;
  line-height: var(--wc-leading-none);
}
.wc-wbc-date--selected .wc-wbc-date__day {
  color: var(--wc-btn-text, #fff);
}
.wc-wbc-date__month {
  font-size: 10px;
  font-weight: 500;
}
.wc-wbc-date--selected .wc-wbc-date__month {
  color: var(--wc-btn-text, #fff);
  opacity: 0.7;
}

/* Selected date header */
.wc-wbc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 2px;
}
.wc-wbc-header__label {
  font-size: 13px;
  font-weight: 600;
}
.wc-wbc-header__count {
  font-weight: 400;
  opacity: 0.6;
  margin-left: 6px;
}

/* Slot list */
.wc-wbc-slots {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Slot card */
.wc-wbc-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--wc-img-radius, 10px);
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 94%, var(--wc-page-text, #1c1c1e) 6%);
  border: 1px solid var(--wc-border-color, #e8e3db);
  gap: 12px;
  transition: all 0.15s;
}
.wc-wbc-slot--booked {
  background: #ecfdf5;
  border-color: #a7f3d0;
}
.wc-wbc-slot--past {
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 94%, var(--wc-page-text, #1c1c1e) 6%);
  opacity: 0.75;
}
.wc-wbc-slot__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  background: rgba(99,102,241,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wc-wbc-slot__icon i {
  font-size: 16px;
  color: var(--wc-accent, #6366f1);
}
.wc-wbc-slot--booked .wc-wbc-slot__icon {
  background: #d1fae5;
}
.wc-wbc-slot--booked .wc-wbc-slot__icon i {
  color: #059669;
}
.wc-wbc-slot--past .wc-wbc-slot__icon {
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 88%, var(--wc-page-text, #1c1c1e) 12%);
}
.wc-wbc-slot--past .wc-wbc-slot__icon i {
  color: color-mix(in srgb, var(--wc-page-text, #1c1c1e) 40%, transparent);
}
.wc-wbc-slot__info {
  flex: 1;
  min-width: 0;
}
.wc-wbc-slot__time {
  font-weight: 600;
  font-size: 14px;
}
.wc-wbc-slot--past:not(.wc-wbc-slot--booked) .wc-wbc-slot__time {
  color: var(--wc-page-text, #9ca3af);
}
.wc-wbc-slot__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}
.wc-wbc-slot__duration {
  font-size: 12px;
  color: var(--wc-page-text, #9ca3af);
}
.wc-wbc-slot__spots {
  font-size: 11px;
  font-weight: 500;
  color: var(--wc-page-text, #1c1c1e);
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 88%, var(--wc-page-text, #1c1c1e) 12%);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--wc-border-color, #e8e3db);
}
.wc-wbc-slot__live {
  font-size: 11px;
  font-weight: 600;
  color: var(--wc-page-text, #1c1c1e);
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 88%, var(--wc-page-text, #1c1c1e) 12%);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--wc-border-color, #e8e3db);
}

/* Slot actions */
.wc-wbc-slot__action {
  flex-shrink: 0;
}
.wc-wbc-slot__action-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.wc-wbc-btn {
  padding: 7px 18px;
  border-radius: var(--wc-btn-radius, 8px);
  border: 1px solid var(--wc-btn-bg, var(--wc-accent, #1c1c1e));
  background: var(--wc-btn-bg, var(--wc-accent, #1c1c1e));
  color: var(--wc-btn-text, #fff);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.wc-wbc-btn:hover {
  background: var(--wc-btn-hover-bg, var(--wc-accent-hover, #333));
  border-color: var(--wc-btn-hover-bg, var(--wc-accent-hover, #333));
  color: var(--wc-btn-hover-text, #fff);
}
.wc-wbc-btn:disabled {
  opacity: 0.6;
}
.wc-wbc-btn--past {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: default;
  box-shadow: none;
}
.wc-wbc-btn--join {
  background: var(--wc-btn-bg, var(--wc-accent, #1c1c1e));
  color: var(--wc-btn-text, #fff);
  text-decoration: none;
  border-color: var(--wc-btn-bg, var(--wc-accent, #1c1c1e));
}
.wc-wbc-btn--cancel {
  padding: 5px 10px;
  border-radius: 6px;
  border: none;
  background: #fef2f2;
  color: #dc2626;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: none;
}
.wc-wbc-confirmed {
  font-size: 12px;
  color: #059669;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.wc-wbc-spinner {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: wc-wbc-spin 0.6s linear infinite;
}
@keyframes wc-wbc-spin {
  to { transform: rotate(360deg); }
}

/* Skeleton */
.wc-wbc-skel-dates {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}
.wc-wbc-skel-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--wc-border, #e5e7eb);
}

/* ── Classes Schedule View ─────────────────────────────── */

.wc-cls-tabs {
  display: flex;
  gap: 24px;
  border-bottom: none;
  margin-bottom: 16px;
}
.wc-cls-tab {
  background: none;
  border: none;
  padding: 8px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--wc-page-text, var(--wc-muted));
  cursor: pointer;
  position: relative;
  transition: color 0.15s;
}
.wc-cls-tab:hover {
  color: var(--wc-link-color, var(--wc-text));
}
.wc-cls-tab--active {
  color: var(--wc-link-color, var(--wc-accent, #e8953a));
  font-weight: 600;
}
.wc-cls-tab--active::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--wc-accent, #e8953a);
  border-radius: 2px;
}

/* Week strip */
.wc-week-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  padding: 8px 0;
}
.wc-week-strip__arrow {
  background: var(--wc-btn-bg, var(--wc-accent, #1c1c1e));
  color: var(--wc-btn-text, #fff);
  border: 1px solid var(--wc-btn-bg, var(--wc-accent, #1c1c1e));
  border-radius: 100%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.15s;
}
.wc-week-strip__arrow:hover {
  background: var(--wc-btn-hover-bg, var(--wc-accent-hover, #333));
  color: var(--wc-btn-hover-text, #fff);
  border-color: var(--wc-btn-hover-bg, var(--wc-accent-hover, #333));
}
.wc-week-strip__days {
  display: flex;
  flex: 1;
  gap: 10px;
}
.wc-week-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 94%, var(--wc-page-text, #1c1c1e) 6%);
  color: var(--wc-page-text, #1c1c1e);
  border: 1.5px solid var(--wc-border-color, #e5e7eb);
  cursor: pointer;
  padding: 8px 2px 6px;
  border-radius: var(--wc-img-radius, 10px);
  transition: all 0.15s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.wc-week-day:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}
.wc-week-day__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.wc-week-day__num {
  font-size: 18px;
  font-weight: 700;
  line-height: var(--wc-leading-none);
}
.wc-week-day__month {
  font-size: 10px;
  font-weight: 500;
}
.wc-week-day--today {
  border-color: var(--wc-accent, #e8953a);
}
.wc-week-day--today .wc-week-day__label {
  color: var(--wc-accent, #e8953a);
}
.wc-week-day--selected {
  background: var(--wc-btn-bg, var(--wc-accent, #e8953a));
  border-color: var(--wc-btn-bg, var(--wc-accent, #e8953a));
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.wc-week-day--selected .wc-week-day__label {
  color: var(--wc-btn-text, #fff);
  opacity: 0.8;
}
.wc-week-day--selected .wc-week-day__num {
  color: var(--wc-btn-text, #fff);
}
.wc-week-day--selected .wc-week-day__month {
  color: var(--wc-btn-text, #fff);
  opacity: 0.7;
}

/* Filters row */
.wc-cls-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.wc-cls-filter-btn {
  background: transparent;
  border: 1px solid var(--wc-border-color, #e0e0e0);
  border-radius: var(--wc-btn-radius, 20px);
  padding: 6px 16px;
  font-size: var(--wc-text-sm);
  font-weight: 500;
  color: var(--wc-page-text, #1c1c1e);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.wc-cls-filter-btn:hover {
  background: var(--wc-btn-bg, var(--wc-accent, #1c1c1e));
  color: var(--wc-btn-text, #fff);
  border-color: var(--wc-btn-bg, var(--wc-accent, #1c1c1e));
  background: var(--wc-surface);
}
.wc-cls-filter-btn--active {
  background: var(--wc-btn-bg, var(--wc-accent, #1c1c1e));
  color: var(--wc-btn-text, #fff);
  border-color: var(--wc-btn-bg, var(--wc-accent, #1c1c1e));
}
.wc-cls-filter-btn--active:hover {
  background: var(--wc-btn-hover-bg, var(--wc-accent-hover, #333));
  color: var(--wc-btn-hover-text, #fff);
}
.wc-cls-filter-select {
  background: var(--wc-white);
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius-sm);
  padding: 6px 32px 6px 14px;
  font-size: var(--wc-text-sm);
  color: var(--wc-text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6b69' stroke-width='2'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
  min-width: 160px;
}
.wc-cls-filter-select:focus {
  outline: none;
  border-color: var(--wc-accent, #e8953a);
}

/* Empty state */
.wc-cls-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--wc-page-text, var(--wc-text-secondary));
}
.wc-cls-empty i {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
  opacity: 0.4;
}
.wc-cls-empty p {
  font-size: var(--wc-text-base);
  margin-bottom: 16px;
  color: var(--wc-page-text, inherit);
}
.wc-cls-empty__btn {
  background: var(--wc-btn-bg, none);
  border: 1px solid var(--wc-border-color, var(--wc-border));
  border-radius: var(--wc-btn-radius, 20px);
  padding: 8px 20px;
  font-size: var(--wc-text-sm);
  font-weight: 500;
  color: var(--wc-btn-text, var(--wc-accent, #e8953a));
  cursor: pointer;
  transition: background 0.15s;
}
.wc-cls-empty__btn:hover {
  background: var(--wc-btn-hover-bg, var(--wc-surface));
  color: var(--wc-btn-hover-text, var(--wc-accent, #e8953a));
}
.wc-cls-empty__btn i {
  font-size: 1em;
  display: inline;
  opacity: 1;
  margin-left: 4px;
}

/* Schedule layout */
.wc-cls-schedule {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.wc-cls-day-group {
  margin-bottom: 0;
}
.wc-cls-day-sessions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Live session card */
/* ─── Live Session Card ─── */
.wc-live-session-card {
  display: flex;
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 94%, var(--wc-page-text, #1c1c1e) 6%);
  border: 1px solid var(--wc-border-color, rgba(0, 0, 0, 0.06));
  border-radius: var(--wc-img-radius, 16px);
  overflow: hidden;
  transition: box-shadow 200ms ease, border-color 200ms ease;
}
.wc-live-session-card:hover {
  border-color: var(--wc-border-color, rgba(0, 0, 0, 0.06));
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
}
.wc-live-session-card__thumb {
  flex-shrink: 0;
  width: 200px;
  min-height: 200px;
  position: relative;
  overflow: hidden;
  background: var(--wc-surface, #f3f4f6);
}
.wc-live-session-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.wc-live-session-card__thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 2.2rem;
  color: var(--wc-muted, #9ca3af);
}
.wc-live-session-card__body {
  flex: 1;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.wc-live-session-card__label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wc-accent, #e8953a);
  background: rgba(232, 149, 58, 0.1);
  padding: 3px 10px;
  border-radius: var(--wc-btn-radius, 20px);
}
.wc-live-session-card__label i {
  font-size: 12px;
}
.wc-live-session-card__label--workshop {
  color: var(--wc-btn-bg, var(--wc-accent, #8b5cf6));
  background: color-mix(in srgb, var(--wc-btn-bg, var(--wc-accent, #8b5cf6)) 10%, transparent);
}
.wc-live-session-card__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  line-height: var(--wc-leading-none);
  font-family: var(--wc-heading-font, var(--wc-font-display));
}
.wc-live-session-card__title a {
  text-decoration: none;
}
.wc-live-session-card__title a:hover {
  text-decoration: underline;
}
.wc-live-session-card__instructor {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}
.wc-live-session-card__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.wc-live-session-card__avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--wc-surface, #f3f4f6);
  color: var(--wc-text-secondary, #6b7280);
  font-size: 12px;
  font-weight: 600;
}
.wc-live-session-card__desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 2px;
}
.wc-live-session-card__show-more {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.85rem;
  color: var(--wc-accent, #e8953a);
  cursor: pointer;
  font-weight: 500;
  display: block;
  margin-top: 2px;
}
.wc-live-session-card__show-more:hover {
  text-decoration: underline;
}
.wc-live-session-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 0.85rem;
  margin-top: 6px;
}
.wc-live-session-card__meta i {
  margin-right: 6px;
  font-size: 15px;
  opacity: 0.55;
  vertical-align: -1px;
}
.wc-live-session-card__action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px 28px;
  gap: 10px;
  flex-shrink: 0;
}
.wc-live-session-card__view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--wc-btn-bg, var(--wc-accent, #e8953a));
  color: var(--wc-btn-text, #fff) !important;
  border: none;
  border-radius: var(--wc-btn-radius, 24px);
  padding: 11px 30px;
  font-size: var(--wc-body-size, 14px);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}
.wc-live-session-card__view:hover,
.wc-live-session-card__view:focus {
  background: var(--wc-btn-hover-bg, var(--wc-accent-hover, #333));
  color: var(--wc-btn-hover-text, #fff) !important;
  text-decoration: none;
  transform: translateY(-1px);
}
.wc-live-session-card__view:visited,
.wc-live-session-card__view:active {
  color: var(--wc-btn-text, #fff) !important;
  text-decoration: none;
}
.wc-live-session-card__book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--wc-btn-bg, var(--wc-accent, #e8953a));
  color: var(--wc-btn-text, #fff) !important;
  border: none;
  border-radius: var(--wc-btn-radius, 24px);
  padding: 11px 30px;
  font-size: var(--wc-body-size, 14px);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 150ms ease, transform 150ms ease;
}
.wc-live-session-card__book:hover,
.wc-live-session-card__book:focus {
  background: var(--wc-btn-hover-bg, var(--wc-accent-hover, #333));
  color: var(--wc-btn-hover-text, #fff) !important;
  text-decoration: none;
  transform: translateY(-1px);
}
.wc-live-session-card__book:visited,
.wc-live-session-card__book:active {
  color: var(--wc-btn-text, #fff) !important;
  text-decoration: none;
}
.wc-live-session-card--past {
  opacity: 0.6;
}
.wc-live-session-card__passed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #9ca3af;
  border-radius: 24px;
  padding: 11px 30px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}
.wc-live-session-card__in-progress {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  border-radius: var(--wc-btn-radius, 24px);
  padding: 11px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}
.wc-live-session-card__full {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--wc-surface, #f3f4f6);
  color: var(--wc-text-secondary, #6b7280);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 11px 30px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}
.wc-live-session-card__spots-row {
  margin-top: 4px;
}
.wc-live-session-card__spots {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--wc-page-text, #1c1c1e);
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 88%, var(--wc-page-text, #1c1c1e) 12%);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--wc-border-color, #e8e3db);
  white-space: nowrap;
}
.wc-live-session-card__book:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}
.wc-live-session-card__book i {
  font-size: 14px;
  margin-right: 4px;
}
.wc-live-session-card--booked {
  border-color: var(--wc-accent, #5624d0) !important;
  background: color-mix(in srgb, var(--wc-accent, #5624d0) 6%, var(--wc-page-bg, #fff) 94%);
  box-shadow: inset 3px 0 0 var(--wc-accent, #5624d0);
}
.wc-live-session-card__booked-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.wc-live-session-card__confirmed {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--wc-accent, #5624d0);
  background: color-mix(in srgb, var(--wc-accent, #5624d0) 12%, transparent);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 3px 10px;
  border-radius: 20px;
}
.wc-live-session-card__cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fef2f2;
  color: #dc2626;
  border: none;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms ease;
}
.wc-live-session-card__cancel:hover {
  background: #fee2e2;
}
.wc-live-session-card__cancel:disabled {
  opacity: 0.5;
  cursor: default;
}
.wc-live-session-card__toast {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 500;
}
.wc-live-session-card__toast--success {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.wc-live-session-card__toast--error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.wc-live-session-card__toast i {
  font-size: 16px;
  flex-shrink: 0;
}
.wc-live-session-card__toast-close {
  margin-left: auto;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0 2px;
  opacity: 0.6;
  font-size: 16px;
}
.wc-live-session-card__toast-close:hover {
  opacity: 1;
}

/* Section heading between live schedule and on-demand */
.wc-cls-section-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--wc-text, #1f2937);
  margin: 40px 0 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Day group label */
.wc-cls-day-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wc-page-text, var(--wc-text-secondary, #6b7280));
  margin-bottom: 12px;
}

/* Responsive: stack card on mobile */
@media (max-width: 767px) {
  .wc-live-session-card {
    flex-direction: column;
  }
  .wc-live-session-card__thumb {
    width: 100%;
    height: 200px;
    min-height: auto;
  }
  .wc-live-session-card__body {
    padding: 18px 20px;
  }
  .wc-live-session-card__title {
    font-size: 1.2rem;
  }
  .wc-live-session-card__action {
    flex-direction: row;
    justify-content: flex-start;
    padding: 0 20px 18px;
  }
  .wc-week-day {
    padding: 6px 2px 4px;
  }
  .wc-week-day__num {
    font-size: 15px;
  }
  .wc-week-strip__days {
    gap: 4px;
  }
  .wc-cls-filter-select {
    min-width: 120px;
  }
}

/* ── Cart Drawer ── */

.wc-cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  padding: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  transition: background 0.15s;
}
.wc-cart-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}
.wc-cart-badge {
  position: absolute;
  top: -2px;
  left: -4px;
  background: var(--wc-btn-bg, var(--wc-accent, #1a1a1a));
  color: var(--wc-btn-text, #fff);
  font-size: 8px;
  font-weight: 700;
  border-radius: 50%;
  min-width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 3px;
  pointer-events: none;
}
.wc-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1040;
}
.wc-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: 100vw;
  background: var(--wc-page-bg, #fff);
  color: var(--wc-page-text, inherit);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease, visibility 0s 0.3s;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
  visibility: hidden;
}
.wc-cart-drawer--open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.3s ease, visibility 0s 0s;
}
.wc-cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--wc-border-color, #eee);
}
.wc-cart-drawer-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wc-cart-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  cursor: pointer;
}
.wc-cart-drawer-close:hover {
  background: rgba(0, 0, 0, 0.08);
}
.wc-cart-drawer-close:hover i {
  color: var(--wc-btn-hover-bg, var(--wc-accent-hover, var(--wc-accent, #111)));
}
.wc-cart-drawer-close:active {
  transform: scale(0.92);
}
.wc-cart-drawer-close i {
  font-size: 20px;
  color: var(--wc-page-text, #64646b);
}
.wc-cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}
.wc-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--wc-page-text, #999);
  opacity: 0.6;
  gap: 12px;
}
.wc-cart-empty i {
  font-size: 48px;
  opacity: 0.3;
}
.wc-cart-empty p {
  margin: 0;
  font-size: 14px;
}
.wc-cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wc-cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.wc-cart-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--wc-img-radius, 8px);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--wc-border-color, #f5f5f5);
}
.wc-cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wc-cart-item-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wc-page-text, #ccc);
  opacity: 0.3;
  font-size: 24px;
}
.wc-cart-item-info {
  flex: 1;
  min-width: 0;
}
.wc-cart-item-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wc-cart-item-price {
  font-size: 13px;
  color: var(--wc-page-text, #666);
  opacity: 0.7;
}
.wc-cart-item-qty {
  color: var(--wc-page-text, #999);
  opacity: 0.5;
}
.wc-cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--wc-page-text, #bbb);
  opacity: 0.4;
  padding: 4px;
  line-height: 1;
  flex-shrink: 0;
}
.wc-cart-item-remove:hover {
  color: #e74c3c;
  opacity: 1;
}
.wc-cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--wc-border-color, #eee);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wc-cart-subtotals {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--wc-border-color, #eee);
}
.wc-cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--wc-page-text, #6a6f73);
  opacity: 0.7;
}
.wc-cart-free-shipping {
  color: #15803d;
  font-weight: 500;
}
.wc-cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
}
.wc-cart-email-field {
  margin-bottom: 10px;
}
.wc-cart-email-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--wc-page-text, #1c1c1e);
  margin-bottom: 4px;
}
.wc-cart-email-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 13px;
  border: 1px solid var(--wc-border-color, #e0e0e0);
  border-radius: var(--wc-btn-radius, 8px);
  background: var(--wc-page-bg, #fff);
  color: var(--wc-page-text, #1c1c1e);
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}
.wc-cart-email-input:focus {
  border-color: var(--wc-accent, #5624d0);
}
.wc-cart-email-input::placeholder {
  color: var(--wc-page-text, #1c1c1e);
  opacity: 0.4;
}
.wc-cart-error {
  font-size: 13px;
  color: #ef4444;
  text-align: center;
  margin-bottom: 8px;
}
.wc-cart-checkout-btn {
  width: 100%;
  padding: 12px;
  background: var(--wc-btn-bg, #1a1a1a);
  color: var(--wc-btn-text, #fff);
  border: none;
  border-radius: var(--wc-btn-radius, 8px);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.wc-cart-checkout-btn:hover {
  background: var(--wc-btn-hover-bg, #333);
}
.wc-cart-checkout-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.wc-cart-clear-btn {
  background: none;
  border: none;
  color: var(--wc-link-color, var(--wc-page-text, #999));
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  padding: 4px;
  opacity: 0.6;
}
.wc-cart-clear-btn:hover {
  opacity: 1;
}

/* Purchase actions (Buy Now + Add to Cart) */
.wc-pdp-purchase-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wc-cdl-sidebar-cta--secondary {
  background: var(--wc-btn-bg, var(--wc-accent, #1a1a1a));
  color: var(--wc-btn-text, #fff) !important;
  border: 1.5px solid var(--wc-btn-bg, var(--wc-accent, #1a1a1a)) !important;
}
.wc-cdl-sidebar-cta--secondary:hover {
  background: var(--wc-btn-hover-bg, var(--wc-accent-hover, #333));
  color: var(--wc-btn-hover-text, #fff) !important;
  border-color: var(--wc-btn-hover-bg, var(--wc-accent-hover, #333)) !important;
}
.wc-cdl-sidebar-cta--secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Quantity picker — PDP */
.wc-qty-picker {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: var(--wc-img-radius, 8px);
  overflow: hidden;
  width: fit-content;
  margin-bottom: 4px;
}
.wc-qty-picker-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wc-btn-bg, var(--wc-accent, #1c1c1e));
  color: var(--wc-btn-text, #fff);
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.15s, color 0.15s;
}
.wc-qty-picker-btn:hover:not(:disabled) {
  background: var(--wc-btn-hover-bg, var(--wc-accent-hover, #333));
  color: var(--wc-btn-hover-text, #fff);
}
.wc-qty-picker-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.wc-qty-picker-input {
  width: 48px;
  height: 40px;
  text-align: center;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  font-size: 14px;
  font-weight: 600;
  -moz-appearance: textfield;
  outline: none;
}
.wc-qty-picker-input::-webkit-inner-spin-button,
.wc-qty-picker-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Stock info */
.wc-pdp-stock-info {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--wc-page-text, #1c1c1e);
  background: color-mix(in srgb, var(--wc-page-bg, #fff) 88%, var(--wc-page-text, #1c1c1e) 12%);
  padding: 5px 18px;
  border-radius: var(--wc-btn-radius, 20px);
  border: 1px solid var(--wc-border-color, #e8e3db);
  margin-top: 2px;
  letter-spacing: 0.02em;
}
.wc-stock-ok {
  color: #22c55e;
}
.wc-stock-low {
  color: #f59e0b;
}

/* Cart drawer — quantity controls */
.wc-cart-item-qty-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
}
.wc-cart-qty-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wc-btn-bg, #f3f4f6);
  border: 1px solid var(--wc-border-color, #e5e7eb);
  border-radius: var(--wc-img-radius, 4px);
  cursor: pointer;
  font-size: 12px;
  color: var(--wc-btn-text, #374151);
  padding: 0;
  transition: background 0.15s;
}
.wc-cart-qty-btn:hover:not(:disabled) {
  background: var(--wc-btn-hover-bg, #e5e7eb);
  color: var(--wc-btn-hover-text, #374151);
}
.wc-cart-qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.wc-cart-qty-value {
  font-size: 13px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}
.wc-cart-item-max {
  font-size: 11px;
  color: #f59e0b;
  font-weight: 500;
  margin-left: 4px;
}
.wc-cart-bundle-items {
  margin-top: 6px;
  padding-left: 2px;
}
.wc-cart-bundle-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--wc-page-text, #6a6f73);
  opacity: 0.6;
  line-height: 1.6;
}
.wc-cart-bundle-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--wc-page-text, #cbd5e1);
  opacity: 0.4;
  flex-shrink: 0;
}
.wc-cart-bundle-qty {
  color: var(--wc-page-text, #9ca3af);
  opacity: 0.5;
  font-size: 10px;
}

@media (max-width: 480px) {
  .wc-cart-drawer {
    width: 100vw;
  }
}

/* ── Workshop Availability Editor ────────────────────── */
.wc-wae { overflow: hidden; }

.wc-wae__header {
  border-bottom: 1px solid var(--wc-border);
  padding: 14px 20px;
  background: #fafbfc;
}
.wc-wae__header-sub {
  font-size: var(--wc-text-sm);
  color: var(--wc-muted);
}
.wc-wae__save-btn {
  background: var(--wc-accent);
  color: #fff;
  font-weight: var(--wc-weight-semibold);
  font-size: 13px;
  padding: 7px 16px;
  border-radius: var(--wc-radius-sm);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.wc-wae__save-btn:hover { background: var(--wc-accent-hover); }

.wc-wae__body { padding: 20px; }

/* Alerts */
.wc-wae__alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--wc-radius-sm);
  margin-bottom: 16px;
  font-size: 13px;
}
.wc-wae__alert--error {
  background: var(--wc-danger-bg);
  color: var(--wc-danger);
  border: 1px solid rgba(220, 38, 38, 0.15);
}
.wc-wae__alert--success {
  background: rgba(5, 150, 105, 0.06);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.18);
}

/* Section heading */
.wc-wae__section { margin-bottom: 28px; }
.wc-wae__section-title {
  font-size: var(--wc-text-base);
  font-weight: var(--wc-weight-semibold);
  color: var(--wc-text);
}
.wc-wae__section-desc {
  font-size: var(--wc-text-sm);
  color: var(--wc-muted);
  margin-top: 2px;
}

/* Divider */
.wc-wae__divider {
  height: 1px;
  background: var(--wc-border);
  margin: 0 -20px 24px;
}

/* Day rows */
.wc-wae__day-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wc-wae__day-row {
  background: var(--wc-white);
  border-radius: var(--wc-radius);
  padding: 10px 14px;
  border: 1px solid var(--wc-border);
  transition: all 0.15s;
}
.wc-wae__day-row--inactive { border-color: rgba(0, 0, 0, 0.03); }
.wc-wae__day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wc-wae__day-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wc-wae__day-badge {
  width: 32px;
  height: 32px;
  border-radius: var(--wc-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: var(--wc-weight-bold);
}
.wc-wae__day-badge--active {
  background: rgba(99, 102, 241, 0.08);
  color: #6366f1;
}
.wc-wae__day-badge--inactive {
  background: #f9fafb;
  color: #d1d5db;
}
.wc-wae__day-name {
  font-size: 13px;
  font-weight: var(--wc-weight-semibold);
  color: var(--wc-text);
}
.wc-wae__day-empty {
  font-size: 11px;
  color: #d1d5db;
}
.wc-wae__day-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Icon button (trash) */
.wc-wae__icon-btn {
  padding: 4px 6px;
  background: none;
  border: none;
  color: #d1d5db;
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s;
  border-radius: 4px;
  font-size: 15px;
}
.wc-wae__icon-btn:hover { color: var(--wc-danger); }
.wc-wae__icon-btn--cancel:hover { color: #f59e0b; }

/* Add button (outline) */
.wc-wae__add-btn {
  font-size: 12px;
  padding: 4px 10px;
  background: none;
  border: 1px solid var(--wc-border);
  border-radius: 6px;
  cursor: pointer;
  color: var(--wc-text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s;
}
.wc-wae__add-btn:hover {
  border-color: var(--wc-border-strong);
  color: var(--wc-text);
}

/* Time windows */
.wc-wae__windows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  padding-left: 42px;
}
.wc-wae__window-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wc-wae__time-input {
  max-width: 150px;
  font-size: 13px;
  border-radius: 6px;
  border: 1px solid var(--wc-border);
}
.wc-wae__time-sep {
  color: #d1d5db;
  font-size: 12px;
}
.wc-wae__time-preview {
  font-size: 11px;
  color: var(--wc-muted);
  white-space: nowrap;
  background: #f9fafb;
  padding: 2px 8px;
  border-radius: 4px;
}

/* Override list */
.wc-wae__override-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wc-wae__override-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--wc-white);
  border-radius: 10px;
  padding: 10px 14px;
  border: 1px solid var(--wc-border);
  font-size: 13px;
  transition: border-color 0.15s;
}
.wc-wae__override-row:hover {
  border-color: var(--wc-border-strong);
}
.wc-wae__override-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.wc-wae__override-icon--blocked { background: var(--wc-danger-bg); color: var(--wc-danger); }
.wc-wae__override-icon--custom { background: rgba(5, 150, 105, 0.06); color: #059669; }
.wc-wae__override-date { font-weight: var(--wc-weight-semibold); color: var(--wc-text); font-size: 13px; }
.wc-wae__override-badge {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 10px;
  flex-shrink: 0;
}
.wc-wae__override-badge--blocked { color: var(--wc-danger); background: var(--wc-danger-bg); }
.wc-wae__override-badge--custom { color: #059669; background: rgba(5, 150, 105, 0.06); }

/* Override add button */
.wc-wae__override-add-btn {
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid var(--wc-border);
  background: var(--wc-white);
  color: var(--wc-text);
  font-size: 13px;
  font-weight: var(--wc-weight-medium);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.15s;
}
.wc-wae__override-add-btn:disabled { opacity: 0.5; cursor: default; }
.wc-wae__override-add-btn:not(:disabled):hover {
  border-color: var(--wc-border-strong);
  background: #f3f4f6;
}

/* Upcoming slots */
.wc-wae__slots-count {
  font-size: 12px;
  color: var(--wc-muted);
  background: #f3f4f6;
  padding: 2px 10px;
  border-radius: 10px;
  font-weight: 500;
}
.wc-wae__clear-btn {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(220, 38, 38, 0.15);
  background: var(--wc-white);
  color: var(--wc-danger);
  cursor: pointer;
  font-weight: var(--wc-weight-medium);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s;
}
.wc-wae__clear-btn:hover {
  background: var(--wc-danger-bg);
  border-color: rgba(220, 38, 38, 0.25);
}

/* Empty state */
.wc-wae__empty {
  text-align: center;
  padding: 36px 20px;
  background: #fafbfc;
  border-radius: 10px;
  border: 1px dashed var(--wc-border);
}
.wc-wae__empty-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 22px;
  color: #6366f1;
}
.wc-wae__empty-title {
  font-size: 14px;
  font-weight: var(--wc-weight-semibold);
  color: var(--wc-text-secondary);
}
.wc-wae__empty-desc {
  font-size: var(--wc-text-sm);
  color: var(--wc-muted);
  margin-top: 4px;
}

/* Slot list */
.wc-wae__slot-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wc-wae__slot-date-header {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 10px 4px 4px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  margin-bottom: 2px;
}
.wc-wae__slot-date-header:first-child {
  padding-top: 0;
}
.wc-wae__slot-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--wc-white);
  border-radius: 10px;
  padding: 10px 14px;
  border: 1px solid var(--wc-border);
  font-size: 13px;
  transition: border-color 0.15s;
}
.wc-wae__slot-row:hover {
  border-color: var(--wc-border-strong);
}
.wc-wae__slot-row--booked {
  border-color: rgba(5, 150, 105, 0.15);
}
.wc-wae__slot-row--booked:hover {
  border-color: rgba(5, 150, 105, 0.3);
}
.wc-wae__slot-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.wc-wae__slot-icon--booked { background: rgba(5, 150, 105, 0.06); color: #059669; }
.wc-wae__slot-icon--open { background: rgba(99, 102, 241, 0.06); color: #6366f1; }
.wc-wae__slot-time { font-weight: 600; color: var(--wc-text); font-size: 13px; }
.wc-wae__slot-meta {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 1px;
}
.wc-wae__slot-booked-text {
  color: #059669;
  font-weight: 500;
}
.wc-wae__slot-capacity {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 10px;
  flex-shrink: 0;
}
.wc-wae__slot-capacity--booked { color: #059669; background: rgba(5, 150, 105, 0.06); }
.wc-wae__slot-capacity--open { color: var(--wc-muted); background: #f3f4f6; }

/* Show more button */
.wc-wae__show-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 0;
  margin-top: 4px;
  font-size: 13px;
  font-weight: var(--wc-weight-medium);
  color: #6366f1;
  background: none;
  border: 1px dashed var(--wc-border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
}
.wc-wae__show-more:hover {
  background: rgba(99, 102, 241, 0.03);
  border-color: rgba(99, 102, 241, 0.3);
}
.wc-wae__show-more i { font-size: 16px; }

/* ═══════════════════════════════════════════════════════════════════
   Calendar Dashboard
   ═══════════════════════════════════════════════════════════════════ */

.wc-cal { position: relative; }

.wc-cal__body { position: relative; min-height: 400px; transition: opacity 0.15s; }
.wc-cal__body--loading { opacity: 0.5; pointer-events: none; }
.wc-cal-cell--skeleton { pointer-events: none; }
.wc-cal-skeleton { animation: wc-cal-fade-in 0.2s ease; }

/* ── Toolbar ─────────────────────────────────────────────────────── */

.wc-cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: var(--wc-white);
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius);
  box-shadow: var(--wc-shadow-sm);
}

.wc-cal-toolbar__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wc-cal-toolbar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  font-size: var(--wc-text-sm);
  font-weight: var(--wc-weight-medium);
  color: var(--wc-text);
  background: var(--wc-surface);
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius-sm);
  cursor: pointer;
  transition: all 0.15s;
}
.wc-cal-toolbar__btn:hover { background: var(--wc-border); }
.wc-cal-toolbar__btn--icon { padding: 6px 8px; }
.wc-cal-toolbar__btn--icon i { font-size: 18px; line-height: 1; }

.wc-cal-toolbar__label {
  font-size: var(--wc-text-md);
  font-weight: var(--wc-weight-semibold);
  color: var(--wc-text);
  margin-left: 4px;
}

.wc-cal-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.wc-cal-toolbar__filters {
  display: flex;
  gap: 8px;
}

.wc-cal-toolbar__select {
  height: var(--wc-input-height);
  padding: 0 28px 0 10px;
  font-size: var(--wc-text-sm);
  color: var(--wc-text);
  background: var(--wc-white);
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius-sm);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6b69' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  cursor: pointer;
}

.wc-cal-toolbar__views {
  display: flex;
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius-sm);
  overflow: hidden;
}

.wc-cal-toolbar__view-btn {
  padding: 6px 14px;
  font-size: var(--wc-text-sm);
  font-weight: var(--wc-weight-medium);
  color: var(--wc-muted);
  background: var(--wc-white);
  border: none;
  border-right: 1px solid var(--wc-border);
  cursor: pointer;
  transition: all 0.15s;
}
.wc-cal-toolbar__view-btn:last-child { border-right: none; }
.wc-cal-toolbar__view-btn:hover { color: var(--wc-text); background: var(--wc-surface); }
.wc-cal-toolbar__view-btn--active {
  color: var(--wc-white);
  background: var(--wc-accent);
}
.wc-cal-toolbar__view-btn--active:hover { color: var(--wc-white); background: var(--wc-accent-hover); }

/* ── Month Grid ──────────────────────────────────────────────────── */

.wc-cal-month {
  background: var(--wc-white);
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius);
  overflow: hidden;
}

.wc-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.wc-cal-grid--header {
  border-bottom: 1px solid var(--wc-border);
}

.wc-cal-header-cell {
  padding: 8px 10px;
  font-size: var(--wc-text-xs);
  font-weight: var(--wc-weight-semibold);
  color: var(--wc-muted);
  text-transform: uppercase;
  letter-spacing: var(--wc-tracking-wide);
  text-align: center;
}

.wc-cal-cell {
  min-height: 100px;
  padding: 6px 8px;
  border-right: 1px solid var(--wc-border);
  border-bottom: 1px solid var(--wc-border);
  cursor: pointer;
  transition: background 0.1s;
  overflow: hidden;
  min-width: 0;
}
.wc-cal-cell:nth-child(7n) { border-right: none; }
.wc-cal-cell:hover { background: var(--wc-surface); }

.wc-cal-cell--other-month { background: var(--wc-surface); }
.wc-cal-cell--other-month .wc-cal-cell__date { color: var(--wc-muted); }
.wc-cal-cell--today { background: rgba(59, 130, 246, 0.04); }

.wc-cal-cell__date {
  display: block;
  font-size: var(--wc-text-sm);
  font-weight: var(--wc-weight-medium);
  color: var(--wc-text);
  margin-bottom: 4px;
  text-align: right;
}
.wc-cal-cell__date--today {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--wc-accent);
  color: #fff;
  border-radius: 50%;
  float: right;
}

.wc-cal-cell__events { clear: both; display: flex; flex-direction: column; gap: 2px; }

/* ── Event pills ─────────────────────────────────────────────────── */

.wc-cal-event {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 100%;
  padding: 2px 6px;
  border: none;
  border-radius: 4px;
  font-size: 11px;
  overflow: hidden;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: filter 0.1s;
  overflow: hidden;
  white-space: nowrap;
}
.wc-cal-event:hover { filter: brightness(0.92); }
.wc-cal-event--cancelled { opacity: 0.5; text-decoration: line-through; }

.wc-cal-event--live { background: rgba(59, 130, 246, 0.12); color: #2563eb; }
.wc-cal-event--workshop { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }
.wc-cal-event--replay { background: rgba(245, 158, 11, 0.12); color: #d97706; }
.wc-cal-event--custom { background: rgba(16, 185, 129, 0.12); color: #059669; }
.wc-cal-event--conflict { outline: 2px solid #ef4444; outline-offset: -1px; }
.wc-cal-event--more { background: none; color: var(--wc-muted); font-weight: var(--wc-weight-medium); }

.wc-cal-conflict-icon { color: #ef4444; font-size: 11px; flex-shrink: 0; }

.wc-cal-event__dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.wc-cal-event__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

/* ── Week View ───────────────────────────────────────────────────── */

.wc-cal-week {
  background: var(--wc-white);
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius);
  overflow: hidden;
}

.wc-cal-week__header {
  display: grid;
  grid-template-columns: 56px repeat(7, 1fr);
  border-bottom: 1px solid var(--wc-border);
}

.wc-cal-week__gutter {
  width: 56px;
  flex-shrink: 0;
}

.wc-cal-week__day-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px;
  gap: 2px;
}
.wc-cal-week__day-name {
  font-size: var(--wc-text-xs);
  font-weight: var(--wc-weight-semibold);
  color: var(--wc-muted);
  text-transform: uppercase;
  letter-spacing: var(--wc-tracking-wide);
}
.wc-cal-week__day-num {
  font-size: var(--wc-text-base);
  font-weight: var(--wc-weight-semibold);
  color: var(--wc-text);
}
.wc-cal-week__day-num--today {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--wc-accent);
  color: #fff;
  border-radius: 50%;
}

.wc-cal-week__body {
  display: grid;
  grid-template-columns: 56px repeat(7, 1fr);
  position: relative;
  overflow-y: auto;
}

.wc-cal-week__hour-label {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0 8px 0 0;
  font-size: 10px;
  color: var(--wc-muted);
  transform: translateY(-6px);
}

.wc-cal-week__col {
  position: relative;
  border-left: 1px solid var(--wc-border);
}

.wc-cal-week__gridline {
  position: absolute;
  left: 0;
  right: 0;
  height: 0;
  border-top: 1px solid var(--wc-border);
}

.wc-cal-week-block {
  position: absolute;
  left: 2px;
  right: 2px;
  padding: 3px 6px;
  border: none;
  border-radius: 4px;
  font-size: 11px;
  line-height: var(--wc-leading-none);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: filter 0.1s;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.wc-cal-week-block:hover { filter: brightness(0.92); }
.wc-cal-week-block__time { font-weight: var(--wc-weight-semibold); }
.wc-cal-week-block__title { opacity: 0.85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Reuse event colors for week blocks */
.wc-cal-week-block.wc-cal-event--live { background: rgba(59, 130, 246, 0.18); color: #2563eb; }
.wc-cal-week-block.wc-cal-event--workshop { background: rgba(139, 92, 246, 0.18); color: #7c3aed; }
.wc-cal-week-block.wc-cal-event--replay { background: rgba(245, 158, 11, 0.18); color: #d97706; }
.wc-cal-week-block.wc-cal-event--custom { background: rgba(16, 185, 129, 0.18); color: #059669; }
.wc-cal-week-block.wc-cal-event--conflict { outline: 2px solid #ef4444; outline-offset: -1px; }
.wc-cal-week-block .wc-cal-conflict-icon { position: absolute; top: 2px; right: 3px; font-size: 10px; }

/* ── Day View ────────────────────────────────────────────────────── */

.wc-cal-day {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wc-cal-day__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--wc-muted);
  font-size: var(--wc-text-base);
}
.wc-cal-day__empty i { font-size: 32px; margin-bottom: 8px; }

.wc-cal-day-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: var(--wc-white);
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius-sm);
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
  width: 100%;
}
.wc-cal-day-row:hover { box-shadow: var(--wc-shadow); border-color: var(--wc-border-strong); }
.wc-cal-day-row--cancelled { opacity: 0.55; }
.wc-cal-day-row--conflict { border-color: #ef4444; background: rgba(239, 68, 68, 0.04); }
.wc-cal-day-row--conflict:hover { border-color: #dc2626; }

.wc-cal-day-row__time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 72px;
  flex-shrink: 0;
}
.wc-cal-day-row__start { font-size: var(--wc-text-base); font-weight: var(--wc-weight-semibold); color: var(--wc-text); }
.wc-cal-day-row__end { font-size: var(--wc-text-sm); color: var(--wc-muted); }

.wc-cal-day-row__info { flex: 1; min-width: 0; }
.wc-cal-day-row__title { display: block; font-weight: var(--wc-weight-medium); color: var(--wc-text); margin-bottom: 4px; }
.wc-cal-day-row__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wc-cal-day-row__capacity { font-size: var(--wc-text-sm); color: var(--wc-muted); }
.wc-cal-day-row__duration { font-size: var(--wc-text-sm); color: var(--wc-muted); }
.wc-cal-day-row__arrow { font-size: 18px; color: var(--wc-muted); flex-shrink: 0; }

/* ── Badges ──────────────────────────────────────────────────────── */

.wc-cal-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: var(--wc-weight-semibold);
  border-radius: 10px;
  letter-spacing: 0.02em;
}
.wc-cal-badge--live { background: rgba(59, 130, 246, 0.12); color: #2563eb; }
.wc-cal-badge--workshop { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }
.wc-cal-badge--replay { background: rgba(245, 158, 11, 0.12); color: #d97706; }
.wc-cal-badge--status { background: var(--wc-surface); color: var(--wc-muted); }
.wc-cal-badge--conflict { background: rgba(239, 68, 68, 0.1); color: #dc2626; font-weight: 600; }
.wc-cal-badge--event { background: rgba(16, 185, 129, 0.12); color: #059669; }

/* ── Detail Panel ────────────────────────────────────────────────── */

.wc-cal-detail-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 999;
  animation: wc-cal-fade-in 0.15s ease;
}

.wc-cal-detail {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: 100vw;
  background: var(--wc-white);
  box-shadow: var(--wc-shadow-lg);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  animation: wc-cal-slide-in 0.2s ease;
}

@keyframes wc-cal-slide-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@keyframes wc-cal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.wc-cal-detail__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--wc-border);
}
.wc-cal-detail__header h3 { margin: 0; font-size: var(--wc-text-md); font-weight: var(--wc-weight-semibold); }

.wc-cal-detail__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--wc-accent);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.1s;
}
.wc-cal-detail__close:hover { background: var(--wc-accent-hover); color: #fff; }

.wc-cal-detail__body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px;
}
.wc-cal-detail__body .form-control[type="datetime-local"],
.wc-cal-detail__body .form-control[type="date"] {
  min-width: 0;
  width: 100%;
}

.wc-cal-detail__subtitle {
  margin: 0 0 12px;
  font-size: var(--wc-text-sm);
  color: var(--wc-text-secondary);
}

.wc-cal-detail__meta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.wc-cal-detail__row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--wc-text-sm);
  color: var(--wc-text);
}
.wc-cal-detail__row i { color: var(--wc-muted); font-size: 16px; width: 18px; flex-shrink: 0; }

.wc-cal-detail__notes {
  padding: 12px;
  background: var(--wc-surface);
  border-radius: var(--wc-radius-sm);
  margin-bottom: 20px;
  font-size: var(--wc-text-sm);
}
.wc-cal-detail__notes strong { display: block; margin-bottom: 4px; font-size: var(--wc-text-xs); color: var(--wc-muted); text-transform: uppercase; letter-spacing: var(--wc-tracking-wide); }
.wc-cal-detail__notes p { margin: 0; }

.wc-cal-detail__bookings { margin-bottom: 20px; }
.wc-cal-detail__bookings h4 { margin: 0 0 8px; font-size: var(--wc-text-sm); font-weight: var(--wc-weight-semibold); }
.wc-cal-detail__loading,
.wc-cal-detail__empty { margin: 0; font-size: var(--wc-text-sm); color: var(--wc-muted); }

.wc-cal-detail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wc-cal-detail__booking {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 10px;
  background: var(--wc-surface);
  border-radius: 6px;
  font-size: var(--wc-text-sm);
}
.wc-cal-detail__booking-name { font-weight: var(--wc-weight-medium); flex: 1; min-width: 0; }
.wc-cal-detail__booking-status { font-size: 11px; color: var(--wc-muted); text-transform: capitalize; }
.wc-cal-detail__resend { background: none; border: none; cursor: pointer; color: var(--wc-muted); padding: 2px 4px; font-size: 15px; line-height: 1; border-radius: 4px; transition: color .15s; }
.wc-cal-detail__resend:hover { color: var(--wc-accent); }
.wc-cal-detail__resend:disabled { opacity: .5; cursor: not-allowed; }
.wc-cal-detail__resend-msg { width: 100%; font-size: 11px; }
.wc-cal-detail__resend-msg--ok { color: var(--wc-success, #16a34a); }
.wc-cal-detail__resend-msg--err { color: var(--wc-danger, #dc2626); }

.wc-cal-detail__zoom-action { margin: 12px 0 16px; display: flex; flex-direction: column; gap: 6px; }
.wc-cal-detail__zoom-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px;
  font-size: var(--wc-text-sm); font-weight: var(--wc-weight-medium);
  color: #fff; background: #2563eb; border: none; border-radius: 6px; cursor: pointer; transition: background .15s;
}
.wc-cal-detail__zoom-btn:hover { background: #1d4ed8; }
.wc-cal-detail__zoom-btn:disabled { opacity: .6; cursor: not-allowed; }
.wc-cal-detail__zoom-btn--start {
  background: var(--wc-btn-bg, #1e1e1e); color: #fff; text-decoration: none; padding: 9px 18px;
  font-size: var(--wc-text-sm); font-weight: var(--wc-weight-semibold);
  border-radius: 8px; width: 100%; justify-content: center;
}
.wc-cal-detail__zoom-btn--start:hover { background: var(--wc-btn-hover-bg, #333333); color: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14); }

.wc-cal-detail__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--wc-text-sm);
  font-weight: var(--wc-weight-medium);
  color: var(--wc-accent);
  text-decoration: none;
}
.wc-cal-detail__link:hover { text-decoration: underline; color: var(--wc-accent-hover); }

/* ── Mobile ──────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .wc-cal-toolbar { flex-direction: column; align-items: stretch; }
  .wc-cal-toolbar__actions { flex-direction: column; }
  .wc-cal-toolbar__filters { flex-direction: column; }
  .wc-cal-toolbar__select { width: 100%; }

  .wc-cal-cell { min-height: 60px; padding: 4px; }
  .wc-cal-cell__date { font-size: 11px; }

  /* Pills become dots on mobile */
  .wc-cal-event__text { display: none; }
  .wc-cal-event { padding: 0; width: 8px; height: 8px; border-radius: 50%; justify-content: center; }
  .wc-cal-event__dot { display: none; }
  .wc-cal-event--more { width: auto; height: auto; border-radius: 4px; font-size: 10px; padding: 1px 4px; }

  /* Detail panel full-screen */
  .wc-cal-detail { width: 100vw; }

  /* Week view: scroll horizontally */
  .wc-cal-week { overflow-x: auto; }
  .wc-cal-week__header,
  .wc-cal-week__body { min-width: 700px; }
}

/* ============================================================
   Collection Pages Editor
   ============================================================ */
.wc-collection-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--wc-border, rgba(0,0,0,0.08));
  padding-bottom: 0;
}
.wc-collection-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: none;
  background: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--wc-muted, #888);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  margin-bottom: -1px;
}
.wc-collection-tab:hover {
  color: var(--wc-text, #3a3a38);
}
.wc-collection-tab--active {
  color: var(--wc-text, #3a3a38);
  border-bottom-color: var(--wc-accent, #111);
  font-weight: 600;
}
.wc-collection-tab i {
  font-size: 1rem;
}
.wc-collection-content {
  padding: 0;
}
.wc-collection-section {
  background: var(--wc-white, #fff);
  border: 1px solid var(--wc-border, rgba(0,0,0,0.08));
  border-radius: var(--wc-radius, 10px);
  padding: 20px 24px;
}
.wc-collection-section-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--wc-text, #3a3a38);
}
.wc-collection-section-title i {
  font-size: 1.1rem;
  opacity: 0.5;
}
.wc-collection-items-table {
  border: 1px solid var(--wc-border, rgba(0,0,0,0.08));
  border-radius: 8px;
  overflow: hidden;
}
.wc-collection-items-table table {
  margin-bottom: 0;
}
.wc-collection-items-table tr[draggable="true"]:hover {
  background: rgba(0,0,0,0.02);
}

/* ── AI Section Builder branding ── */
.wc-ai-badge {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  color: #fff;
  padding: 2px 7px;
  border-radius: 4px;
  line-height: 1.4;
  flex-shrink: 0;
}
/* AI card in section picker */
.wc-cms .wc-section-picker-item--ai {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--wc-radius-sm);
  border: 1px solid rgba(124, 58, 237, 0.18);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(167, 139, 250, 0.07) 50%, rgba(196, 181, 253, 0.04) 100%);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.wc-cms .wc-section-picker-item--ai:hover {
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 3px 14px rgba(124, 58, 237, 0.1);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.07) 0%, rgba(167, 139, 250, 0.1) 50%, rgba(196, 181, 253, 0.06) 100%);
}
.wc-section-picker-ai__icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}
.wc-section-picker-ai__title {
  font-size: var(--wc-text-base);
  font-weight: 600;
  color: #5b21b6;
  line-height: var(--wc-leading-tight);
  margin-bottom: 2px;
}
.wc-section-picker-ai__desc {
  font-size: var(--wc-text-xs);
  line-height: var(--wc-leading-normal);
  color: var(--wc-text-secondary);
}
/* AI generate button */
.wc-ai-generate-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 18px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #fff;
  font-weight: 600;
  font-size: var(--wc-text-sm);
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
}
.wc-ai-generate-btn:hover:not(:disabled) {
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}
.wc-ai-generate-btn:active:not(:disabled) {
  transform: scale(0.97);
}
.wc-ai-generate-btn:disabled {
  cursor: default;
  box-shadow: none;
}
/* AI suggestion pills */
.wc-ai-suggestion-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.04) 0%, rgba(167, 139, 250, 0.06) 100%);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: var(--wc-text-2xs);
  color: #6d28d9;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  line-height: 1.4;
}
.wc-ai-suggestion-pill i {
  font-size: 12px;
  color: #a78bfa;
  flex-shrink: 0;
}
.wc-ai-suggestion-pill:hover {
  border-color: rgba(124, 58, 237, 0.3);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.07) 0%, rgba(167, 139, 250, 0.1) 100%);
  box-shadow: 0 1px 4px rgba(124, 58, 237, 0.08);
}

/* ── Carousel nav buttons ── */
.wc-carousel-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--wc-btn-bg, var(--wc-accent, #111));
  background: var(--wc-btn-bg, var(--wc-accent, #111));
  color: var(--wc-btn-text, #fff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, opacity 0.15s;
  padding: 0;
  line-height: 1;
}
.wc-carousel-nav-btn:hover:not(:disabled) {
  border-color: var(--wc-btn-hover-bg, var(--wc-accent-hover, #2a2a28));
  background: var(--wc-btn-hover-bg, var(--wc-accent-hover, #2a2a28));
  color: var(--wc-btn-hover-text, #fff);
}
.wc-carousel-nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.wc-carousel-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 8px;
  border: 1px solid var(--wc-accent, #111);
  background: var(--wc-accent, #111);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, gap 0.2s;
  letter-spacing: 0.01em;
}
.wc-carousel-view-all-btn:hover {
  background: var(--wc-accent-hover, #2a2a28);
  border-color: var(--wc-accent-hover, #2a2a28);
  color: #fff;
  gap: 10px;
}
