/* ── Course Enrollment Modal ── */
:root {
  --wces-primary: #004D83;
  --wces-primary-dark: #003d6b;
  --wces-accent: #DA2B6B;
  --wces-accent-dark: #C4366F;
  --wces-bg: #fff;
  --wces-border: #e5e7eb;
  --wces-text: #111827;
  --wces-muted: #6b7280;
  --wces-radius: 14px;
  --wces-shadow: 0 25px 60px rgba(0, 0, 0, .22);
}


/* Overlay */
.wces-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
  animation: cesOvIn .25s ease both;
}

.wces-overlay[hidden] {
  display: none !important;
}

@keyframes cesOvIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Modal box */
.wces-modal {
  background: var(--wces-bg);
  border-radius: var(--wces-radius);
  box-shadow: var(--wces-shadow);
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  animation: cesMdIn .3s cubic-bezier(.4, 0, .2, 1) both;
}

@keyframes cesMdIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(.97);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Close */
.wces-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: #f3f4f6;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  color: var(--wces-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
  z-index: 2;
}

.wces-close:hover {
  background: #fee2e2;
  color: #ef4444;
}

/* Header */
.wces-modal-header {
  background: linear-gradient(135deg, var(--wces-primary) 0%, var(--wces-primary-dark) 100%);
  padding: 22px 24px 18px;
  flex-shrink: 0;
  color: #fff;
}

.wces-modal-header h2 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 14px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

/* Progress */
.wces-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, .25);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 10px;
}

.wces-progress-fill {
  height: 100%;
  background: #fff;
  border-radius: 99px;
  transition: width .4s cubic-bezier(.4, 0, .2, 1);
  width: 14.28%;
}

.wces-steps-dots {
  display: flex;
  gap: 5px;
}

.wces-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  color: rgba(255, 255, 255, .7);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}

.wces-dot.active {
  background: #fff;
  color: var(--wces-primary);
}

.wces-dot.done {
  background: rgba(255, 255, 255, .5);
  color: #fff;
}

/* Body */
.wces-modal-body {
  overflow-y: auto;
  flex: 1;
}

/* Steps */
.wces-step {
  padding: 26px 26px 22px;
  animation: cesStIn .28s ease both;
}

.wces-step[hidden] {
  display: none !important;
}

@keyframes cesStIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.wces-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--wces-text);
  margin: 0 0 3px;
  font-family: 'Poppins', sans-serif;
}

.wces-step-sub {
  font-size: 13px;
  color: var(--wces-muted);
  margin: 0 0 18px;
}

/* Fields */
.wces-field {
  margin-bottom: 16px;
}

.wces-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--wces-text);
  margin-bottom: 5px;
}

.wces-field label .req {
  color: #ef4444;
}

.wces-field input {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid var(--wces-border);
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 14px;
  color: var(--wces-text);
  outline: none;
  transition: border .2s, box-shadow .2s;
  font-family: 'Poppins', sans-serif;
}

.wces-field input:focus {
  border-color: var(--wces-primary);
  box-shadow: 0 0 0 3px rgba(0, 77, 131, .12);
}

.wces-err {
  display: block;
  font-size: 11px;
  color: #ef4444;
  margin-top: 3px;
  min-height: 15px;
}

/* Selection cards */
.wces-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wces-card-grid .wces-sel-card {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wces-sel-card {
  flex: 1 1 calc(50% - 5px);
  min-width: 120px;
  border: 1.5px solid var(--wces-border);
  border-radius: 8px;
  padding: 12px 14px;
  cursor: pointer;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--wces-text);
  transition: border .2s, background .2s, box-shadow .2s;
  font-family: 'Poppins', sans-serif;
  user-select: none;
}

.wces-sel-card:hover {
  border-color: var(--wces-primary);
  background: #eff6ff;
}

.wces-sel-card.selected {
  border-color: var(--wces-primary);
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(0, 77, 131, .1);
}

.wces-icon-grid .wces-sel-card {
  flex: 1 1 calc(50% - 5px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.wces-card-icon {
  font-size: 24px;
}

/* Course list */
.wces-course-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wces-course-card {
  border: 1.5px solid var(--wces-border);
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border .2s, background .2s;
  font-family: 'Poppins', sans-serif;
}

.wces-course-card:hover {
  border-color: var(--wces-primary);
  background: #eff6ff;
}

.wces-course-card.selected {
  border-color: var(--wces-primary);
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(0, 77, 131, .1);
}

.wces-course-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--wces-text);
}

.wces-course-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--wces-primary);
}

/* Pricing */
.wces-pricing-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 0;
}

.wces-price-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: none;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
  font-family: 'Poppins', sans-serif;
}

.wces-price-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}

.wces-eb-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
}

.wces-norm-btn {
  background: linear-gradient(135deg, var(--wces-primary), var(--wces-primary-dark));
  color: #fff;
}

.btn-price {
  font-size: 18px;
  font-weight: 800;
}

.wces-pricing-note {
  font-size: 12px;
  color: var(--wces-muted);
  margin: 0;
}

/* Nav */
.wces-nav {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.wces-btn-next,
.wces-btn-back {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
}

.wces-btn-next {
  background: var(--wces-primary);
  color: #fff;
  flex: 1;
}

.wces-btn-next:hover {
  background: var(--wces-primary-dark);
}

.wces-btn-back {
  background: #f3f4f6;
  color: var(--wces-muted);
  flex-shrink: 0;
}

.wces-btn-back:hover {
  background: var(--wces-border);
  color: var(--wces-text);
}

/* Step 1 next (full width) */
.wces-step[data-step="1"] .wces-btn-next {
  width: 100%;
}

/* Processing */
.wces-processing {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 26px;
  text-align: center;
}

.wces-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--wces-border);
  border-top-color: var(--wces-primary);
  border-radius: 50%;
  animation: cesSpin .8s linear infinite;
  margin-bottom: 20px;
}

@keyframes cesSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Enroll button on page */
.wces-enroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--wces-primary), var(--wces-primary-dark));
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  font-family: 'Poppins', sans-serif;
}

.wces-enroll-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 77, 131, .3);
}

.wces-enroll-btn.custom-btn.primary-btn.enroll_custom_btn:hover {
  box-shadow: none;
  background: linear-gradient(270deg, #d1356e 0%, #ca668e 100%);
}

.wces-empty {
  color: var(--wces-muted);
  font-size: 13px;
  text-align: center;
  padding: 20px 0;
}

/* Mobile */
@media (max-width:540px) {
  .wces-modal {
    max-height: 100vh;
    border-radius: 0;
  }

  .wces-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .wces-step {
    padding: 18px 16px;
  }

  .wces-sel-card {
    flex: 1 1 100%;
  }
}

/* ── Duration cards ── */
.wces-duration-card {
  flex: 1 1 calc(33% - 8px);
  min-width: 110px;
  border: 1.5px solid var(--wces-border);
  border-radius: 8px;
  padding: 14px 12px;
  cursor: pointer;
  text-align: center;
  transition: border .2s, background .2s, box-shadow .2s;
  font-family: 'Poppins', sans-serif;
  user-select: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wces-duration-card:hover {
  border-color: var(--wces-primary);
  background: #eff6ff;
}

.wces-duration-card.selected {
  border-color: var(--wces-primary);
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(0, 77, 131, .1);
}

.dur-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--wces-text);
}

.dur-price {
  font-size: 12px;
  font-weight: 500;
  color: var(--wces-primary);
}

/* ── Course summary box ── */
.wces-course-summary {
  background: #f0f4ff;
  border: 1.5px solid #c7d4f5;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.wces-summary-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--wces-primary);
  font-family: 'Poppins', sans-serif;
}

.wces-summary-meta {
  font-size: 12px;
  color: var(--wces-muted);
  margin-top: 3px;
  font-family: 'Poppins', sans-serif;
}

/* ── Price buttons (updated with sub-label) ── */
.wces-price-btn {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 16px 20px;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
  font-family: 'Poppins', sans-serif;
  gap: 4px;
  text-align: left;
}

.wces-price-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.wces-price-btn:active {
  transform: translateY(0);
}

.btn-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}

.btn-label {
  font-size: 15px;
  font-weight: 700;
}

.btn-price {
  font-size: 20px;
  font-weight: 800;
}

.btn-sub {
  font-size: 11px;
  opacity: .8;
  font-weight: 400;
}

.wces-eb-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
}

.wces-norm-btn {
  background: linear-gradient(135deg, var(--wces-primary), var(--wces-primary-dark));
  color: #fff;
}

/* ── Pricing summary name line ── */
.wces-summary-name {
  font-size: 12px;
  color: var(--wces-muted);
  margin-top: 2px;
  font-family: 'Poppins', sans-serif;
}

/* ── Back button: disabled appearance when JS hides it ── */
.wces-btn-back[style*="display:none"] {
  display: none !important;
}

/* ── Step 1 nav: full-width next since no back ── */
.wces-step[data-step="1"] .wces-nav {
  display: block;
}

.wces-step[data-step="1"] .wces-btn-next {
  width: 100%;
}

/* ── Sessions note (Step 6) ── */
.wces-sessions-hint {
  font-size: 11px;
  font-weight: 400;
  color: var(--wces-muted);
}

.wces-sessions-note {
  font-size: 12px;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 6px;
  padding: 8px 12px;
  margin-top: 6px;
}

#wces-sessions {
  max-width: 140px;
}

/* ── Clickable dots (completed steps) ── */
.wces-dot.clickable {
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s;
}

.wces-dot.clickable:hover {
  background: rgba(255, 255, 255, .85);
  color: var(--wces-primary);
  transform: scale(1.15);
}

/* ── Read-only cards ── */
.wces-card-readonly {
  cursor: default !important;
  pointer-events: none;
  opacity: 0.88;
}

.wces-card-readonly.selected {
  border-color: var(--wces-primary);
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(0, 77, 131, .1);
}

/* ── Read-only step indicator banner ── */
.wces-step.wces-readonly-mode::before {
  content: '👁 View only — this step has already been completed.';
  display: block;
  font-size: 11.5px;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 6px;
  padding: 7px 12px;
  margin-bottom: 14px;
  font-family: 'Poppins', sans-serif;
}

/* ── Preview Wrap ── */
.wces-preview-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Preview Box & Table ── */
.wces-preview-box {
  background: #f8faff;
  border: 1.5px solid #c7d4f5;
  border-radius: 10px;
  overflow: hidden;
}

.wces-preview-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Poppins', sans-serif;
}

.wces-preview-row {
  border-bottom: 1px solid #e8edf8;
}

.wces-preview-row:last-child {
  border-bottom: none;
}

.wces-preview-label {
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--wces-muted);
  white-space: nowrap;
  width: 42%;
  vertical-align: middle;
}

.wces-preview-icon {
  margin-right: 6px;
}

.wces-preview-value {
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--wces-text);
  vertical-align: middle;
}

/* Alternating row shading */
.wces-preview-row:nth-child(odd) {
  background: #fff;
}

.wces-preview-row:nth-child(even) {
  background: #f3f6ff;
}

/* ── Confirm Checkbox Row ── */
.wces-confirm-row {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 8px;
  padding: 12px 16px;
}

.wces-confirm-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #166534;
  line-height: 1.5;
  user-select: none;
}

.wces-confirm-label input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: #16a34a;
  cursor: pointer;
  flex-shrink: 0;
}

/* ── Disabled Continue button ── */
.wces-btn-next.wces-btn-disabled,
.wces-btn-next:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  opacity: 0.7;
}

.wces-btn-next.wces-btn-disabled:hover,
.wces-btn-next:disabled:hover {
  background: #9ca3af;
}

/* ── Registration fee notice (step 9 pricing) ── */
.wces-reg-fee-notice {
  background: #fffbeb;
  border: 1px solid #fbbf24;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 0 0 16px;
  font-size: 0.875rem;
  color: #92400e;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wces-reg-fee-notice strong {
  color: #78350f;
}

/* ═══════════════════════════════════════════════════════════
   WINTER ADDITIONS
   Everything above is the forked base stylesheet, untouched.
   Below only ADDS; it never restyles an existing element.
   ═══════════════════════════════════════════════════════════ */

body.wces-modal-open {
  overflow: hidden;
}

/* ── Duration cards ──
   Extends .wces-sel-card, so it inherits the base card look and
   only adds the stacked price block. ── */
.wces-dur-card {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 14px 12px;
}

.wces-dur-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--wces-text);
}

.wces-dur-price {
  font-size: 19px;
  font-weight: 700;
  color: var(--wces-primary);
  line-height: 1.2;
}

.wces-dur-sub {
  font-size: 11px;
  color: var(--wces-muted);
}

/* ═══ PAYMENT STEP ═══ */

.wces-cost-breakdown {
  border: 1.5px solid var(--wces-border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 18px;
  font-family: 'Poppins', sans-serif;
}

.wces-cost-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 11px 15px;
  font-size: 13.5px;
  color: var(--wces-text);
  border-bottom: 1px solid #e8edf8;
}

.wces-cost-row em {
  font-style: normal;
  color: var(--wces-muted);
  font-size: 11.5px;
}

.wces-cost-row .wces-cost-val {
  font-weight: 600;
  white-space: nowrap;
}

/* The balance line is informational, so it reads back */
.wces-cost-balance {
  background: #fafbfd;
}

.wces-cost-balance .wces-cost-val {
  color: var(--wces-muted);
}

/* The amount actually being charged is the hero of this step */
.wces-cost-due {
  background: #eff6ff;
  border-bottom: none;
  padding: 14px 15px;
}

.wces-cost-due .wces-cost-label {
  font-weight: 700;
  font-size: 14px;
  color: var(--wces-text);
}

.wces-cost-due .wces-cost-val {
  font-size: 22px;
  font-weight: 700;
  color: var(--wces-primary);
}

.wces-cost-note {
  margin: 0;
  padding: 10px 15px;
  background: #fffbeb;
  border-top: 1px solid #fde68a;
  font-size: 11.5px;
  line-height: 1.55;
  color: #92400e;
}

/* ── Path buttons ── */
.wces-pay-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  color: var(--wces-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
}

.wces-pay-divider::before,
.wces-pay-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--wces-border);
}

/* Secondary path — outlined, so the card button stays primary */
.wces-consult-btn {
  background: #fff !important;
  border: 1.5px solid var(--wces-primary) !important;
  color: var(--wces-primary) !important;
  box-shadow: none !important;
}

.wces-consult-btn:hover {
  background: #eff6ff !important;
}

.wces-consult-btn .btn-label {
  color: var(--wces-primary);
}

.wces-consult-btn .btn-sub {
  color: var(--wces-muted);
}

/* ═══ REVIEW TOTALS ═══ */
.wces-preview-total {
  margin-top: 14px;
  border: 1.5px solid var(--wces-border);
  border-radius: 10px;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.wces-total-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 15px;
  font-size: 13px;
  color: var(--wces-text);
}

.wces-total-row:first-child {
  border-bottom: 1px solid #e8edf8;
}

.wces-total-row:last-child {
  background: #eff6ff;
}

.wces-total-row strong {
  white-space: nowrap;
}

.wces-total-row:last-child strong {
  color: var(--wces-primary);
  font-size: 15px;
}

/* ═══ CONSULTATION STEP ═══
   Content is authored in the WYSIWYG field in Settings, so these
   rules style whatever tags the editor produces. */
.wces-consult {
  border: 1.5px solid #fde68a;
  background: #fffbeb;
  border-radius: 10px;
  padding: 20px;
  font-family: 'Poppins', sans-serif;
}

.wces-consult-content {
  font-size: 13.5px;
  line-height: 1.7;
  color: #451a03;
}

.wces-consult-content>*:first-child {
  margin-top: 0;
}

.wces-consult-content>*:last-child {
  margin-bottom: 0;
}

.wces-consult-content h1,
.wces-consult-content h2,
.wces-consult-content h3,
.wces-consult-content h4 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
  color: #92400e;
  line-height: 1.35;
}

.wces-consult-content p {
  margin: 0 0 11px;
}

.wces-consult-content strong {
  color: #78350f;
}

.wces-consult-content a {
  color: #b45309;
  text-decoration: underline;
}

.wces-consult-content ul,
.wces-consult-content ol {
  margin: 0 0 11px;
  padding-left: 20px;
  background: #fff;
  border-radius: 8px;
  padding: 12px 12px 12px 32px;
}

.wces-consult-content li {
  margin-bottom: 6px;
}

.wces-consult-content li:last-child {
  margin-bottom: 0;
}

.wces-consult-cta {
  display: inline-block;
  margin-top: 14px;
  padding: 12px 22px;
  background: var(--wces-primary);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13.5px;
  transition: opacity .15s ease;
}

.wces-consult-cta:hover {
  opacity: .88;
}

@media (max-width: 480px) {
  .wces-dur-price {
    font-size: 17px;
  }

  .wces-cost-due .wces-cost-val {
    font-size: 19px;
  }
}








/* ── Primary pay button ── */
.wces-card-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #00406f, #004d83) !important;
    color: #fff;
    box-shadow: 0 6px 18px rgb(0 75 128 / 25%) !important;
}
.wces-card-btn:hover {
  box-shadow: 0 10px 26px rgb(0 75 128 / 25%) !important;
}

/* Shine sweep on hover */
.wces-card-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.28) 50%,
      rgba(255,255,255,0) 100%);
  transform: skewX(-18deg);
  transition: left .55s ease;
  pointer-events: none;
}
.wces-card-btn:hover::after { left: 130%; }

/* Label / price gutter */
.wces-card-btn .btn-inner { gap: 14px; }

.wces-card-btn .btn-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-align: left;
}

/* Card glyph */
.wces-card-btn .btn-label::before {
  content: "";
  flex: none;
  width: 20px;
  height: 14px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 3px;
  background: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,.9)) 0 3px / 100% 3px no-repeat;
}

/* Price pill */
.wces-card-btn .btn-price {
  flex: none;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28);
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 18px;
  line-height: 1.5;
  color: #fff;
  white-space: nowrap;
}

.wces-card-btn .btn-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.92);
  opacity: 1;
}

/* Padlock glyph */
.wces-card-btn .btn-sub::before {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .92;
}

@media (max-width: 480px) {
  .wces-card-btn .btn-price { font-size: 16px; padding: 2px 10px; }
}