.ec-commerce-page { --commerce-ink:#17263b; --commerce-muted:#657185; --commerce-border:#dce3ed; --commerce-blue:#245fe8; background:#f6f8fc; color:var(--commerce-ink); padding:48px 0 72px; min-height:65vh; }
.ec-commerce-container { max-width:1320px; }
.ec-commerce-page *, .ec-commerce-page *::before, .ec-commerce-page *::after { box-sizing:border-box; }
.ec-commerce-page [hidden] { display:none!important; }
.ec-commerce-page svg { width:22px; height:22px; flex:none; vertical-align:middle; }
.ec-commerce-page a { color:inherit; }
.ec-commerce-page h1, .ec-commerce-page h2, .ec-commerce-page h3, .ec-commerce-page p { margin-top:0; }
.ec-commerce-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-bottom:28px; }
.ec-commerce-heading h1 { margin:0 0 10px; font-size:clamp(29px,3vw,40px); line-height:1.2; letter-spacing:-.8px; }
.ec-commerce-heading>div>p:last-child { margin:0; color:var(--commerce-muted); font-size:15px; line-height:1.7; }
.ec-commerce-eyebrow { color:#14877f; font-size:11px; line-height:1.4; letter-spacing:1.5px; font-weight:800; margin:0 0 12px; }
.ec-commerce-back { flex:none; font-size:14px; font-weight:700; text-decoration:none; }
.ec-commerce-back:hover { color:var(--commerce-blue); }
.ec-commerce-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,370px); gap:28px; align-items:start; }
.ec-commerce-main { display:grid; gap:20px; min-width:0; }
.ec-commerce-panel { min-width:0; background:#fff; border:1px solid var(--commerce-border); border-radius:16px; box-shadow:0 3px 16px #182b4904; }
.ec-commerce-panel__title { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:24px 26px; border-bottom:1px solid var(--commerce-border); }
.ec-commerce-panel__title h2, .ec-commerce-summary>h2 { font-size:20px; line-height:1.3; margin:0; letter-spacing:-.25px; }
.ec-commerce-panel__title>span { color:var(--commerce-muted); font-size:13px; }
.ec-commerce-item { display:grid; grid-template-columns:116px minmax(0,1fr) auto; gap:0 20px; padding:26px; border-bottom:1px solid var(--commerce-border); }
.ec-commerce-item__image { width:116px; height:78px; border-radius:9px; overflow:hidden; background:#eaf3f7; grid-row:span 2; }
.ec-commerce-item__image img { display:block; width:100%; height:100%; object-fit:cover; }
.ec-commerce-item__image>span { display:flex; width:100%; height:100%; justify-content:center; align-items:center; color:#16847f; background:linear-gradient(135deg,#e8f7f5,#eaf0fc); }
.ec-commerce-item__image svg { width:38px; height:38px; }
.ec-commerce-item__body { min-width:0; }
.ec-commerce-tag { display:inline-block; color:#147b78; background:#eaf8f5; padding:3px 7px; font-size:10px; font-weight:800; letter-spacing:.25px; border-radius:4px; line-height:1.4; }
.ec-commerce-item h3 { margin:7px 0 6px; font-size:17px; line-height:1.35; overflow-wrap:anywhere; }
.ec-commerce-item h3 a { text-decoration:none; }
.ec-commerce-item h3 a:hover { color:var(--commerce-blue); }
.ec-commerce-item__body>p { font-size:12px; line-height:1.5; color:var(--commerce-muted); margin:0; }
.ec-commerce-item__price { text-align:right; white-space:nowrap; padding-top:3px; }
.ec-commerce-item__price strong { display:block; font-size:17px; line-height:1.4; }
.ec-commerce-item__price small { display:block; margin-top:5px; color:var(--commerce-muted); font-size:11px; }
.ec-commerce-item__controls { grid-column:2/-1; display:flex; align-items:center; flex-wrap:wrap; gap:12px; padding-top:18px; }
.ec-commerce-quantity { display:flex; gap:9px; align-items:center; color:var(--commerce-muted); font-size:12px; }
.ec-commerce-quantity__input { display:inline-flex; height:36px; border:1px solid #cdd6e4; border-radius:6px; overflow:hidden; background:#fff; }
.ec-commerce-quantity__input button { width:32px; min-height:34px; border:0; background:#f7f9fc; font-size:18px; color:var(--commerce-ink); cursor:pointer; }
.ec-commerce-quantity__input button:hover { background:#e9effb; }
.ec-commerce-quantity__input button:disabled { opacity:.35; cursor:default; }
.ec-commerce-quantity__input input { width:41px; min-width:0; padding:0 2px; border:0; background:#fff; text-align:center; font:700 13px Arial,sans-serif; color:var(--commerce-ink); appearance:textfield; -moz-appearance:textfield; }
.ec-commerce-quantity__input input::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }
.ec-commerce-quantity__fixed { display:inline-grid; place-items:center; width:34px; height:34px; border:1px solid var(--commerce-border); border-radius:6px; color:var(--commerce-ink); }
.ec-commerce-item__license { color:var(--commerce-muted); font-size:11px; line-height:1.5; }
.ec-commerce-remove { display:inline-flex; gap:5px; align-items:center; margin-left:auto; background:none; border:0; color:#697489; font-size:12px; font-weight:600; cursor:pointer; padding:6px 0 6px 8px; }
.ec-commerce-remove svg { width:15px; height:15px; }
.ec-commerce-remove:hover { color:#b73549; }
.ec-commerce-cart-form__footer { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 26px; }
.ec-commerce-cart-form__footer p { margin:0; max-width:360px; font-size:12px; line-height:1.65; color:var(--commerce-muted); }
.ec-commerce-button { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:46px; padding:13px 18px; border:1px solid var(--commerce-blue); border-radius:8px; color:#fff!important; background:var(--commerce-blue); font:700 14px/1.4 Arial,Helvetica,sans-serif; text-decoration:none; cursor:pointer; }
.ec-commerce-button:hover { background:#174dcb; }
.ec-commerce-button:disabled, .ec-commerce-button[aria-disabled=true] { opacity:.55; cursor:default; }
.ec-commerce-button--secondary { border-color:#cbd6e7; color:#254260!important; background:#fff; }
.ec-commerce-button--secondary:hover { background:#f0f5fd; }
.ec-commerce-button svg { width:18px; height:18px; }
.ec-commerce-summary { position:sticky; top:110px; padding:26px; }
.ec-commerce-summary>h2 { margin:0 0 24px; }
.ec-commerce-summary .ec-commerce-panel__title { padding:0 0 20px; }
.ec-commerce-summary__line { display:flex; justify-content:space-between; gap:18px; margin:16px 0; font-size:13px; color:var(--commerce-muted); }
.ec-commerce-summary__line strong { color:var(--commerce-ink); }
.ec-commerce-summary__total { display:flex; align-items:center; justify-content:space-between; gap:12px; border-top:1px solid var(--commerce-border); margin:22px 0; padding-top:20px; font-size:16px; font-weight:700; }
.ec-commerce-summary__total strong { font-size:25px; color:var(--commerce-ink); white-space:nowrap; letter-spacing:-.3px; }
.ec-commerce-summary>.ec-commerce-button { width:100%; }
.ec-commerce-summary__foot { display:flex; align-items:center; gap:7px; color:var(--commerce-muted); font-size:11px; line-height:1.6; margin:14px 0 0; }
.ec-commerce-summary__foot svg { width:14px; height:14px; }
.ec-commerce-summary>.ec-commerce-text-link { display:block; margin-top:20px; text-align:center; color:var(--commerce-muted); }
.ec-commerce-text-link, .ec-commerce-text-button { color:#285bba!important; background:none; border:0; padding:0; font-size:12px; font-weight:700; line-height:1.7; text-decoration:none; cursor:pointer; }
.ec-commerce-text-link:hover, .ec-commerce-text-button:hover { text-decoration:underline; }
.ec-commerce-info-strip { display:flex; gap:22px; align-items:flex-start; padding:0 7px; color:var(--commerce-muted); font-size:11px; line-height:1.5; }
.ec-commerce-info-strip>span { display:flex; align-items:center; gap:7px; }
.ec-commerce-info-strip svg { width:18px; height:18px; color:#248d88; }
.ec-commerce-notice { display:flex; align-items:center; gap:10px; padding:14px 18px; margin-bottom:22px; border:1px solid #c8e5dd; border-radius:9px; color:#1a6555; background:#eef9f4; font-size:13px; }
.ec-commerce-notice--error { background:#fff4ef; color:#934630; border-color:#f0d7ca; }
.ec-commerce-error { color:#a53b3b; background:#fff4f4; padding:12px 14px; border-radius:7px; font-size:13px; line-height:1.6; }
.ec-commerce-empty { padding:52px 24px; text-align:center; max-width:800px; margin:0 auto; }
.ec-commerce-empty h2 { font-size:25px; margin-bottom:12px; }
.ec-commerce-empty p { color:var(--commerce-muted); max-width:520px; margin:0 auto 24px; line-height:1.8; font-size:15px; }
.ec-commerce-empty__icon { display:grid; place-items:center; width:72px; height:72px; margin:0 auto 22px; background:#eaf5f4; border-radius:20px; color:#138a80; }
.ec-commerce-empty__icon svg { width:36px; height:36px; }
.ec-commerce-checkout { padding:26px; scroll-margin-top:110px; }
.ec-commerce-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding:0 0 24px; margin:0 0 28px; list-style:none; border-bottom:1px solid var(--commerce-border); gap:10px; }
.ec-commerce-steps button { display:flex; align-items:center; gap:9px; padding:0; border:0; background:none; color:#7e899a; font:700 12px/1.4 Arial,sans-serif; cursor:pointer; text-align:left; }
.ec-commerce-steps button>span { display:grid; place-items:center; width:28px; height:28px; border:1px solid #d7dfe9; border-radius:50%; color:#7b8798; background:#f7f9fc; flex:none; }
.ec-commerce-steps button[aria-current=step] { color:#205aca; }
.ec-commerce-steps button[aria-current=step]>span { color:#fff; background:var(--commerce-blue); border-color:var(--commerce-blue); box-shadow:0 0 0 4px #edf2ff; }
.ec-commerce-steps button.is-done>span { color:#0d8173; background:#e9f8f3; border-color:#b6dfd5; }
.ec-commerce-step__heading { display:flex; align-items:flex-start; gap:13px; margin-bottom:24px; }
.ec-commerce-section-icon { display:grid; width:43px; height:43px; place-items:center; flex:none; color:#168a83; background:#eaf8f5; border-radius:11px; }
.ec-commerce-step__heading h2 { margin:0 0 7px; font-size:21px; line-height:1.35; letter-spacing:-.3px; }
.ec-commerce-step__heading p { margin:0; color:var(--commerce-muted); font-size:13px; line-height:1.7; }
.ec-commerce-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.ec-commerce-field { display:grid; gap:8px; min-width:0; color:#35455b; font-size:12px; font-weight:700; }
.ec-commerce-field input, .ec-commerce-field textarea, .ec-commerce-field select { display:block; width:100%; min-width:0; min-height:45px; padding:11px 12px; border:1px solid #d1dbe8; border-radius:7px; background:#fff; color:var(--commerce-ink); font:400 14px/1.5 Arial,Helvetica,sans-serif; }
.ec-commerce-field input::placeholder, .ec-commerce-field textarea::placeholder { color:#8b95a5; }
.ec-commerce-field textarea { resize:vertical; min-height:80px; }
.ec-commerce-field--wide { grid-column:1/-1; }
.ec-commerce-field small, .ec-commerce-muted { color:var(--commerce-muted); font-weight:400; font-size:11px; line-height:1.65; }
.ec-commerce-field small { display:block; }
.ec-commerce-optional { margin-top:22px; border:1px solid var(--commerce-border); border-radius:8px; }
.ec-commerce-optional summary { padding:14px 16px; cursor:pointer; font-size:12px; font-weight:700; line-height:1.5; color:#455b72; }
.ec-commerce-optional summary>span { margin-left:8px; font-size:10px; font-weight:400; color:var(--commerce-muted); }
.ec-commerce-optional>.ec-commerce-fields, .ec-commerce-optional>.ec-commerce-field { margin:0; padding:4px 16px 18px; }
.ec-commerce-learners { margin-top:26px; padding-top:24px; border-top:1px solid var(--commerce-border); }
.ec-commerce-learners h3 { font-size:16px; margin-bottom:8px; }
.ec-commerce-learners>p { color:var(--commerce-muted); font-size:12px; line-height:1.7; margin-bottom:16px; }
.ec-commerce-optional--learner { margin-top:12px; }
.ec-commerce-learner-group { padding:16px; border:1px solid var(--commerce-border); border-radius:8px; margin-top:12px; background:#fbfcfe; }
.ec-commerce-learner-group>strong { display:block; margin-bottom:14px; font-size:14px; }
.ec-commerce-actions { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:28px; padding-top:22px; border-top:1px solid var(--commerce-border); }
.ec-commerce-actions>.ec-commerce-button:only-child { margin-left:auto; }
.ec-commerce-methods { display:grid; gap:12px; margin-bottom:20px; }
.ec-commerce-method { display:flex; align-items:center; gap:13px; padding:17px 16px; border:1px solid var(--commerce-border); border-radius:9px; cursor:pointer; background:#fff; }
.ec-commerce-method>input { width:17px; height:17px; margin:0; flex:none; accent-color:var(--commerce-blue); }
.ec-commerce-method__icon { display:grid; width:35px; height:35px; align-items:center; justify-content:center; color:#4e6d92; background:#f0f4fb; border-radius:8px; flex:none; }
.ec-commerce-method strong { display:block; font-size:13px; margin-bottom:4px; line-height:1.4; }
.ec-commerce-method small { display:block; color:var(--commerce-muted); font-size:11px; line-height:1.6; }
.ec-commerce-method.is-selected { border-color:#7c9ff4; background:#f4f7ff; box-shadow:0 0 0 1px #7c9ff4; }
.ec-commerce-method.is-unavailable { opacity:.55; cursor:default; }
.ec-commerce-payment-panel { padding:18px; margin:0 0 22px; border:1px solid #d8e4ec; border-radius:9px; background:#f8fbfd; min-width:0; }
.ec-commerce-payment-panel legend { color:#3b5369; font-size:12px; font-weight:700; padding:0 6px; }
.ec-commerce-payment-info { display:flex; align-items:flex-start; gap:12px; font-size:12px; color:#52657b; line-height:1.8; margin-bottom:18px; }
.ec-commerce-payment-info>svg { color:#16897f; margin-top:3px; }
.ec-commerce-payment-info p { margin:0; }
.ec-commerce-payment-panel .ec-commerce-payment-info { margin:0; }
.ec-commerce-item--compact { grid-template-columns:58px minmax(0,1fr); padding:18px 0; gap:0 12px; }
.ec-commerce-item--compact .ec-commerce-item__image { width:58px; height:48px; grid-row:1/3; border-radius:6px; }
.ec-commerce-item--compact .ec-commerce-item__image svg { width:24px; height:24px; }
.ec-commerce-item--compact h3 { margin:5px 0; font-size:13px; line-height:1.45; }
.ec-commerce-item--compact .ec-commerce-item__body>p { display:none; }
.ec-commerce-item--compact .ec-commerce-item__price { grid-column:2; text-align:left; padding-top:8px; }
.ec-commerce-item--compact .ec-commerce-item__price strong { font-size:14px; }
.ec-commerce-review { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; padding:20px; border:1px solid var(--commerce-border); background:#f8fafd; border-radius:9px; }
.ec-commerce-review h3, .ec-commerce-review__learners>h3 { font-size:13px; margin-bottom:12px; }
.ec-commerce-review p, .ec-commerce-review__learner p { margin:0 0 6px; color:#5b6e83; font-size:12px; line-height:1.6; overflow-wrap:anywhere; }
.ec-commerce-review .ec-commerce-text-button { margin-top:8px; }
.ec-commerce-review__learners { margin-top:24px; }
.ec-commerce-review__learner { border-bottom:1px solid var(--commerce-border); padding:12px 0; }
.ec-commerce-review__learner>strong { display:block; margin-bottom:8px; font-size:13px; }
.ec-commerce-review__total { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:22px 0; font-size:15px; font-weight:700; }
.ec-commerce-review__total strong { font-size:25px; }
.ec-commerce-confirm { display:flex; gap:10px; align-items:flex-start; color:#455871; font-size:12px; line-height:1.7; }
.ec-commerce-confirm input { width:17px; height:17px; margin:3px 0 0; flex:none; accent-color:var(--commerce-blue); }
.ec-commerce-receipt { padding:34px; }
.ec-commerce-receipt__icon { display:grid; width:58px; height:58px; place-items:center; background:#eef4ff; color:#3863bd; border-radius:17px; margin-bottom:22px; }
.ec-commerce-receipt h2 { font-size:25px; margin-bottom:14px; line-height:1.4; }
.ec-commerce-receipt>p:not(.ec-commerce-eyebrow) { color:var(--commerce-muted); font-size:14px; line-height:1.8; }
.ec-commerce-receipt>.ec-commerce-text-link { display:block; margin-top:18px; }
.ec-commerce-receipt[data-order-state=paid] .ec-commerce-receipt__icon { background:#e6f7ef; color:#188655; }
.ec-commerce-seats { padding:26px; }
.ec-commerce-seats>h2 { font-size:20px; margin-bottom:12px; }
.ec-commerce-seats>p { color:var(--commerce-muted); font-size:13px; line-height:1.8; }
.ec-commerce-seat { padding:18px 0; border-top:1px solid var(--commerce-border); }
.ec-commerce-seat>div { display:grid; gap:6px; overflow-wrap:anywhere; }
.ec-commerce-seat strong { font-size:14px; }
.ec-commerce-seat span { color:#546b81; font-size:13px; }
.ec-commerce-seat small { color:#18826c; font-size:11px; }
.ec-commerce-seat__form { display:flex; gap:12px; align-items:end; margin-top:15px; }
.ec-commerce-seat__form label { display:grid; flex:1; gap:6px; min-width:0; }
.ec-commerce-seat__form input { min-width:0; width:100%; min-height:45px; border:1px solid #d1dbe8; border-radius:7px; padding:10px; font:14px Arial,sans-serif; }
.ec-commerce-page :focus-visible { outline:3px solid #6f9fea; outline-offset:3px; }
@media(max-width:1080px) {
    .ec-commerce-grid { gap:22px; grid-template-columns:minmax(0,1fr) 320px; }
    .ec-commerce-item { grid-template-columns:90px minmax(0,1fr); gap:0 16px; padding:22px; }
    .ec-commerce-item__image { width:90px; height:64px; }
    .ec-commerce-item__price { grid-column:2; text-align:left; padding-top:12px; }
    .ec-commerce-item__controls { padding-top:16px; }
    .ec-commerce-item--compact { grid-template-columns:50px minmax(0,1fr); padding:18px 0; gap:0 10px; }
    .ec-commerce-item--compact .ec-commerce-item__image { width:50px; height:45px; }
    .ec-commerce-summary { padding:22px; }
}
@media(max-width:900px) {
    .ec-commerce-grid { grid-template-columns:minmax(0,1fr); }
    .ec-commerce-summary { position:static; }
    .ec-commerce-info-strip { justify-content:space-between; }
    .ec-commerce-heading { align-items:flex-start; }
    .ec-commerce-item { grid-template-columns:116px minmax(0,1fr) auto; }
    .ec-commerce-item__image { width:116px; height:78px; }
    .ec-commerce-item__price { grid-column:auto; padding-top:3px; text-align:right; }
    .ec-commerce-item--compact { grid-template-columns:58px minmax(0,1fr) auto; }
    .ec-commerce-item--compact .ec-commerce-item__price { grid-column:3; grid-row:1; }
}
@media(max-width:600px) {
    .ec-commerce-page { padding:28px 0 44px; }
    .ec-commerce-page .ec-container { width:calc(100% - 32px); }
    .ec-commerce-heading { display:block; margin-bottom:22px; }
    .ec-commerce-heading h1 { font-size:29px; }
    .ec-commerce-heading>div>p:last-child { font-size:13px; }
    .ec-commerce-back { display:inline-block; margin-top:17px; font-size:12px; }
    .ec-commerce-panel { border-radius:12px; }
    .ec-commerce-panel__title { padding:19px 16px; }
    .ec-commerce-panel__title h2 { font-size:17px; }
    .ec-commerce-item { padding:20px 16px; grid-template-columns:76px minmax(0,1fr); gap:0 13px; }
    .ec-commerce-item__image { width:76px; height:58px; }
    .ec-commerce-item h3 { font-size:14px; }
    .ec-commerce-item__body>p { font-size:11px; }
    .ec-commerce-item__price { grid-column:2; text-align:left; padding-top:12px; }
    .ec-commerce-item__price strong { font-size:16px; }
    .ec-commerce-item__controls { grid-column:1/-1; gap:10px; padding-top:18px; }
    .ec-commerce-quantity__input { height:40px; }
    .ec-commerce-quantity__input button { min-height:38px; width:35px; }
    .ec-commerce-quantity__input input { width:40px; }
    .ec-commerce-quantity>span:first-child { font-size:11px; }
    .ec-commerce-item__license { font-size:10px; }
    .ec-commerce-remove { min-height:40px; }
    .ec-commerce-cart-form__footer { padding:18px 16px; flex-wrap:wrap; gap:14px; }
    .ec-commerce-cart-form__footer .ec-commerce-button { width:100%; }
    .ec-commerce-info-strip { display:grid; grid-template-columns:1fr; gap:10px; padding:0 8px; }
    .ec-commerce-summary { padding:22px 18px; }
    .ec-commerce-checkout { padding:20px 16px; scroll-margin-top:95px; }
    .ec-commerce-steps { gap:6px; padding-bottom:20px; margin-bottom:23px; }
    .ec-commerce-steps button { font-size:10px; gap:6px; }
    .ec-commerce-steps button>span { width:25px; height:25px; }
    .ec-commerce-step__heading { gap:10px; }
    .ec-commerce-section-icon { width:36px; height:36px; border-radius:9px; }
    .ec-commerce-step__heading h2 { font-size:18px; }
    .ec-commerce-step__heading p { font-size:12px; }
    .ec-commerce-fields, .ec-commerce-review { grid-template-columns:minmax(0,1fr); gap:16px; }
    .ec-commerce-field input, .ec-commerce-field textarea { font-size:16px; }
    .ec-commerce-optional summary>span { display:block; margin:5px 0 0; }
    .ec-commerce-learner-group { padding:13px; }
    .ec-commerce-method { padding:14px 12px; gap:10px; }
    .ec-commerce-method__icon { width:30px; height:30px; }
    .ec-commerce-method strong { font-size:12px; }
    .ec-commerce-method small { font-size:10px; }
    .ec-commerce-actions { gap:12px; }
    .ec-commerce-actions .ec-commerce-button { flex:1; }
    .ec-commerce-actions>.ec-commerce-button:only-child { width:100%; }
    .ec-commerce-button { min-height:48px; font-size:12px; padding:13px; }
    .ec-commerce-item--compact { padding:18px 0; grid-template-columns:50px minmax(0,1fr); gap:0 12px; }
    .ec-commerce-item--compact .ec-commerce-item__image { width:50px; height:45px; }
    .ec-commerce-item--compact .ec-commerce-item__price { grid-column:2; grid-row:auto; text-align:left; padding-top:8px; }
    .ec-commerce-receipt { padding:26px 20px; }
    .ec-commerce-receipt h2 { font-size:22px; }
    .ec-commerce-seats { padding:22px 18px; }
    .ec-commerce-seat__form { display:grid; }
    .ec-commerce-seat__form input { font-size:16px; }
}
@media(prefers-reduced-motion:reduce) { .ec-commerce-page *, .ec-commerce-page *::before, .ec-commerce-page *::after { scroll-behavior:auto!important; } }
