/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.checkout-wrap {
  --navy: #094e6b;
  --navy-dark: #073d55;
  --gold: #d06a15;
  --gold-light: #e8945a;
  --gold-bg: #fdf3eb;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e2e5e9;
  --gray-300: #cdd2d9;
  --gray-400: #9ba3ae;
  --gray-500: #6b7685;
  --gray-600: #4a5568;
  --gray-700: #2d3748;
  --green: #2d8a4e;
  --green-light: #e6f4ec;
  --red: #c53030;
  --red-light: #fef2f2;
  --font-display: 'Raleway', sans-serif;
  --font-body: 'Raleway', sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);

  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
.checkout {
  max-width: 1140px;
  margin: 0 auto;
  padding: 80px 24px 64px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: start;
}

/* ── Form Column ── */
.form-col__step-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.form-col__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
}

/* ── Card / Section ── */
/* .checkout-card {
background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm); 
}*/

.form-col {
  order: 0;
}

/* ── Existing member login ── */
.checkout-login {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.checkout-login__heading {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 1.5;
}

/* ── Sidebar ── */
.checkout-sidebar {
  /* position: sticky;
  top: 24px; */
  order: 1;
}

/* ── Sidebar Order Summary Card ── */
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}

.sidebar-card__header {
  background: var(--navy);
  color: var(--white);
  padding: 24px 24px 20px;
}

.sidebar-card__eyebrow {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  margin-bottom: 8px;
  font-weight: 500;
}

.sidebar-card__program-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.sidebar-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--gray-100);
}

.sidebar-card__meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--gray-600);
}

.sidebar-card__meta-row svg {
  width: 16px;
  height: 16px;
  color: var(--navy);
  flex-shrink: 0;
}

/* ── What's Included ── */
.sidebar-card__body {
  padding: 20px 24px;
}

.sidebar-card__body h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
}

.sidebar-card__body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.sidebar-card__body ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.5;
}

.sidebar-card__body ul li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='%232d8a4e'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4.5 12.75l6 6 9-13.5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 2px;
}

/* ── Price Summary ── */
.price-summary {
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
}

.price-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.price-summary__total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  padding-top: 10px;
  border-top: 2px solid var(--navy);
  margin-top: 8px;
}

.price-summary__note {
  text-align: center;
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 8px;
}

/* ── Testimonials ── */
.checkout-testimonials {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.checkout-testimonials h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}

.checkout-testimonial {
  margin-bottom: 20px;
}

.checkout-testimonial:last-child {
  margin-bottom: 0;
}

.checkout-testimonial__stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.checkout-testimonial__quote {
  font-size: 15px;
  font-style: italic;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 10px;
}

.checkout-testimonial__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-testimonial__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checkout-testimonial__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.checkout-testimonial__title {
  font-size: 14px;
  color: var(--gray-400);
}

/* ── Guarantee ── */
.checkout-guarantee {
  background: var(--gold-bg);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.checkout-guarantee__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.checkout-guarantee__header svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
  flex-shrink: 0;
}

.checkout-guarantee__brand {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  font-weight: 600;
}

.checkout-guarantee h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.checkout-guarantee p {
  font-size: 16px;
  color: var(--gray-600);
  margin-bottom: 14px;
  line-height: 1.6;
}

.checkout-guarantee__commitment h5 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.checkout-guarantee__commitment ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.checkout-guarantee__commitment ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 15px;
  color: var(--gray-600);
}

.checkout-guarantee__commitment ul li::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  min-width: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='%232d8a4e'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4.5 12.75l6 6 9-13.5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 4px;
}

/* ── Webinar CTA ── */
.checkout-webinar {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.checkout-webinar__badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.checkout-webinar h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.checkout-webinar p {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 6px;
  line-height: 1.5;
}

.checkout-webinar__date {
  font-weight: 600;
  color: var(--gray-700);
}

.checkout-webinar__btn {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  background: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.checkout-webinar__btn:hover {
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .checkout {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column-reverse;
  }
}

@media (max-width: 520px) {
  .checkout {
    padding: 20px 16px 48px;
  }

  /* .checkout-card {
    padding: 20px;
  } */
}

/* Style overrides */

.pmpro_section #loginform label:not(.pmpro_section #loginform .login-remember label) {
  font-family: var(--font-body);
}

.checkout-login .pmpro_font-large {
  font-family: var(--font-body);
}

.checkout-login label {
  font-family: var(--font-body);
}

.pmpro_form>.pmpro_card {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* .pmpro_card_title {
  padding: 0 !important;
} */

/* .pmpro_card {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: none !important;
} */

/* .pmpro_card_content {
  padding: 0 !important;
} */