/* Accepted enrolment design. Native WooCommerce, WS Form and FunnelKit controls remain functional. */
.sot-journey{--sj-ink:#19323d;--sj-muted:#4d6875;--sj-line:#cbdde4;--sj-blue:#edf6f8;--sj-cream:#fff6e6;--sj-teal:#087b8c;--sj-coral:#ce412b;color:var(--sj-ink);background:#f6f9fa;font-size:18px;line-height:1.55;width:100%;display:block;padding-bottom:76px}
.sot-journey *{box-sizing:border-box;min-width:0}.sot-journey [hidden]{display:none!important}.sot-journey :is(h1,h2,h3,p){margin:0}.sot-journey :is(h1,h2,h3){letter-spacing:-.035em;line-height:1.12;color:var(--sj-ink)}.sot-journey h1{font-size:clamp(36px,4vw,48px)}.sot-journey h2{font-size:27px}.sot-journey h3{font-size:22px}.sot-journey p+p{margin-top:13px}.sot-journey a{color:inherit;text-underline-offset:4px}.sot-journey :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #af7b15;outline-offset:3px}.sot-journey :is(button,input,select,textarea){font:inherit}.sot-journey :is(.brxe-text-basic,.brxe-shortcode){width:100%}
.sot-journey .sotj-wrap{width:90%;max-width:1160px;margin-inline:auto;display:block}.sot-journey .sotj-hero{display:block;background:var(--sj-blue);padding:72px 0 38px;border-bottom:1px solid var(--sj-line)}.sot-journey .sotj-eyebrow{font-size:12px;letter-spacing:.12em;font-weight:700;color:var(--sj-teal);margin-bottom:12px}.sot-journey .sotj-lead{max-width:670px;margin:18px 0 25px;font-size:20px}.sot-journey .sotj-steps{display:grid;grid-template-columns:repeat(4,1fr);max-width:820px;gap:18px;margin:28px 0 0;padding:0;list-style:none;font-size:15px}.sotj-steps li{display:flex;align-items:center;gap:9px;color:var(--sj-muted)}.sotj-steps li>span{display:grid;place-items:center;width:29px;height:29px;border:1px solid var(--sj-line);border-radius:50%;background:white;flex-shrink:0}.sotj-steps [aria-current]{font-weight:700;color:var(--sj-ink)}.sotj-steps [aria-current]>span{color:white;background:var(--sj-teal);border-color:var(--sj-teal)}
.sot-journey .sotj-grid{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(0,1fr);align-items:start;gap:30px;padding-top:42px}.sot-journey :is(.sotj-main,.sotj-side){display:flex;flex-direction:column;align-items:stretch;gap:24px;width:100%}.sot-journey :is(.sotj-panel,.sotj-cart-form){display:block;background:white;border:1px solid var(--sj-line);border-radius:12px;padding:30px;width:100%}.sot-journey .sotj-side{background:white;border:1px solid var(--sj-line);border-top:5px solid var(--sj-teal);border-radius:12px;padding:26px;gap:22px}.sot-journey .sotj-panel>h2{margin-bottom:20px}.sot-journey .sotj-step-heading{font-size:18px;margin:22px 0 8px;color:var(--sj-teal)}.sot-journey .sotj-panel p{font-size:17px}.sot-journey .sotj-small{font-size:15px;line-height:1.55;color:var(--sj-muted)}.sot-journey .sotj-help{font-size:16px;color:var(--sj-muted);border-top:1px solid var(--sj-line);padding-top:18px}
.sot-journey .sotj-cart-item{display:block;border-bottom:1px solid var(--sj-line);padding:0 0 24px;margin-bottom:24px}.sot-journey .sotj-cart-item:last-child{border-bottom:0;padding-bottom:0;margin-bottom:0}.sot-journey .sotj-product{display:grid;grid-template-columns:145px minmax(0,1fr);gap:22px;align-items:center;width:100%;margin-bottom:16px}.sot-journey .sotj-product-photo{width:145px;aspect-ratio:4/3;object-fit:cover;border-radius:8px;overflow:hidden}.sot-journey .sotj-product-photo img{width:100%;height:100%;object-fit:cover}.sot-journey .sotj-product-name{font-size:25px;font-weight:700;line-height:1.2;text-decoration:none}.sot-journey .sotj-price-remove{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;gap:20px}.sot-journey .sotj-item-price{font-size:20px;font-weight:700}.sot-journey .sotj-date{font-size:16px;color:var(--sj-muted);padding:0 8px}.sot-journey .sotj-fees{display:grid;grid-template-columns:1fr 1fr;gap:16px}.sotj-fees>div{padding:23px;border-radius:10px;background:var(--sj-blue);border:1px solid var(--sj-line)}.sotj-fees>div+div{background:var(--sj-cream);border-color:#eadbbd}.sotj-fees span{display:block;font-size:15px;font-weight:600}.sotj-fees strong{font-size:27px;display:block;margin:9px 0}.sotj-fees p{font-size:15px;color:var(--sj-muted)}.sot-journey .sotj-included{font-size:16px;background:var(--sj-cream);border-left:3px solid #e4b75d;padding:20px 24px}
.sot-journey .sotj-currency>p:first-child{font-size:16px;font-weight:700;margin-bottom:7px}.sot-journey .sotj-currency select{width:100%;min-height:48px;border:1px solid #9bb9c6;border-radius:6px;background:white;padding:10px 13px}.sotj-currency>.sotj-small{margin-top:10px}.sot-journey :is(.sotj-totals,.sotj-order-summary){width:100%;font-size:17px}.sot-journey .cart_totals{width:100%;float:none}.sot-journey .cart_totals>h2{font-size:22px;margin-bottom:16px}.sot-journey table{border-collapse:collapse;width:100%;font-size:16px;table-layout:auto}.sot-journey :is(th,td){padding:13px 4px;border-bottom:1px solid var(--sj-line);vertical-align:top;overflow-wrap:anywhere}.sot-journey th{text-align:left;font-weight:600}.sot-journey td{text-align:right}.sot-journey .order-total{background:var(--sj-blue);font-size:20px;color:var(--sj-ink)}.sot-journey .order-total :is(th,td){padding:17px 10px}.sot-journey .sotj-balance{border-top:1px solid var(--sj-line);padding-top:20px;color:var(--sj-muted)}.sotj-balance span{font-size:15px;display:block}.sotj-balance strong{display:block;font-size:22px;color:var(--sj-ink);margin:6px 0}.sotj-balance p{font-size:15px}
.sot-journey :is(.sotj-button,.checkout-button,button[type=submit],input[type=submit],.wsf-button-primary,.wfacp_next_page_button){display:inline-flex;justify-content:center;align-items:center;gap:10px;background:var(--sj-coral)!important;color:white!important;font-weight:700!important;border:0!important;border-radius:7px!important;padding:14px 20px!important;font-size:17px!important;line-height:1.4!important;min-height:50px;text-decoration:none;cursor:pointer}.sot-journey .checkout-button{width:100%;margin-top:18px}.sot-journey :is(.wsf-form,.wfacp-form,.woocommerce-form-coupon) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),textarea,select){font-size:16px!important;line-height:1.5;min-height:48px;border:1px solid #9bb9c6!important;border-radius:6px!important;background:white;padding:11px 13px;color:var(--sj-ink);max-width:100%}.sot-journey :is(.wsf-form,.wfacp-form) :is(label,legend){font-size:16px;color:var(--sj-ink)}.sot-journey :is(input[type=checkbox],input[type=radio]){width:20px;height:20px;accent-color:var(--sj-teal)}.sot-journey .wsf-help{font-size:15px;color:var(--sj-muted)}.sot-journey .wsf-section{margin-bottom:26px}.sot-journey .wsf-field-wrapper{margin-bottom:18px}.sot-journey .wsf-legend{font-size:22px;font-weight:700;margin-bottom:20px}.sot-journey :is(.wsf-invalid-feedback,.woocommerce-error){font-size:16px;color:#9e2f22}.sot-journey .woocommerce-error{padding:18px 18px 18px 35px;background:#fff0ed}.sot-journey .coupon{display:flex;gap:9px;flex-wrap:wrap}.sot-journey .coupon input{min-height:46px;border:1px solid #9bb9c6;border-radius:5px;max-width:100%;padding:9px;font-size:16px}.sot-journey .coupon button{font-size:15px!important}.sot-journey :is(.wfacp_main_form,.wfacp-order-summary){font-family:inherit}.sot-journey .sotj-receipt>p{margin-bottom:20px}.sot-journey .sotj-receipt h2{font-size:32px;margin-bottom:18px}.sot-journey .sotj-receipt dl{margin:25px 0}.sotj-receipt dl>div{display:flex;gap:20px;justify-content:space-between;padding:15px 0;border-top:1px solid var(--sj-line);font-size:17px}.sotj-receipt dd{margin:0;text-align:right;font-weight:700}.sot-journey .sotj-receipt .sotj-button{margin:0 0 20px}
@media(max-width:900px){.sot-journey .sotj-grid{grid-template-columns:minmax(0,1fr)}.sot-journey .sotj-hero{padding-top:52px}.sot-journey .sotj-side{width:100%}.sot-journey :is(.sotj-panel,.sotj-cart-form){padding:25px}.sot-journey .sotj-steps{max-width:none}}
@media(max-width:560px){.sot-journey{font-size:17px;padding-bottom:50px}.sot-journey .sotj-wrap{width:90%}.sot-journey .sotj-hero{padding-top:40px;padding-bottom:28px}.sot-journey .sotj-lead{font-size:18px}.sot-journey .sotj-grid{padding-top:25px;gap:24px}.sot-journey .sotj-steps{grid-template-columns:1fr 1fr;gap:12px;font-size:14px}.sot-journey :is(.sotj-panel,.sotj-cart-form,.sotj-side){padding:22px 19px}.sot-journey .sotj-product{grid-template-columns:90px minmax(0,1fr);gap:15px}.sot-journey .sotj-product-photo{width:90px}.sot-journey .sotj-product-name{font-size:22px}.sot-journey .sotj-fees{grid-template-columns:1fr}.sotj-fees>div{padding:20px}.sotj-fees strong{font-size:26px}.sotj-receipt dl>div{display:block}.sotj-receipt dd{text-align:left;margin-top:7px}.sot-journey .sotj-receipt h2{font-size:28px}.sot-journey .sotj-customer-detail{overflow-wrap:anywhere}}
.sot-journey .sotj-checkout-course {
    margin-bottom: 1rem;
    padding: 20px 24px;
    border: 1px solid var(--sj-line);
    border-radius: 8px;
    background: #fff;
}
.sot-journey .sotj-checkout-course h2 { margin: 0 0 .65em; font-size: 1.25em; }
.sot-journey .sotj-checkout-course p { margin: .25em 0; font-size: 1em; }
.sot-journey .sotj-checkout-course a { display: inline-block; margin-top: .5em; text-decoration: underline; }
.sotj-checkout .sotj-due-now {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 14px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--sj-line);
}
.sotj-checkout .sotj-due-now strong { font-size: 1.15em; }
.sotj-checkout :is(.sotj-test-note, #payment .woocommerce-notice--info) {
    padding: 14px 16px;
    border: 1px solid var(--sj-line);
    border-radius: 6px;
    background: #edf6f7;
    color: var(--sj-ink);
    font-size: 16px;
    line-height: 1.5;
}
.sotj-checkout .woocommerce-privacy-policy-text a { color: #006575; text-decoration: underline; }

.sotj-cart :is(.woocommerce-message, .woocommerce-error, .woocommerce-info) a.button {
    background: #164551;
    color: #fff;
}
/* The visitor is already viewing the basket. WooCommerce can point its standard notice
   button back to the legacy cart while FunnelKit serves the current one. */
.sotj-cart :is(.woocommerce-message, .woocommerce-error, .woocommerce-info) a.button.wc-forward:is(
    [href="/cart/"], [href="/cart-old/"],
    [href="https://staging.schooloftefl.org/cart/"], [href="https://staging.schooloftefl.org/cart-old/"],
    [href="https://www.schooloftefl.org/cart/"], [href="https://www.schooloftefl.org/cart-old/"],
    [href="https://schooloftefl.org/cart/"], [href="https://schooloftefl.org/cart-old/"]
) { display: none; }

/* Cart item titles and actions remain the ones WooCommerce renders. */
.sot-journey.sotj-cart .sotj-cart-form { container-type:inline-size; }
.sotj-cart .sotj-cart-item:has(.sotj-line-price) {
    display:grid;
    grid-template-columns:104px minmax(0,1fr) auto;
    grid-template-areas:"photo name price" "photo remove price";
    align-items:center;
    gap:2px 18px;
    margin:0;
    padding:0;
    border:0;
}
.sotj-cart .sotj-cart-item + .sotj-cart-item:has(.sotj-line-price) {
    margin-top:22px;
    padding-top:20px;
    border-top:1px solid var(--sj-line);
}
.sotj-cart .sotj-cart-item:has(.sotj-line-price) :is(.sotj-product,.sotj-price-remove,.sotj-item-price) { display:contents; }
.sotj-cart .sotj-cart-item:has(.sotj-line-price) .sotj-product-name {
    grid-area:name;
    align-self:end;
    font-size:clamp(20px,2vw,25px);
    line-height:1.2;
    overflow-wrap:break-word;
}
.sotj-cart .sotj-cart-item:has(.sotj-line-price) :is(.sotj-product-photo,.sotj-course-image) {
    grid-area:photo;
    display:block;
    width:104px;
    height:94px;
    border-radius:7px;
    object-fit:cover;
}
.sotj-cart .sotj-cart-item:has(.sotj-course-image,.sotj-line-included) .sotj-product-photo,
.sotj-cart .sotj-cart-item:has(.sotj-line-price) .sotj-product-photo:has(img[src*="school_of_tefl_cart_secondary"]) { display:none; }
.sotj-cart .sotj-cart-item:has(.sotj-line-included),
.sotj-cart .sotj-cart-item:has(.sotj-line-price):not(:has(.sotj-course-image)):has(img[src*="school_of_tefl_cart_secondary"]) {
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"name price" "remove price";
}
.sotj-cart .sotj-cart-item:has(.sotj-line-included) .sotj-product-name { font-size:19px; }
.sotj-cart .sotj-cart-item:has(.sotj-line-price) .sotj-price-remove > :has(> .remove) {
    grid-area:remove;
    align-self:start;
    justify-self:start;
    width:auto;
}
.sotj-cart .sotj-price-remove a.remove {
    display:inline-flex;
    align-items:center;
    width:auto;
    min-width:44px;
    min-height:44px;
    padding:0 2px;
    border:0;
    border-radius:3px;
    background:transparent;
    color:#47626e;
    line-height:1.3;
    font-family:inherit;
    font-size:15px;
    font-weight:600;
    text-decoration:underline;
    text-underline-offset:3px;
}
.sotj-cart .sotj-price-remove a.remove:hover { background:transparent; color:#953523; }
.sotj-cart .sotj-line-price { grid-area:price; justify-self:end; text-align:right; line-height:1.35; }
.sotj-cart .sotj-line-label,.sotj-cart .sotj-line-included > span { display:block; color:var(--sj-muted); font-size:15px; font-weight:500; }
.sotj-cart .sotj-line-label { margin-bottom:3px; }
.sotj-cart .sotj-line-value { display:flex; flex-wrap:wrap; justify-content:end; align-items:baseline; gap:2px 7px; font-size:21px; font-weight:700; }
.sotj-cart .sotj-line-value del { color:var(--sj-muted); font-size:16px; font-weight:500; }
.sotj-cart .sotj-line-value ins { text-decoration:none; }
.sotj-cart .sotj-line-included strong { color:#136352; font-size:17px; }
.sotj-cart .sotj-date { padding:0; }
.sotj-cart .sotj-main > .brxe-shortcode:empty { display:none; }
.sotj-cart .sotj-coupon-notices :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) {
    margin:0;
    border:1px solid #c2ddd3;
    border-radius:7px;
    padding:12px 15px;
    background:#f0f8f4;
    color:#215b49;
    font-size:16px;
    line-height:1.45;
}
.sotj-cart .sotj-coupon-notices .woocommerce-error { border-color:#ebc8c3; background:#fff4f2; color:#8c3026; }
.sotj-cart .sotj-coupon-notices .woocommerce-error li { list-style:none; }
.sotj-cart .sotj-coupon-notices .woocommerce-message a.restore-item {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:none;
    min-height:44px;
    padding:5px 13px;
    border-radius:5px;
    background:#164551;
    color:#fff;
    text-decoration:underline;
}
.sotj-cart .sotj-side > .brxe-woocommerce-cart-coupon { margin:0; }
.sotj-cart .sotj-side > .sotj-coupon-notices { margin:0; }
@container (max-width: 510px) {
    .sotj-cart .sotj-cart-item:has(.sotj-line-deposit) {
        grid-template-columns:72px minmax(0,1fr) auto;
        grid-template-areas:"photo name name" "price price remove";
        gap:12px 14px;
    }
    .sotj-cart .sotj-cart-item:has(.sotj-line-price) :is(.sotj-product-photo,.sotj-course-image) { width:72px; height:64px; }
    .sotj-cart .sotj-cart-item:has(.sotj-line-price) .sotj-product-name { align-self:center; }
    .sotj-cart .sotj-cart-item:has(.sotj-line-deposit) .sotj-line-price { justify-self:start; text-align:left; }
    .sotj-cart .sotj-cart-item:has(.sotj-line-deposit) .sotj-line-value { justify-content:start; }
    .sotj-cart .sotj-cart-item:has(.sotj-line-deposit) .sotj-price-remove > :has(> .remove) { justify-self:end; align-self:center; }
    .sotj-cart .sotj-cart-item:has(.sotj-line-deposit):not(:has(.sotj-course-image)):has(img[src*="school_of_tefl_cart_secondary"]) {
        grid-template-columns:minmax(0,1fr) auto;
        grid-template-areas:"name name" "price remove";
        row-gap:10px;
    }
}
