/* Standalone presentation baseline. Theme typography is intentionally inherited;
   component geometry and controls must not depend on Bootstrap/Reboot. Keep this
   before layout rules, and never reset opaque provider forms or embedded widgets. */
:is(.twc-shell, .twc-order-outcome, .twc-success, .twc-native-success-action) {
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: start;
    text-transform: none;
    text-shadow: none;
}
:is(.twc-shell, .twc-order-outcome, .twc-success, .twc-native-success-action),
:is(.twc-shell, .twc-order-outcome, .twc-success, .twc-native-success-action) *,
:is(.twc-shell, .twc-order-outcome, .twc-success, .twc-native-success-action) *::before,
:is(.twc-shell, .twc-order-outcome, .twc-success, .twc-native-success-action) *::after {
    box-sizing: border-box;
}
:is(.twc-shell, .twc-order-outcome, .twc-success, .twc-native-success-action) :where(h1,h2,h3,h4,h5,h6,p,dl,dt,dd,ul,ol,li,figure,fieldset,legend,form,label,button,input,select,textarea,summary,table,th,td):not(:where(.twc-order-outcome__native *, .twc-native-option *)) {
    margin: 0;
    padding: 0;
    font-family: inherit;
    letter-spacing: normal;
    text-transform: none;
    text-shadow: none;
}
:is(.twc-shell, .twc-order-outcome, .twc-success) :where(p,dl,dt,dd,ul,ol,li,label,summary,table,th,td):not(:where(.twc-order-outcome__native *, .twc-native-option *)) {
    font-size: inherit;
    line-height: inherit;
}
:is(.twc-shell, .twc-order-outcome, .twc-success) :where(h1,h2,h3,h4,h5,h6):not(:where(.twc-order-outcome__native *)) {
    color: inherit;
    font-weight: 600;
    line-height: 1.3;
}
:is(.twc-shell, .twc-order-outcome, .twc-success) :where(strong,b) { font-weight: 700; }
:is(.twc-shell, .twc-order-outcome, .twc-success) :where(label) { font-weight: 400; }
:is(.twc-shell, .twc-order-outcome, .twc-success) :where(small) { font-size: 14px; line-height: inherit; }
:is(.twc-shell, .twc-order-outcome, .twc-success) :where(dt) { font-weight: inherit; }
:is(.twc-shell, .twc-order-outcome, .twc-success) :where(thead,tbody,tfoot,tr) { border: 0; }
:is(.twc-shell, .twc-order-outcome, .twc-success) :where(a):not(:where(.twc-order-outcome__native *, .twc-native-option *)) {
    background: transparent;
    text-decoration: none;
    box-shadow: none;
}
:is(.twc-shell, .twc-order-outcome, .twc-success) :where(button,input,select,textarea):not(:where(.twc-order-outcome__native *, .twc-native-option *)) {
    font: inherit;
    color: inherit;
    float: none;
    max-width: 100%;
    height: auto;
    box-shadow: none;
    text-indent: 0;
}
:is(.twc-shell, .twc-order-outcome, .twc-success) :where(button):not(:where(.twc-order-outcome__native *, .twc-native-option *)) {
    appearance: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    text-align: center;
}
:is(.twc-shell, .twc-order-outcome, .twc-success) :where(fieldset) { border: 0; min-width: 0; }
:is(.twc-shell, .twc-order-outcome, .twc-success) :where(img):not(:where(.twc-order-outcome__native *, .twc-native-option *)) {
    display: block;
    max-width: 100%;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    vertical-align: middle;
}
:is(.twc-shell, .twc-order-outcome, .twc-success) :where(table) { border-collapse: collapse; border-spacing: 0; }
:is(.twc-shell, .twc-order-outcome, .twc-success) :where(th) { text-align: start; }
:is(.twc-shell, .twc-order-outcome, .twc-success, .twc-native-success-action) :where(button,a,input,select,textarea,summary,[tabindex]):focus-visible {
    outline: 2px solid #1a73e8;
    outline-offset: 3px;
}
:is(.twc-shell, .twc-order-outcome, .twc-success) [hidden] { display: none !important; }
.twc-sr-only {
    font-size: 14px !important;
    line-height: 1.5 !important;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.twc-icon { display: inline-block; width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; flex-shrink: 0; }

:root {
    --twc-canvas: #f6f5f2;
    --twc-surface: #ffffff;
    --twc-ink: #111318;
    --twc-text: #33363d;
    --twc-muted: #737780;
    --twc-line: #deddd9;
    --twc-soft-line: #ecebe7;
    --twc-primary: #315fea;
    --twc-primary-hover: #244cd4;
    --twc-error: #b63d34;
    --twc-success: #2f765b;
    --twc-warning: #95610b;
    --twc-cancelled: #656a73;
    --twc-radius: 16px;
    --twc-control-radius: 9px;
    --twc-shadow: 0 20px 55px rgb(17 19 24 / 7%);
}

body:has(.twc-shell) {
    background: var(--twc-canvas);
}

.twc-shell,
.twc-shell * {
    box-sizing: border-box;
}

.twc-shell {
    background: var(--twc-canvas);
    color: var(--twc-text);
    font-family: inherit;
    font-size: 14px;
    min-height: 100vh;
    position: relative;
}

.twc-shell a {
    color: inherit;
}

.twc-shell__header,
.twc-shell__footer {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-inline: auto;
    max-width: 1240px;
    padding: 24px clamp(20px, 4vw, 48px);
}

.twc-shell__header {
    border-bottom: 1px solid var(--twc-line);
}

.twc-shell__footer {
    border-top: 1px solid var(--twc-line);
    color: var(--twc-muted);
    font-size: 14px;
    gap: 20px;
    margin-top: 64px;
}

.twc-brand {
    color: var(--twc-ink) !important;
    font-family: inherit;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    letter-spacing: -.025em;
    text-decoration: none;
}

.twc-brand__logo {
    display: block;
    height: auto;
    max-height: 52px;
    max-width: min(240px, 52vw);
    object-fit: contain;
    width: auto;
}

.twc-shell__footer-content {
    width: 100%;
}

.twc-shell__footer-content > :first-child {
    margin-top: 0;
}

.twc-shell__footer-content > :last-child {
    margin-bottom: 0;
}

.twc-shell__footer-content a {
    text-decoration: underline;
    text-underline-offset: .16em;
}

.twc-shell__assurance,
.twc-shell__back {
    color: var(--twc-muted) !important;
    font-size: 14px;
    text-decoration: none;
}

.twc-shell__back:hover {
    color: var(--twc-ink) !important;
}

.twc-shell__back--button {
    background: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
}

.twc-page {
    margin-inline: auto;
    max-width: 1240px;
    padding: 56px clamp(20px, 4vw, 48px) 24px;
}

.twc-page__heading {
    margin-bottom: 32px;
}

.twc-page__heading h1,
.twc-alert h1 {
    color: var(--twc-ink);
    font-family: inherit;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: 1.03;
    margin: 0 0 12px;
}

.twc-page__heading > p:last-child {
    color: var(--twc-muted);
    margin: 0;
}

.twc-eyebrow {
    color: var(--twc-primary);
    font-size: 14px;
    font-weight: 750;
    letter-spacing: .12em;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.twc-card,
.twc-alert {
    background: var(--twc-surface);
    border: 1px solid var(--twc-soft-line);
    border-radius: var(--twc-radius);
    box-shadow: var(--twc-shadow);
}

.twc-alert {
    margin: 40px auto;
    max-width: 720px;
    padding: clamp(28px, 5vw, 56px);
}

.twc-alert--error {
    border-color: color-mix(in srgb, var(--twc-error), transparent 68%);
}

.twc-alert--empty-cart {
    text-align: center;
}

.twc-alert--empty-cart .twc-button {
    margin-top: 18px;
}

.twc-page--custom-compact .twc-alert--empty-cart,
.twc-cart-empty {
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.twc-page--custom-compact .twc-alert--empty-cart h1,
.twc-alert.twc-cart-empty h1 {
    font-size: 30px;
}

.twc-page--custom-compact .twc-alert--empty-cart .twc-button,
.twc-cart-empty .twc-button {
    background: #050505;
    border-radius: 0;
    color: #fff !important;
}

.twc-page--custom-compact .twc-alert--empty-cart .twc-button:hover,
.twc-cart-empty .twc-button:hover {
    background: #222;
}

.twc-account-entry {
    align-items: start;
    background: var(--twc-surface);
    border: 1px solid var(--twc-soft-line);
    border-radius: var(--twc-radius);
    box-shadow: var(--twc-shadow);
    display: grid;
    gap: 18px;
    margin-bottom: 28px;
    padding: clamp(22px, 3vw, 32px);
}

.twc-account-entry--required {
    margin-block: 40px;
}

.twc-account-entry h2 {
    color: var(--twc-ink);
    font-family: inherit;
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 6px;
}

.twc-account-entry p {
    color: var(--twc-muted);
    margin: 0;
}

.twc-account-entry__native :is(form, fieldset) {
    margin: 0;
}

.twc-account-entry__native :is(input, button, select) {
    font: inherit;
}

/* Native login markup keeps its Joomla/VM hooks, not its Bootstrap grid. */
.twc-account-entry__native #com-form-login { display: grid; gap: 14px; align-items: stretch !important; }
.twc-account-entry__native :is(.vm-login,#com-form-login) { margin: 0 !important; padding: var(--twc-native-login-padding, 0px) !important; background: transparent !important; }
.twc-account-entry__native .vm-login > .lead { margin: 0 0 14px !important; padding: 0 !important; border: 0 !important; font: inherit; }
.twc-account-entry__native #com-form-login :is(.row,.form-group,[class*='col-'],.width30,.floatleft) {
    display: block;
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
}
.twc-account-entry__native #com-form-login :is(.form-group,.mb-3) { margin: 0 !important; }
.twc-account-entry__native #com-form-login fieldset.userdata { display: grid; gap: 14px; grid-column: 1 / -1; }
.twc-account-entry__native #com-form-login :is(.clr,.clear) { display: none; }
.twc-account-entry__native #com-form-login .row > * { padding-inline: 0; }
.twc-account-entry__native #com-form-login.row::before,
.twc-account-entry__native #com-form-login.row::after,
.twc-account-entry__native #com-form-login .row::before,
.twc-account-entry__native #com-form-login .row::after { content: none; display: none; }
.twc-account-entry__native #com-form-login label { display: block; margin: 0 0 5px; }
.twc-account-entry__native #com-form-login > div:has(> input[type='checkbox']) { display: flex; align-items: center; gap: 10px; }
.twc-account-entry__native #com-form-login input[type='checkbox'] + label { margin: 0; }
.twc-account-entry__native #com-form-login :is(input[type='text'],input[type='email'],input[type='password']) {
    display: block; width: 100%; height: auto; margin: 0;
    border: 1px solid #cfd0d2; border-radius: var(--twc-control-radius);
    background: #fff; color: #111318; padding: 12px; min-height: 44px;
}
.twc-account-entry__native #com-form-login :is(.btn,input[type='submit']) {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 12px 20px; border: 1px solid transparent;
    border-radius: var(--twc-control-radius); background: var(--twc-primary);
    color: #fff; font: inherit; font-weight: 700;
}
.twc-account-entry__native #com-form-login .list-inline {
    display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none;
}
.twc-account-entry__native #com-form-login .list-inline > li { display: block; margin: 0; padding: 0; }
/* Compatibility for native BS5 hidden labels, even when Bootstrap is absent. */
.twc-account-entry__native #com-form-login label.visually-hidden {
    position: absolute !important; width: 1px !important; height: 1px !important;
    margin: -1px !important; padding: 0 !important; overflow: hidden !important;
    clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important;
}
.twc-shell input[type='checkbox'] { line-height: normal; }
.twc-shell .twc-field__control :is(input:not([type='checkbox']):not([type='radio']):not([type='hidden']),select,textarea),
.twc-shell .twc-inline-control input {
    display: block;
    margin: 0;
    max-width: 100%;
    height: auto;
    background-image: none;
}
.twc-shell .twc-field__control select { appearance: auto; }
/* VM emits an inline 210px width. Only owned shopper selects fill their field. */
.twc-shell[data-twc-root] .twc-field__control select[data-twc-native-select] {
    width: 100% !important;
    max-width: 100%;
}
.twc-shell .twc-native-option > input[type='radio'] { font: inherit; line-height: normal; color: inherit; }

.twc-login-disclosure {
    border-bottom: 1px solid var(--twc-soft-line);
    margin-bottom: 18px;
}

.twc-login-disclosure__toggle {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--twc-ink);
    cursor: pointer;
    display: flex;
    font: inherit;
    font-weight: 700;
    justify-content: flex-start;
    padding: 12px 0;
    text-align: left;
    width: 100%;
}

.twc-page--custom-compact .twc-login-disclosure__toggle > span:first-child {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.twc-login-disclosure__toggle > span:last-child {
    display: block;
    flex: 0 0 16px;
    height: 16px;
    margin-inline-start: 8px;
    transition: transform .22s ease;
    width: 16px;
}

.twc-login-disclosure__chevron svg {
    display: block;
    height: 100%;
    width: 100%;
}

.twc-login-disclosure--open .twc-login-disclosure__toggle > span:last-child {
    transform: rotate(180deg);
}

.twc-login-disclosure__panel {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows .24s ease, opacity .2s ease;
}

.twc-login-disclosure--open .twc-login-disclosure__panel {
    grid-template-rows: 1fr;
    opacity: 1;
}

.twc-login-disclosure__inner {
    min-height: 0;
    overflow: hidden;
}

.twc-login-disclosure__inner > .twc-account-entry__native {
    padding: 4px 0 18px;
}

.twc-page--custom-compact .twc-login-disclosure .twc-account-entry__native > .row:first-child,
.twc-page--custom-compact .twc-login-disclosure .twc-account-entry__native > hr {
    display: none;
}

.twc-page--custom-compact .twc-login-disclosure #com-form-login {
    display: grid;
    gap: 14px 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.twc-page--custom-compact .twc-login-disclosure #com-form-login > .form-group {
    margin: 0;
    min-width: 0;
}

.twc-page--custom-compact .twc-login-disclosure #com-form-login > .form-group:nth-of-type(3) {
    align-self: center;
    grid-column: 1;
}

.twc-page--custom-compact .twc-login-disclosure #com-form-login > .form-group:nth-of-type(4) {
    grid-column: 2;
    justify-self: end;
}

.twc-page--custom-compact .twc-login-disclosure #com-form-login > .form-group:nth-of-type(5) {
    grid-column: 1 / -1;
}

.twc-page--custom-compact .twc-login-disclosure #com-form-login [class*='col-'] {
    float: none;
    margin: 0;
    padding: 0;
    width: auto;
}

.twc-page--custom-compact .twc-login-disclosure #com-form-login .control-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px;
    text-align: left;
}

.twc-page--custom-compact .twc-login-disclosure #com-form-login :is(input[type='text'], input[type='password']) {
    border: 1px solid #d6d6d6;
    border-radius: 2px;
    box-shadow: none;
    font: inherit;
    min-height: 40px;
    padding: 8px 10px;
    width: 100%;
}

.twc-page--custom-compact .twc-login-disclosure #com-form-login .checkbox label {
    align-items: center;
    display: flex;
    gap: 8px;
    margin: 0;
}

.twc-page--custom-compact .twc-login-disclosure #com-form-login .btn {
    background: #050505;
    border: 1px solid #050505;
    border-radius: 0;
    color: #fff;
    font: inherit;
    font-weight: 700;
    min-height: 40px;
    padding: 8px 24px;
}

.twc-page--custom-compact .twc-login-disclosure #com-form-login .list-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.twc-page--custom-compact .twc-login-disclosure #com-form-login .list-inline > li {
    padding: 0;
}

.twc-cart-layout,
.twc-checkout-layout {
    align-items: start;
    display: grid;
    gap: clamp(24px, 4vw, 48px);
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr);
}

.twc-cart-layout > *,
.twc-checkout-layout > * {
    max-width: 100%;
    min-width: 0;
}

.twc-cart-lines {
    overflow: hidden;
    padding-inline: clamp(20px, 3vw, 34px);
}

.twc-line {
    display: grid;
    gap: 24px;
    grid-template-columns: 132px minmax(0, 1fr);
    padding-block: 30px;
}

.twc-line + .twc-line {
    border-top: 1px solid var(--twc-soft-line);
}

.twc-line__media,
.twc-summary-line__media {
    align-items: center;
    background: #f3f3f1;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.twc-line__media {
    aspect-ratio: 1;
}

.twc-line__media img,
.twc-summary-line__media img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.twc-line__placeholder {
    background: linear-gradient(135deg, #ecebe7, #f8f7f4);
    height: 100%;
    width: 100%;
}

.twc-line__body,
.twc-line__top {
    min-width: 0;
}

.twc-line__top {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.twc-line__name {
    color: var(--twc-ink);
    font-size: 18px;
    line-height: 1.35;
    margin: 2px 0 7px;
}

.twc-line__name a {
    text-decoration: none;
}

.twc-line__sku,
.twc-line__variant {
    color: var(--twc-muted);
    font-size: 14px;
    margin: 0;
}

.twc-line__variant > * {
    margin: 4px 0 0;
}

.twc-line__total {
    color: var(--twc-ink);
    white-space: nowrap;
}

.twc-price-pair {
    align-items: flex-end;
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    white-space: nowrap;
}

.twc-price-pair__original {
    color: var(--twc-muted);
    font-family: inherit;
    font-weight: 400;
    text-decoration-line: line-through;
}

.twc-line__actions {
    align-items: center;
    display: flex;
    gap: 18px;
    margin-top: 28px;
}

.twc-quantity {
    background: var(--twc-surface);
    border: 1px solid var(--twc-line);
    border-radius: var(--twc-control-radius);
    color: var(--twc-ink);
    font: inherit;
    height: 44px;
    padding: 0 10px;
    text-align: center;
    width: 74px;
}

.twc-link-button,
.twc-text-link {
    background: none;
    border: 0;
    color: var(--twc-muted) !important;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.twc-summary {
    padding: clamp(24px, 3vw, 34px);
    position: sticky;
    top: 24px;
}

.twc-summary h2,
.twc-section h2 {
    color: var(--twc-ink);
    font-family: inherit;
    font-size: 27px;
    font-weight: 400;
    letter-spacing: -.025em;
    margin: 0 0 24px;
}

.twc-coupon {
    border-bottom: 1px solid var(--twc-soft-line);
    margin-bottom: 22px;
    padding-bottom: 22px;
}

.twc-coupon > label,
.twc-field > label,
.twc-field > .twc-field__label {
    color: var(--twc-ink);
    display: block;
    font-size: 14px;
    font-weight: 650;
    margin-bottom: 8px;
}

.twc-edit-details {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--twc-ink);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 14px;
    gap: 8px;
    margin-top: 18px;
    padding: 4px 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.twc-edit-details:focus-visible {
    outline: 2px solid var(--twc-primary);
    outline-offset: 4px;
}

.twc-edit-details__icon,
.twc-edit-details__icon svg {
    display: block;
    height: 18px;
    width: 18px;
}

.twc-edit-details__icon svg {
    fill: currentColor;
}

[data-twc-checkout-form] :is(input, select, textarea) {
    scroll-margin-block-start: 7rem;
}

.twc-inline-control {
    display: flex;
    gap: 8px;
}

.twc-inline-control input,
.twc-field__control input:not([type='checkbox']):not([type='radio']):not([type='hidden']),
.twc-field__control select,
.twc-field__control textarea {
    background: var(--twc-surface);
    border: 1px solid #cfd0d2;
    border-radius: var(--twc-control-radius);
    color: var(--twc-ink);
    font: inherit;
    min-height: 56px;
    padding: 13px 15px;
    width: 100%;
}

.twc-shell .twc-field__control textarea {
    min-height: 120px;
    resize: vertical;
}

.twc-inline-control input:focus,
.twc-field__control input:focus,
.twc-field__control select:focus,
.twc-field__control textarea:focus,
.twc-quantity:focus {
    border-color: var(--twc-primary);
    box-shadow: 0 0 0 3px rgb(49 95 234 / 14%);
    outline: 0;
}

.twc-inline-control input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
}

.twc-inline-control button {
    background: #eef1fb;
    border: 0;
    border-radius: var(--twc-control-radius);
    color: var(--twc-primary);
    cursor: pointer;
    font: inherit;
    flex: 0 0 auto;
    font-weight: 700;
    min-width: 96px;
    padding-inline: 16px;
}

.twc-totals {
    margin: 0 0 26px;
}

.twc-totals > div {
    align-items: baseline;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    padding-block: 8px;
}

.twc-totals dt,
.twc-totals dd {
    margin: 0;
}

.twc-totals dd {
    color: var(--twc-ink);
    font-weight: 650;
}

.twc-totals__grand {
    font-weight: 700;
    border-top: 1px solid var(--twc-line);
    font-size: 19px;
    margin-top: 12px;
    padding-top: 20px !important;
}

.twc-tax-disclosure {
    color: var(--twc-muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 12px 0 20px;
}

.twc-button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: var(--twc-control-radius);
    cursor: pointer;
    display: inline-flex;
    font-family: inherit;
    font-size: 15px;
    font-weight: 750;
    justify-content: center;
    min-height: 58px;
    padding: 14px 22px;
    text-decoration: none;
    transition: background .18s ease, transform .18s ease;
}

.twc-button--primary {
    background: var(--twc-primary);
    color: #fff !important;
}

.twc-button--primary:hover {
    background: var(--twc-primary-hover);
    color: #fff !important;
    transform: translateY(-1px);
}

.twc-button--secondary {
    border-color: var(--twc-line);
    color: var(--twc-ink) !important;
}

.twc-button--wide {
    width: 100%;
}

.twc-button--split {
    gap: 16px;
    justify-content: space-between;
    text-align: left;
}

.twc-button--split > span {
    min-width: 0;
    white-space: normal;
}

.twc-button--split > strong {
    flex: 0 0 auto;
    white-space: nowrap;
}

.twc-button.twc-buy-now {
    background: transparent !important;
    border-color: #111 !important;
    box-shadow: none !important;
    color: #111 !important;
    display: flex;
    justify-content: center;
    margin: 30px 0 0;
    min-height: 44px;
    overflow: hidden;
    padding: 8px 10px;
    transform: none !important;
    width: 100%;
}

.twc-button.twc-buy-now:hover:not(:disabled) {
    background: #111 !important;
    border-color: #111 !important;
    color: #fff !important;
    transform: none !important;
}

.twc-button.twc-buy-now:focus-visible {
    outline: 2px solid #111;
    outline-offset: 3px;
}

.twc-buy-now > span:first-child {
    min-width: 0;
    white-space: nowrap;
}

.twc-text-link {
    display: block;
    margin-top: 18px;
    text-align: center;
}

.twc-is-disabled {
    opacity: .45;
    pointer-events: none;
}

.twc-empty {
    padding: 70px 20px;
    text-align: center;
}

.twc-empty h2 {
    color: var(--twc-ink);
    font-family: inherit;
    font-size: 32px;
    font-weight: 400;
}

.twc-checkout-flow {
    min-width: 0;
    overflow: hidden;
}

.twc-checkout-flow > .twc-page__heading {
    border-bottom: 1px solid var(--twc-soft-line);
    margin: 0;
    padding: clamp(28px, 4vw, 46px);
}

/* The hidden Custom Compact layout mirrors the client-approved dense checkout. */
body:has(.twc-checkout-layout--custom_compact),
.twc-shell:has(.twc-checkout-layout--custom_compact) {
    background: #fff;
}

.twc-page--custom-compact {
    left: 50%;
    margin-inline: 0;
    max-width: none;
    padding: 22px 40px 24px;
    position: relative;
    transform: translateX(-50%);
    width: min(1520px, calc(100vw - 40px));
}

.twc-checkout-layout--custom_compact {
    gap: clamp(24px, 2.4vw, 38px);
    grid-template-columns: minmax(0, 1.62fr) minmax(400px, 1fr);
}

.twc-checkout-layout--custom_compact .twc-checkout-flow {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.twc-checkout-layout--custom_compact .twc-checkout-flow > .twc-page__heading {
    border: 0;
    padding: 0 0 14px;
}

.twc-page--custom-compact > .twc-compact-heading {
    margin-bottom: 10px;
}

.twc-page--custom-compact > .twc-compact-heading h1,
.twc-checkout-layout--custom_compact .twc-page__heading h1 {
    font-size: 30px;
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.15;
    margin: 0;
}

.twc-checkout-layout--custom_compact .twc-section {
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 0 32px;
}

.twc-trust-item__icon {
    color: var(--twc-ink);
    display: block;
}

.twc-checkout-layout--custom_compact .twc-section__body > h2 > svg,
.twc-trust-item__icon :is(svg, img) {
    fill: currentColor;
    height: 21px;
    object-fit: contain;
    width: 21px;
}

.twc-checkout-layout--custom_compact .twc-section__body > h2 {
    align-items: center;
    display: flex;
    gap: 10px;
    padding: 0;
}

.twc-checkout-layout--custom_compact .twc-section__body > h2 > svg {
    display: block;
    flex: 0 0 21px;
}

.twc-checkout-layout--custom_compact .twc-section__body > h2 > span {
    min-width: 0;
}

.twc-checkout-layout--custom_compact .twc-section h2 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: normal;
    margin-bottom: 20px;
    text-transform: none;
}

.twc-checkout-layout--custom_compact .twc-compact-field-grid {
    gap: 16px 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.twc-checkout-layout--custom_compact .twc-compact-field-grid > .twc-field {
    grid-column: span 1;
}

.twc-checkout-layout--custom_compact .twc-compact-field-grid > [data-twc-field-key$='.email'],
.twc-checkout-layout--custom_compact .twc-compact-field-grid > .twc-newsletter-consent {
    grid-column: 1 / -1;
}

.twc-checkout-layout--custom_compact .twc-field > label,
.twc-checkout-layout--custom_compact .twc-field > .twc-field__label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}

.twc-checkout-layout--custom_compact .twc-field__control input:not([type='checkbox']):not([type='radio']):not([type='hidden']),
.twc-checkout-layout--custom_compact .twc-field__control select,
.twc-checkout-layout--custom_compact .twc-field__control textarea {
    border-color: #d6d6d6;
    border-radius: 0;
    font-size: 16px;
    min-height: 44px;
    padding: 10px 12px;
}

.twc-checkout-layout--custom_compact .twc-field__control textarea {
    min-height: 62px;
}

.twc-shell .twc-checkout-layout .twc-field__control textarea#customer_note_field {
    min-height: 120px !important;
    resize: vertical;
}

.twc-checkout-layout .twc-account-field--locked .twc-field__control input[readonly]:not([type='checkbox']):not([type='radio']):not([type='hidden']),
.twc-checkout-layout .twc-account-field--locked .twc-field__control textarea[readonly] {
    background: #eceff1;
    border-color: #b8bec5;
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / 3%);
    color: #5f6368;
    cursor: default;
    opacity: 1;
}

.twc-checkout-layout--custom_compact .twc-choice--standalone {
    font-size: 14px;
    margin-top: 14px;
    padding-top: 13px;
}

.twc-checkout-layout--custom_compact .twc-shipping-fields {
    margin-top: 14px;
    padding-top: 14px;
}

.twc-checkout-layout--custom_compact .twc-shipping-fields h3 {
    font-size: 14px;
    margin-bottom: 12px;
}

.twc-checkout-layout--custom_compact [data-twc-provider='shipment'],
.twc-checkout-layout--custom_compact [data-twc-provider='payment'] {
    display: grid;
    gap: 8px;
}

.twc-checkout-layout--custom_compact [data-twc-provider='payment'] {
    grid-template-columns: minmax(0, 1fr);
}

.twc-checkout-layout--custom_compact .twc-native-option,
.twc-checkout-layout--custom_compact .twc-native-options > label,
.twc-checkout-layout--custom_compact .twc-native-options .vm-shipment-plugin-single,
.twc-checkout-layout--custom_compact .twc-native-options .vm-payment-plugin-single {
    border: 1px solid #d9d9d9;
    border-radius: 0;
    font-size: 14px;
    gap: 10px;
    padding: 12px;
}

.twc-checkout-layout--custom_compact .twc-native-option {
    min-height: 48px;
}

.twc-shell[data-twc-root] [data-twc-provider='shipment'] .twc-native-option:has(input[type='radio'][name='virtuemart_shipmentmethod_id']:checked),
.twc-shell[data-twc-root] [data-twc-provider='payment'] .twc-native-option:has(input[type='radio'][name='virtuemart_paymentmethod_id']:checked) {
    border-color: #315fea;
    background-color: #f5f8ff;
}

.twc-checkout-layout--custom_compact .twc-payment-option__icon {
    align-self: start;
    margin-inline-start: 0;
}

.twc-checkout-layout--custom_compact .twc-native-option--has-provider-icon > label {
    align-items: flex-start;
}

.twc-checkout-layout--custom_compact .twc-native-provider-icon {
    flex-shrink: 0;
}

.twc-checkout-layout--custom_compact .twc-native-options__empty {
    border-radius: 0;
    line-height: 1.5;
}

.twc-checkout-layout--custom_compact .twc-native-option__name {
    font-size: 14px;
    font-weight: 750;
}

.twc-checkout-layout--custom_compact .twc-native-option__description {
    font-size: 14px;
    line-height: 1.45;
    margin-top: 4px;
}

.twc-checkout-layout--custom_compact .twc-pre-submit-fields,
.twc-checkout-layout--custom_compact .twc-checkout-submit {
    padding: 12px 0 0;
}

.twc-checkout-layout--custom_compact .twc-pre-submit-fields {
    border: 0;
}

.twc-checkout-layout--custom_compact .twc-terms-fields {
    font-size: 14px;
}

.twc-checkout-layout--custom_compact .twc-checkout-submit .twc-button {
    background: #050505;
    border-radius: 0;
    font-size: 14px;
    gap: 16px;
    min-height: 52px;
    text-transform: uppercase;
}

.twc-checkout-layout--custom_compact .twc-checkout-submit .twc-button > strong {
    flex-shrink: 0;
    white-space: nowrap;
}

.twc-checkout-layout--custom_compact .twc-checkout-submit .twc-button:hover {
    background: #202020;
}

/* A stable, centered checkout action; never move the customer's click target. */
.twc-shell .twc-checkout-submit button.twc-order-submit {
    align-items: center;
    display: flex;
    justify-content: center;
    gap: 12px;
    min-height: 56px;
    padding: 16px 24px;
    border: 1px solid #000;
    background: #222;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-transform: none;
    transform: none !important;
    transition: background-color .18s ease, box-shadow .18s ease;
}

.twc-shell .twc-checkout-submit button.twc-order-submit:hover:not(:disabled) {
    background: #000;
    box-shadow: none;
    transform: none !important;
}

.twc-shell .twc-checkout-submit button.twc-order-submit:focus-visible {
    outline: 2px solid #000;
    outline-offset: 4px;
}

.twc-shell .twc-checkout-submit button.twc-order-submit:disabled {
    cursor: wait;
    opacity: .6;
    box-shadow: none;
}

.twc-order-submit__icon,
.twc-order-submit__icon > svg {
    display: block;
    flex: 0 0 22px;
    height: 22px;
    width: 22px;
}

@media (prefers-reduced-motion: reduce) {
    .twc-shell .twc-checkout-submit button.twc-order-submit {
        transition: none;
    }
}

.twc-checkout-sidebar {
    min-width: 0;
    position: sticky;
    top: 18px;
}

.twc-checkout-layout--custom_compact .twc-summary--checkout {
    border-color: #dedede;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    padding: 0;
    position: static;
}

.twc-compact-summary__header {
    align-items: baseline;
    border-bottom: 1px solid #dedede;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    padding: 24px;
}

.twc-compact-summary__header h2 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: normal;
    margin: 0;
    text-transform: none;
}

.twc-compact-summary__header h2 small,
.twc-compact-summary__header :is(a, button) {
    color: var(--twc-muted);
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
}

.twc-compact-summary__header button {
    appearance: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
    padding: 0;
    text-decoration: underline;
}

.twc-compact-summary__header button:disabled {
    cursor: wait;
    opacity: .55;
}

.twc-compact-summary .twc-summary-lines {
    margin: 0;
    padding: 0 24px;
}

.twc-compact-summary .twc-summary-lines-frame {
    position: relative;
}

.twc-compact-summary .twc-summary-lines-frame > .twc-summary-lines {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #777 #f2f2f2;
    scrollbar-gutter: stable;
}

.twc-compact-summary .twc-summary-lines-frame--more::after {
    background: linear-gradient(transparent, rgb(0 0 0 / 9%));
    bottom: 0;
    content: '';
    height: 18px;
    inset-inline: 0;
    pointer-events: none;
    position: absolute;
}

.twc-compact-summary .twc-products-toggle[hidden],
.twc-products-dialog:not([open]),
.twc-products-dialog .twc-products-dialog__loading[hidden] {
    display: none !important;
}

.twc-compact-summary .twc-products-toggle {
    align-items: center;
    background: #fff;
    border: 0;
    border-bottom: 1px solid var(--twc-line);
    border-radius: 0;
    color: #111;
    cursor: pointer;
    display: flex;
    font: inherit;
    font-size: 14px;
    gap: 12px;
    justify-content: space-between;
    margin: 15px auto;
    min-height: 48px;
    padding: 12px;
    text-align: start;
    width: 90%;
}

.twc-products-dialog.twc-compact-summary {
    background: #fff;
    border: 1px solid var(--twc-line);
    border-radius: 0;
    box-sizing: border-box;
    color: var(--twc-ink);
    font: inherit;
    inset: auto 0 0;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    max-width: 640px;
    height: 90vh;
    height: 90dvh;
    max-height: 100%;
    overflow: hidden;
}

.twc-compact-summary .twc-products-toggle > svg,
.twc-products-dialog [data-twc-products-close] > svg {
    display: block;
    flex: 0 0 18px;
    height: 18px;
    width: 18px;
}

.twc-compact-summary .twc-products-toggle > span {
    min-width: 0;
}

.twc-products-dialog[open] {
    display: grid;
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
}

.twc-products-dialog::backdrop {
    background: rgb(0 0 0 / 45%);
}

.twc-products-dialog .twc-products-dialog__header {
    align-items: center;
    border-bottom: 1px solid var(--twc-line);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 12px 16px;
}

.twc-products-dialog .twc-products-dialog__header h2 {
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.twc-products-dialog [data-twc-products-close] {
    align-items: center;
    background: #fff;
    border: 1px solid var(--twc-line);
    border-radius: 0;
    color: #000;
    cursor: pointer;
    display: flex;
    flex: 0 0 44px;
    height: 44px;
    justify-content: center;
    padding: 0;
    width: 44px;
}

.twc-products-dialog .twc-products-dialog__body {
    min-height: 0;
}

.twc-products-dialog .twc-summary-lines {
    box-sizing: border-box;
    height: 100%;
    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 16px env(safe-area-inset-bottom, 0px);
    scrollbar-gutter: stable;
}

.twc-products-dialog .twc-products-dialog__loading {
    align-items: center;
    background: rgb(255 255 255 / 85%);
    display: flex;
    font-size: 14px;
    gap: 12px;
    inset: 70px 0 0;
    justify-content: center;
    position: absolute;
    z-index: 1;
}

.twc-compact-summary :is(.twc-products-toggle, [data-twc-products-close], .twc-summary-lines):focus-visible {
    outline: 2px solid #111;
    outline-offset: -3px;
}

@media (max-width: 900px) {
    .twc-compact-summary .twc-summary-lines-frame > .twc-summary-lines {
        max-height: none;
        overflow: visible;
        scrollbar-gutter: auto;
    }

    .twc-compact-summary .twc-lines-ready > .twc-summary-lines > [data-twc-line]:nth-child(n + 3) {
        display: none;
    }
}

.twc-compact-summary .twc-summary-line {
    border-bottom: 1px solid var(--twc-soft-line);
    font-size: 14px;
    gap: 14px 12px;
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-rows: auto auto;
    min-height: 92px;
    padding: 16px 0;
    position: relative;
}

.twc-compact-summary .twc-summary-line__media {
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 0;
    align-self: start;
    grid-column: 1;
    grid-row: 1;
    height: 72px;
    overflow: hidden;
    width: 72px;
}

.twc-compact-line__details {
    display: grid;
    gap: 3px;
    min-width: 0;
    grid-column: 2;
    grid-row: 1;
    padding-inline-end: 32px;
}

.twc-compact-line__name,
.twc-compact-line__sku {
    color: var(--twc-ink) !important;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.twc-compact-line__name {
    font-weight: 700;
}

.twc-compact-line__sku {
    font-size: 14px;
}

.twc-compact-line__variant {
    color: var(--twc-muted);
    font-size: 14px;
    line-height: 1.35;
}

.twc-compact-line__variant > * {
    margin: 0;
}

.twc-compact-quantity-label {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: center;
    justify-self: start;
}

.twc-compact-quantity {
    align-items: center;
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(3, 44px);
    height: 44px;
    justify-self: start;
    width: 132px;
}

.twc-compact-line__price {
    align-items: flex-end;
    color: var(--twc-ink);
    justify-self: end;
    grid-column: 2;
    grid-row: 2;
    max-width: calc(100% - 60px);
}

.twc-compact-line__remove {
    position: absolute;
    right: -10px;
    top: 6px;
}

.twc-compact-totals {
    border-bottom: 1px solid #dedede;
    margin: 0;
    padding: 16px 24px 0;
}

.twc-compact-totals > div {
    font-size: 14px;
    padding-block: 4px;
}

.twc-checkout-layout--custom_compact .twc-compact-totals > div:not(.twc-totals__grand),
.twc-checkout-layout--custom_compact .twc-compact-totals > div:not(.twc-totals__grand) * {
    font-weight: 400;
}

.twc-compact-totals [data-twc-total='billDiscountAmount'],
.twc-compact-totals [data-twc-total='salesPriceCoupon'] {
    color: #d50000;
}

.twc-compact-totals dd {
    white-space: nowrap;
}

.twc-compact-totals .twc-totals__grand {
    font-size: 16px;
    margin-top: 7px;
    padding-block: 12px !important;
    text-transform: none;
}

.twc-compact-coupon {
    border: 0;
    margin: 0;
    padding: 0;
}

.twc-compact-coupon summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    font-weight: 700;
    justify-content: space-between;
    list-style: none;
    padding: 12px 18px;
}

.twc-compact-coupon summary::-webkit-details-marker {
    display: none;
}

.twc-compact-coupon__chevron {
    display: block;
    height: 18px;
    transition: transform .18s ease;
    width: 18px;
}

.twc-compact-coupon__chevron svg {
    display: block;
    height: 100%;
    width: 100%;
}

.twc-compact-coupon[open] .twc-compact-coupon__chevron {
    transform: rotate(180deg);
}

.twc-compact-coupon .twc-inline-control {
    padding: 0 18px 16px;
}

.twc-compact-coupon .twc-inline-control :is(input, button) {
    border: 1px solid #d7d7d7;
    border-radius: 2px;
    font-size: 14px;
    min-height: 38px;
}

.twc-checkout-layout--custom_compact .twc-compact-coupon .twc-inline-control :is(input, button) {
    border-radius: 0;
    min-height: 44px;
}

.twc-compact-summary > .twc-tax-disclosure {
    margin: 0;
    padding: 16px 24px;
}

.twc-compact-coupon .twc-inline-control button {
    background: #050505;
    color: #fff;
    min-width: 130px;
    text-transform: uppercase;
}

.twc-trust-strip {
    border: 1px solid #dedede;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: #dedede;
    margin-top: 16px;
}

.twc-trust-item {
    background: #fff;
    min-width: 0;
    padding: 16px 10px;
    text-align: center;
}

.twc-trust-item + .twc-trust-item {
    border: 0;
}

.twc-trust-item__icon :is(svg, img) {
    height: 28px;
    margin-bottom: 8px;
    width: 28px;
}

.twc-trust-item h3 {
    color: var(--twc-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 6px;
    max-width: 100%;
    overflow-wrap: anywhere;
    text-transform: none;
}

.twc-trust-item p,
.twc-trust-item a {
    color: var(--twc-muted);
    font-size: 14px;
    line-height: 1.35;
    margin: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.twc-trust-item--mobile {
    display: none;
}

.twc-stepper {
    border-bottom: 1px solid var(--twc-soft-line);
    padding: 20px clamp(20px, 4vw, 38px);
}

.twc-stepper ol {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.twc-stepper li {
    min-width: 0;
    position: relative;
}

.twc-stepper li:not(:last-child)::after {
    background: var(--twc-line);
    content: '';
    height: 1px;
    left: calc(50% + 19px);
    position: absolute;
    right: calc(-50% + 19px);
    top: 16px;
}

.twc-stepper button {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--twc-muted);
    cursor: pointer;
    display: grid;
    font: inherit;
    font-size: 14px;
    gap: 8px;
    justify-items: center;
    line-height: 1.25;
    min-width: 0;
    padding: 0 4px;
    position: relative;
    text-align: center;
    width: 100%;
    z-index: 1;
}

.twc-stepper button:disabled {
    cursor: default;
    opacity: 1;
}

.twc-stepper__number {
    align-items: center;
    background: var(--twc-surface);
    border: 1px solid var(--twc-line);
    border-radius: 50%;
    display: flex;
    font-size: 14px;
    font-weight: 750;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.twc-stepper__item--current button,
.twc-stepper__item--complete button {
    color: var(--twc-ink);
}

.twc-stepper__item--current .twc-stepper__number,
.twc-stepper__item--complete .twc-stepper__number {
    background: var(--twc-primary);
    border-color: var(--twc-primary);
    color: #fff;
}

.twc-multistep-ready [data-twc-step-panel][hidden] {
    display: none !important;
}

.twc-step-panel {
    min-width: 0;
}

.twc-step-actions {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 24px clamp(20px, 4vw, 38px);
}

.twc-step-actions--review {
    border-bottom: 1px solid var(--twc-soft-line);
    justify-content: flex-start;
}

.twc-review__intro {
    border-bottom: 1px solid var(--twc-soft-line);
    padding: clamp(24px, 4vw, 38px);
}

.twc-review__intro h2 {
    color: var(--twc-ink);
    font-family: inherit;
    font-size: 28px;
    font-weight: 500;
    margin: 0 0 10px;
}

.twc-review__intro > p:last-of-type {
    color: var(--twc-muted);
    margin: 0;
}

.twc-review__facts {
    display: grid;
    gap: 0;
    margin: 26px 0 0;
}

.twc-review__facts > div {
    border-top: 1px solid var(--twc-soft-line);
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(120px, .7fr) minmax(0, 1.3fr);
    padding-block: 14px;
}

.twc-review__facts :is(dt, dd) {
    margin: 0;
}

.twc-review__facts dt {
    color: var(--twc-muted);
}

.twc-review__facts dd {
    color: var(--twc-ink);
    overflow-wrap: anywhere;
    text-align: right;
}

.twc-section {
    border: 0;
    border-bottom: 1px solid var(--twc-soft-line);
    border-radius: 0;
    box-shadow: none;
    display: grid;
    gap: 22px;
    grid-template-columns: 38px minmax(0, 1fr);
    margin: 0;
    padding: clamp(24px, 4vw, 38px);
}

.twc-checkout-submit {
    padding: clamp(24px, 4vw, 38px);
}

.twc-final-price-disclosure {
    align-items: baseline;
    background: #f5f5f5;
    color: var(--twc-ink);
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    gap: 4px 8px;
    line-height: 1.5;
    margin: 0 0 12px;
    padding: 10px 12px;
}

.twc-final-price-disclosure__tax {
    margin-left: auto;
}

.twc-section__number {
    align-items: center;
    background: #eef1fb;
    border-radius: 50%;
    color: var(--twc-primary);
    display: flex;
    font-size: 14px;
    font-weight: 800;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.twc-field-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.twc-field:only-child,
.twc-field:has(textarea),
.twc-field:has([type='email']) {
    grid-column: 1 / -1;
}

.twc-shell[data-twc-root][data-twc-view] .twc-field-grid > .twc-field--row-fill {
    grid-column: 1 / -1;
}

.twc-newsletter-consent {
    grid-column: 1 / -1;
}

.twc-account-creation-consent {
    grid-column: 1 / -1;
}

.twc-account-creation-help {
    color: var(--twc-muted);
    font-size: 14px;
    line-height: 1.5;
    margin: -12px 0 0 28px;
    max-width: 72ch;
}

.twc-choice {
    align-items: flex-start;
    display: flex;
    gap: 10px;
}

.twc-choice--standalone {
    border-top: 1px solid var(--twc-soft-line);
    margin-top: 24px;
    padding-top: 22px;
}

.twc-choice input {
    accent-color: var(--twc-primary);
    height: 18px;
    margin-top: 2px;
    width: 18px;
}

.twc-pre-submit-fields {
    border-bottom: 1px solid var(--twc-soft-line);
    display: grid;
    gap: 20px;
    padding: clamp(24px, 4vw, 38px);
}

.twc-customer-note-fields,
.twc-terms-fields {
    grid-template-columns: 1fr;
}

.twc-shipping-fields {
    border-top: 1px solid var(--twc-soft-line);
    margin-top: 24px;
    padding-top: 24px;
}

.twc-shipping-fields h3 {
    color: var(--twc-ink);
    font-size: 17px;
    margin: 0 0 18px;
}

.twc-native-options {
    min-width: 0;
}

.twc-native-options__empty {
    border: 1px dashed var(--twc-line);
    border-radius: 12px;
    color: var(--twc-muted);
    margin: 0;
    padding: 16px 18px;
}

.twc-native-option,
.twc-native-options > label,
.twc-native-options .vm-shipment-plugin-single,
.twc-native-options .vm-payment-plugin-single {
    align-items: flex-start;
    border: 1px solid var(--twc-line);
    border-radius: 12px;
    display: flex;
    gap: 12px;
    min-width: 0;
    padding: 18px;
    width: 100%;
}

.twc-native-option {
    display: grid;
    grid-template-columns: 19px minmax(0, 1fr) auto;
}

.twc-native-option > label {
    border: 0;
    cursor: pointer;
    display: block;
    margin: 0;
    min-width: 0;
    padding: 0;
}

/* Native payment wrappers may carry logos or provider controls beside their
   radio/label pair. Keep those native blocks on their own aligned row. */
.twc-native-option > :not(input[type='radio']):not(label):not(.twc-payment-option__icon):not(.twc-native-option__details) {
    grid-column: 2 / -1;
    min-width: 0;
}

/* Known legacy installment tail: the original native node stays in its form. */
.twc-shell [data-twc-provider='payment'] .twc-native-option > .twc-native-option__details {
    grid-column: 2 / -1; grid-row: 2; display: block; min-width: 0;
    margin: 0; padding: 12px 0 0; border-top: 1px solid #d8e1e8;
    font: inherit; color: inherit;
}
.twc-shell [data-twc-provider='payment'] .twc-native-option:has(> .twc-native-option__details) > .twc-payment-option__icon { grid-column: 3; grid-row: 1; }
.twc-shell .twc-native-option__details > br { display: none; }
.twc-shell .twc-native-option__details :is(table,tbody,tr,td) {
    display: block; width: 100%; min-width: 0; height: auto; margin: 0;
    padding: 0; border: 0; background: transparent; text-align: start; white-space: normal;
    font: inherit; color: inherit;
}
.twc-shell .twc-native-option__details td + td { margin-top: 8px; }
.twc-shell .twc-native-option__details select {
    display: block; width: 100%; max-width: 300px; min-height: 44px; height: auto;
    margin: 0; padding: 10px 12px; border: 1px solid #bdbdbd; border-radius: var(--twc-control-radius);
    background: #fff; color: #222; font: inherit; appearance: auto;
}

.twc-native-option :is(.vmshipment, .vmpayment) {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

.twc-native-option__name {
    color: var(--twc-ink);
    display: block;
    font-weight: 650;
}

.twc-native-option__description {
    color: var(--twc-muted);
    display: block;
    font-weight: 400;
    line-height: 1.45;
    margin-top: 4px;
}

.twc-native-option__description[hidden] {
    display: none;
}

.twc-payment-option__icon {
    align-self: center;
    color: #000;
    display: inline-flex;
    justify-self: end;
    margin-inline-start: 12px;
}

.twc-payment-option__icon svg {
    fill: currentColor;
    height: 22px;
    width: 22px;
}

.twc-shell .twc-payment-option__icon,
.twc-shell .twc-payment-option__icon--wallet {
    color: #000;
}

.twc-native-option--has-provider-icon > label {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.twc-native-provider-icon {
    height: auto;
    margin-inline-start: auto;
    max-height: 28px;
    max-width: 92px;
    object-fit: contain;
}

.twc-native-options input[type='radio'] {
    accent-color: var(--twc-primary);
    height: 19px;
    margin: 2px 0 0;
    width: 19px;
}

.twc-summary-lines {
    border-bottom: 1px solid var(--twc-soft-line);
    margin-bottom: 22px;
    padding-bottom: 10px;
}

.twc-summary-line {
    align-items: center;
    display: grid;
    font-size: 14px;
    gap: 12px;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    padding-bottom: 14px;
}

.twc-summary-line__media {
    height: 54px;
    overflow: visible;
    position: relative;
    width: 54px;
}

/* Checkout editing stays reachable even when the cart route is skipped. */
.twc-shell[data-twc-root] .twc-summary-line__actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}
.twc-shell[data-twc-root] .twc-summary-line__quantity {
    display: flex;
    align-items: center;
    gap: 0;
}
/* One control skin for cart, all checkout summaries and the products dialog.
   Layout files may position controls, but must not redefine their appearance. */
.twc-shell[data-twc-root] :is([data-twc-quantity-adjust], input[data-twc-quantity], button[data-twc-remove]) {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--twc-quantity-border, #aeb3b8);
    border-radius: 0;
    background: #fff;
    color: #202124;
    box-shadow: none;
    font: inherit;
    font-size: 14px;
    text-align: center;
    line-height: normal;
    transform: none;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.twc-shell[data-twc-root] input[data-twc-quantity] {
    appearance: textfield;
    -moz-appearance: textfield;
}
.twc-shell[data-twc-root] input[data-twc-quantity]::-webkit-inner-spin-button,
.twc-shell[data-twc-root] input[data-twc-quantity]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.twc-shell[data-twc-root] button[data-twc-quantity-adjust="-1"] { border-radius: var(--twc-quantity-radius, 0px) 0 0 var(--twc-quantity-radius, 0px); }
.twc-shell[data-twc-root] button[data-twc-quantity-adjust="1"] { border-radius: 0 var(--twc-quantity-radius, 0px) var(--twc-quantity-radius, 0px) 0; }
.twc-shell[data-twc-root] button[data-twc-remove] { background: transparent; border: 0; color: #5f6368; }
.twc-shell[data-twc-root] :is([data-twc-quantity-adjust], button[data-twc-remove]) { cursor: pointer; }
.twc-shell[data-twc-root] :is([data-twc-quantity-adjust], button[data-twc-remove]):hover:not(:disabled) { background: #f0f0f0; color: #202124; border-color: #888; }
.twc-shell[data-twc-root] :is([data-twc-quantity-adjust], input[data-twc-quantity], button[data-twc-remove]):focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; }
.twc-shell[data-twc-root] :is([data-twc-quantity-adjust], input[data-twc-quantity], button[data-twc-remove]):disabled { opacity: .5; cursor: not-allowed; }
.twc-shell[data-twc-root] :is([data-twc-quantity-adjust], button[data-twc-remove]) svg { display: block; width: 18px; height: 18px; margin: auto; fill: currentColor; }
@media (prefers-reduced-motion: reduce) {
    .twc-shell[data-twc-root] :is([data-twc-quantity-adjust], input[data-twc-quantity], button[data-twc-remove]) { transition: none; }
}

.twc-summary-line__media b {
    align-items: center;
    background: var(--twc-ink);
    border: 2px solid var(--twc-surface);
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-size: 14px;
    height: 22px;
    justify-content: center;
    position: absolute;
    right: -7px;
    top: -7px;
    width: 22px;
}

.twc-summary-line > strong {
    color: var(--twc-ink);
    white-space: nowrap;
}

.twc-summary__legal {
    color: var(--twc-muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 16px 0 0;
    text-align: center;
}

.twc-mobile-summary {
    display: none;
}

.twc-mobile-summary .twc-mobile-summary__label {
    align-items: center;
    display: flex;
    gap: 8px;
    min-width: 0;
}

.twc-mobile-summary .twc-mobile-summary__chevron {
    display: flex;
    flex: 0 0 18px;
    height: 18px;
    transition: transform 200ms ease;
    width: 18px;
}

.twc-mobile-summary .twc-mobile-summary__chevron svg {
    display: block;
    height: 18px;
    width: 18px;
}

.twc-shell[data-twc-root] :is(button.twc-mobile-summary, button.twc-products-toggle) {
    background: #f5f5f5;
    border: 1px solid #bdbdbd;
    border-radius: 0;
    color: #000;
    font-weight: 600;
    min-height: 48px;
    transition: background-color 200ms ease, border-color 200ms ease;
}

.twc-shell[data-twc-root] :is(button.twc-mobile-summary, button.twc-products-toggle):is(:hover, [aria-expanded='true']) {
    background: #eaeaea;
    border-color: #999;
}

.twc-shell[data-twc-root] :is(button.twc-mobile-summary, button.twc-products-toggle):focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .twc-shell[data-twc-root] :is(button.twc-mobile-summary, button.twc-products-toggle) {
        transition: none;
    }
}

.twc-mobile-summary[aria-expanded='true'] .twc-mobile-summary__chevron {
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
    .twc-mobile-summary .twc-mobile-summary__chevron {
        transition: none;
    }
}

.twc-live {
    color: var(--twc-success);
    font-size: 14px;
    margin: 18px 0 0;
    min-height: 22px;
}

.twc-live--error {
    color: var(--twc-error);
}

.twc-error-modal {
    background: transparent;
    border: 0;
    color: var(--twc-text);
    font-family: inherit;
    margin: auto;
    max-height: calc(100dvh - 32px);
    max-width: calc(100vw - 32px);
    overflow: auto;
    padding: 0;
    width: 520px;
}

.twc-error-modal::backdrop {
    background: rgb(17 19 24 / 60%);
}

.twc-error-modal__surface {
    background: var(--twc-surface);
    border: 1px solid var(--twc-line);
    box-shadow: 0 24px 70px rgb(17 19 24 / 28%);
    padding: clamp(20px, 4vw, 30px);
}

.twc-error-modal__header {
    align-items: flex-start;
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.twc-error-modal__header h2 {
    color: var(--twc-ink);
    font-family: inherit;
    font-size: clamp(18px, 3vw, 20px);
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}

.twc-error-modal__icon-close {
    align-items: center;
    background: transparent;
    border: 1px solid var(--twc-line);
    color: var(--twc-ink);
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 44px;
    height: 44px;
    justify-content: center;
    padding: 0;
    width: 44px;
}

.twc-error-modal__icon-close svg {
    height: 18px;
    width: 18px;
}

.twc-error-modal__message {
    font-size: 16px;
    line-height: 1.55;
    margin: 24px 0;
}

.twc-error-modal__icon-close:focus-visible {
    outline: 3px solid var(--twc-primary);
    outline-offset: 3px;
}

.twc-terms-modal {
    background: transparent;
    border: 0;
    color: var(--twc-text);
    font-family: inherit;
    margin: auto;
    max-height: calc(100dvh - 32px);
    max-width: calc(100vw - 32px);
    overflow: hidden;
    padding: 0;
    width: 720px;
}

.twc-terms-modal::backdrop {
    background: rgb(17 19 24 / 60%);
}

.twc-terms-modal__surface {
    background: var(--twc-surface);
    border: 1px solid var(--twc-line);
    box-shadow: 0 24px 70px rgb(17 19 24 / 28%);
    display: flex;
    flex-direction: column;
    max-height: calc(100dvh - 32px);
}

.twc-terms-modal__header {
    align-items: center;
    border-bottom: 1px solid var(--twc-line);
    display: flex;
    flex: 0 0 auto;
    gap: 20px;
    justify-content: space-between;
    padding: 20px 24px;
}

.twc-terms-modal__header h2 {
    color: var(--twc-ink);
    font-family: inherit;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
}

.twc-terms-modal__close {
    align-items: center;
    background: transparent;
    border: 1px solid var(--twc-line);
    color: var(--twc-ink);
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 44px;
    height: 44px;
    justify-content: center;
    padding: 0;
    width: 44px;
}

.twc-terms-modal__close:hover {
    background: var(--twc-canvas);
    border-color: var(--twc-ink);
}

.twc-terms-modal__close:focus-visible {
    outline: 3px solid var(--twc-primary);
    outline-offset: 3px;
}

.twc-terms-modal__close svg {
    height: 18px;
    width: 18px;
}

.twc-terms-modal__content {
    font-size: 16px;
    line-height: 1.65;
    overflow: auto;
    padding: 24px;
}

.twc-terms-modal__content > :first-child {
    margin-top: 0;
}

.twc-terms-modal__content > :last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .twc-terms-modal {
        max-height: calc(100dvh - 20px);
        max-width: calc(100vw - 20px);
    }

    .twc-terms-modal__surface {
        max-height: calc(100dvh - 20px);
    }

    .twc-terms-modal__header {
        padding: 16px;
    }

    .twc-terms-modal__header h2 {
        font-size: 18px;
    }

    .twc-terms-modal__content {
        padding: 20px 16px;
    }
}

.twc-ajax-overlay {
    align-items: center;
    background: rgb(255 255 255 / 72%);
    cursor: progress;
    display: flex;
    inset: 0;
    justify-content: center;
    position: fixed;
    z-index: 2147483000;
}

.twc-ajax-overlay[hidden] {
    display: none;
}

.twc-ajax-overlay__status {
    align-items: center;
    background: #fff;
    border: 1px solid var(--twc-line);
    box-shadow: 0 12px 35px rgb(17 19 24 / 14%);
    color: var(--twc-ink);
    display: flex;
    font-size: 14px;
    font-weight: 700;
    gap: 12px;
    min-width: 190px;
    padding: 16px 18px;
}

.twc-ajax-overlay__spinner {
    animation: twc-spin .8s linear infinite;
    border: 3px solid #d6d6d6;
    border-radius: 50%;
    border-top-color: var(--twc-primary);
    height: 24px;
    width: 24px;
}

@keyframes twc-spin {
    to {
        transform: rotate(360deg);
    }
}

.twc-is-hidden {
    display: none !important;
}

body:has(.twc-order-outcome) {
    background: #fff;
}

.layout-orderdone #content {
    left: 0 !important;
}

.twc-order-outcome,
.twc-order-outcome * {
    box-sizing: border-box;
    font-family: inherit;
}

.twc-order-outcome {
    color: #111;
    font-size: 14px;
    font-family: inherit;
    margin-inline: auto;
    max-width: 1280px;
    padding: clamp(46px, 6vw, 78px) 24px 88px;
}

.twc-order-outcome :is(h2, h3, p, dl, dd, dt, address) {
    font-family: inherit;
}

.twc-order-outcome__confirmation {
    margin: 0 auto clamp(38px, 5vw, 56px);
    max-width: 760px;
    text-align: center;
}

.twc-order-outcome__status-icon {
    align-items: center;
    background: #07885f;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    margin-bottom: 24px;
    width: 44px;
}

.twc-order-outcome__status-icon svg {
    height: 26px;
    width: 26px;
}

.twc-order-outcome__confirmation h1 {
    color: #050505;
    font-size: 30px;
    font-weight: 650;
    line-height: 1.2;
    margin: 0 0 28px;
}

.twc-order-outcome__order-number {
    background: #eef0f2;
    display: inline-block;
    line-height: 1.4;
    margin: 0;
    padding: 9px 12px;
}

.twc-order-outcome__order-number span {
    color: #545963;
}

.twc-order-outcome__email-notice {
    color: #515761;
    line-height: 1.5;
    margin-top: 24px;
}

.twc-order-outcome__email-notice p {
    margin: 0;
}

.twc-order-outcome__email-notice strong {
    color: #111;
    overflow-wrap: anywhere;
}

.twc-order-outcome__information {
    border: 1px solid #cfd3d8;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: clamp(38px, 5vw, 52px);
}

.twc-order-outcome__info-card {
    min-width: 0;
    padding: 24px;
}

.twc-order-outcome__info-card + .twc-order-outcome__info-card {
    border-left: 1px solid #cfd3d8;
}

.twc-order-outcome__info-card h2,
.twc-order-outcome__products > h2 {
    color: #050505;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 18px;
}

.twc-order-outcome__info-primary {
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 20px;
    overflow-wrap: anywhere;
}

.twc-order-outcome__info-card h2 {
    align-items: center;
    display: flex;
    gap: 10px;
}

.twc-order-outcome__info-card h2 > svg {
    flex: 0 0 21px;
    height: 21px;
    width: 21px;
}

.twc-order-outcome__info-card h2 > span {
    min-width: 0;
}

.twc-order-outcome__address {
    display: grid;
    font-style: normal;
    gap: 4px;
    line-height: 1.5;
    margin: 0;
    overflow-wrap: anywhere;
}

.twc-order-outcome__payment-status {
    color: #555b64;
    display: grid;
    gap: 3px;
    line-height: 1.45;
    margin: 0 0 18px;
}

.twc-order-outcome__payment-status span:first-child {
    color: #111;
    font-weight: 650;
}

.twc-order-outcome__provider {
    margin-bottom: clamp(38px, 5vw, 52px);
}

.twc-order-outcome__native {
    font-size: 14px;
    overflow-wrap: anywhere;
}

.twc-order-outcome__native .vm-order-done {
    background: #fff;
    border: 1px solid #cfd3d8;
    font-family: inherit;
    margin: 0;
    max-width: 100%;
    padding: 24px;
}

.twc-order-outcome__native .vm-order-done > h3:first-child {
    display: none;
}

/* Native logged-in greeting/logout only inside our order outcome, all layouts.
   Match the form contract, not translated copy or template-specific form IDs.
   Keep header account controls, guest login and provider payment forms intact. */
.twc-order-outcome[data-twc-order-outcome] .twc-order-outcome__native form:has(input[name="option"][value="com_users"]):has(input[name="task"][value="user.logout"]) {
    display: none !important;
}

/* Normalize plain provider instruction copy without touching its form controls. */
.twc-order-outcome__native .vm-order-done > p { margin: 0 0 12px; padding: 0; font: inherit; }

/* Our outcome already presents these facts. Native payment templates may nest
   them inside a fieldset. Hide only the known summary and its View Order link;
   leave provider instructions, payment forms and other action links intact. */
.twc-order-outcome[data-twc-order-outcome] .twc-order-outcome__native .vm-order-done .post_payment_order_number,
.twc-order-outcome[data-twc-order-outcome] .twc-order-outcome__native .vm-order-done .post_payment_order_total,
.twc-order-outcome[data-twc-order-outcome] .twc-order-outcome__native .vm-order-done .post_payment_order_total + a.vm-button-correct,
.twc-order-outcome[data-twc-order-outcome] .twc-order-outcome__native .vm-order-done .post_payment_order_total + a.btn.btn-primary {
    display: none !important;
}

.twc-order-outcome__native :is(input, select, textarea, button) {
    font: inherit;
}

.twc-order-outcome__native :is(p, span, div, a, li, dt, dd, td, th, label) {
    font-size: max(14px, 1em) !important;
}

.twc-order-outcome__native :is(img, iframe, table) {
    max-width: 100%;
}

.twc-order-outcome__content {
    align-items: start;
    display: grid;
    gap: clamp(30px, 4vw, 42px);
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, .9fr);
}

.twc-order-outcome__products,
.twc-order-outcome__summary {
    min-width: 0;
}

.twc-order-outcome__products > h2,
.twc-order-outcome__totals > h2 {
    font-size: 20px;
    margin: 0 0 18px;
    text-transform: none;
}

.twc-order-outcome__totals > h2 {
    border-bottom: 1px solid #dedede;
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 20px;
    text-transform: none;
}

.layout-orderdone aside.twc-order-outcome__summary {
    display: block;
}

.twc-order-outcome__table-wrap {
    overflow-x: auto;
}

.twc-order-outcome__table {
    border-collapse: collapse;
    font-size: 14px;
    table-layout: fixed;
    width: 100%;
}

.twc-order-outcome__table th,
.twc-order-outcome__table td {
    border-bottom: 1px solid #d5d8dc;
    padding: 16px 12px;
    text-align: center;
    vertical-align: middle;
}

.twc-order-outcome__table th {
    background: #f5f6f7;
    font-weight: 700;
    text-transform: uppercase;
}

.twc-order-outcome__table th:first-child,
.twc-order-outcome__table td:first-child {
    text-align: left;
    width: 54%;
}

.twc-order-outcome__table th:nth-child(2) {
    width: 18%;
}

.twc-order-outcome__table th:nth-child(3) {
    width: 13%;
}

.twc-order-outcome__table th:nth-child(4) {
    width: 15%;
}

.twc-order-outcome__product-cell {
    align-items: center;
    display: grid;
    gap: 14px;
    grid-template-columns: 104px minmax(0, 1fr);
}

.twc-order-outcome__image {
    align-items: center;
    background: #fff;
    border: 1px solid #d5d8dc;
    box-sizing: border-box;
    display: flex;
    height: 126px;
    justify-content: center;
    overflow: hidden;
    width: 104px;
}

.twc-order-outcome__image img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.twc-order-outcome__image-placeholder {
    border: 1px solid #d5d8dc;
    height: 30px;
    width: 36px;
}

.twc-order-outcome__product-copy h3 {
    color: #111;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.35;
    margin: 0 0 7px;
}

.twc-order-outcome__product-copy p {
    color: #555;
    font-size: 14px;
    line-height: 1.4;
    margin: 3px 0 0;
    overflow-wrap: anywhere;
}

.twc-order-outcome__price {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    font-size: 14px;
    gap: 6px;
    justify-content: center;
    white-space: nowrap;
}

.twc-order-outcome__price del {
    color: #777;
    font-weight: 400;
}

.twc-order-outcome__price--discount strong {
    color: #111;
}

.twc-order-outcome__totals {
    background: #fff;
    border: 1px solid #cfd3d8;
    padding: 24px;
}

.twc-order-outcome__count {
    font-weight: 650;
    margin: 0 0 14px;
}

.twc-order-outcome__total-row,
.twc-order-outcome__grand-total {
    align-items: baseline;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.twc-order-outcome__total-row {
    padding: 7px 0;
}

.twc-order-outcome__total-row strong,
.twc-order-outcome__grand-total strong {
    white-space: nowrap;
}

.twc-order-outcome__grand-total {
    border-top: 1px solid #d5d8dc;
    font-size: 16px;
    font-weight: 700;
    margin-top: 14px;
    padding-top: 18px;
}

.twc-order-outcome__empty {
    padding-block: 28px !important;
    text-align: center !important;
    margin: 0;
}

.twc-order-outcome__completion-date {
    align-items: center;
    color: #555b64;
    display: flex;
    gap: 8px;
    line-height: 1.45;
    margin: 14px 4px 0;
}

.twc-order-outcome__completion-date svg {
    flex: 0 0 17px;
    height: 17px;
    width: 17px;
}

.twc-order-outcome__actions {
    margin-top: 22px;
}

.twc-order-outcome__print {
    align-items: center;
    background: #050505;
    border: 1px solid #050505;
    border-radius: 0;
    color: #fff;
    display: inline-flex;
    font-size: 14px;
    font-weight: 650;
    gap: 10px;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    text-decoration: none;
    width: 100%;
}

.twc-order-outcome__print:hover {
    background: #fff;
    color: #050505;
}

.twc-order-outcome__print:focus-visible {
    outline: 3px solid #1a73e8;
    outline-offset: 3px;
}

.twc-order-outcome__print svg {
    height: 18px;
    width: 18px;
}

.twc-native-success-action {
    border-top: 1px solid currentColor;
    margin-top: 30px;
    padding-top: 30px;
}

.twc-native-success-action__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 20px;
    border: 1px solid #111;
    border-radius: 0;
    background: #111;
    color: #fff !important;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 180ms ease;
}

.twc-native-success-action__link:hover { background: #000; color: #fff !important; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .twc-native-success-action__link { transition: none; } }

.twc-native-success-action__note {
    margin: 12px 0 0;
}

.twc-success,
.twc-success * {
    box-sizing: border-box;
}

.twc-success {
    background: #fff;
    color: #111;
    font-family: inherit;
    margin: 0 auto;
    max-width: 960px;
    padding: clamp(24px, 5vw, 56px);
}

.twc-success__header,
.twc-success__meta,
.twc-success__methods,
.twc-success__totals > div {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
}

.twc-success__header {
    border-bottom: 1px solid #bbb;
    gap: 24px;
    padding-bottom: 24px;
}

.twc-success__store {
    font-size: 1.25em;
    font-weight: 700;
    margin: 0 0 6px;
}

.twc-success__title {
    padding-block: 32px 24px;
}

.twc-success__title p {
    font-weight: 700;
    margin: 0 0 8px;
}

.twc-success__title h1 {
    font: inherit;
    font-size: 30px;
    font-weight: 700;
    margin: 0;
}

.twc-success__meta {
    border-block: 1px solid #bbb;
    gap: 24px;
    margin: 0 0 32px;
    padding-block: 18px;
}

.twc-success__meta > div {
    min-width: 0;
}

.twc-success__meta dt,
.twc-success__meta dd,
.twc-success__totals dt,
.twc-success__totals dd {
    margin: 0;
}

.twc-success__meta dt {
    font-weight: 700;
    margin-bottom: 4px;
}

.twc-success__table-wrap {
    overflow-x: auto;
}

.twc-success__items {
    border-collapse: collapse;
    width: 100%;
}

.twc-success__items caption {
    caption-side: top;
    font-size: 1.25em;
    font-weight: 700;
    padding-bottom: 12px;
    text-align: left;
}

.twc-success__items :is(th, td) {
    border-bottom: 1px solid #ccc;
    padding: 12px 10px;
    text-align: right;
    vertical-align: top;
}

.twc-success__items :is(th, td):first-child {
    padding-left: 0;
    text-align: left;
}

.twc-success__items :is(th, td):last-child {
    padding-right: 0;
}

.twc-success__items small {
    display: block;
    font-size: 14px;
    margin-top: 4px;
}

.twc-success__price-pair {
    display: inline-grid;
    gap: 3px;
}

.twc-success__price-pair del {
    color: #555;
}

.twc-success__methods {
    border-bottom: 1px solid #bbb;
    gap: 24px;
    padding-block: 24px;
}

.twc-success__methods p {
    margin: 0;
}

.twc-success__totals {
    margin: 24px 0 0 auto;
    max-width: 400px;
}

.twc-success__totals > div {
    gap: 24px;
    padding-block: 6px;
}

.twc-success__total {
    border-top: 2px solid #111;
    font-size: 1.15em;
    font-weight: 700;
    margin-top: 8px;
    padding-top: 14px !important;
}

.twc-success__footer {
    border-top: 1px solid #bbb;
    margin-top: 32px;
    padding-top: 20px;
}

.twc-success__footer p {
    margin: 0 0 8px;
}

@media (max-width: 900px) {
    .twc-page--custom-compact {
        left: auto;
        margin-inline: auto;
        padding-inline: 20px;
        transform: none;
        width: 100%;
    }

    .twc-cart-layout,
    .twc-checkout-layout {
        grid-template-columns: 1fr;
    }

    .twc-summary {
        position: static;
    }

    .twc-summary--checkout {
        display: none;
        grid-row: 1;
    }

    .twc-summary--checkout.twc-summary--mobile-open {
        display: block;
    }

    .twc-mobile-summary {
        align-items: center;
        background: var(--twc-surface);
        border: 1px solid var(--twc-line);
        border-radius: 12px;
        color: var(--twc-ink);
        display: flex;
        font: inherit;
        justify-content: space-between;
        margin-bottom: 22px;
        min-height: 58px;
        padding: 14px 18px;
        width: 100%;
    }

    .twc-checkout-layout--custom_compact {
        gap: 18px;
    }

    .twc-page--custom-compact .twc-mobile-summary {
        background: #fff;
        border-radius: 0;
        box-shadow: none;
        gap: 16px;
        text-align: start;
    }

    .twc-page--custom-compact .twc-mobile-summary strong {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .twc-checkout-layout--custom_compact .twc-checkout-sidebar {
        display: contents;
        position: static;
    }

    .twc-checkout-layout--custom_compact .twc-checkout-flow {
        grid-row: 2;
    }

    .twc-checkout-layout--custom_compact .twc-summary--checkout {
        grid-row: 1;
    }

    .twc-checkout-layout--custom_compact .twc-trust-strip {
        grid-row: 3;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 0;
    }

    .twc-trust-item:nth-child(odd) {
        border-left: 0;
    }

    .twc-trust-item:nth-child(n + 3) {
        border-top: 1px solid #dedede;
    }

    .twc-trust-item--desktop {
        display: none;
    }

    .twc-trust-item--mobile {
        display: block;
    }

    .twc-order-outcome__content {
        grid-template-columns: 1fr;
    }

    .twc-order-outcome__summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .twc-shell__header,
    .twc-shell__footer {
        padding: 18px 20px;
    }

    .twc-shell__assurance {
        display: none;
    }

    .twc-shell__footer {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 40px;
    }

    .twc-brand__logo {
        max-height: 44px;
        max-width: min(190px, 54vw);
    }

    .twc-page {
        padding: 34px 16px 16px;
    }

    .twc-page__heading h1,
    .twc-alert h1 {
        font-size: 30px;
    }

    .twc-line {
        gap: 15px;
        grid-template-columns: 88px minmax(0, 1fr);
        padding-block: 22px;
    }

    .twc-line__top {
        display: block;
    }

    .twc-line__total {
        display: block;
        margin-top: 10px;
    }

    .twc-line__actions {
        margin-top: 16px;
    }

    .twc-shell[data-twc-root][data-twc-view] .twc-field-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .twc-shell[data-twc-root][data-twc-view] .twc-field-grid > .twc-field,
    .twc-shell[data-twc-root][data-twc-view] .twc-field-grid > [data-twc-field-key] {
        grid-column: 1 / -1;
        min-width: 0;
        width: 100%;
    }

    .twc-page--custom-compact .twc-login-disclosure #com-form-login {
        grid-template-columns: 1fr;
    }

    .twc-page--custom-compact .twc-login-disclosure #com-form-login > .form-group:nth-of-type(n) {
        grid-column: 1;
        justify-self: stretch;
    }

    .twc-stepper {
        padding-inline: 14px;
    }

    .twc-stepper ol {
        gap: 4px;
    }

    .twc-stepper button {
        font-size: 14px;
        padding-inline: 1px;
    }

    .twc-stepper li:not(:last-child)::after {
        left: calc(50% + 15px);
        right: calc(-50% + 15px);
        top: 14px;
    }

    .twc-stepper__number {
        height: 28px;
        width: 28px;
    }

    .twc-step-actions {
        align-items: stretch;
        flex-direction: column-reverse;
        padding: 20px 18px;
    }

    .twc-step-actions .twc-button {
        justify-content: center;
        width: 100%;
    }

    .twc-step-actions--review {
        flex-direction: column;
    }

    .twc-review__intro {
        padding: 22px 18px;
    }

    .twc-review__facts > div {
        gap: 6px;
        grid-template-columns: 1fr;
    }

    .twc-review__facts dd {
        text-align: left;
    }

    .twc-section {
        gap: 12px;
        grid-template-columns: 1fr;
        padding: 22px 18px;
    }

    .twc-section__number {
        height: 28px;
        width: 28px;
    }

    .twc-checkout-layout--custom_compact .twc-checkout-flow > .twc-page__heading {
        padding-bottom: 10px;
    }

    .twc-checkout-layout--custom_compact .twc-section {
        grid-template-columns: minmax(0, 1fr);
        padding: 20px 0;
        position: relative;
    }

    .twc-checkout-layout--custom_compact .twc-section h2 {
        min-height: 22px;
    }

    .twc-checkout-layout--custom_compact .twc-page__heading h1 {
        font-size: 30px;
    }

    .twc-compact-totals .twc-totals__grand {
        font-size: 16px;
    }

    .twc-checkout-layout--custom_compact .twc-field-grid {
        gap: 16px;
    }

    .twc-checkout-layout--custom_compact .twc-compact-field-grid {
        grid-template-columns: 1fr;
    }

    .twc-checkout-layout--custom_compact .twc-compact-field-grid > .twc-field,
    .twc-checkout-layout--custom_compact .twc-compact-field-grid > [data-twc-field-key],
    .twc-checkout-layout--custom_compact .twc-compact-field-grid > .twc-newsletter-consent {
        grid-column: 1 / -1;
    }

    .twc-checkout-layout--custom_compact [data-twc-provider='payment'] {
        grid-template-columns: 1fr;
    }

    .twc-checkout-layout--custom_compact .twc-pre-submit-fields,
    .twc-checkout-layout--custom_compact .twc-checkout-submit {
        padding-inline: 0;
    }

    .twc-compact-summary__header {
        align-items: flex-start;
        gap: 8px 16px;
        padding: 14px 12px;
    }

    .twc-compact-summary .twc-summary-lines {
        padding-inline: 12px;
    }

    .twc-compact-totals,
    .twc-compact-summary > .twc-tax-disclosure,
    .twc-checkout-layout--custom_compact .twc-compact-coupon summary,
    .twc-checkout-layout--custom_compact .twc-compact-coupon .twc-inline-control {
        padding-inline: 12px;
    }

    .twc-checkout-layout--custom_compact .twc-checkout-submit {
        padding-top: 20px;
    }

    .twc-checkout-layout--custom_compact .twc-checkout-submit .twc-button--split {
        display: grid;
        gap: 6px;
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        padding: 12px 16px;
        text-align: center;
    }

    .twc-checkout-layout--custom_compact .twc-final-price-disclosure {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 12px;
        align-items: baseline;
    }

    .twc-checkout-layout--custom_compact .twc-final-price-disclosure__tax {
        margin-left: 0;
    }

    .twc-compact-coupon .twc-inline-control {
        align-items: stretch;
        flex-direction: column;
    }

    .twc-compact-coupon .twc-inline-control button {
        min-width: 0;
    }

    .twc-summary {
        padding: 22px 18px;
    }

    .twc-success__header,
    .twc-success__meta,
    .twc-success__methods {
        display: grid;
    }

    .twc-success__items thead {
        display: none;
    }

    .twc-success__items tbody,
    .twc-success__items tr,
    .twc-success__items td {
        display: block;
        width: 100%;
    }

    .twc-success__items tr {
        border-bottom: 1px solid #ccc;
        padding-block: 10px;
    }

    .twc-success__items td,
    .twc-success__items td:first-child,
    .twc-success__items td:last-child {
        border: 0;
        overflow-wrap: anywhere;
        padding: 6px 0;
        white-space: normal;
    }

    .twc-success__items td:not(:first-child) {
        align-items: start;
        display: grid;
        gap: 16px;
        grid-template-columns: minmax(0, 1fr) auto;
        text-align: right;
    }

    .twc-success__items td:not(:first-child)::before {
        content: attr(data-label);
        font-weight: 700;
        text-align: left;
    }

    .twc-success__price-pair {
        justify-items: end;
    }

    .twc-order-outcome {
        padding: 34px 16px 48px;
    }

    .twc-order-outcome__confirmation {
        margin-bottom: 34px;
    }

    .twc-order-outcome__confirmation h1 {
        font-size: 30px;
        margin-bottom: 22px;
    }

    .twc-order-outcome__information {
        grid-template-columns: 1fr;
        margin-bottom: 36px;
    }

    .twc-order-outcome__info-card {
        padding: 22px 18px;
    }

    .twc-order-outcome__info-card + .twc-order-outcome__info-card {
        border-left: 0;
        border-top: 1px solid #cfd3d8;
    }

    .twc-order-outcome__info-card h2,
    .twc-order-outcome__products > h2 {
        font-size: 18px;
    }

    .twc-order-outcome__content {
        gap: 34px;
    }

    .twc-order-outcome__table-wrap {
        overflow: visible;
    }

    .twc-order-outcome__table,
    .twc-order-outcome__table tbody,
    .twc-order-outcome__table tr,
    .twc-order-outcome__table td {
        display: block;
        width: 100%;
    }

    .twc-order-outcome__table thead {
        display: none;
    }

    .twc-order-outcome__table tr {
        border: 1px solid #d5d8dc;
        margin-bottom: 14px;
        padding: 16px;
    }

    .twc-order-outcome__table th,
    .twc-order-outcome__table td,
    .twc-order-outcome__table td:first-child {
        border: 0;
        padding: 7px 0;
        text-align: left;
        width: 100%;
    }

    .twc-order-outcome__table td:not(:first-child) {
        align-items: center;
        display: grid;
        gap: 16px;
        grid-template-columns: minmax(0, 1fr) auto;
        text-align: right;
    }

    .twc-order-outcome__table td:not(:first-child)::before {
        content: attr(data-label);
        font-weight: 700;
        text-align: left;
    }

    .twc-order-outcome__product-cell {
        gap: 14px;
        grid-template-columns: 80px minmax(0, 1fr);
        margin-bottom: 8px;
    }

    .twc-order-outcome__image {
        height: 96px;
        width: 80px;
    }

    .twc-order-outcome__price {
        justify-content: flex-end;
    }

    .twc-order-outcome__totals > h2 {
        margin-bottom: 14px;
    }

    .twc-order-outcome__totals {
        padding: 18px 16px;
    }
}

@media (max-width: 420px) {
    .twc-checkout-layout--custom_compact .twc-trust-strip {
        grid-template-columns: 1fr;
    }

    .twc-checkout-layout--custom_compact .twc-trust-item + .twc-trust-item {
        border-left: 0;
        border-top: 1px solid #dedede;
    }
}

/* Final custom cart presentation: theme chrome remains owned by Joomla. */
body:has(.twc-shell--cart),
.twc-shell--cart {
    background: #fff;
}

/* Custom empty states exist on both routes, without a checkout form/grid. */
body:has(.twc-shell[data-twc-layout='custom_compact'] .twc-alert--empty-cart),
.twc-shell[data-twc-layout='custom_compact']:has(.twc-alert--empty-cart) {
    background: #fff;
}

.twc-shell:is(.twc-shell--cart, [data-twc-layout='custom_compact']):has(.twc-alert--empty-cart) .twc-page {
    padding: 40px 0 72px;
}

.twc-shell:is(.twc-shell--cart, [data-twc-layout='custom_compact']) .twc-alert--empty-cart {
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 0;
    box-shadow: none;
    margin: 0 auto;
    max-width: 720px;
    padding: 32px;
    text-align: center;
}

.twc-shell:is(.twc-shell--cart, [data-twc-layout='custom_compact']) .twc-alert--empty-cart h1 {
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.25;
    margin: 0 0 24px;
}

.twc-shell:is(.twc-shell--cart, [data-twc-layout='custom_compact']) .twc-alert--empty-cart .twc-button {
    border: 1px solid #222;
    border-radius: 0;
    margin: 0;
    min-height: 48px;
    padding: 12px 24px;
}

@media (max-width: 760px) {
    .twc-shell:is(.twc-shell--cart, [data-twc-layout='custom_compact']):has(.twc-alert--empty-cart) .twc-page {
        padding: 24px 0 48px;
    }

    .twc-shell:is(.twc-shell--cart, [data-twc-layout='custom_compact']) .twc-alert--empty-cart {
        padding: 24px;
    }

    .twc-shell:is(.twc-shell--cart, [data-twc-layout='custom_compact']) .twc-alert--empty-cart .twc-button {
        width: 100%;
    }
}

.twc-shell--cart .twc-page {
    left: 50%;
    margin-inline: 0;
    max-width: none;
    padding: 38px 0 72px;
    position: relative;
    transform: translateX(-50%);
    width: min(1520px, calc(100vw - 40px));
}

.twc-shell--cart .twc-page__heading {
    margin: 0 0 36px;
}

.twc-shell--cart .twc-page__heading h1 {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.15;
    margin: 0;
}

.twc-shell--cart .twc-cart-layout {
    align-items: start;
    gap: clamp(28px, 3vw, 48px);
    grid-template-columns: minmax(0, 2fr) minmax(360px, .92fr);
}

.twc-shell--cart .twc-cart-lines {
    overflow: visible;
    padding: 0;
}

.twc-shell--cart .twc-cart-table__header,
.twc-shell--cart .twc-line {
    display: grid;
    gap: 16px;
    grid-template-columns: 126px minmax(190px, 1fr) 132px 144px 120px 44px;
}

.twc-shell--cart .twc-cart-table__header {
    align-items: center;
    background: #f5f6f7;
    color: #202124;
    font-size: 14px;
    font-weight: 750;
    min-height: 42px;
    padding: 0 14px;
    text-transform: uppercase;
}

.twc-shell--cart .twc-cart-table__header > span:first-child {
    grid-column: 1 / 3;
}

.twc-shell--cart .twc-line {
    align-items: center;
    min-height: 166px;
    padding: 18px 14px;
}

.twc-shell--cart .twc-line + .twc-line {
    border-top: 1px solid #d9dcdf;
}

.twc-shell--cart .twc-line__media {
    align-self: stretch;
    aspect-ratio: auto;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 0;
    min-height: 128px;
    overflow: hidden;
}

.twc-shell--cart .twc-line__media img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.twc-shell--cart .twc-line__details {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-block: 4px;
}

.twc-shell--cart .twc-line__name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 7px;
}

.twc-shell--cart .twc-line__variant {
    color: #61656c;
    font-size: 14px;
    line-height: 1.45;
}

.twc-shell--cart .twc-line__variant > * {
    margin: 2px 0 0;
}

.twc-shell--cart .twc-line__unit,
.twc-shell--cart .twc-line__total {
    align-items: baseline;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
}

.twc-shell--cart .twc-line__unit {
    justify-content: flex-start;
}

.twc-shell--cart .twc-line__total {
    justify-content: flex-end;
}

.twc-shell--cart [data-twc-lines] .twc-price-pair strong {
    color: #000;
}

.twc-shell--cart .twc-line__quantity {
    align-items: center;
    display: grid;
    grid-template-columns: repeat(3, 44px);
    justify-content: center;
}

.twc-shell--cart .twc-cart-coupon summary:focus-visible {
    outline: 3px solid #1a73e8;
    outline-offset: 2px;
}

.twc-shell--cart .twc-line__remove {
    align-self: start;
}

.twc-shell--cart .twc-cart-summary-column {
    min-width: 0;
    position: sticky;
    top: 24px;
}

.twc-shell--cart .twc-cart-summary > h2 {
    border-bottom: 1px solid #d7dade;
    color: #202124;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: normal;
    margin: 0 0 20px;
    padding: 0 0 20px;
    text-transform: none;
}

.twc-shell--cart .twc-cart-summary {
    border: 1px solid #cfd3d7;
    border-radius: 0;
    box-shadow: none;
    padding: 24px;
    position: static;
}

.twc-shell--cart .twc-cart-totals {
    margin: 0;
    padding: 0 0 8px;
}

.twc-shell--cart .twc-cart-totals > div {
    min-height: 34px;
    padding-block: 6px;
}

.twc-shell--cart .twc-cart-totals__count {
    margin-bottom: 2px;
}

.twc-shell--cart .twc-cart-totals__count dt,
.twc-shell--cart .twc-cart-totals dt {
    font-weight: 550;
}

.twc-shell--cart .twc-cart-totals [data-twc-total='billDiscountAmount'],
.twc-shell--cart .twc-cart-totals [data-twc-total='salesPriceCoupon'] {
    color: #dc2145;
}

.twc-shell--cart .twc-cart-coupon {
    border-bottom: 0;
    border-top: 0;
    margin: 0;
    padding: 0;
}

.twc-shell--cart .twc-cart-coupon summary {
    padding: 10px 0;
}

.twc-shell--cart .twc-cart-coupon .twc-inline-control {
    padding: 2px 0 14px;
}

.twc-shell--cart .twc-cart-coupon .twc-inline-control :is(input, button) {
    border-radius: 0;
    min-height: 42px;
}

.twc-shell--cart .twc-cart-grand-total {
    border-top: 1px solid #cfd3d7;
    margin: 0;
    padding-top: 8px;
}

.twc-shell--cart .twc-cart-grand-total .twc-totals__grand {
    border-top: 0;
    font-size: 16px;
    margin: 0;
    padding: 13px 0 6px !important;
}

.twc-shell--cart .twc-tax-disclosure {
    color: #5f6368;
    font-size: 14px;
    margin: 7px 0 18px;
}

.twc-shell--cart .twc-cart-summary .twc-button--primary {
    background: #050505;
    border-color: #050505;
    border-radius: 0;
    color: #fff !important;
    min-height: 52px;
}

.twc-shell--cart .twc-cart-summary .twc-button--primary:hover {
    background: #222;
    transform: none;
}

@media (max-width: 1100px) {
    .twc-shell--cart .twc-cart-layout {
        grid-template-columns: 1fr;
    }

    .twc-shell--cart .twc-cart-summary-column {
        position: static;
    }
}

@media (max-width: 760px) {
    .twc-shell--cart .twc-page {
        left: auto;
        padding: 28px 16px 52px;
        transform: none;
        width: 100%;
    }

    .twc-shell--cart .twc-page__heading {
        margin-bottom: 24px;
    }

    .twc-shell--cart .twc-page__heading h1 {
        font-size: 30px;
    }

    .twc-shell--cart .twc-cart-table__header {
        display: none;
    }

    .twc-shell--cart .twc-line {
        align-items: start;
        gap: 10px 14px;
        grid-template-columns: 80px 38px minmax(0, 1fr);
        min-height: 0;
        padding: 18px 0;
        position: relative;
    }

    .twc-shell--cart [data-twc-lines] {
        container-type: inline-size;
    }

    .twc-shell--cart .twc-line__media {
        grid-column: 1;
        grid-row: 1 / 3;
        align-self: start;
        height: 100px;
        min-height: 0;
    }

    .twc-shell--cart .twc-line__details {
        grid-column: 2 / 4;
        grid-row: 1;
        min-height: 0;
        padding: 0 40px 0 0;
        overflow-wrap: anywhere;
    }

    .twc-shell--cart .twc-line__remove {
        position: absolute;
        top: 14px;
        right: 0;
    }

    .twc-shell--cart .twc-line__unit,
    .twc-shell--cart .twc-line__quantity,
    .twc-shell--cart .twc-line__total {
        min-width: 0;
    }

    .twc-shell--cart .twc-line__unit {
        grid-column: 2 / 4;
        grid-row: 2;
        justify-content: flex-start;
    }

    .twc-shell--cart .twc-line__quantity {
        grid-column: 1 / 3;
        display: grid;
        grid-row: 3;
        grid-template-columns: repeat(3, 44px);
        justify-content: start;
        row-gap: 8px;
        margin-top: 8px;
    }

    .twc-shell--cart .twc-line__quantity::before,
    .twc-shell--cart .twc-line__unit::before,
    .twc-shell--cart .twc-line__total::before {
        color: #5f6368;
        content: attr(data-label);
        font-size: 14px;
        font-weight: 550;
        flex-basis: 100%;
        grid-column: 1 / -1;
    }

    .twc-shell--cart .twc-line__total {
        grid-column: 3;
        grid-row: 3;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, max-content));
        grid-template-rows: auto minmax(44px, auto);
        row-gap: 8px;
        align-items: center;
        margin-top: 8px;
        text-align: right;
        justify-content: flex-end;
        align-self: start;
    }

    .twc-shell--cart .twc-line__total > del {
        grid-column: 1;
        grid-row: 2;
    }

    .twc-shell--cart .twc-line__total strong {
        grid-column: 2;
        grid-row: 2;
        font-size: 18px;
    }
}

/* Stack the lower zone by available content width, including narrow templates. */
@media (max-width: 760px) {
    @container (max-width: 280px) {
        .twc-shell--cart .twc-line__quantity {
            grid-column: 1 / -1;
        }

        .twc-shell--cart .twc-line__total {
            grid-column: 1 / -1;
            grid-row: 4;
        }
    }
}

@media (max-width: 420px) {
    .twc-shell--cart .twc-cart-summary {
        padding: 14px;
    }

    .twc-shell--cart .twc-cart-coupon .twc-inline-control {
        flex-direction: column;
    }
}

/* Shared mobile heading size across cart, checkout, empty states and success. */
@media screen and (max-width: 760px) {
    .twc-page__heading h1,
    .twc-alert h1,
    .twc-page--custom-compact .twc-alert--empty-cart h1,
    .twc-alert.twc-cart-empty h1,
    .twc-page--custom-compact > .twc-compact-heading h1,
    .twc-checkout-layout--custom_compact .twc-page__heading h1,
    .twc-shell--cart .twc-page__heading h1,
    .twc-order-outcome__confirmation h1,
    .twc-success__title h1 {
        font-size: 22px;
    }
}

@media print {
    @page {
        margin: 14mm;
        size: A4;
    }

    .twc-print-hidden {
        display: none !important;
    }

    /* VP component-only pages retain a screen bottom gutter, which can create
       a blank trailing sheet. Never change the template on other print routes. */
    body:has([data-twc-success-document]) #mainbody {
        padding-bottom: 0 !important;
    }

    .twc-success {
        color: #000;
        font-size: 14px;
        line-height: 1.35;
        min-width: 0;
        max-width: none;
        padding: 0;
        width: 100%;
        overflow-wrap: anywhere;
    }

    .twc-success a {
        color: #000;
        text-decoration: none;
    }

    .twc-success a[href]::after {
        content: none !important;
    }

    .twc-success__table-wrap {
        overflow: visible;
        width: 100%;
    }

    /* A4 uses the printable page width, never a table's intrinsic SKU width.
       Restore table semantics even when printing from a mobile viewport. */
    .twc-success .twc-success__items {
        display: table;
        table-layout: fixed;
        width: 100%;
    }

    .twc-success .twc-success__items thead {
        display: table-header-group;
    }

    .twc-success .twc-success__items tbody {
        display: table-row-group;
    }

    .twc-success .twc-success__items tr {
        display: table-row;
    }

    .twc-success .twc-success__items :is(th, td) {
        display: table-cell;
        width: 20%;
        padding: 8px;
        border-bottom: 1px solid #ddd;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .twc-success .twc-success__items :is(th, td):first-child {
        width: 44%;
        padding-left: 0;
    }

    .twc-success .twc-success__items :is(th, td):nth-child(2) {
        width: 16%;
    }

    .twc-success .twc-success__items :is(th, td):last-child {
        padding-right: 0;
    }

    .twc-success .twc-success__items td::before {
        content: none;
    }

    .twc-success .twc-success__price-pair {
        max-width: 100%;
    }

    .twc-success__meta,
    .twc-success__methods {
        display: flex;
    }

    .twc-success__meta > div,
    .twc-success__methods > p {
        flex: 1 1 0;
        min-width: 0;
    }

    .twc-success__header,
    .twc-success__title,
    .twc-success__meta {
        break-inside: avoid;
    }

    .twc-success__title,
    .twc-success__items caption {
        break-after: avoid;
    }

    .twc-success__header {
        padding-bottom: 12px;
    }

    .twc-success__title {
        padding: 16px 0 12px;
    }

    .twc-success__meta {
        margin-bottom: 16px;
        padding-block: 12px;
    }

    .twc-success__methods {
        padding-block: 12px;
    }

    .twc-success__totals {
        margin-top: 12px;
        break-after: avoid;
    }

    .twc-success__totals > div {
        padding-block: 4px;
    }

    .twc-success__footer {
        margin-top: 16px;
        padding-top: 12px;
    }

    .twc-success__footer p:last-child {
        margin-bottom: 0;
    }

    .twc-success__items tr,
    .twc-success__methods,
    .twc-success__totals,
    .twc-success__footer {
        break-inside: avoid;
    }
}

@media (prefers-reduced-motion: reduce) {
    .twc-button,
    .twc-login-disclosure__panel,
    .twc-login-disclosure__chevron,
    .twc-compact-coupon__chevron,
    .twc-ajax-overlay__spinner {
        animation: none;
        transition: none;
    }
}

/* Native VirtueMart and theme rules must not reduce checkout copy below 14px. */
.twc-shell .vmpayment_description,
.twc-shell .vmshipment_description,
.twc-shell .twc-native-option__description,
.twc-shell .terms-of-service {
    font-size: 14px !important;
}

/* VirtueMart includes an inline copy for its legacy modal renderer. The link
   remains the single visible terms action; the duplicate modal payload must
   not enter the checkout flow or disturb checkbox alignment. */
.twc-shell[data-twc-root][data-twc-view] .twc-terms-fields #full-tos {
    display: none !important;
}

/* Checkbox contract: override theme/Bootstrap control geometry only inside TWC.
   Keep native inputs, labels, consent values and provider interactions intact. */
.twc-shell[data-twc-root][data-twc-view] input[type='checkbox']:not([hidden]) {
    appearance: none !important;
    -webkit-appearance: none !important;
    background: #fff !important;
    border: 1px solid #767676 !important;
    border-radius: 2px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    color: #111 !important;
    cursor: pointer;
    display: inline-block !important;
    flex: 0 0 18px !important;
    float: none !important;
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    inset: auto !important;
    opacity: 1 !important;
    transform: none !important;
    vertical-align: middle !important;
}

.twc-shell[data-twc-root][data-twc-view] input[type='checkbox']:checked {
    background-color: #111 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    border-color: #111 !important;
}

.twc-shell[data-twc-root][data-twc-view] input[type='checkbox']:indeterminate {
    background-color: #111 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10' stroke='white' stroke-width='2'/%3E%3C/svg%3E") !important;
    border-color: #111 !important;
}

.twc-shell[data-twc-root][data-twc-view] input[type='checkbox']:focus-visible {
    outline: 2px solid #111 !important;
    outline-offset: 3px !important;
}

.twc-shell[data-twc-root][data-twc-view] input[type='checkbox']:disabled {
    background-color: #e5e7eb !important;
    border-color: #9ca3af !important;
    cursor: not-allowed;
}

.twc-shell[data-twc-root][data-twc-view] input[type='checkbox']:disabled:checked {
    background-color: #737780 !important;
}

.twc-shell[data-twc-root][data-twc-view] label:has(> input[type='checkbox']),
.twc-shell[data-twc-root][data-twc-view] .form-check:has(> input[type='checkbox']),
.twc-shell[data-twc-root][data-twc-view] .twc-field__control:has(> input[type='checkbox']) {
    align-items: center !important;
    display: flex !important;
    gap: 10px !important;
    line-height: 1.5 !important;
    min-height: 24px;
    padding-inline: 0 !important;
    text-indent: 0 !important;
}

.twc-shell[data-twc-root][data-twc-view] label:has(> input[type='checkbox']) {
    cursor: pointer;
}

.twc-shell[data-twc-root][data-twc-view] label:has(> input[type='checkbox']) > :is(span, a),
.twc-shell[data-twc-root][data-twc-view] input[type='checkbox'] + label {
    align-self: center !important;
    margin-block: 0 !important;
    min-width: 0;
    padding: 0 !important;
    line-height: 1.5 !important;
}

/* Shared dark-button interaction; excludes light controls and template buttons. */
:is(
    .twc-shell .twc-page--custom-compact .twc-alert--empty-cart .twc-button,
    .twc-shell .twc-cart-empty .twc-button,
    .twc-shell .twc-page--custom-compact .twc-login-disclosure #com-form-login .btn,
    .twc-shell .twc-checkout-layout--custom_compact .twc-checkout-submit .twc-button,
    .twc-shell .twc-checkout-submit button.twc-order-submit,
    .twc-shell:not(.twc-onepage) .twc-compact-coupon .twc-inline-control button,
    .twc-shell--cart .twc-cart-summary .twc-button--primary,
    .twc-order-outcome .twc-order-outcome__print
) {
    background: #222;
    color: #fff !important;
    box-shadow: none;
    transform: none !important;
    transition: background-color .18s ease;
}

:is(
    .twc-shell .twc-page--custom-compact .twc-alert--empty-cart .twc-button,
    .twc-shell .twc-cart-empty .twc-button,
    .twc-shell .twc-page--custom-compact .twc-login-disclosure #com-form-login .btn,
    .twc-shell .twc-checkout-layout--custom_compact .twc-checkout-submit .twc-button,
    .twc-shell .twc-checkout-submit button.twc-order-submit,
    .twc-shell:not(.twc-onepage) .twc-compact-coupon .twc-inline-control button,
    .twc-shell--cart .twc-cart-summary .twc-button--primary,
    .twc-order-outcome .twc-order-outcome__print
):hover:not(:disabled):not([aria-disabled='true']):not(.twc-is-disabled) {
    background: #000;
    box-shadow: none;
    transform: none !important;
}

:is(
    .twc-shell .twc-page--custom-compact .twc-alert--empty-cart .twc-button,
    .twc-shell .twc-cart-empty .twc-button,
    .twc-shell .twc-page--custom-compact .twc-login-disclosure #com-form-login .btn,
    .twc-shell .twc-checkout-layout--custom_compact .twc-checkout-submit .twc-button,
    .twc-shell .twc-checkout-submit button.twc-order-submit,
    .twc-shell:not(.twc-onepage) .twc-compact-coupon .twc-inline-control button,
    .twc-shell--cart .twc-cart-summary .twc-button--primary,
    .twc-order-outcome .twc-order-outcome__print
):focus-visible {
    outline: 2px solid #000;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
:is(
    .twc-shell .twc-page--custom-compact .twc-alert--empty-cart .twc-button,
    .twc-shell .twc-cart-empty .twc-button,
    .twc-shell .twc-page--custom-compact .twc-login-disclosure #com-form-login .btn,
    .twc-shell .twc-checkout-layout--custom_compact .twc-checkout-submit .twc-button,
    .twc-shell .twc-checkout-submit button.twc-order-submit,
    .twc-shell:not(.twc-onepage) .twc-compact-coupon .twc-inline-control button,
    .twc-shell--cart .twc-cart-summary .twc-button--primary,
    .twc-order-outcome .twc-order-outcome__print
) {
    transition: none;
}
}

/* Suppress template-drawn duplicate boxes, not native consent text or links. */
.twc-shell[data-twc-root][data-twc-view] label:has(> input[type='checkbox'])::before,
.twc-shell[data-twc-root][data-twc-view] label:has(> input[type='checkbox'])::after,
.twc-shell[data-twc-root][data-twc-view] input[type='checkbox']::before,
.twc-shell[data-twc-root][data-twc-view] input[type='checkbox']::after,
.twc-shell[data-twc-root][data-twc-view] input[type='checkbox'] + label::before,
.twc-shell[data-twc-root][data-twc-view] input[type='checkbox'] + label::after {
    content: none !important;
}

/* Native shopper radios: own presentation, native IDs/events/keyboard semantics. */
.twc-shell[data-twc-root][data-twc-view] .twc-field--radio {
    grid-column: 1 / -1;
}

.twc-shell[data-twc-root][data-twc-view] .twc-field--radio .twc-field__control > .controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 0;
    padding: 0;
}

.twc-shell[data-twc-root][data-twc-view] .twc-field--radio .twc-field__control :is(div, label):has(> input[type='radio']) {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    min-height: 44px;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.twc-shell[data-twc-root][data-twc-view] .twc-field--radio input[type='radio'] {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: static !important;
    display: inline-block !important;
    flex: 0 0 20px;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #767676 !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: none !important;
    opacity: 1;
    float: none !important;
    cursor: pointer;
}

.twc-shell[data-twc-root][data-twc-view] .twc-field--radio input[type='radio']:checked {
    border-color: #1773b0 !important;
    background: radial-gradient(circle, #1773b0 0 5px, #fff 5.5px) !important;
}

.twc-shell[data-twc-root][data-twc-view] .twc-field--radio input[type='radio']:focus-visible {
    outline: 2px solid #1773b0 !important;
    outline-offset: 3px;
}

.twc-shell[data-twc-root][data-twc-view] .twc-field--radio input[type='radio']:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.twc-shell[data-twc-root][data-twc-view] .twc-field--radio .twc-field__control label {
    display: inline-flex !important;
    align-items: center;
    min-height: 44px;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    font: inherit;
    cursor: pointer;
}

.twc-shell[data-twc-root][data-twc-view] .twc-field--radio .twc-field__control label::before,
.twc-shell[data-twc-root][data-twc-view] .twc-field--radio .twc-field__control label::after,
.twc-shell[data-twc-root][data-twc-view] .twc-field--radio input[type='radio']::before,
.twc-shell[data-twc-root][data-twc-view] .twc-field--radio input[type='radio']::after {
    content: none !important;
}

@media (forced-colors: active) {
    .twc-shell[data-twc-root][data-twc-view] .twc-field--radio input[type='radio'] {
        appearance: auto !important;
        -webkit-appearance: radio !important;
        forced-color-adjust: auto;
        background: Canvas !important;
        border-color: ButtonText !important;
    }
    .twc-shell[data-twc-root][data-twc-view] input[type='checkbox']:not([hidden]) {
        appearance: auto !important;
        -webkit-appearance: checkbox !important;
        forced-color-adjust: auto;
        background: Canvas !important;
        border-color: ButtonText !important;
        color: ButtonText !important;
    }

    .twc-shell[data-twc-root][data-twc-view] input[type='checkbox']:focus-visible {
        outline-color: Highlight !important;
    }
}
