/* Cart, checkout and the account's current order share one visual language. */
.ex-purchase-page {
    padding: 48px 0 76px;
    background: #f6f8f4;
    min-height: 65vh;
}
.ex-purchase-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 32px;
}
.ex-purchase-heading h1 { font-size: clamp(32px, 4vw, 44px); margin: 10px 0 12px; line-height: 1.15; }
.ex-purchase-heading .hero-lead { font-size: 15px; max-width: 620px; margin: 0; line-height: 1.7; }
.ex-purchase-back { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--ex-green); margin-bottom: 24px; }
.ex-purchase-back .ex-icon { width: 17px; height: 17px; transform: rotate(180deg); }
.ex-purchase-progress { display: flex; gap: 18px; list-style: none; padding: 0; margin: 0 0 4px; flex: none; }
.ex-purchase-progress li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #748074; white-space: nowrap; }
.ex-purchase-progress li+li:before { content: ''; height: 1px; width: 19px; background: #d6dfd2; margin-right: 2px; }
.ex-purchase-progress .ex-step-number { width: 25px; height: 25px; display: inline-grid; place-items: center; border: 1px solid #d5dfd0; border-radius: 50%; background: #fff; font-size: 11px; }
.ex-purchase-progress [aria-current=step] { color: var(--ex-green); font-weight: 700; }
.ex-purchase-progress [aria-current=step] .ex-step-number { color: #fff; background: var(--ex-green); border-color: var(--ex-green); }
.ex-purchase-progress li>a { display: inline-flex; align-items: center; gap: 8px; }
.ex-purchase-page .woocommerce { font-size: 14px; line-height: 1.7; }
.ex-purchase-page .woocommerce-notices-wrapper:empty { display: none; }
.ex-purchase-page .woocommerce-info, .ex-purchase-page .woocommerce-message, .ex-purchase-page .woocommerce-error { margin-bottom: 22px; font-size: 13px; padding-block: 15px; }
.ex-purchase-page .ex-commerce-payments-unavailable { background: #fff; border-top-width: 1px; }

/* Explicit wrappers keep the payment summary aligned with the billing card. */
body.woocommerce-checkout .ex-purchase-page form.checkout { display: block; }
.ex-checkout-grid, .ex-cart-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .9fr); align-items: start; gap: 28px; }
.ex-checkout-details, .ex-checkout-order, .ex-cart-items-panel, .ex-cart-summary-panel { min-width: 0; background: #fff; border: 1px solid #dde5d8; border-radius: 18px; box-shadow: 0 5px 24px #183d2905; }
.ex-checkout-details { padding: 29px 30px 32px; }
.ex-checkout-order { padding: 28px; }
.ex-checkout-order>h3, .ex-checkout-order #order_review_heading { font-size: 21px; margin: 0 0 20px; padding-bottom: 18px; border-bottom: 1px solid #e7ece3; }
body.woocommerce-checkout .ex-checkout-grid #customer_details { display: block; grid-area: auto; width: 100%; margin: 0; float: none; }
body.woocommerce-checkout .ex-checkout-grid #customer_details .col-1 { width: 100%; float: none; padding: 0; }
body.woocommerce-checkout .ex-checkout-grid #order_review, body.woocommerce-checkout .ex-checkout-grid #order_review_heading { width: 100%; float: none; grid-area: auto; }
.ex-purchase-page .woocommerce-billing-fields h3 { font-size: 21px; margin: 0 0 7px; }
.ex-checkout-details .ex-checkout-intro { font-size: 13px; margin-bottom: 23px; line-height: 1.7; }
.ex-checkout-details .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 16px; margin-top: 23px; }
.ex-checkout-details .woocommerce-billing-fields__field-wrapper:before, .ex-checkout-details .woocommerce-billing-fields__field-wrapper:after { display: none; }
.ex-checkout-details .woocommerce-billing-fields__field-wrapper .form-row { grid-column: 1/-1; float: none; clear: none; width: auto; margin: 0; padding: 0; min-width: 0; }
.ex-checkout-details .woocommerce-billing-fields__field-wrapper .form-row-first, .ex-checkout-details .woocommerce-billing-fields__field-wrapper .form-row-last { grid-column: auto; }
.ex-purchase-page .woocommerce form .form-row label { margin-bottom: 6px; display: block; font-size: 12px; color: #294b3b; }
.ex-purchase-page .woocommerce form .form-row input.input-text, .ex-purchase-page .woocommerce form .form-row textarea, .ex-purchase-page .woocommerce form .form-row select { width: 100%; min-height: 48px; font-size: 14px; border: 1px solid #d2decf; border-radius: 9px; background: #fff; padding: 11px 13px; box-shadow: none; }
.ex-purchase-page .woocommerce form .form-row input.input-text:focus { outline: 2px solid #a3bf80; outline-offset: 2px; border-color: #6e9452; }
.ex-purchase-page .select2-container { max-width: 100%; }
.ex-purchase-page .select2-container .select2-selection--single { height: 48px; border-radius: 9px; background: #fff; border-color: #d2decf; }
.ex-purchase-page .select2-container .select2-selection__rendered { line-height: 46px; font-size: 14px; padding-left: 13px; }
.ex-purchase-page .select2-container .select2-selection__arrow { height: 46px; }
.ex-purchase-page .woocommerce-billing-fields #billing_address_2_field { margin-top: -6px; }
.ex-checkout-details .woocommerce-additional-fields { margin: 0; }

/* Product identity, scope and removal stay readable in every cart view. */
.ex-cart-item-icon { flex: none; display: grid; place-items: center; width: 44px; height: 48px; color: #3d664a; background: #edf3e7; border: 1px solid #e0e9d7; border-radius: 10px; }
.ex-cart-item-icon .ex-icon { width: 22px; height: 22px; }
.ex-cart-item-copy { min-width: 0; }
.ex-cart-item-kicker { display: block; color: #738067; font-size: 10px; font-weight: 700; line-height: 1.5; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 6px; }
.ex-cart-item-name { display: block; color: #213f31; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 15px; line-height: 1.5; letter-spacing: -.025em; overflow-wrap: anywhere; }
.ex-cart-item-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ex-cart-item-note { display: block; color: #6d7b64; font-size: 12px; line-height: 1.6; margin-top: 7px; }
.ex-cart-item-included, .ex-cart-engine-free { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; margin-top: 9px; color: #46672c; background: #f0f6e7; border-radius: 5px; font-size: 10px; line-height: 1.5; font-weight: 700; }
.ex-cart-item-scope { display: block; font-size: 10px; color: #829078; margin-top: 5px; line-height: 1.6; }
.ex-cart-item-included .ex-icon { width: 12px; height: 12px; }
.ex-cart-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 11px; flex: none; }
.ex-cart-item-side .amount, .ex-cart-item-amount { font-size: 16px; font-weight: 700; color: #234a37; white-space: nowrap; }
.ex-cart-remove, .ex-purchase-page .woocommerce a.ex-cart-remove { display: inline-flex; justify-content: center; align-items: center; gap: 4px; min-height: 32px; padding: 4px 0; border: 0; background: none; color: #80675c; font-size: 11px; font-weight: 500; line-height: 1.5; text-decoration: underline; text-decoration-color: #d8c8bd; text-underline-offset: 3px; border-radius: 4px; cursor: pointer; }
.ex-cart-remove:hover, .ex-purchase-page .woocommerce a.ex-cart-remove:hover { color: #8c402e; text-decoration-color: currentColor; background: transparent; }
.ex-cart-remove .ex-icon { width: 13px; height: 13px; }
.ex-checkout-order .woocommerce-checkout-review-order-table { border: 0; border-radius: 0; width: 100%; margin: 0 0 20px; background: transparent; font-size: 13px; border-collapse: collapse; }
.ex-checkout-order .woocommerce-checkout-review-order-table thead { display: none; }
.ex-checkout-order table.shop_table tbody td { padding: 0 0 22px; border: 0; vertical-align: top; }
.ex-checkout-order table.shop_table tbody tr+tr td { padding-top: 20px; border-top: 1px solid #e8ede3; }
.ex-checkout-order table.shop_table .product-name { padding-right: 17px; }
.ex-checkout-order table.shop_table .product-name .ex-cart-item-name { font-size: 14px; }
.ex-checkout-order table.shop_table .product-total { text-align: right; width: 82px; color: #234a37; font-size: 15px; font-weight: 700; }
.ex-checkout-order .product-total .ex-cart-remove { display: flex; margin-top: 7px; }
.ex-checkout-order table.shop_table .product-quantity { font-size: 11px; color: #7a876f; font-weight: 400; }
.ex-checkout-order table.shop_table .variation { font-size: 11px; line-height: 1.6; }
.ex-checkout-order table.shop_table tfoot th, .ex-checkout-order table.shop_table tfoot td { border-top: 1px solid #e6ecdf; background: transparent; padding: 12px 0; font-size: 13px; }
.ex-checkout-order table.shop_table tfoot th { font-weight: 500; }
.ex-checkout-order table.shop_table tfoot td { text-align: right; white-space: nowrap; }
.ex-checkout-order table.shop_table .order-total th, .ex-checkout-order table.shop_table .order-total td { font-size: 20px; padding-top: 18px; color: #173e2d; font-weight: 700; }
.ex-checkout-order #payment.woocommerce-checkout-payment { background: #f6f8f2 !important; border: 1px solid #e1e8d9; border-radius: 12px !important; margin: 4px 0 0; }
.ex-checkout-order #payment ul.payment_methods { padding: 18px; border-bottom: 1px solid #e2e9da; font-size: 13px; }
.ex-checkout-order #payment ul.payment_methods li input { accent-color: var(--ex-green); }
.ex-checkout-order #payment div.payment_box { margin: 12px 0 0; border-radius: 7px; padding: 12px; background: #eaf1e1; font-size: 12px; line-height: 1.7; }
.ex-checkout-order #payment div.form-row { padding: 18px; margin: 0; }
.ex-checkout-order #payment .woocommerce-privacy-policy-text p { font-size: 11px; line-height: 1.7; margin-bottom: 12px; }
.ex-checkout-order #payment .woocommerce-terms-and-conditions-wrapper { margin-bottom: 14px; }
.ex-checkout-order #payment .form-row label.checkbox { display: flex; align-items: flex-start; gap: 8px; font-size: 11px; line-height: 1.7; }
.ex-checkout-order #payment .form-row input.input-checkbox { margin: 4px 0 0; accent-color: var(--ex-green); flex: none; }
.ex-checkout-order #payment #place_order { float: none; width: 100%; min-height: 48px; border-radius: 8px; font-size: 14px; }
.ex-checkout-order .ex-checkout-scope { font-size: 11px; line-height: 1.7; margin-top: 18px; color: #798571; }
.ex-purchase-page .ex-checkout-order #order_review { padding: 0; margin: 0; }
.ex-purchase-page .ex-checkout-order #order_review_heading { padding: 0 0 18px; margin: 0 0 20px; }
.ex-purchase-page .ex-checkout-order table.shop_table.woocommerce-checkout-review-order-table { border: 0; border-radius: 0; border-collapse: collapse; margin: 0 0 20px; width: 100%; }
.ex-purchase-page .ex-checkout-order table.shop_table tbody td { border: 0; padding: 0 0 22px; vertical-align: top; }
.ex-purchase-page .ex-checkout-order table.shop_table tbody tr+tr td { padding-top: 20px; border-top: 1px solid #e8ede3; }
.ex-purchase-page .ex-checkout-order table.shop_table td.product-name { padding-right: 16px; }
.ex-purchase-page .ex-checkout-order table.shop_table td.product-total .ex-cart-remove { display: flex; margin-top: 8px; font-size: 12px; }
.ex-purchase-page .ex-checkout-order table.shop_table tfoot th, .ex-purchase-page .ex-checkout-order table.shop_table tfoot td { padding: 12px 0; background: transparent; }
.ex-purchase-page .ex-checkout-order table.shop_table tfoot .order-total th, .ex-purchase-page .ex-checkout-order table.shop_table tfoot .order-total td { padding-top: 18px; }
.ex-checkout-details label:has(input[type=checkbox]) { display: flex !important; align-items: flex-start; gap: 8px; font-size: 11px !important; line-height: 1.7; }
.ex-checkout-details label input[type=checkbox] { flex: none; margin-top: 3px; accent-color: var(--ex-green); }

/* Full cart: concise items on the left, total and next step on the right. */
.ex-cart-items-panel { padding: 28px; }
.ex-cart-items-panel>h2, .ex-cart-items-panel .ex-cart-panel-heading { font-size: 21px; margin: 0 0 22px; }
.ex-cart-panel-heading h2 { font-size: 21px; margin-bottom: 7px; }
.ex-cart-panel-heading p { font-size: 12px; line-height: 1.7; }
.ex-cart-items-panel .woocommerce-cart-form { margin: 0; }
.ex-cart-items-panel .ex-cart-card-item { display: flex; align-items: flex-start; gap: 16px; padding: 22px 0; border-top: 1px solid #e6ecdf; }
.ex-cart-items-panel .ex-cart-card-item:first-child { padding-top: 0; border-top: 0; }
.ex-cart-items-panel .ex-cart-card-item .ex-cart-item-copy { flex: 1; }
.ex-cart-items-panel .ex-cart-item-name { font-size: 16px; }
.ex-cart-items-panel .ex-cart-item-side { padding-top: 2px; }
.ex-cart-items-panel .ex-cart-browse, .ex-cart-items-panel .ex-cart-keep-browsing { display: inline-flex; margin-top: 23px; padding-top: 20px; width: 100%; border-top: 1px solid #e6ecdf; font-size: 12px; font-weight: 600; }
.ex-cart-summary-panel { padding: 28px; }
.ex-cart-summary-panel .cart-collaterals, .ex-cart-summary-panel .cart_totals { width: 100% !important; float: none !important; margin: 0; }
.ex-cart-summary-panel .cart_totals h2 { font-size: 21px; margin: 0 0 20px; }
.ex-cart-summary-panel .cart_totals table.shop_table { border: 0; border-radius: 0; margin: 0; border-collapse: collapse; width: 100%; }
.ex-cart-summary-panel .cart_totals table.shop_table th, .ex-cart-summary-panel .cart_totals table.shop_table td { padding: 14px 0; background: transparent; font-size: 13px; border-top: 1px solid #e5ecdf; }
.ex-cart-summary-panel .cart_totals table.shop_table th { font-weight: 500; }
.ex-cart-summary-panel .cart_totals table.shop_table td { text-align: right; }
.ex-cart-summary-panel .cart_totals table.shop_table .order-total th, .ex-cart-summary-panel .cart_totals table.shop_table .order-total td { font-size: 23px; padding-top: 18px; color: #173e2d; font-weight: 700; }
.ex-cart-summary-panel .wc-proceed-to-checkout { padding: 20px 0 0; }
.ex-cart-summary-panel .wc-proceed-to-checkout a.checkout-button { display: flex; align-items: center; justify-content: space-between; min-height: 50px; border-radius: 8px; font-size: 14px; margin: 0; padding: 14px 18px; }
.ex-cart-summary-panel .ex-cart-summary-note { font-size: 12px; line-height: 1.8; padding-top: 19px; }
.ex-cart-empty { max-width: 650px; padding: 44px; margin: 16px auto 0; text-align: center; background: #fff; border: 1px solid #dce5d7; border-radius: 19px; }
.ex-cart-empty .ex-cart-item-icon { margin: 0 auto 21px; width: 60px; height: 64px; border-radius: 14px; }
.ex-cart-empty h2 { font-size: 28px; margin-bottom: 13px; }
.ex-cart-empty p { font-size: 14px; line-height: 1.8; max-width: 440px; margin: 0 auto 23px; }
.ex-cart-empty .ex-button { font-size: 13px; min-height: 47px; }
.ex-cart-empty-icon { display: grid; place-items: center; margin: 0 auto 22px; width: 60px; height: 64px; color: #3d664a; background: #edf3e7; border: 1px solid #e0e9d7; border-radius: 14px; }
.ex-cart-empty .eyebrow { margin-bottom: 10px; }
.ex-cart-empty .cart-empty { border: 0; background: transparent; padding: 0; font-size: 12px; margin: 0 0 15px; }
.ex-cart-empty .cart-empty:before { display: none; }
.ex-cart-empty-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px; }
.ex-cart-empty-actions .ex-cart-view { font-size: 12px; color: var(--ex-green); }

/* The same saved cart appears below My account and in the profile sidebar. */
.ex-account-picker>summary { position: relative; }
.ex-header-cart-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 50px; background: #24583b; color: #fff; box-shadow: 0 0 0 3px #eff5e9; font-size: 10px; line-height: 1; font-weight: 700; }
.certification-card .ex-course-card-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 25px; margin-top: auto; }
.certification-card .ex-course-card-actions .text-link { margin: 0; padding: 0; font-size: 12px; }
.ex-catalog-add { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 12px; font-size: 11px; font-weight: 600; line-height: 1.5; border: 1px solid #cad9be; border-radius: 7px; background: #eff5e8; color: #2c553b !important; }
.ex-catalog-add:hover { background: #e4eedb; border-color: #91ad79; }
.ex-catalog-add>span[aria-hidden] { font-size: 18px; line-height: 1; }
.ex-catalog-add .ex-icon { width: 14px; height: 14px; }
.ex-catalog-add.is-in-cart { background: #fff; border-color: #d7e2d1; }
.ex-catalog-notices { margin-bottom: 25px; }
.ex-catalog-notices .woocommerce-message { margin-bottom: 0; }
.ex-account-sidebar { display: grid; gap: 23px; min-width: 0; }
.ex-account-picker .ex-account-menu { width: 360px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 140px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 9px; }
.ex-account-menu .ex-account-identity { padding: 12px; }
.ex-cart-card { border: 1px solid #dce5d5; border-radius: 15px; background: #fff; overflow: hidden; }
.ex-cart-card-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 17px; border-bottom: 1px solid #e6ecdf; }
.ex-cart-card-header h3 { font-size: 19px; line-height: 1.4; letter-spacing: -.03em; }
.ex-cart-card-count { display: inline-grid; place-items: center; min-width: 23px; height: 23px; padding-inline: 6px; background: #e9f1df; border-radius: 20px; color: #4c6833; font-size: 11px; font-weight: 700; }
.ex-cart-card--account { padding: 26px; box-shadow: 0 5px 22px #183d2905; }
.ex-cart-card--header { margin-top: 8px; padding: 16px; border-radius: 11px; background: #f7f9f3; }
.ex-cart-card--header .ex-cart-card-header { padding-bottom: 11px; }
.ex-cart-card--header .ex-cart-card-header h3 { font-family: 'DM Sans', sans-serif; font-size: 13px; letter-spacing: 0; }
.ex-cart-card .ex-cart-card-item { display: flex; align-items: flex-start; gap: 11px; padding: 17px 0; border-bottom: 1px solid #e5ecdd; }
.ex-cart-card .ex-cart-item-copy { flex: 1; }
.ex-cart-card .ex-cart-item-icon { width: 33px; height: 37px; border-radius: 7px; }
.ex-cart-card .ex-cart-item-icon .ex-icon { width: 17px; height: 17px; }
.ex-cart-card .ex-cart-item-kicker { font-size: 9px; margin-bottom: 5px; }
.ex-cart-card .ex-cart-item-name { font-size: 12px; line-height: 1.5; }
.ex-cart-card .ex-cart-item-note { font-size: 10px; margin-top: 5px; }
.ex-cart-card .ex-cart-engine-free { font-size: 9px; padding: 2px 5px; margin-top: 6px; }
.ex-cart-card .ex-cart-item-side { gap: 4px; }
.ex-cart-card .ex-cart-item-side .amount, .ex-cart-card .ex-cart-item-amount { font-size: 12px; }
.ex-cart-card .ex-cart-remove { font-size: 10px; min-height: 30px; }
.ex-cart-card--header .ex-cart-item-icon { display: none; }
.ex-cart-card--header .ex-cart-item-name { font-family: 'DM Sans', sans-serif; letter-spacing: -.01em; }
.ex-cart-card--header .ex-cart-item-note { font-size: 10px; }
.ex-cart-card-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: #2e4935; padding: 16px 0; }
.ex-cart-card-total .amount { font-size: 18px; font-weight: 700; }
.ex-cart-card-actions { display: grid; gap: 10px; }
.ex-cart-card-actions .ex-button { display: flex; justify-content: space-between; min-height: 44px; width: 100%; padding: 11px 14px; font-size: 12px; border-radius: 7px; }
.ex-cart-card-actions .text-link, .ex-cart-card-actions .ex-cart-view { font-size: 11px; text-align: center; justify-content: center; color: #506f3f; }
.ex-cart-card-empty { padding-top: 16px; font-size: 12px; line-height: 1.8; }
.ex-cart-card-empty p { margin-bottom: 14px; }
.ex-cart-card-empty .text-link, .ex-cart-card-empty .ex-cart-browse { font-size: 11px; color: var(--ex-green); font-weight: 600; }
.ex-cart-card-more, .ex-cart-more { display: block; font-size: 11px; padding-top: 11px; text-decoration: underline !important; text-underline-offset: 3px; }
.ex-cart-card-actions .ex-button:after, .ex-cart-summary-panel .wc-proceed-to-checkout a.checkout-button:after { content: '→'; font-size: 19px; line-height: 1; }

@media (max-width: 1050px) {
    .ex-purchase-heading { align-items: flex-start; }
    .ex-purchase-progress { gap: 10px; margin-top: 16px; }
    .ex-purchase-progress li+li:before { width: 10px; }
    .ex-checkout-grid, .ex-cart-layout { gap: 22px; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); }
    .ex-checkout-details, .ex-checkout-order, .ex-cart-items-panel, .ex-cart-summary-panel { padding: 24px; }
}
@media (max-width: 850px) {
    .ex-purchase-heading { flex-direction: column; gap: 18px; }
    .ex-purchase-progress { margin: 0; }
    .ex-checkout-grid, .ex-cart-layout { grid-template-columns: minmax(0, 1fr); gap: 23px; }
    .ex-purchase-page .ex-checkout-order #order_review_heading { margin-top: 0; }
    .ex-checkout-order { max-width: none; }
    .ex-cart-summary-panel { max-width: none; }
}
@media (max-width: 650px) {
    .ex-purchase-page { padding: 29px 0 44px; }
    .ex-purchase-back { font-size: 12px; margin-bottom: 19px; }
    .ex-purchase-heading { margin-bottom: 24px; }
    .ex-purchase-heading h1 { font-size: 34px; margin: 8px 0 12px; }
    .ex-purchase-heading .hero-lead { font-size: 13px; }
    .ex-purchase-progress { width: 100%; gap: 11px; }
    .ex-purchase-progress li { gap: 6px; font-size: 10px; }
    .ex-purchase-progress li+li:before { width: 8px; margin: 0; }
    .ex-purchase-progress .ex-step-number { width: 22px; height: 22px; font-size: 10px; }
    .ex-checkout-details, .ex-checkout-order, .ex-cart-items-panel, .ex-cart-summary-panel { padding: 22px 19px; border-radius: 14px; }
    .ex-checkout-order>h3, .ex-purchase-page .woocommerce-billing-fields h3 { font-size: 20px; }
    .ex-checkout-details .woocommerce-billing-fields__field-wrapper { gap: 16px 11px; }
    .ex-purchase-page .woocommerce form .form-row input.input-text, .ex-purchase-page .woocommerce form .form-row select, .ex-purchase-page .select2-container .select2-selection__rendered { font-size: 16px; }
    .ex-checkout-order table.shop_table .product-name { padding-right: 12px; }
    .ex-checkout-order table.shop_table .product-total { width: 70px; font-size: 14px; }
    .ex-cart-items-panel .ex-cart-card-item { gap: 11px; }
    .ex-cart-items-panel .ex-cart-item-icon { width: 33px; height: 39px; border-radius: 8px; }
    .ex-cart-items-panel .ex-cart-item-icon .ex-icon { width: 18px; height: 18px; }
    .ex-cart-items-panel .ex-cart-item-name { font-size: 14px; }
    .ex-cart-items-panel .ex-cart-item-side .amount { font-size: 14px; }
    .ex-cart-item-note { font-size: 11px; }
    .ex-cart-empty { padding: 32px 23px; text-align: left; }
    .ex-cart-empty .ex-cart-item-icon { margin-left: 0; }
    .ex-cart-empty h2 { font-size: 25px; }
    .ex-cart-empty p { font-size: 13px; }
    .ex-cart-empty-icon { margin-left: 0; }
    .ex-cart-empty-actions { justify-content: flex-start; gap: 17px; }
    .ex-cart-remove, .ex-purchase-page .woocommerce a.ex-cart-remove { min-height: 44px; min-width: 44px; }
    .ex-account-sidebar { gap: 22px; }
    .ex-header-cart-badge { position: absolute; top: -3px; left: 19px; min-width: 17px; height: 17px; padding: 0 4px; font-size: 9px; box-shadow: 0 0 0 2px #fff; }
    .certification-card .ex-course-card-actions { gap: 12px; }
    .ex-catalog-add { min-height: 44px; }
    .ex-cart-card--account { padding: 23px; }
    .ex-header .header-inner { position: relative; }
    .ex-account-picker { position: static; }
    .ex-account-picker .ex-account-menu { right: 0; top: calc(100% + 8px); width: 340px; max-width: 100%; max-height: calc(100dvh - 100px); }
}
@media (max-width: 380px) {
    .ex-checkout-details .woocommerce-billing-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); }
    .ex-purchase-progress { gap: 8px; }
    .ex-purchase-progress li { font-size: 9px; }
    .ex-account-picker .ex-account-menu { right: 0; }
}
@media print {
    .ex-cart-card, .ex-cart-remove, .ex-purchase-progress, .ex-purchase-back { display: none !important; }
    .ex-purchase-page { padding: 20px 0; background: #fff; }
    .ex-checkout-grid, .ex-cart-layout { display: block; }
    .ex-checkout-details, .ex-checkout-order { box-shadow: none; margin-bottom: 20px; }
}

/* Voucher redemption keeps the current account and native checkout totals together. */
.ex-voucher-covered{display:flex;align-items:center;gap:8px;color:#174b3c;font-size:13px;font-weight:700}.ex-voucher-covered .ex-icon{width:18px;height:18px}.ex-voucher-account h2{font-size:25px;line-height:1.3;margin:20px 0 14px}.ex-voucher-account p{font-size:14px;line-height:1.8;margin:12px 0}.ex-voucher-account-email{font-weight:600;overflow-wrap:anywhere;padding:14px;border:1px solid #dce6d5;border-radius:8px;background:#f6f8f2}.ex-voucher-account p.description{font-size:12px;color:#617159}.ex-cart-form-actions .coupon{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.ex-cart-form-actions .coupon input{min-height:42px;border:1px solid #cbd8c5;border-radius:7px;padding:8px 12px}
@media(max-width:600px){.ex-voucher-account h2{font-size:23px}}

/* Voucher entry stays between the merchandise subtotal and final order total. */
.ex-purchase-page .ex-checkout-order table.shop_table tfoot .ex-voucher-row > td { text-align: left; white-space: normal; padding: 16px 0; }
.ex-voucher-control > label { display: block; color: #244533; font-size: 12px; font-weight: 600; margin: 0 0 9px; }
.ex-voucher-control > label > span { color: #7a8674; font-weight: 400; }
.ex-voucher-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.ex-purchase-page .ex-voucher-entry input.ex-voucher-input { min-width: 0; width: 100%; min-height: 44px; margin: 0; padding: 10px 12px; border: 1px solid #cbd8c5; border-radius: 8px; background: #fff; color: #213f31; font-size: 13px; line-height: 1.5; }
.ex-purchase-page .ex-voucher-entry .ex-voucher-apply { min-height: 44px; margin: 0; padding: 10px 16px; border: 0; border-radius: 8px; background: #174b3c; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.ex-voucher-entry input:focus-visible, .ex-voucher-entry button:focus-visible { outline: 2px solid #7da65d; outline-offset: 2px; }
.ex-purchase-page .ex-voucher-entry input[aria-invalid=true] { border-color: #a34533; }
.ex-voucher-entry button:disabled { opacity: .65; cursor: wait; }
.ex-voucher-feedback { margin-top: 9px; font-size: 12px; line-height: 1.6; color: #35603c; overflow-wrap: anywhere; }
.ex-voucher-feedback[hidden] { display: none; }
.ex-voucher-feedback.is-error { color: #a34533; }
.ex-voucher-applied { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; font-size: 11px; line-height: 1.6; }
.ex-voucher-applied-code { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; min-width: 0; color: #426637; }
.ex-voucher-applied-code > .ex-icon { width: 12px; height: 12px; flex: none; align-self: center; }
.ex-voucher-applied-code > strong { overflow-wrap: anywhere; }
.ex-voucher-applied > a { flex: none; color: #80675c; text-decoration: underline; text-underline-offset: 3px; }
.ex-checkout-order .ex-voucher-subtotal del { display: block; color: #829078; opacity: 1; font-size: 12px; font-weight: 400; text-decoration: line-through; }
.ex-checkout-order .ex-voucher-subtotal ins { display: block; margin-top: 3px; background: transparent; color: #174b3c; font-size: 15px; font-weight: 700; text-decoration: none; }

/* Keep the Access label and its description on the same first baseline. */
.ex-cart-item-copy dl.variation { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: baseline; gap: 3px 6px; margin: 9px 0 0; font-size: 11px; line-height: 1.6; }
.ex-cart-item-copy dl.variation::before, .ex-cart-item-copy dl.variation::after { display: none; content: none; }
.ex-purchase-page .ex-cart-item-copy dl.variation dt, .ex-purchase-page .ex-cart-item-copy dl.variation dd,
.ex-cart-card .ex-cart-item-copy dl.variation dt, .ex-cart-card .ex-cart-item-copy dl.variation dd { display: block; float: none; clear: none; margin: 0; padding: 0; min-width: 0; line-height: inherit; text-align: left; }
.ex-cart-item-copy dl.variation dd p { margin: 0; line-height: inherit; }
@media (max-width: 650px) {
    .ex-purchase-page .ex-voucher-entry input.ex-voucher-input { font-size: 16px; }
    .ex-voucher-applied > a { display: inline-flex; align-items: center; min-height: 32px; }
}
