/* Equipe de Concursos — Checkout Fix V7.3 */
body.eccs-checkout-flow,
body.eccs-checkout-flow #page,
body.eccs-checkout-flow .site,
body.eccs-checkout-flow .site-content,
body.eccs-checkout-flow .content-area,
body.eccs-checkout-flow main,
body.eccs-checkout-flow article,
body.eccs-checkout-flow .entry-content {
  background: #f4f7fb !important;
  color: #0f172a !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body.eccs-checkout-flow .entry-title,
body.eccs-checkout-flow .page-title,
body.eccs-checkout-flow .woocommerce-products-header,
body.eccs-checkout-flow .breadcrumb,
body.eccs-checkout-flow .woocommerce-breadcrumb {
  display: none !important;
}

body.eccs-checkout-flow .woocommerce {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 42px 22px 80px !important;
  color: #0f172a !important;
}

body.eccs-checkout-flow .woocommerce::before {
  content: "Finalize sua matrícula";
  display: block;
  margin: 0 0 8px;
  color: #071f3d;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 900;
  text-align: center;
}

body.eccs-cart-page .woocommerce::before { content: "Revise sua matrícula"; }
body.eccs-account-page .woocommerce::before { content: "Área do aluno"; }

body.eccs-checkout-flow .woocommerce::after {
  content: "Confira seus dados, revise o curso escolhido e avance com segurança para concluir sua preparação.";
  display: block;
  max-width: 760px;
  margin: 0 auto 34px;
  color: #475569;
  font-size: 16px;
  line-height: 1.65;
  text-align: center;
}

body.eccs-checkout-flow .woocommerce-message,
body.eccs-checkout-flow .woocommerce-info,
body.eccs-checkout-flow .woocommerce-error {
  border: 0 !important;
  border-radius: 18px !important;
  padding: 18px 22px !important;
  margin: 0 0 18px !important;
  background: #e8f7ee !important;
  color: #064e3b !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .08) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

body.eccs-checkout-flow .woocommerce-info {
  background: #eff6ff !important;
  color: #0b3a70 !important;
}

body.eccs-checkout-flow .woocommerce-error {
  background: #fff1f2 !important;
  color: #9f1239 !important;
}

body.eccs-checkout-flow .woocommerce-message a,
body.eccs-checkout-flow .woocommerce-info a,
body.eccs-checkout-flow .woocommerce-error a {
  color: inherit !important;
  font-weight: 900 !important;
  text-decoration: underline !important;
}

body.eccs-checkout-flow form.checkout,
body.eccs-checkout-flow .woocommerce-cart-form,
body.eccs-checkout-flow .cart-collaterals,
body.eccs-checkout-flow .woocommerce-MyAccount-content,
body.eccs-checkout-flow .woocommerce-MyAccount-navigation,
body.eccs-checkout-flow .woocommerce-order,
body.eccs-checkout-flow .woocommerce-form-login,
body.eccs-checkout-flow .checkout_coupon {
  background: #ffffff !important;
  border: 1px solid #d8e0ea !important;
  border-radius: 28px !important;
  box-shadow: 0 24px 70px rgba(7, 31, 61, .10) !important;
  padding: 28px !important;
}

body.eccs-checkout-flow form.checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr) !important;
  gap: 28px !important;
  align-items: start !important;
}

body.eccs-checkout-flow #customer_details,
body.eccs-checkout-flow #order_review_heading,
body.eccs-checkout-flow #order_review {
  width: 100% !important;
  float: none !important;
  clear: none !important;
}

body.eccs-checkout-flow #customer_details {
  display: block !important;
}

body.eccs-checkout-flow #customer_details .col-1,
body.eccs-checkout-flow #customer_details .col-2 {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 0 22px !important;
}

body.eccs-checkout-flow h2,
body.eccs-checkout-flow h3,
body.eccs-checkout-flow #order_review_heading {
  color: #071f3d !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  letter-spacing: -0.025em !important;
  font-weight: 900 !important;
  margin: 0 0 18px !important;
}

body.eccs-checkout-flow .form-row,
body.eccs-checkout-flow .woocommerce form .form-row {
  padding: 0 !important;
  margin: 0 0 18px !important;
  display: block !important;
}

body.eccs-checkout-flow .form-row-first,
body.eccs-checkout-flow .form-row-last {
  width: calc(50% - 10px) !important;
  float: left !important;
}
body.eccs-checkout-flow .form-row-first { margin-right: 20px !important; }
body.eccs-checkout-flow .form-row-wide { clear: both !important; }

body.eccs-checkout-flow label,
body.eccs-checkout-flow .woocommerce form .form-row label {
  display: block !important;
  color: #0f172a !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
  margin: 0 0 8px !important;
  position: static !important;
  opacity: 1 !important;
}

body.eccs-checkout-flow abbr.required,
body.eccs-checkout-flow .required {
  color: #dc2626 !important;
  text-decoration: none !important;
}

body.eccs-checkout-flow input.input-text,
body.eccs-checkout-flow input[type="text"],
body.eccs-checkout-flow input[type="email"],
body.eccs-checkout-flow input[type="tel"],
body.eccs-checkout-flow input[type="password"],
body.eccs-checkout-flow textarea,
body.eccs-checkout-flow select,
body.eccs-checkout-flow .select2-container .select2-selection--single,
body.eccs-checkout-flow .select2-container .select2-selection--multiple {
  width: 100% !important;
  min-height: 52px !important;
  height: auto !important;
  border: 1px solid #d8e0ea !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 14px 16px !important;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease !important;
}

body.eccs-checkout-flow textarea {
  min-height: 132px !important;
  resize: vertical !important;
}

body.eccs-checkout-flow input::placeholder,
body.eccs-checkout-flow textarea::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
}

body.eccs-checkout-flow input:focus,
body.eccs-checkout-flow textarea:focus,
body.eccs-checkout-flow select:focus,
body.eccs-checkout-flow .select2-container--open .select2-selection--single {
  border-color: #ffc233 !important;
  box-shadow: 0 0 0 4px rgba(255, 194, 51, .22) !important;
  background: #ffffff !important;
}

body.eccs-checkout-flow .select2-container .select2-selection--single .select2-selection__rendered {
  color: #0f172a !important;
  line-height: 22px !important;
  padding-left: 0 !important;
  padding-right: 22px !important;
}
body.eccs-checkout-flow .select2-container .select2-selection--single .select2-selection__arrow {
  height: 50px !important;
  right: 10px !important;
}

body.eccs-checkout-flow table.shop_table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
  border: 1px solid #d8e0ea !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background: #fff !important;
  color: #0f172a !important;
}
body.eccs-checkout-flow table.shop_table th,
body.eccs-checkout-flow table.shop_table td {
  border: 0 !important;
  border-bottom: 1px solid #e5eaf1 !important;
  padding: 16px !important;
  color: #0f172a !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  background: #fff !important;
}
body.eccs-checkout-flow table.shop_table th {
  background: #f8fafc !important;
  font-weight: 900 !important;
  color: #071f3d !important;
}
body.eccs-checkout-flow table.shop_table tr:last-child td,
body.eccs-checkout-flow table.shop_table tr:last-child th {
  border-bottom: 0 !important;
}

body.eccs-checkout-flow #payment,
body.eccs-checkout-flow .woocommerce-checkout-payment {
  background: #f8fafc !important;
  border: 1px solid #d8e0ea !important;
  border-radius: 22px !important;
  padding: 18px !important;
  color: #0f172a !important;
}
body.eccs-checkout-flow #payment ul.payment_methods {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 0 18px !important;
}
body.eccs-checkout-flow #payment div.payment_box {
  background: #fff !important;
  color: #475569 !important;
  border: 1px solid #e5eaf1 !important;
  border-radius: 16px !important;
}
body.eccs-checkout-flow #payment div.payment_box::before { display: none !important; }

body.eccs-checkout-flow .button,
body.eccs-checkout-flow button.button,
body.eccs-checkout-flow a.button,
body.eccs-checkout-flow input.button,
body.eccs-checkout-flow #place_order,
body.eccs-checkout-flow .checkout-button,
body.eccs-checkout-flow .wc-forward {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #ffc233 !important;
  color: #071f3d !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  padding: 15px 22px !important;
  text-decoration: none !important;
  box-shadow: 0 14px 28px rgba(255, 194, 51, .26) !important;
  cursor: pointer !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}
body.eccs-checkout-flow .button:hover,
body.eccs-checkout-flow button.button:hover,
body.eccs-checkout-flow a.button:hover,
body.eccs-checkout-flow input.button:hover,
body.eccs-checkout-flow #place_order:hover,
body.eccs-checkout-flow .checkout-button:hover {
  transform: translateY(-1px) !important;
  background: #ffd15f !important;
  box-shadow: 0 18px 38px rgba(255, 194, 51, .34) !important;
}
body.eccs-checkout-flow #place_order,
body.eccs-checkout-flow .checkout-button {
  width: 100% !important;
  min-height: 56px !important;
  font-size: 16px !important;
  margin-top: 12px !important;
}

body.eccs-checkout-flow .coupon,
body.eccs-checkout-flow .cart_totals,
body.eccs-checkout-flow .cross-sells {
  background: #fff !important;
  border: 1px solid #d8e0ea !important;
  border-radius: 24px !important;
  padding: 22px !important;
  box-shadow: 0 18px 50px rgba(7,31,61,.08) !important;
}
body.eccs-checkout-flow .coupon input.input-text {
  max-width: 100% !important;
  margin: 0 0 12px !important;
}

body.eccs-checkout-flow .woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid !important;
  gap: 8px !important;
}
body.eccs-checkout-flow .woocommerce-MyAccount-navigation a {
  display: block !important;
  background: #f8fafc !important;
  border: 1px solid #d8e0ea !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  color: #071f3d !important;
  text-decoration: none !important;
  font-weight: 800 !important;
}

body.eccs-checkout-flow .woocommerce-privacy-policy-text,
body.eccs-checkout-flow .woocommerce-terms-and-conditions-wrapper,
body.eccs-checkout-flow .woocommerce-form__label-for-checkbox,
body.eccs-checkout-flow p {
  color: #475569 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

body.eccs-checkout-flow a {
  color: #0b3a70 !important;
}

@media (max-width: 920px) {
  body.eccs-checkout-flow .woocommerce {
    padding: 30px 16px 58px !important;
  }
  body.eccs-checkout-flow form.checkout {
    grid-template-columns: 1fr !important;
  }
  body.eccs-checkout-flow .form-row-first,
  body.eccs-checkout-flow .form-row-last {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 640px) {
  body.eccs-checkout-flow .woocommerce::before {
    font-size: 34px !important;
    text-align: left !important;
  }
  body.eccs-checkout-flow .woocommerce::after {
    text-align: left !important;
    margin-left: 0 !important;
  }
  body.eccs-checkout-flow form.checkout,
  body.eccs-checkout-flow .woocommerce-cart-form,
  body.eccs-checkout-flow .cart-collaterals,
  body.eccs-checkout-flow .woocommerce-MyAccount-content,
  body.eccs-checkout-flow .woocommerce-MyAccount-navigation,
  body.eccs-checkout-flow .woocommerce-order,
  body.eccs-checkout-flow .woocommerce-form-login,
  body.eccs-checkout-flow .checkout_coupon {
    padding: 20px !important;
    border-radius: 22px !important;
  }
  body.eccs-checkout-flow table.shop_table th,
  body.eccs-checkout-flow table.shop_table td {
    padding: 12px !important;
    font-size: 13px !important;
  }
}
