/* Mentorship pages - design v4 (matches the approved previews).
   Layout and visual rules only. No display toggles or hooks are changed. */

:root {
  --mv-ink: #1d1d1f;
  --mv-muted: #6e6e75;
  --mv-hair: #e0e0e6;
  --mv-surface: #ffffff;
  --mv-fill: #f3f3f7;
  --mv-bg: #f6f6f8;
  --mv-accent: #e8485c;
  --mv-accent-tint: #fdedef;
  --mv-accent-2: #ff9a9e;
  --mv-dark-muted: #a8a8b2;
}

.main-section { width: 100% !important; margin: 0; }
.mobilewidth { width: 100% !important; max-width: 1440px; margin: 0 auto; padding: 0 64px; box-sizing: border-box; }
.head-quick-links { display: none; }
.main-section img, .product-page img, .checkout-page img { max-width: 100%; height: auto; }

/* ---------- Summary bar (under header) ---------- */
.summary-bar {
  margin: 24px 0 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--mv-hair);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.summary-inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 56px; padding: 10px 20px;
}
.summary-title { font-size: 15px; font-weight: 700; color: var(--mv-ink); }
.summary-price { font-size: 15px; font-weight: 700; color: var(--mv-ink); margin-left: 8px; }
.summary-cta {
  margin-left: auto; min-height: 36px; padding: 6px 22px;
  border: 0; border-radius: 18px; background: var(--mv-ink); color: #fff;
  font-size: 14px; font-weight: 700; cursor: pointer;
}

/* ---------- Hero: poster + product info ---------- */
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  margin-top: 40px;
}
.poster-card {
  background: var(--mv-surface);
  border: 1px solid var(--mv-hair);
  border-radius: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  padding: 40px;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: auto;
  display: block;
}
.poster {
  position: relative; border-radius: 18px; background: #f1eeec; overflow: hidden;
  min-height: 390px; padding-bottom: 0;
}
.poster-head {
  background: var(--mv-accent); color: #fff;
  padding: 28px 28px 28px; min-height: 150px;
  display: flex; flex-direction: column; gap: 4px; border-radius: 18px 18px 0 0;
}
.poster-head span:first-child { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.poster-head span:last-child { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.poster-panel {
  position: absolute; right: 24px; top: 170px; width: 214px;
  background: #fff; border-radius: 14px; padding: 22px 22px 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.poster-panel-title { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--mv-ink); }
.poster-panel ul { list-style: none; margin: 0; padding: 0; }
.poster-panel li { font-size: 13px; color: var(--mv-ink); margin-bottom: 12px; }
.poster-panel li::before { content: "•  "; }

.product-info { min-width: 0; }
.product-eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--mv-accent); }
.product-name { margin: 0; font-size: clamp(1.9rem, 3.2vw, 2.75rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: var(--mv-ink); overflow-wrap: break-word; }
.product-description { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--mv-muted); white-space: normal; }
.divider-line { border-top: 1px solid var(--mv-hair); margin: 28px 0 24px; }

/* ---------- Option groups as selectable cards ---------- */
.attribute-group > p { margin: 0 0 10px; font-size: 15px; font-weight: 700; color: var(--mv-ink); }
.attribute-group + .attribute-group { margin-top: 20px !important; }
.attribute-group > .d-flex {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.attribute-pill {
  position: relative; width: 100%; max-width: none !important;
  flex-direction: column; align-items: flex-start !important;
  margin: 0 !important; padding: 14px 16px !important;
  border: 1px solid var(--mv-hair) !important; border-radius: 14px !important;
  background: var(--mv-surface); color: var(--mv-ink);
  font-size: 15px; line-height: 1.3; transform: none;
}
.attribute-group > .d-flex > .attribute-pill:only-child { grid-column: 1 / -1; }
.attribute-pill strong { font-weight: 500; color: var(--mv-muted); }
.attribute-pill.active {
  background: var(--mv-fill);
  border-color: var(--mv-ink) !important;
  box-shadow: inset 0 0 0 1px var(--mv-ink);
}
.attribute-pill.active strong { color: var(--mv-ink); }
.attribute-pill.active::after {
  content: ""; position: absolute; top: 14px; right: 14px;
  width: 16px; height: 16px; border-radius: 50%; background: var(--mv-ink);
}
.attribute-pill.active::before {
  content: ""; position: absolute; top: 19px; right: 19px; width: 5px; height: 8px; z-index: 1;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.validity-note { margin: -4px 0 12px; font-size: 13px; color: var(--mv-muted); }

/* ---------- Buttons row ---------- */
.button-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin-top: 28px; }
.add-to-cart { flex: 1 1 320px; }
.add-to-cart button, .btn-dark {
  width: 100%; min-height: 54px; padding: 12px 18px; border: 0; border-radius: 14px;
  background: var(--mv-ink); color: #fff; font-size: 15px; font-weight: 700;
}
#trialButtonContainer { flex: 1 1 260px; }
.btn-trial,
.btn-trial:hover,
.btn-trial:focus {
  width: 100%; min-height: 54px; padding: 12px 18px; border-radius: 14px;
  background: var(--mv-surface) !important; color: var(--mv-ink) !important;
  border: 1px solid var(--mv-hair); font-size: 15px; font-weight: 700;
  box-shadow: none !important; transform: none !important;
}
.trial-active-badge, .trial-used-badge {
  min-height: 54px; display: flex; align-items: center; justify-content: center;
  border-radius: 14px; background: var(--mv-fill); color: var(--mv-ink); font-weight: 700; font-size: 14px;
}
.fine-print { margin: 16px 0 0; font-size: 13px; color: var(--mv-muted); }

/* ---------- Features ---------- */
.product-page { margin-top: 64px; }
.features-section { background: transparent; padding: 0; }
.features-wrapper { max-width: 1440px; margin: 0 auto; padding: 0 64px; }
.features-section h2.center { text-align: left; font-size: 34px; font-weight: 700; letter-spacing: -0.02em; margin: 0; color: var(--mv-ink); }
.features-section h2.center::after { display: none !important; }
.section-sub { margin: 8px 0 32px; font-size: 17px; color: var(--mv-muted); }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.feature-card {
  background: var(--mv-surface); border: 1px solid var(--mv-hair); border-radius: 20px;
  padding: 24px; box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.04);
}
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px; background: var(--mv-accent-tint); color: var(--mv-accent);
}
.feature-card h3 { margin: 20px 0 8px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--mv-ink); }
.feature-card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--mv-muted); }

/* ---------- Journey (dark band) ---------- */
.journey-band { margin-top: 56px; background: var(--mv-ink); padding: 64px 0; }
.journey-wrapper { max-width: 1440px; margin: 0 auto; padding: 0 64px; }
.journey-wrapper h2 { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.journey-sub { margin: 8px 0 40px; font-size: 17px; color: var(--mv-dark-muted); }
.journey-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; position: relative; }
.journey-steps::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 2px; background: #484850;
}
.journey-step { position: relative; }
.step-dot {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; color: #fff;
  font-size: 15px; font-weight: 700; background: var(--mv-ink);
}
.journey-step:first-child .step-dot { background: #fff; color: var(--mv-ink); }
.journey-step h3 { margin: 24px 0 6px; font-size: 18px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.journey-step p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--mv-dark-muted); }

/* ---------- Closing card ---------- */
.start-plan-card {
  max-width: 1312px; margin: 56px auto 0; padding: 48px 32px; text-align: center;
  background: var(--mv-surface); border: 1px solid var(--mv-hair); border-radius: 24px;
}
.start-plan-card h2 { margin: 0 0 8px; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; color: var(--mv-ink); }
.start-plan-card p { margin: 0 0 24px; font-size: 16px; color: var(--mv-muted); }
.start-plan-btn { width: auto; min-width: 240px; padding: 12px 28px; }

/* ---------- Know more (video) ---------- */
.product-page .mentorship-wrapper { max-width: 1312px; margin: 56px auto 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .journey-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .journey-steps::before { display: none; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .mobilewidth, .features-wrapper, .journey-wrapper { padding: 0 32px; }
  .product-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .poster-card { max-width: 520px; margin: 0 auto; }
  .attribute-group > .d-flex { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .mobilewidth, .features-wrapper, .journey-wrapper { padding: 0 16px; }
  .product-name { font-size: 1.75rem; }
  .product-description { font-size: 15px; }
  .summary-inner { flex-wrap: wrap; gap: 8px 12px; padding: 12px 14px; }
  .summary-cta { margin-left: 0; width: 100%; min-height: 40px; }
  .poster-card { padding: 16px; border-radius: 22px; }
  .poster { min-height: 0; }
  .poster-head { min-height: 120px; padding: 20px; }
  .poster-head span { font-size: 22px !important; }
  .poster-panel { position: relative; right: auto; top: auto; width: auto; margin: 16px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .journey-steps { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .features-section h2.center, .journey-wrapper h2 { font-size: 26px; }
  .start-plan-card { margin: 40px 16px 0; padding: 32px 20px; }
  .start-plan-card h2 { font-size: 24px; }
  .start-plan-btn { width: 100%; min-width: 0; }
}
@media (max-width: 359.98px) {
  .attribute-group > .d-flex { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   Checkout (trial cart) and status (trial success) pages
   ========================================================= */
.checkout-page { padding-top: 96px; }
.checkout-page { background: var(--mv-bg); min-height: 100vh; }
.checkout-wrap { max-width: 1312px; margin: 0 auto; padding: 0 64px 64px; box-sizing: border-box; }
.checkout-eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--mv-accent); }
.checkout-title { margin: 0; font-size: 40px; font-weight: 700; letter-spacing: -0.02em; color: var(--mv-ink); }
.checkout-sub { margin: 8px 0 32px; font-size: 17px; color: var(--mv-muted); }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 472px; gap: 24px; align-items: start; }
.checkout-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.cart-card, .included-card, .checkout-summary {
  background: var(--mv-surface); border: 1px solid var(--mv-hair); border-radius: 24px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.04);
}
.cart-card { display: flex; gap: 24px; padding: 28px; align-items: flex-start; }
.cart-tile {
  flex: 0 0 96px; height: 96px; border-radius: 18px; background: var(--mv-accent);
  color: #fff; display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 13px; font-weight: 700; line-height: 1.2; padding: 8px;
}
.cart-info { min-width: 0; flex: 1 1 auto; }
.cart-info .product-title { margin: 0 0 12px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--mv-ink); }
.product-details { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.detail-row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.detail-label { color: var(--mv-muted); }
.detail-value { color: var(--mv-ink); font-weight: 700; text-align: right; }
.cart-price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.cart-price-row .price { font-size: 20px; font-weight: 700; color: var(--mv-ink); }
.cart-price-row .original-price { font-size: 14px; color: var(--mv-muted); text-decoration: line-through; }
.trial-badge { display: inline-block; padding: 4px 10px; border-radius: 10px; background: var(--mv-accent-tint); color: var(--mv-accent); font-size: 12px; font-weight: 700; }
.included-card { padding: 24px 28px; }
.included-title { margin: 0 0 16px; font-size: 16px; font-weight: 700; color: var(--mv-ink); }
.included-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.included-list li { position: relative; padding-left: 30px; font-size: 15px; color: var(--mv-ink); }
.included-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--mv-ink);
}
.included-list li::after {
  content: ""; position: absolute; left: 7px; top: 6px; width: 4px; height: 8px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.checkout-summary { padding: 28px; position: sticky; top: 24px; }
.summary-heading { margin: 0 0 16px; font-size: 18px; font-weight: 700; color: var(--mv-ink); }
.summary-row { display: flex; justify-content: space-between; font-size: 15px; color: var(--mv-muted); margin-bottom: 12px; }
.summary-row span:last-child { color: var(--mv-ink); }
.coupon-section { margin: 16px 0; }
.coupon-code { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border: 1px solid var(--mv-hair); border-radius: 14px; font-size: 15px; color: var(--mv-muted); }
.promo-badge { color: var(--mv-ink); font-weight: 700; font-size: 14px; }
.summary-total { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--mv-hair); padding-top: 16px; margin-bottom: 20px; font-size: 17px; font-weight: 700; color: var(--mv-ink); }
.summary-total span:last-child { font-size: 22px; }
.btn-proceed {
  width: 100%; min-height: 56px; border: 0; border-radius: 14px; background: var(--mv-ink); color: #fff;
  font-size: 16px; font-weight: 700;
}
.summary-note { margin: 14px 0 0; font-size: 13px; color: var(--mv-muted); text-align: center; }
@media (max-width: 991.98px) {
  .checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .checkout-summary { position: static; }
}
@media (max-width: 767.98px) {
  .checkout-wrap { padding: 0 16px 40px; }
  .checkout-title { font-size: 28px; }
  .cart-card { flex-direction: column; padding: 20px; }
  .included-list { grid-template-columns: minmax(0, 1fr); }
  .checkout-summary { padding: 20px; }
}

/* ---------- Status card (trial success) ---------- */
.status-page { max-width: 640px; margin: 120px auto 64px; padding: 0 16px; }
.status-card {
  background: var(--mv-surface); border: 1px solid var(--mv-hair); border-radius: 28px;
  padding: 48px 40px; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}
.status-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 50%; background: var(--mv-ink); color: #fff; font-size: 28px; font-weight: 700;
}
.status-icon--muted { background: var(--mv-fill); color: var(--mv-ink); }
.status-title { margin: 24px 0 8px; font-size: 34px; font-weight: 700; letter-spacing: -0.02em; color: var(--mv-ink); }
.status-sub { margin: 0 0 28px; font-size: 17px; color: var(--mv-muted); }
.status-card .detail-list { border-top: 1px solid var(--mv-hair); padding-top: 20px; margin-bottom: 28px; }
.status-card .detail-row { padding: 6px 0; font-size: 15px; }
.status-card .detail-row > span:first-child { color: var(--mv-muted); }
.status-actions { display: flex; flex-direction: column; gap: 12px; }
.btn-home, .btn-secondary {
  display: block; min-height: 54px; line-height: 54px; border-radius: 14px; font-size: 16px; font-weight: 700; text-decoration: none;
}
.btn-home { background: var(--mv-ink); color: #fff !important; }
.btn-secondary { background: var(--mv-surface); color: var(--mv-ink) !important; border: 1px solid var(--mv-hair); }
.status-help { margin: 24px 0 0; font-size: 13px; color: var(--mv-muted); }
@media (max-width: 767.98px) {
  .status-page { margin-top: 96px; }
  .status-card { padding: 32px 20px; }
  .status-title { font-size: 26px; }
}

/* Override the older coupon colours inherited from the page's inline style */
.checkout-summary .coupon-section .coupon-code,
.checkout-summary .coupon-code { background: var(--mv-surface) !important; color: var(--mv-muted) !important; border: 1px solid var(--mv-hair) !important; }
.checkout-summary .promo-badge { background: transparent !important; color: var(--mv-ink) !important; padding: 0 !important; font-weight: 700; }
