/* Equipe de Concursos - Checkout e Pagamentos V7.4 */
:root {
  --eccp74-blue: #071f3d;
  --eccp74-blue-2: #123e73;
  --eccp74-gold: #ffc233;
  --eccp74-bg: #f4f7fb;
  --eccp74-text: #0f172a;
  --eccp74-muted: #475569;
  --eccp74-border: #d8e0ea;
  --eccp74-green: #0f8a49;
  --eccp74-white: #ffffff;
  --eccp74-shadow: 0 22px 70px rgba(7,31,61,.11);
  --eccp74-radius: 22px;
}

body.eccp74-commerce-page {
  background: var(--eccp74-bg) !important;
  color: var(--eccp74-text) !important;
  overflow-x: hidden !important;
}

body.eccp74-commerce-page .entry-title,
body.eccp74-commerce-page .page-title,
body.eccp74-commerce-page h1.entry-title {
  display: none !important;
}

body.eccp74-commerce-page #primary,
body.eccp74-commerce-page #main,
body.eccp74-commerce-page main,
body.eccp74-commerce-page .site-main,
body.eccp74-commerce-page .content-area,
body.eccp74-commerce-page .entry-content,
body.eccp74-commerce-page .wp-site-blocks,
body.eccp74-commerce-page .woocommerce {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: var(--eccp74-bg) !important;
  color: var(--eccp74-text) !important;
}

body.eccp74-commerce-page .woocommerce {
  max-width: 1180px !important;
  padding: 34px 24px 74px !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.eccp74-page-intro {
  max-width: 1180px;
  margin: 0 auto 22px;
  padding: 36px 24px 20px;
  text-align: center;
  color: var(--eccp74-text);
}

.eccp74-page-intro .eccp74-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 194, 51, .2);
  color: #7a5300;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.eccp74-page-intro h1 {
  margin: 0;
  color: var(--eccp74-text) !important;
  font-weight: 950;
  font-size: clamp(34px, 5vw, 58px);
  line-height: .95;
  letter-spacing: -.055em;
}

.eccp74-page-intro p {
  max-width: 680px;
  margin: 14px auto 0;
  color: var(--eccp74-muted) !important;
  font-size: 17px;
  line-height: 1.65;
}

body.eccp74-commerce-page .woocommerce-notices-wrapper,
body.eccp74-commerce-page .woocommerce-error,
body.eccp74-commerce-page .woocommerce-info,
body.eccp74-commerce-page .woocommerce-message {
  max-width: 1180px !important;
  margin: 0 auto 14px !important;
}

body.eccp74-commerce-page .woocommerce-error,
body.eccp74-commerce-page .woocommerce-info,
body.eccp74-commerce-page .woocommerce-message {
  border: 1px solid var(--eccp74-border) !important;
  border-left: 6px solid var(--eccp74-green) !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  color: var(--eccp74-text) !important;
  padding: 15px 18px !important;
  box-shadow: 0 10px 34px rgba(7,31,61,.06) !important;
}

body.eccp74-commerce-page .woocommerce-error a,
body.eccp74-commerce-page .woocommerce-info a,
body.eccp74-commerce-page .woocommerce-message a {
  color: var(--eccp74-blue) !important;
  font-weight: 900 !important;
}

/* Checkout grid */
body.eccp74-checkout-page .woocommerce form.checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, .75fr) !important;
  gap: 28px !important;
  align-items: start !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  background: transparent !important;
}

body.eccp74-checkout-page .woocommerce #customer_details,
body.eccp74-checkout-page .woocommerce .woocommerce-checkout-review-order,
body.eccp74-checkout-page .eccp74-order-card,
body.eccp74-commerce-page .woocommerce-cart-form,
body.eccp74-commerce-page .cart-collaterals,
body.eccp74-commerce-page .woocommerce-MyAccount-content,
body.eccp74-commerce-page .woocommerce-MyAccount-navigation,
body.eccp74-commerce-page .woocommerce-order,
body.eccp74-commerce-page .woocommerce-customer-details,
body.eccp74-commerce-page .woocommerce-order-details {
  background: #fff !important;
  color: var(--eccp74-text) !important;
  border: 1px solid var(--eccp74-border) !important;
  border-radius: var(--eccp74-radius) !important;
  box-shadow: var(--eccp74-shadow) !important;
}

body.eccp74-checkout-page .woocommerce #customer_details {
  grid-column: 1 !important;
  padding: 28px !important;
}

body.eccp74-checkout-page .woocommerce #customer_details::before {
  content: "Dados do aluno";
  display: block;
  margin: 0 0 22px;
  color: var(--eccp74-text);
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -.035em;
}

body.eccp74-checkout-page .woocommerce #customer_details .col-1,
body.eccp74-checkout-page .woocommerce #customer_details .col-2 {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

body.eccp74-checkout-page .woocommerce #customer_details .col-2 {
  margin-top: 18px !important;
}

body.eccp74-checkout-page .woocommerce #order_review_heading {
  display: none !important;
}

body.eccp74-checkout-page .eccp74-order-card {
  grid-column: 2 !important;
  position: sticky !important;
  top: 94px !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.eccp74-checkout-page .eccp74-order-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--eccp74-blue), var(--eccp74-blue-2));
}

body.eccp74-checkout-page .eccp74-order-card__top span {
  color: #fff !important;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -.025em;
}

body.eccp74-checkout-page .eccp74-order-card__top strong {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255,255,255,.12);
  color: #fff !important;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

body.eccp74-checkout-page .woocommerce #order_review,
body.eccp74-checkout-page .woocommerce .woocommerce-checkout-review-order {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 22px !important;
  margin: 0 !important;
}

body.eccp74-checkout-page .eccp74-secure-note {
  margin: 0 22px 22px;
  padding: 14px 14px;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  background: #f0fdf4;
  color: #166534;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 750;
}

body.eccp74-checkout-page .woocommerce .col2-set,
body.eccp74-checkout-page .woocommerce-page .col2-set {
  width: 100% !important;
  float: none !important;
}

body.eccp74-checkout-page .woocommerce .col2-set .col-1,
body.eccp74-checkout-page .woocommerce-page .col2-set .col-1,
body.eccp74-checkout-page .woocommerce .col2-set .col-2,
body.eccp74-checkout-page .woocommerce-page .col2-set .col-2 {
  width: 100% !important;
  float: none !important;
}

/* Forms - high specificity to neutralize black fields */
body.eccp74-commerce-page .woocommerce form .form-row {
  margin: 0 0 16px !important;
  padding: 0 !important;
}

body.eccp74-commerce-page .woocommerce form .form-row-first,
body.eccp74-commerce-page .woocommerce form .form-row-last {
  width: calc(50% - 8px) !important;
  float: left !important;
  clear: none !important;
}

body.eccp74-commerce-page .woocommerce form .form-row-first {
  margin-right: 16px !important;
}

body.eccp74-commerce-page .woocommerce form .form-row-wide {
  width: 100% !important;
  clear: both !important;
}

body.eccp74-commerce-page .woocommerce form .form-row label,
body.eccp74-commerce-page .woocommerce form .form-row legend {
  display: block !important;
  margin: 0 0 7px !important;
  color: var(--eccp74-text) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: -.01em !important;
  line-height: 1.25 !important;
}

body.eccp74-commerce-page .woocommerce form .form-row .required {
  color: #e11d48 !important;
  text-decoration: none !important;
}

body.eccp74-commerce-page input[type="text"],
body.eccp74-commerce-page input[type="email"],
body.eccp74-commerce-page input[type="tel"],
body.eccp74-commerce-page input[type="number"],
body.eccp74-commerce-page input[type="password"],
body.eccp74-commerce-page textarea,
body.eccp74-commerce-page select,
body.eccp74-commerce-page .woocommerce form .form-row input.input-text,
body.eccp74-commerce-page .woocommerce form .form-row textarea,
body.eccp74-commerce-page .woocommerce form .form-row select,
body.eccp74-commerce-page .select2-container--default .select2-selection--single,
body.eccp74-commerce-page .select2-container--default .select2-selection--multiple,
body.eccp74-commerce-page .wc-block-components-text-input input,
body.eccp74-commerce-page .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
body.eccp74-commerce-page .wc-block-components-form .wc-block-components-text-input input[type="text"] {
  display: block !important;
  width: 100% !important;
  min-height: 50px !important;
  height: auto !important;
  padding: 13px 15px !important;
  border: 1px solid var(--eccp74-border) !important;
  border-radius: 13px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: var(--eccp74-text) !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
  box-shadow: none !important;
  outline: none !important;
  text-shadow: none !important;
  -webkit-text-fill-color: var(--eccp74-text) !important;
  caret-color: var(--eccp74-blue) !important;
}

body.eccp74-commerce-page textarea,
body.eccp74-commerce-page .woocommerce form .form-row textarea {
  min-height: 112px !important;
  resize: vertical !important;
}

body.eccp74-commerce-page .select2-container .select2-selection--single .select2-selection__rendered {
  color: var(--eccp74-text) !important;
  line-height: 22px !important;
  padding-left: 0 !important;
}

body.eccp74-commerce-page .select2-container .select2-selection--single .select2-selection__arrow {
  height: 50px !important;
}

body.eccp74-commerce-page input:focus,
body.eccp74-commerce-page textarea:focus,
body.eccp74-commerce-page select:focus,
body.eccp74-commerce-page .select2-container--open .select2-selection--single,
body.eccp74-commerce-page .select2-container--focus .select2-selection--single {
  border-color: var(--eccp74-blue-2) !important;
  box-shadow: 0 0 0 4px rgba(18,62,115,.14) !important;
}

body.eccp74-commerce-page input::placeholder,
body.eccp74-commerce-page textarea::placeholder {
  color: #7b8798 !important;
  -webkit-text-fill-color: #7b8798 !important;
  opacity: 1 !important;
}

body.eccp74-commerce-page .select2-dropdown,
body.eccp74-commerce-page .select2-search__field,
body.eccp74-commerce-page .select2-results__option {
  background: #fff !important;
  color: var(--eccp74-text) !important;
}

body.eccp74-commerce-page .woocommerce-invalid input.input-text,
body.eccp74-commerce-page .woocommerce-invalid select,
body.eccp74-commerce-page .woocommerce-invalid textarea {
  border-color: #fb7185 !important;
  box-shadow: 0 0 0 4px rgba(251,113,133,.15) !important;
}

/* Tables and order review */
body.eccp74-commerce-page table,
body.eccp74-commerce-page table.shop_table,
body.eccp74-commerce-page .woocommerce table.shop_table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid var(--eccp74-border) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #fff !important;
  color: var(--eccp74-text) !important;
}

body.eccp74-commerce-page table.shop_table th,
body.eccp74-commerce-page table.shop_table td,
body.eccp74-commerce-page .woocommerce table.shop_table th,
body.eccp74-commerce-page .woocommerce table.shop_table td {
  padding: 14px 14px !important;
  border-color: var(--eccp74-border) !important;
  color: var(--eccp74-text) !important;
  background: #fff !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

body.eccp74-commerce-page table.shop_table th,
body.eccp74-commerce-page .woocommerce table.shop_table th {
  font-weight: 950 !important;
}

body.eccp74-commerce-page table.shop_table .order-total th,
body.eccp74-commerce-page table.shop_table .order-total td,
body.eccp74-commerce-page .woocommerce table.shop_table .order-total th,
body.eccp74-commerce-page .woocommerce table.shop_table .order-total td {
  color: var(--eccp74-blue) !important;
  font-size: 18px !important;
  font-weight: 950 !important;
}

body.eccp74-commerce-page .woocommerce-checkout-payment,
body.eccp74-commerce-page #payment,
body.eccp74-commerce-page .woocommerce #payment {
  border: 1px solid var(--eccp74-border) !important;
  border-radius: 16px !important;
  background: #f8fafc !important;
  color: var(--eccp74-text) !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.eccp74-commerce-page #payment ul.payment_methods,
body.eccp74-commerce-page .woocommerce #payment ul.payment_methods {
  padding: 16px !important;
  border-bottom: 1px solid var(--eccp74-border) !important;
  background: #fff !important;
}

body.eccp74-commerce-page #payment div.payment_box,
body.eccp74-commerce-page .woocommerce #payment div.payment_box {
  background: #eef6ff !important;
  color: var(--eccp74-text) !important;
  border: 1px solid #cfe5ff !important;
  border-radius: 14px !important;
  padding: 14px !important;
}

body.eccp74-commerce-page #payment div.form-row,
body.eccp74-commerce-page .woocommerce #payment div.form-row {
  padding: 16px !important;
}

body.eccp74-commerce-page .woocommerce-privacy-policy-text,
body.eccp74-commerce-page .woocommerce-terms-and-conditions-wrapper,
body.eccp74-commerce-page .woocommerce-privacy-policy-text p {
  color: var(--eccp74-muted) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

body.eccp74-commerce-page button.button,
body.eccp74-commerce-page a.button,
body.eccp74-commerce-page input.button,
body.eccp74-commerce-page #place_order,
body.eccp74-commerce-page .checkout-button,
body.eccp74-commerce-page .wc-block-components-button,
body.eccp74-commerce-page .woocommerce #respond input#submit,
body.eccp74-commerce-page .woocommerce a.button,
body.eccp74-commerce-page .woocommerce button.button,
body.eccp74-commerce-page .woocommerce input.button {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 48px !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 14px 22px !important;
  background: var(--eccp74-gold) !important;
  color: var(--eccp74-blue) !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(255,194,51,.28) !important;
  cursor: pointer !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}

body.eccp74-commerce-page #place_order,
body.eccp74-commerce-page .checkout-button {
  width: 100% !important;
  min-height: 56px !important;
  font-size: 16px !important;
}

body.eccp74-commerce-page button.button:hover,
body.eccp74-commerce-page a.button:hover,
body.eccp74-commerce-page input.button:hover,
body.eccp74-commerce-page #place_order:hover,
body.eccp74-commerce-page .checkout-button:hover {
  transform: translateY(-1px) !important;
  filter: brightness(1.02) !important;
  box-shadow: 0 16px 36px rgba(255,194,51,.36) !important;
}

body.eccp74-commerce-page .woocommerce a.remove {
  display: inline-flex !important;
  width: 28px !important;
  height: 28px !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: #e11d48 !important;
}

/* Cart */
body.eccp74-commerce-page .woocommerce-cart-form {
  padding: 24px !important;
  margin-bottom: 24px !important;
}

body.eccp74-commerce-page .cart-collaterals {
  padding: 24px !important;
}

body.eccp74-commerce-page .cart-collaterals .cart_totals,
body.eccp74-commerce-page .woocommerce .cart-collaterals .cart_totals {
  width: 100% !important;
  float: none !important;
}

/* Account */
body.eccp74-commerce-page .woocommerce-MyAccount-navigation {
  padding: 18px !important;
  margin-bottom: 20px !important;
}

body.eccp74-commerce-page .woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid !important;
  gap: 8px !important;
}

body.eccp74-commerce-page .woocommerce-MyAccount-navigation a {
  display: block !important;
  padding: 12px 14px !important;
  color: var(--eccp74-text) !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  font-weight: 850 !important;
}

body.eccp74-commerce-page .woocommerce-MyAccount-navigation .is-active a,
body.eccp74-commerce-page .woocommerce-MyAccount-navigation a:hover {
  background: #eef6ff !important;
  color: var(--eccp74-blue) !important;
}

body.eccp74-commerce-page .woocommerce-MyAccount-content {
  padding: 24px !important;
}

/* Blocks checkout/cart support */
body.eccp74-commerce-page .wc-block-components-sidebar,
body.eccp74-commerce-page .wc-block-components-main,
body.eccp74-commerce-page .wc-block-cart,
body.eccp74-commerce-page .wc-block-checkout {
  color: var(--eccp74-text) !important;
}

body.eccp74-commerce-page .wc-block-components-panel,
body.eccp74-commerce-page .wc-block-components-sidebar-layout .wc-block-components-main,
body.eccp74-commerce-page .wc-block-components-sidebar,
body.eccp74-commerce-page .wc-block-cart-items,
body.eccp74-commerce-page .wc-block-components-order-summary,
body.eccp74-commerce-page .wc-block-components-checkout-step {
  background: #fff !important;
  border-color: var(--eccp74-border) !important;
  color: var(--eccp74-text) !important;
}

@media (max-width: 980px) {
  body.eccp74-checkout-page .woocommerce form.checkout {
    grid-template-columns: 1fr !important;
  }
  body.eccp74-checkout-page .eccp74-order-card {
    grid-column: 1 !important;
    position: static !important;
  }
  body.eccp74-commerce-page .woocommerce form .form-row-first,
  body.eccp74-commerce-page .woocommerce form .form-row-last {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 680px) {
  body.eccp74-commerce-page .woocommerce {
    padding: 20px 14px 56px !important;
  }
  .eccp74-page-intro {
    padding: 28px 16px 12px;
    text-align: left;
  }
  .eccp74-page-intro h1 {
    font-size: 36px;
  }
  .eccp74-page-intro p {
    font-size: 15px;
  }
  body.eccp74-checkout-page .woocommerce #customer_details,
  body.eccp74-commerce-page .woocommerce-cart-form,
  body.eccp74-commerce-page .cart-collaterals,
  body.eccp74-commerce-page .woocommerce-MyAccount-content,
  body.eccp74-commerce-page .woocommerce-MyAccount-navigation {
    padding: 18px !important;
    border-radius: 18px !important;
  }
  body.eccp74-commerce-page table.shop_table th,
  body.eccp74-commerce-page table.shop_table td,
  body.eccp74-commerce-page .woocommerce table.shop_table th,
  body.eccp74-commerce-page .woocommerce table.shop_table td {
    padding: 12px 10px !important;
    font-size: 13px !important;
  }
}
