/* Shared One Page visual skin, also used by Multistep. Custom remains isolated.
   twc-onepage is a presentation class; data-twc-layout owns the step behavior. */
body:has(.twc-onepage) { background: #fff; }
.twc-onepage {
    --twc-canvas: #fff;
    --twc-surface: #fff;
    --twc-primary: #1773b0;
    --twc-primary-hover: #105b8e;
    --twc-radius: 5px;
    --twc-control-radius: 5px;
    --twc-shadow: none;
    --twc-line: #dedede;
    --twc-quantity-border: #c9c9c9;
    --twc-quantity-radius: 5px;
    background: #fff;
    color: #222;
    font-family: inherit;
    font-size: 14px;
    min-height: 0;
}
.twc-onepage *, .twc-onepage *::before, .twc-onepage *::after { box-sizing: border-box; }
.twc-onepage :is(h1,h2,h3,p,button,input,select,textarea,label,summary) { font-family: inherit; letter-spacing: normal; }
.twc-onepage h1 { font-size: 30px; font-weight: 600; line-height: 1.3; }
.twc-onepage :is(h2,h3) { font-size: 16px; font-weight: 600; line-height: 1.4; }
.twc-onepage .twc-page { max-width: 1200px; padding: 40px 24px 56px; }
.twc-onepage :is(.twc-card,.twc-alert) { box-shadow: none; border-radius: 5px; }
.twc-onepage a:not(.twc-button) { color: #1773b0; }
.twc-onepage :is(button,a,input,select,textarea,summary,[tabindex]):focus-visible { outline: 2px solid #1773b0; outline-offset: 3px; }
.twc-shell.twc-onepage[data-twc-root][data-twc-view] :is(.twc-button--primary,button.twc-order-submit,#com-form-login .btn) {
    background: #1773b0; border: 1px solid #1773b0; border-radius: 5px; color: #fff !important;
    box-shadow: none; min-height: 50px; padding: 12px 20px; font-size: 16px; font-weight: 600;
    transform: none !important; transition: background-color 180ms ease;
}
.twc-shell.twc-onepage[data-twc-root][data-twc-view] :is(.twc-button--primary,button.twc-order-submit,#com-form-login .btn):hover:not(:disabled):not([aria-disabled='true']):not(.twc-is-disabled) {
    background: #105b8e; border-color: #105b8e; box-shadow: none; transform: none !important;
}
.twc-onepage .twc-page:has(:is(.twc-checkout-layout--onepage_editorial,.twc-checkout-layout--multistep_focus)) {
    display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: 0;
    align-items: start;
}
.twc-onepage :is(.twc-checkout-layout--onepage_editorial,.twc-checkout-layout--multistep_focus) { display: contents; }
.twc-onepage .twc-compact-heading { grid-column: 1; padding-right: 48px; margin: 0 0 20px; }
.twc-onepage .twc-login-disclosure { grid-column: 1; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; padding-right: 48px; margin: 0 0 10px; border: 0; }
.twc-onepage .twc-login-disclosure h2 { margin: 0; font-size: 16px; }
.twc-onepage .twc-login-disclosure__panel { grid-column: 1/-1; }
.twc-onepage .twc-checkout-flow { grid-column: 1; border: 0; border-radius: 0; padding: 0 48px 0 0; overflow: visible; }
.twc-onepage .twc-section { display: block; border: 0; border-radius: 0; padding: 0; margin: 0 0 24px; }
.twc-onepage .twc-section__number { display: none; }
.twc-onepage .twc-section__body { padding: 0; }
.twc-onepage .twc-section h2 { margin: 0 0 14px; font-size: 16px; }
.twc-onepage .twc-field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 12px; }
.twc-onepage .twc-field { min-width: 0; }
.twc-onepage .twc-field:is([data-twc-field-key$='.email'],[data-twc-field-key$='.address_1'],[data-twc-field-key$='.address_2']) { grid-column: 1/-1; }
.twc-onepage .twc-field > :is(label,.twc-field__label) { font-size: 14px; font-weight: 400; margin: 0 0 5px; }
.twc-onepage .twc-field__control :is(input:not([type='checkbox']):not([type='radio']):not([type='hidden']),select,textarea),
.twc-onepage .twc-inline-control input,
.twc-onepage #com-form-login :is(input[type='text'],input[type='email'],input[type='password']) {
    background: #fff; border: 1px solid #bcbcbc; border-radius: 5px; box-shadow: none;
    color: #222; font: inherit; font-size: 14px; min-height: 50px; padding: 12px; width: 100%; max-width: 100%;
}
.twc-onepage .twc-account-field--locked .twc-field__control :is(input[readonly],select:disabled,textarea[readonly]) {
    background: #f4f4f4 !important; color: #666 !important; border-color: #ddd; cursor: default;
}
/* Keep real labels (and their native for/id association), not placeholder-only fields. */
.twc-onepage .twc-field.twc-onepage-inset-field { position: relative; }
.twc-onepage .twc-field.twc-onepage-inset-field > label {
    position: absolute; inset: 7px 32px auto 12px; z-index: 1; margin: 0;
    color: #626262; font-size: 14px; line-height: 18px; font-weight: 400;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.twc-onepage .twc-field.twc-onepage-inset-field .twc-field__control :is(input:not([type='hidden']),select,textarea) {
    height: 60px; min-height: 60px; padding: 26px 12px 8px; line-height: 22px;
}
.twc-onepage .twc-field.twc-onepage-inset-field .twc-field__control select { padding-right: 32px; }
.twc-onepage .twc-choice--standalone { margin-top: 20px; padding-top: 0; border: 0; }
.twc-onepage .twc-edit-details { color: #1773b0; margin: 16px 0 0; }
.twc-onepage .twc-native-options { display: grid; gap: 0; }
.twc-onepage .twc-native-options .twc-native-option {
    border: 1px solid #c9c9c9; border-radius: 0; margin: 0; padding: 14px; background: #fff;
}
.twc-onepage .twc-native-option:first-child { border-radius: 5px 5px 0 0; }
.twc-onepage .twc-native-option:last-child { border-radius: 0 0 5px 5px; }
.twc-onepage .twc-native-option:only-child { border-radius: 5px; }
.twc-onepage .twc-native-option + .twc-native-option { margin-top: -1px; }
.twc-shell.twc-onepage[data-twc-root] [data-twc-provider] .twc-native-option:has(input[type='radio']:checked) {
    background: #f0f7fc; border-color: #1773b0; position: relative; z-index: 1;
}
.twc-onepage .twc-native-option__name { font-weight: 500; }
.twc-onepage .twc-native-option__description { color: #626262; font-size: 14px; }
.twc-onepage .twc-native-options__empty { margin: 0; padding: 16px; background: #f6f6f6; border: 1px solid #ddd; border-radius: 5px; }
/* One spacing owner: do not add sibling/theme margins to the grid gap. */
.twc-shell.twc-onepage[data-twc-root] .twc-pre-submit-fields { border: 0; padding: 0; gap: 16px; }
.twc-shell.twc-onepage[data-twc-root] .twc-pre-submit-fields > * { margin: 0; }
/* The explanation belongs to the preceding checkbox: 16px grid gap - 10px = 6px. */
.twc-shell.twc-onepage[data-twc-root] .twc-pre-submit-fields > .twc-account-creation-help { margin: -10px 0 0 28px; }
.twc-onepage .twc-pre-submit-fields :is(.twc-customer-note-fields,.twc-terms-fields) { grid-template-columns: minmax(0,1fr); }
.twc-shell.twc-onepage[data-twc-root][data-twc-view] .twc-customer-note-fields .twc-field__control textarea { min-height: 120px; }
.twc-onepage .twc-checkout-submit { border: 0; padding: 20px 0 0; }
.twc-onepage .twc-final-price-disclosure { display: grid; grid-template-columns: 1fr auto; gap: 8px; background: transparent; border-top: 1px solid #ddd; padding: 18px 0; margin: 0; }
.twc-onepage .twc-final-price-disclosure strong { white-space: nowrap; text-align: right; }
.twc-onepage .twc-final-price-disclosure__tax { margin-left: 0; }
.twc-onepage .twc-order-submit__icon { display: none; }
.twc-onepage .twc-order-submit { justify-content: center; }
.twc-onepage .twc-onepage-summary {
    grid-column: 2; grid-row: 1 / span 3; align-self: stretch; background: #f5f5f5; border: 0;
    border-left: 1px solid #dedede; border-radius: 0; padding: 24px; box-shadow: none; position: static;
}
.twc-onepage .twc-onepage-summary h2 { font-size: 16px; margin: 0 0 24px; }
@media(min-width:901px) {
    .twc-onepage .twc-onepage-summary__content {
        position: sticky; top: var(--twc-sticky-top, var(--twc-sticky-clearance, 24px));
        max-height: calc(100dvh - var(--twc-sticky-top, var(--twc-sticky-clearance, 24px)) - 24px);
        overflow-y: auto; overflow-x: hidden; scrollbar-width: thin;
    }
}
.twc-onepage .twc-summary-lines { max-height: 360px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 6px 4px 0 0; border: 0; margin: 0; }
.twc-onepage .twc-summary-line { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; gap: 14px; align-items: center; margin: 0 0 18px; padding: 0; }
.twc-onepage .twc-summary-line__media { position: relative; width: 64px; height: 72px; background: #fff; border: 1px solid #ddd; border-radius: 5px; }
.twc-onepage .twc-summary-line__media img { width: 100%; height: 100%; object-fit: contain; }
.twc-onepage .twc-summary-line__media b { background: #6a6a6a; }
.twc-onepage .twc-onepage-product-copy { min-width: 0; overflow-wrap: anywhere; }
.twc-onepage .twc-onepage-product-copy > div { color: #666; margin-top: 4px; }
.twc-onepage .twc-price-pair { color: #222; white-space: nowrap; }
.twc-onepage .twc-compact-coupon { border: 0; border-block: 1px solid #ddd; padding: 20px 0; margin: 20px 0; }
.twc-onepage .twc-compact-coupon summary { padding: 0; }
.twc-onepage .twc-compact-coupon .twc-inline-control { padding: 0; }
.twc-onepage .twc-compact-coupon .twc-inline-control :is(input,button) { border-radius: 5px; }
.twc-onepage .twc-compact-coupon .twc-inline-control button { min-width: 0; text-transform: none; }
.twc-onepage .twc-inline-control { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; margin-top: 14px; }
.twc-onepage .twc-inline-control button { background: transparent; color: #1773b0; border: 1px solid #1773b0; border-radius: 5px; padding: 10px 16px; min-height: 50px; font: inherit; }
.twc-shell.twc-onepage[data-twc-root][data-twc-view] .twc-inline-control:has(#twc-checkout-coupon) button {
    background: #fff; border: 1px solid #1773b0; color: #1773b0 !important; box-shadow: none;
    transition: background-color 180ms ease; transform: none !important;
}
.twc-shell.twc-onepage[data-twc-root][data-twc-view] .twc-inline-control:has(#twc-checkout-coupon) button:hover:not(:disabled) {
    background: #eaf4fb; border-color: #105b8e; color: #105b8e !important; box-shadow: none; transform: none !important;
}
.twc-shell.twc-onepage[data-twc-root][data-twc-view] .twc-compact-coupon button:focus-visible { outline: 2px solid #1773b0; outline-offset: 3px; }
.twc-onepage .twc-compact-coupon summary[aria-expanded='false'] .twc-compact-coupon__chevron { transform: rotate(0); }
.twc-onepage .twc-compact-coupon summary[aria-expanded='true'] .twc-compact-coupon__chevron { transform: rotate(180deg); }
.twc-onepage .twc-totals { margin: 20px 0 0; padding: 0; }
.twc-onepage .twc-totals :is(dt,dd) { font-weight: 400; font-size: 14px; }
.twc-onepage .twc-totals .twc-totals__grand :is(dt,dd) { font-size: 16px; font-weight: 600; }
.twc-onepage .twc-totals dd { white-space: nowrap; }
.twc-onepage .twc-tax-disclosure { margin: 18px 0; color: #626262; }
.twc-onepage .twc-onepage-return { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; }
.twc-onepage .twc-onepage-return svg { width: 14px; height: 14px; transform: rotate(90deg); }
.twc-onepage .twc-live { grid-column: 1/-1; }
.twc-onepage .twc-login-disclosure__toggle { color: #1773b0; text-decoration: underline; gap: 6px; justify-content: flex-end; font-size: 14px; padding: 8px 0 8px 8px; margin: 0; min-height: 40px; }
.twc-onepage .twc-login-disclosure__toggle > span:last-child { margin-left: 0; }
.twc-onepage .twc-login-disclosure__inner { background: #fff; }
.twc-onepage .twc-login-disclosure .twc-account-entry__native > :is(.row:first-child,hr) { display: none; }
.twc-onepage #com-form-login { --twc-native-login-padding: 16px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; padding: 16px; border: 1px solid #ddd; border-radius: 5px; }
.twc-onepage #com-form-login .form-group { margin: 0; min-width: 0; }
.twc-onepage #com-form-login .form-group:nth-of-type(n+3) { grid-column: 1/-1; }
.twc-onepage #com-form-login [class*='col-'] { float: none; padding: 0; margin: 0; width: auto; }
.twc-onepage #com-form-login .control-label { text-align: left; display: block; font-weight: 400; margin-bottom: 5px; }
.twc-onepage #com-form-login .list-inline { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.twc-shell--cart.twc-onepage .twc-page { width: 100%; left: auto; transform: none; margin-inline: auto; }
.twc-shell--cart.twc-onepage .twc-page:has(.twc-cart-layout) { display: grid; grid-template-columns: minmax(0,1.85fr) minmax(0,1fr); grid-template-rows: auto 1fr; column-gap: 0; }
.twc-shell--cart.twc-onepage .twc-page__heading h1 { font-weight: 600; }
.twc-shell--cart.twc-onepage .twc-page > .twc-page__heading { grid-column: 1; padding-right: 32px; margin-bottom: 24px; }
.twc-shell--cart.twc-onepage .twc-cart-layout { display: contents; }
.twc-shell--cart.twc-onepage .twc-cart-lines { grid-column: 1; padding-right: 32px; }
.twc-shell--cart.twc-onepage .twc-cart-summary-column { grid-column: 2; grid-row: 1/span 2; align-self: stretch; position: static; background: #f5f5f5; border-left: 1px solid #ddd; padding: 28px; }
.twc-onepage .twc-cart-summary { background: transparent; border: 0; padding: 0; }
.twc-onepage .twc-cart-summary h2 { position: static; border: 0; margin: 0 0 24px; padding: 0; font-size: 16px; }
.twc-onepage .twc-cart-table__header { background: #fff; border-bottom: 1px solid #ddd; }
.twc-onepage .twc-line { box-shadow: none; border-radius: 0; }
.twc-onepage .twc-line__name a { color: #222; }
.twc-onepage .twc-line__media { border: 1px solid #ddd; border-radius: 5px; background: #fff; }
.twc-shell--cart.twc-onepage .twc-cart-summary > h2 { border: 0; padding: 0; margin: 0 0 18px; font-size: 16px; }
.twc-shell--cart.twc-onepage .twc-cart-totals :is(dt,dd) { font-weight: 400; }
.twc-shell--cart.twc-onepage .twc-cart-totals__count { margin-bottom: 18px; }
.twc-shell--cart.twc-onepage .twc-cart-coupon { margin: 18px 0; padding: 18px 0; }
.twc-shell--cart.twc-onepage .twc-cart-coupon summary { padding: 0; font-weight: 400; }
.twc-shell--cart.twc-onepage .twc-cart-coupon .twc-inline-control { padding: 0; }
.twc-shell.twc-onepage[data-twc-root][data-twc-view] .twc-inline-control:has(#twc-coupon) button { background: #fff; color: #1773b0 !important; border: 1px solid #1773b0; border-radius: 5px; box-shadow: none; }
.twc-shell.twc-onepage[data-twc-root][data-twc-view] .twc-inline-control:has(#twc-coupon) button:hover:not(:disabled) { background: #eaf4fb; color: #105b8e !important; border-color: #105b8e; box-shadow: none; }
.twc-shell--cart.twc-onepage .twc-cart-grand-total { border: 0; margin: 0; padding: 0; }
.twc-shell--cart.twc-onepage .twc-cart-grand-total .twc-totals__grand { border: 0; margin: 0; padding: 12px 0; }
.twc-shell--cart.twc-onepage .twc-cart-summary .twc-tax-disclosure { padding: 0; margin: 8px 0 20px; }
.twc-shell.twc-onepage .twc-cart-totals dd { color: #222; }
@media(min-width:761px) {
    .twc-shell--cart.twc-onepage :is(.twc-cart-table__header,.twc-line) {
        grid-template-columns: 88px minmax(0,1fr) 132px 76px 76px 44px; gap: 10px; padding-inline: 0;
    }
    .twc-shell--cart.twc-onepage .twc-line__media { height: 104px; min-height: 104px; max-height: 104px; align-self: center; border-radius: 5px; }
    .twc-shell--cart.twc-onepage .twc-line { min-height: 144px; }
    .twc-shell--cart.twc-onepage .twc-line__details { align-self: center; }
    .twc-shell--cart.twc-onepage .twc-line__quantity { grid-column: 3; grid-row: 1; }
    .twc-shell--cart.twc-onepage .twc-line__unit { grid-column: 4; grid-row: 1; }
    .twc-shell--cart.twc-onepage .twc-cart-table__header > span:first-child { text-align: left; }
    .twc-shell--cart.twc-onepage .twc-cart-table__header > span:nth-child(2) { grid-column: 4; grid-row: 1; text-align: right; }
    .twc-shell--cart.twc-onepage .twc-cart-table__header > span:nth-child(3) { grid-column: 3; grid-row: 1; text-align: center; }
    .twc-shell--cart.twc-onepage .twc-cart-table__header > span:nth-child(4) { grid-column: 5; grid-row: 1; text-align: right; }
    .twc-shell--cart.twc-onepage .twc-line__remove { align-self: center; min-height: 44px; }
    .twc-shell--cart.twc-onepage .twc-line__name { font-size: 14px; overflow-wrap: anywhere; }
    .twc-shell--cart.twc-onepage :is(.twc-line__unit,.twc-line__total) { flex-direction: column; align-items: flex-end; flex-wrap: nowrap; }
    .twc-shell--cart.twc-onepage .twc-cart-table__header { font-size: 14px; font-weight: 700; line-height: 1.35; min-height: 48px; color: #626262; background: #fff; text-transform: none; overflow-wrap: anywhere; }
}
.twc-onepage .twc-alert--empty-cart { background: #fff; border: 0; box-shadow: none; text-align: center; }
.twc-shell.twc-onepage[data-twc-root] .twc-page:has(> .twc-alert--empty-cart) { min-height: 0; padding: 40px 24px 56px; }
.twc-shell.twc-onepage[data-twc-root] .twc-page > .twc-alert--empty-cart {
    max-width: 720px; width: 100%; margin: 0 auto; padding: 56px 24px;
    min-height: 0; border: 0; border-radius: 0; background: #f5f5f5;
    box-shadow: none; text-align: center;
}
.twc-shell.twc-onepage[data-twc-root] .twc-alert--empty-cart h1 { margin: 0 0 24px; font-weight: 600; }
.twc-shell.twc-onepage[data-twc-root][data-twc-view] .twc-alert--empty-cart .twc-button--primary {
    background: #1773b0; color: #fff !important; border: 1px solid #1773b0;
    border-radius: 5px; min-height: 50px; margin: 0; padding: 12px 24px;
}
.twc-shell.twc-onepage[data-twc-root][data-twc-view] .twc-alert--empty-cart .twc-button--primary:hover {
    background: #105b8e; border-color: #105b8e; color: #fff !important; box-shadow: none;
}
.twc-onepage .twc-error-modal__header h2 { font-size: 18px; }
@media(max-width:760px) {
    .twc-shell--cart.twc-onepage .twc-line { grid-template-columns: 80px minmax(132px,1fr) 76px; gap: 10px; padding: 20px 0; }
    .twc-shell--cart.twc-onepage .twc-line__media { grid-column: 1; grid-row: 1/3; height: 100px; border-radius: 5px; }
    .twc-shell--cart.twc-onepage .twc-line__details { grid-column: 2/4; grid-row: 1; padding-right: 30px; }
    .twc-shell--cart.twc-onepage .twc-line__name { font-size: 14px; }
    .twc-shell--cart.twc-onepage .twc-line__unit { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .twc-shell--cart.twc-onepage .twc-line__quantity { grid-column: 2; grid-row: 2; margin: 0; }
    .twc-shell--cart.twc-onepage .twc-line__total { grid-column: 3; grid-row: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 3px; min-height: 44px; margin: 0; }
    .twc-shell--cart.twc-onepage .twc-line__total strong { font-size: 16px; order: -1; }
    .twc-shell--cart.twc-onepage :is(.twc-line__quantity,.twc-line__total)::before { display: none; }
}
@media(max-width:360px) {
    .twc-shell--cart.twc-onepage .twc-line { grid-template-columns: 72px minmax(0,1fr) 76px; }
    .twc-shell--cart.twc-onepage .twc-line__quantity { grid-column: 1/3; grid-row: 3; }
    .twc-shell--cart.twc-onepage .twc-line__total { grid-row: 3; }
}
@media(max-width:900px) {
    .twc-onepage h1 { font-size: 22px; }
    .twc-onepage .twc-page { padding: 20px 16px 36px; }
    .twc-shell.twc-onepage[data-twc-root] .twc-page:has(> .twc-alert--empty-cart) { padding: 24px 16px 36px; }
    .twc-shell.twc-onepage[data-twc-root] .twc-page > .twc-alert--empty-cart { padding: 28px 20px; }
    .twc-onepage .twc-page:has(:is(.twc-checkout-layout--onepage_editorial,.twc-checkout-layout--multistep_focus)) { display: flex; flex-direction: column; }
    .twc-onepage .twc-page > *, .twc-onepage .twc-checkout-flow { width: 100%; }
    .twc-onepage .twc-compact-heading { order: 0; padding: 0; }
    .twc-onepage .twc-mobile-summary { order: 1; }
    .twc-onepage .twc-onepage-summary { order: 2; }
    .twc-onepage .twc-login-disclosure { order: 3; padding: 20px 0 0; }
    .twc-onepage .twc-checkout-flow { order: 4; padding: 0; }
    .twc-onepage .twc-live { order: 5; }
    .twc-shell.twc-onepage[data-twc-root] button.twc-mobile-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; margin: 0; border: 0; border-block: 1px solid #dedede; border-radius: 0; background: #f5f5f5; color: #222; font-size: 14px; min-height: 50px; box-shadow: none; }
    .twc-onepage .twc-mobile-summary__label { gap: 6px; font-weight: 400; }
    .twc-onepage .twc-mobile-summary strong { white-space: nowrap; color: #222; flex-shrink: 0; }
    .twc-onepage .twc-onepage-summary { display: none; min-height: 0; padding: 20px 14px; border: 1px solid #ddd; border-top: 0; }
    .twc-onepage .twc-onepage-summary.twc-summary--mobile-open { display: block; }
    .twc-onepage .twc-summary-lines { max-height: 280px; }
    .twc-onepage .twc-summary-line { gap: 10px; grid-template-columns: 56px minmax(0,1fr) auto; }
    .twc-onepage .twc-summary-line__media { width: 56px; height: 64px; }
    .twc-onepage .twc-field-grid { gap: 10px; }
    .twc-onepage .twc-field:is([data-twc-field-key$='.phone'],[data-twc-field-key$='.phone_1'],[data-twc-field-key$='.phone_2'],[data-twc-field-key$='.mobile'],[data-twc-field-key$='.mobile_phone'],[data-twc-field-key$='.telephone']) { grid-column: 1/-1; }
    .twc-onepage .twc-section { margin-bottom: 24px; }
    .twc-shell--cart.twc-onepage .twc-page:has(.twc-cart-layout) { display: block; }
    .twc-shell--cart.twc-onepage .twc-page > .twc-page__heading { padding: 0; }
    .twc-shell--cart.twc-onepage .twc-cart-lines { padding: 0; }
    .twc-shell--cart.twc-onepage .twc-cart-summary-column { margin-top: 24px; border: 0; border-top: 1px solid #ddd; padding: 24px 16px; }
    .twc-onepage #com-form-login { grid-template-columns: 1fr; }
    .twc-onepage .twc-order-submit { font-size: 16px; padding-inline: 12px; }
}
/* Multistep owns only progression/review placement; controls retain the skin above. */
.twc-onepage[data-twc-layout='multistep_focus'] .twc-login-disclosure { grid-template-columns: 1fr; }
.twc-onepage[data-twc-layout='multistep_focus'] .twc-page:has(.twc-checkout-layout) { grid-template-rows: auto auto 1fr; }
.twc-onepage[data-twc-layout='multistep_focus'] .twc-login-disclosure__toggle { justify-self: end; }
.twc-onepage .twc-stepper { padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid #dedede; }
.twc-onepage .twc-stepper ol { gap: 8px; }
.twc-onepage .twc-stepper button { min-height: 64px; padding: 0 2px; color: #626262; font-size: 14px; font-weight: 400; }
.twc-onepage .twc-stepper__number { width: 32px; height: 32px; font-weight: 600; border-color: #bcbcbc; }
.twc-onepage .twc-stepper li:not(:last-child)::after { top: 16px; left: calc(50% + 19px); right: calc(-50% + 19px); }
.twc-onepage .twc-stepper__item--current button { color: #1773b0; font-weight: 600; }
.twc-onepage .twc-stepper__item--complete:not(.twc-stepper__item--current) .twc-stepper__number { background: #f0f7fc; color: #1773b0; border-color: #1773b0; }
.twc-onepage .twc-step-actions { padding: 20px 0 0; border-top: 1px solid #dedede; margin: 0; }
.twc-onepage .twc-step-actions--review { border: 0; padding: 16px 0 24px; }
.twc-shell.twc-onepage[data-twc-root] .twc-step-actions .twc-button--secondary { background: #fff; border: 1px solid #1773b0; color: #1773b0 !important; border-radius: 5px; min-height: 50px; padding: 12px 20px; font-size: 16px; font-weight: 600; box-shadow: none; transform: none; }
.twc-shell.twc-onepage[data-twc-root] .twc-step-actions .twc-button--secondary:hover:not(:disabled) { background: #eaf4fb; border-color: #105b8e; color: #105b8e !important; transform: none; }
.twc-onepage .twc-review__intro { padding: 0; border: 0; }
.twc-onepage .twc-review__intro > .twc-eyebrow { display: none; }
.twc-onepage .twc-review__intro h2 { font-size: 16px; font-weight: 600; margin: 0 0 14px; }
.twc-onepage .twc-review__facts { margin: 20px 0 0; border: 1px solid #dedede; border-radius: 5px; overflow: hidden; }
.twc-onepage .twc-review__facts > div { padding: 14px 16px; gap: 12px; grid-template-columns: minmax(0,1fr) minmax(0,1.5fr); background: #fafafa; }
.twc-onepage .twc-review__facts > div:first-child { border-top: 0; }
.twc-onepage .twc-review__facts :is(dt,dd) { font-size: 14px; }
.twc-onepage .twc-review__facts dd { text-align: left; }
@media(max-width:640px) {
    .twc-onepage .twc-stepper ol { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 12px; }
    .twc-onepage .twc-stepper button { display: flex; justify-content: flex-start; gap: 8px; min-height: 44px; text-align: left; padding: 0; }
    .twc-onepage .twc-stepper__number { flex: 0 0 32px; }
    .twc-onepage .twc-stepper li:not(:last-child)::after { display: none; }
    .twc-onepage .twc-step-actions { flex-direction: column-reverse; gap: 12px; }
    .twc-onepage .twc-step-actions--review { flex-direction: column; }
    .twc-onepage .twc-review__facts > div { grid-template-columns: minmax(0,1fr); gap: 6px; }
}
@media(prefers-reduced-motion:reduce) { .twc-onepage * { transition: none !important; scroll-behavior: auto !important; } }

.twc-onepage-outcome {
    display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 0;
    max-width: 1200px; margin: 40px auto; padding: 0 24px; font-family: inherit;
}
.twc-onepage-outcome__main { padding: 24px 40px 24px 0; min-width: 0; }
.twc-onepage-outcome__confirmation { display: block; margin-bottom: 28px; }
.twc-onepage-outcome__confirmation h1 { margin: 18px 0 16px; font-size: 30px; font-weight: 700; letter-spacing: normal; line-height: 1.3; text-align: left; }
.twc-onepage-outcome__confirmation p { margin: 0 0 8px; }
.twc-onepage-outcome .twc-onepage-outcome__order-number { margin: 0; text-align: center; overflow-wrap: anywhere; }
.twc-onepage-outcome .twc-order-outcome__email-notice { margin: 0; text-align: left; max-width: none; }
.twc-onepage-outcome .twc-order-outcome__provider { border: 0; padding: 0; margin: 0 0 20px; }
.twc-onepage-outcome .twc-order-outcome__native { border: 0; padding: 0; background: transparent; }
.twc-onepage-outcome .twc-order-outcome__native .vm-order-done { border-radius: 5px; }
.twc-onepage-outcome__check { display: grid; place-items: center; border: 2px solid #1773b0; color: #1773b0; border-radius: 50%; width: 48px; height: 48px; margin: 0 auto 16px; font-size: 30px; }
.twc-onepage-outcome__status,.twc-onepage-outcome__details { border: 1px solid #ddd; border-radius: 5px; padding: 22px; margin-bottom: 20px; }
.twc-onepage-outcome__details { display: block; }
.twc-onepage-outcome__detail-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 0; }
.twc-onepage-outcome__detail-list > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 16px; border: 1px solid #e5e5e5; border-radius: 5px; background: #fafafa; color: #222; }
.twc-onepage-outcome__detail-list > .twc-onepage-outcome__contact { grid-column: 1/-1; }
.twc-onepage-outcome__detail-list :is(dt,dd) { margin: 0; font-size: 14px; font-weight: 400; overflow-wrap: anywhere; }
.twc-onepage-outcome .twc-onepage-outcome__detail-list dt { font-weight: 600; color: #222; }
.twc-onepage-outcome .twc-onepage-outcome__detail-list dd { color: #545454; line-height: 1.6; }
.twc-onepage-outcome__detail-list address { margin: 0; }
.twc-onepage-outcome__details > h2 { grid-column: 1/-1; }
.twc-onepage-outcome :is(h2,h3) { font-size: 16px; margin: 0 0 12px; }
.twc-onepage-outcome .twc-onepage-outcome__details > h2 { margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid #e5e5e5; }
.twc-onepage-outcome__details h3 { font-size: 14px; font-weight: 500; }
.twc-onepage-outcome .twc-order-outcome__address { display: grid; font-style: normal; gap: 4px; }
.twc-onepage-outcome__summary { padding: 28px; background: #f5f5f5; border-left: 1px solid #ddd; min-width: 0; }
.twc-onepage-outcome__list { max-height: 360px; overflow-y: auto; overscroll-behavior: contain; padding: 8px 4px 0 0; scrollbar-gutter: stable; }
.twc-onepage-outcome__line { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; align-items: center; gap: 14px; margin-bottom: 20px; }
.twc-onepage-outcome__media { position: relative; width: 64px; height: 76px; border: 1px solid #ddd; border-radius: 5px; background: #fff; }
.twc-onepage-outcome__media img { width: 100%; height: 100%; object-fit: contain; }
.twc-onepage-outcome__quantity { position: absolute; top: -9px; right: -9px; min-width: 22px; height: 22px; padding: 0 4px; display: grid; place-items: center; border-radius: 50%; background: #6a6a6a; color: #fff; font-size: 14px; }
.twc-onepage-outcome__copy { min-width: 0; overflow-wrap: anywhere; }
.twc-onepage-outcome__copy h3 { margin: 0 0 5px; font-size: 14px; font-weight: 600; }
.twc-onepage-outcome__copy p { margin: 0; color: #626262; }
.twc-onepage-outcome__line .twc-price-pair { align-items: flex-end; gap: 3px; }
.twc-onepage-outcome__line .twc-price-pair del { color: #626262; }
.twc-onepage-outcome .twc-order-outcome__table { display: block; width: 100%; min-width: 0; background: transparent; }
.twc-onepage-outcome .twc-order-outcome__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.twc-onepage-outcome .twc-order-outcome__table tbody { display: block; }
.twc-onepage-outcome .twc-order-outcome__table tr { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px 12px; margin-bottom: 20px; border: 0; }
.twc-onepage-outcome .twc-order-outcome__table td { display: block; padding: 0; border: 0; background: transparent; font-size: 14px; }
.twc-onepage-outcome .twc-order-outcome__table td:first-child { grid-column: 1; grid-row: 1/4; }
.twc-onepage-outcome .twc-order-outcome__table td:not(:first-child) { text-align: right; }
.twc-onepage-outcome .twc-order-outcome__table td::before { display: none; }
.twc-onepage-outcome .twc-order-outcome__table td:nth-child(3)::before { content: attr(data-label) ': '; display: inline; }
.twc-onepage-outcome .twc-order-outcome__product-cell { display: flex; align-items: start; gap: 12px; }
.twc-onepage-outcome .twc-order-outcome__image { flex: 0 0 60px; width: 60px; height: 76px; background: #fff; border: 1px solid #ddd; border-radius: 5px; }
.twc-onepage-outcome .twc-order-outcome__image img { width: 100%; height: 100%; object-fit: contain; }
.twc-onepage-outcome .twc-order-outcome__product-copy { min-width: 0; }
.twc-onepage-outcome .twc-order-outcome__product-copy h3 { font-size: 14px; }
.twc-onepage-outcome .twc-order-outcome__price { color: #222; font-size: 14px; }
.twc-onepage-outcome .twc-order-outcome__price del { color: #666; }
.twc-onepage-outcome .twc-order-outcome__totals { padding: 20px 0 0; border: 0; border-top: 1px solid #ddd; background: transparent; }
.twc-onepage-outcome .twc-order-outcome__total-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.twc-onepage-outcome .twc-order-outcome__total-row strong { font-weight: 400; white-space: nowrap; }
.twc-onepage-outcome .twc-order-outcome__grand-total { font-size: 16px; padding-top: 20px; margin-top: 12px; }
.twc-onepage-outcome__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.twc-onepage-outcome__actions a { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; min-height: 50px; border: 1px solid #1773b0; border-radius: 5px; text-decoration: none; }
.twc-onepage-outcome__actions .twc-order-outcome__print { background: #fff !important; color: #1773b0 !important; gap: 8px; }
/* Outrank the legacy shared :is() dark-button rule, whose login arm includes an ID. */
.twc-order-outcome.twc-onepage.twc-onepage-outcome .twc-onepage-outcome__actions .twc-order-outcome__print#twc-onepage-print { color: #1773b0 !important; width: auto; }
.twc-onepage-outcome__actions .twc-order-outcome__print:hover { background: #eef6fc !important; }
.twc-onepage-outcome__actions .twc-order-outcome__print svg { width: 18px; height: 18px; flex: 0 0 18px; }
.twc-onepage-outcome__actions .twc-button--primary { background: #1773b0; color: #fff; }
.twc-onepage-outcome__actions .twc-button--primary:hover { background: #105b8e; border-color: #105b8e; }
.twc-onepage-outcome__toggle { display: none; }
.twc-onepage-outcome__check svg { width: 65%; height: 65%; }
.twc-onepage-outcome__toggle svg { width: 16px; height: 16px; vertical-align: middle; transition: transform 240ms ease-in-out; }
.twc-onepage-outcome__toggle[aria-expanded='true'] svg { transform: rotate(180deg); }
@media(max-width:900px) {
    .twc-onepage-outcome { display: flex; flex-direction: column; padding: 0 16px; margin: 24px auto; }
    .twc-onepage-outcome__toggle { order: 0; display: flex; justify-content: space-between; gap: 14px; background: #f5f5f5; border: 1px solid #ddd; color: #1773b0; padding: 14px; font: inherit; min-height: 50px; }
    .twc-onepage-outcome__toggle strong { color: #222; white-space: nowrap; }
    .twc-onepage-outcome__summary { order: 1; display: none; padding: 20px 14px; border: 1px solid #ddd; }
    .twc-onepage-outcome__summary--open { display: block; }
    .twc-onepage-outcome__main { order: 2; padding: 24px 0; }
    .twc-onepage-outcome__confirmation h1 { font-size: 22px; }
    .twc-onepage-outcome__check { width: 36px; height: 36px; font-size: 24px; }
    .twc-onepage-outcome__details { grid-template-columns: 1fr; padding: 18px; }
    .twc-onepage-outcome__actions { grid-template-columns: 1fr; }
    .twc-onepage-outcome__detail-list { grid-template-columns: 1fr; gap: 12px; }
    .twc-onepage-outcome__detail-list > div { gap: 6px; padding: 14px; }
    .twc-onepage-outcome__line { grid-template-columns: 56px minmax(0,1fr) auto; gap: 10px; }
    .twc-onepage-outcome__media { width: 56px; height: 64px; }
    .twc-onepage-outcome__list { max-height: 280px; }
}
@media print {
    .twc-onepage-outcome { display: block; padding: 0; }
    .twc-onepage-outcome__summary { display: block !important; height: auto !important; overflow: visible !important; }
    .twc-onepage-outcome__list { max-height: none; overflow: visible; }
    .twc-onepage-outcome__toggle,.twc-onepage-outcome__actions { display: none !important; }
}
