/* ── HomeTrack+ Global Design System ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

#ht-redesign *, #ht-redesign *::before, #ht-redesign *::after { box-sizing: border-box; margin: 0; padding: 0; }
#ht-redesign { font-family: 'Inter', sans-serif; color: #0f2419; }
#ht-redesign a { text-decoration: none; }

/* HERO */
#ht-redesign .ht-hero { min-height: 80vh; background: linear-gradient(135deg, #0f2419 0%, #1a4d3a 45%, #2d7a55 100%); display: flex; align-items: center; justify-content: center; padding: 80px 48px; text-align: center; }
#ht-redesign .ht-hero-content { max-width: 700px; }
#ht-redesign .ht-badge { display: inline-block; background: rgba(76,175,128,0.18); color: #7dd9a8; border: 1px solid rgba(76,175,128,0.3); padding: 6px 16px; border-radius: 100px; font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 24px; }
#ht-redesign .ht-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; color: #fff; line-height: 1.12; margin-bottom: 20px; letter-spacing: -.02em; }
#ht-redesign .ht-hero h1 span { color: #7dd9a8; }
#ht-redesign .ht-hero p { font-size: 1.1rem; color: rgba(255,255,255,.72); line-height: 1.75; margin-bottom: 40px; }
#ht-redesign .ht-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
#ht-redesign .ht-btn-primary { background: #4caf80; color: #fff; padding: 14px 30px; border-radius: 10px; font-weight: 700; font-size: .95rem; box-shadow: 0 4px 20px rgba(76,175,128,.4); display: inline-block; }
#ht-redesign .ht-btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); padding: 14px 30px; border-radius: 10px; font-weight: 600; font-size: .95rem; display: inline-block; }
#ht-redesign .ht-stats { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.1); }
#ht-redesign .ht-stat-num { font-size: 1.9rem; font-weight: 800; color: #7dd9a8; }
#ht-redesign .ht-stat-label { font-size: .75rem; color: rgba(255,255,255,.45); margin-top: 4px; text-transform: uppercase; letter-spacing: .05em; }

/* SECTIONS */
#ht-redesign .ht-section { padding: 80px 48px; }
#ht-redesign .ht-section-light { background: #f8faf9; }
#ht-redesign .ht-section-white { background: #fff; }
#ht-redesign .ht-section-dark { background: #1a4d3a; }
#ht-redesign .ht-section-gray { background: #f1f5f2; }
#ht-redesign .ht-section-center { text-align: center; }
#ht-redesign .ht-inner { max-width: 1100px; margin: 0 auto; }
#ht-redesign .ht-tag { display: inline-block; color: #38a169; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
#ht-redesign .ht-tag-light { color: #7dd9a8; }
#ht-redesign .ht-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; color: #0f2419; line-height: 1.2; margin-bottom: 16px; letter-spacing: -.02em; }
#ht-redesign .ht-title-light { color: #fff; }
#ht-redesign .ht-sub { font-size: 1rem; color: #5a7a65; max-width: 560px; margin: 0 auto 52px; line-height: 1.7; }
#ht-redesign .ht-sub-light { color: rgba(255,255,255,.6); }

/* PAIN CARDS */
#ht-redesign .ht-pain-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto; }
#ht-redesign .ht-pain-card { background: #fff; border-radius: 16px; padding: 28px 22px; border: 1px solid #e2ece6; text-align: left; box-shadow: 0 2px 12px rgba(26,77,58,.05); }
#ht-redesign .ht-pain-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, #e8f5ee, #c8e6d0); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px; }
#ht-redesign .ht-pain-card h3 { font-size: .95rem; font-weight: 700; color: #0f2419; margin-bottom: 8px; }
#ht-redesign .ht-pain-card p { font-size: .83rem; color: #5a7a65; line-height: 1.6; }

/* TRACK CARDS */
#ht-redesign .ht-track-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
#ht-redesign .ht-track-card { border-radius: 14px; padding: 22px 20px; border: 1.5px solid #e2ece6; background: #fff; }
#ht-redesign .ht-num-badge { display: inline-block; background: #e8f5ee; color: #2d7a55; font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 100px; margin-bottom: 10px; letter-spacing: .05em; }
#ht-redesign .ht-track-card h3 { font-size: .88rem; font-weight: 700; color: #0f2419; margin-bottom: 12px; }
#ht-redesign .ht-track-card ul { list-style: none; }
#ht-redesign .ht-track-card ul li { font-size: .78rem; color: #5a7a65; padding: 4px 0; border-bottom: 1px solid #f0f5f2; display: flex; gap: 7px; align-items: flex-start; }
#ht-redesign .ht-track-card ul li:last-child { border-bottom: none; }
#ht-redesign .ht-track-card ul li::before { content: '✓'; color: #38a169; font-weight: 700; flex-shrink: 0; }

/* HOW IT WORKS STEPS */
#ht-redesign .ht-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2px; background: rgba(255,255,255,.07); border-radius: 20px; overflow: hidden; }
#ht-redesign .ht-step { padding: 36px 24px; text-align: center; }
#ht-redesign .ht-step-num { width: 44px; height: 44px; border-radius: 50%; background: rgba(76,175,128,.18); border: 1.5px solid #4caf80; color: #7dd9a8; font-weight: 800; font-size: 1rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
#ht-redesign .ht-step h3 { font-size: .9rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
#ht-redesign .ht-step p { font-size: .8rem; color: rgba(255,255,255,.5); line-height: 1.6; }

/* CTA BOX */
#ht-redesign .ht-cta-box { background: linear-gradient(135deg, #1a4d3a, #2d7a55); border-radius: 24px; padding: 56px 40px; max-width: 700px; margin: 0 auto; box-shadow: 0 12px 48px rgba(26,77,58,.22); text-align: center; }
#ht-redesign .ht-cta-box h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: #fff; margin-bottom: 14px; }
#ht-redesign .ht-cta-box p { color: rgba(255,255,255,.65); font-size: .98rem; line-height: 1.7; margin-bottom: 32px; }

/* ── Hide old Muffin Builder content on redesigned pages ── */
.home .entry-content .section.mcb-section,
.page-id-61 .entry-content .section.mcb-section,
.page-id-72 .entry-content .section.mcb-section,
.page-id-48 .entry-content .section.mcb-section {
  display: none !important;
}
.home .mfn-main-slider { display: none !important; }
.home .entry-content .section.the_content,
.page-id-61 .entry-content .section.the_content,
.page-id-72 .entry-content .section.the_content,
.page-id-48 .entry-content .section.the_content {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
}
.home #ht-redesign, .page-id-61 #ht-redesign, .page-id-72 #ht-redesign, .page-id-48 #ht-redesign { width: 100%; }

/* ── Swap Basic / Platinum plan order ── */
.page-id-40 .mcb-section-hk09b7ya8 .mcb-section-inner { display: flex !important; flex-direction: row !important; }
.page-id-40 .mcb-wrap-6yaz36via { order: 2 !important; }
.page-id-40 .mcb-wrap-zzd6h83er { order: 1 !important; }

/*  HomeTrack+ Checkout Upload Styling  */
#alg_checkout_files_upload_form_1 {
	  background: #faf8f5 !important;
	  border: 2px dashed #1a5c3a !important;
	  border-radius: 16px !important;
	  padding: 40px 30px !important;
	  text-align: center !important;
	  margin: 0 0 30px 0 !important;
	  transition: border-color 0.3s, background 0.3s;
}
#alg_checkout_files_upload_form_1:hover {
	  border-color: #d4663a !important;
	  background: #fdf6f2 !important;
}
#alg_checkout_files_upload_form_1 label {
	  font-family: 'Inter', sans-serif !important;
	  font-size: 22px !important;
	  font-weight: 700 !important;
	  color: #0f2419 !important;
	  display: block !important;
	  margin-bottom: 8px !important;
}
#alg_checkout_files_upload_form_1 .required {
	  color: #d4663a !important;
	  font-size: 14px !important;
}
#alg_checkout_files_upload_form_1 table {
	  border: none !important;
	  width: 100% !important;
}
#alg_checkout_files_upload_form_1 table td {
	  border: none !important;
	  padding: 4px 0 !important;
}
#alg_checkout_files_upload_form_1 .alg_checkout_files_upload_file_input {
	  display: none !important;
}
#alg_checkout_files_upload_form_1 .alg_checkout_files_upload_button {
	  display: inline-block !important;
	  background: #d4663a !important;
	  color: #fff !important;
	  font-family: 'Inter', sans-serif !important;
	  font-size: 16px !important;
	  font-weight: 600 !important;
	  padding: 14px 36px !important;
	  border-radius: 50px !important;
	  border: none !important;
	  cursor: pointer !important;
	  transition: background 0.3s, transform 0.15s;
	  margin-top: 10px !important;
}
#alg_checkout_files_upload_form_1 .alg_checkout_files_upload_button:hover {
	  background: #b8532e !important;
	  transform: translateY(-1px);
}

/* — HomeTrack+ Clean Checkout Layout — */

/* === FREE SUBMISSION CHECKOUT (April 2026) === */

/* Hide: coupon, order summary, pricing, express checkout, payment */
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout #woocommerce-checkout-form-coupon,
form.checkout.woocommerce-checkout > #order_review_heading,
form.checkout.woocommerce-checkout > #wc-stripe-express-checkout-element,
form.checkout.woocommerce-checkout > wc-order-attribution-inputs,
form.checkout.woocommerce-checkout > #wc-stripe-express-checkout__order-attribution-inputs,
form.checkout.woocommerce-checkout > #wc-stripe-express-checkout-button-separator,
form.checkout.woocommerce-checkout > .wcpay-express-checkout-wrapper,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info {
  display: none !important;
}

/* Hide order table and payment inside order_review (keep container visible for submit button) */
#order_review .shop_table,
#order_review #payment {
  display: none !important;
}

/* Hide MailPoet opt-in */
label[data-automation-id="woo-commerce-subscription-opt-in"],
#mailpoet_woocommerce_checkout_optin_present_field {
  display: none !important;
}

/* Hide unnecessary billing fields */
#billing_company_field,
#billing_country_field,
#billing_address_1_field,
#billing_address_2_field,
#billing_city_field,
#billing_state_field,
#billing_postcode_field,
.woocommerce-checkout #customer_details .col-2,
.woocommerce-additional-fields,
.woocommerce-checkout .woocommerce-privacy-policy-text {
  display: none !important;
}

/* Single column layout */
.woocommerce-checkout .entry-content > .woocommerce {
  max-width: 680px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  font-family: "Inter", -apple-system, sans-serif !important;
}
form.checkout.woocommerce-checkout {
  display: block !important;
}

/* Upload area styling */
#alg_checkout_files_upload_form_1 {
  background: #faf8f5 !important;
  border: 2px dashed #1a5c3a !important;
  border-radius: 12px !important;
  padding: 32px 24px !important;
  text-align: center !important;
  margin: 0 0 20px 0 !important;
  max-width: 100% !important;
  transition: border-color 0.3s;
}
#alg_checkout_files_upload_form_1:hover {
  border-color: #d4663a !important;
}
#alg_checkout_files_upload_form_1 label {
  font-family: "Inter", sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0f2419 !important;
  display: block !important;
  margin-bottom: 4px !important;
}
#alg_checkout_files_upload_form_1 .required {
  display: none !important;
}
#alg_checkout_files_upload_form_1 table {
  border: none !important;
  width: 100% !important;
}
#alg_checkout_files_upload_form_1 table td {
  border: none !important;
  text-align: center !important;
}
#alg_checkout_files_upload_form_1 .alg_checkout_files_upload_file_input {
  display: none !important;
}
#alg_checkout_files_upload_form_1 .alg_checkout_files_upload_button {
  background: #d4663a !important;
  color: #fff !important;
  padding: 12px 28px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  border: none !important;
  cursor: pointer !important;
  margin-top: 12px !important;
}
#alg_checkout_files_upload_form_1 .alg_checkout_files_upload_button:hover {
  background: #b8542e !important;
}

/* Form field styling */
.woocommerce-checkout #customer_details h3 {
  display: none !important;
}
.woocommerce-checkout #customer_details .col-1 {
  width: 100% !important;
  float: none !important;
}
#billing_first_name_field {
  width: 100% !important;
  float: none !important;
}
#billing_email_field {
  width: 100% !important;
}
.woocommerce-checkout #customer_details label {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #0f2419 !important;
}
.woocommerce-checkout #customer_details input,
.woocommerce-checkout #customer_details select {
  padding: 12px 14px !important;
  border: 1.5px solid #d4e6db !important;
  border-radius: 8px !important;
  font-size: 15px !important;
}
.woocommerce-checkout #customer_details input:focus {
  border-color: #4caf80 !important;
  box-shadow: 0 0 0 3px rgba(76,175,128,0.15) !important;
  outline: none !important;
}

/* Submit button */
#place_order {
  background: #4caf80 !important;
  color: #fff !important;
  font-family: "Inter", sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 16px 24px !important;
  cursor: pointer !important;
  width: 100% !important;
  margin-top: 16px !important;
  box-shadow: 0 4px 18px rgba(76,175,128,0.35) !important;
}
#place_order:hover {
  background: #3d9a6e !important;
}

/* Responsive */
@media (max-width: 900px) {
  .woocommerce-checkout .entry-content > .woocommerce {
    padding: 0 12px !important;
  }
}

/* Hide Pricing nav link */
li.menu-item a[href*="choose-your-plan"] { display: none !important; }

/* First + Last name side by side */
#billing_first_name_field { display: inline-block !important; width: 48% !important; margin-right: 2% !important; float: none !important; }
#billing_last_name_field { display: inline-block !important; width: 48% !important; float: none !important; vertical-align: top !important; }