/*
 * KUSTIK commerce layer 2.7.0: cart and checkout only.
 * Loaded after theme.css on the cart, checkout and order-pay pages. theme.css no
 * longer carries cart/checkout rules, so this file is the single source for them.
 * Flexbox only: no CSS Grid, no clamp and no important flags, matching the theme contract.
 */

body.kustik-commerce-flow {
    --kc-panel: #141418;
    --kc-panel-2: #0f0f13;
    --kc-field: #0a0a0d;
    --kc-line: rgba(255, 255, 255, .09);
    --kc-line-strong: rgba(255, 255, 255, .16);
    --kc-accent-line: rgba(255, 91, 209, .24);
    --kc-pink: #ff5bd1;
    --kc-pink-strong: #f13df0;
    --kc-muted: rgba(255, 255, 255, .62);
    --kc-soft: rgba(255, 255, 255, .78);
    --kc-radius: 16px;
    --kc-radius-sm: 11px;
}

/* --------------------------------------------------------------------------
   Page frame
   -------------------------------------------------------------------------- */
body.woocommerce-cart .kustik-page-hero,
body.woocommerce-checkout .kustik-page-hero {
    padding: 34px 0 22px;
}
body.woocommerce-cart .kustik-page-hero h1,
body.woocommerce-checkout .kustik-page-hero h1 {
    margin: 12px 0 0;
    font-size: 46px;
    line-height: 1.08;
}
body.woocommerce-cart .kustik-content-page__section,
body.woocommerce-checkout .kustik-content-page__section {
    padding-top: 18px;
}
body.woocommerce-cart .kustik-commerce-page .kustik-article--commerce,
body.woocommerce-checkout .kustik-commerce-page .kustik-article--commerce {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
body.woocommerce-cart .kustik-article__content,
body.woocommerce-checkout .kustik-article__content {
    font-size: 15px;
    line-height: 1.55;
}
body.woocommerce-cart .kustik-article__content > .woocommerce,
body.woocommerce-checkout .kustik-article__content > .woocommerce {
    width: 100%;
    color: #fff;
}
body.woocommerce-cart .woocommerce::before,
body.woocommerce-cart .woocommerce::after,
body.woocommerce-checkout .woocommerce::before,
body.woocommerce-checkout .woocommerce::after {
    content: none;
}
body.woocommerce-cart .kst-cart2 h2,
body.woocommerce-cart .kst-cart2 h3,
body.woocommerce-checkout .woocommerce h2,
body.woocommerce-checkout .woocommerce h3 {
    margin: 0;
    color: #fff;
    font-weight: 700;
    letter-spacing: -.01em;
}
body.woocommerce-cart .kst-cart2 a,
body.woocommerce-checkout .woocommerce a {
    color: #fff;
}

/* Section labels shared by cart and checkout panels. */
.kst-cart2-summary__head > span,
.kst-checkout2__intro > span,
.kst-checkout2__sidebar-head > span,
.kst-cart2-progress__copy > span {
    display: block;
    margin: 0 0 6px;
    color: var(--kc-pink);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Notices (cart/checkout)
   -------------------------------------------------------------------------- */
body.kustik-commerce-flow .woocommerce-notices-wrapper:empty,
body.kustik-commerce-flow .woocommerce-notices-wrapper[hidden],
body.kustik-commerce-flow .woocommerce-message[hidden] {
    display: none;
}
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-error {
    position: relative;
    display: flex;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 18px;
    margin: 0 0 16px;
    padding: 14px 18px 14px 50px;
    list-style: none;
    border: 1px solid var(--kc-accent-line);
    border-radius: var(--kc-radius-sm);
    color: #fff;
    background: rgba(149, 1, 200, .10);
    font-size: 14px;
    line-height: 1.5;
}
body.woocommerce-cart .woocommerce-error,
body.woocommerce-checkout .woocommerce-error {
    display: block;
    border-color: rgba(255, 86, 120, .42);
    background: rgba(255, 60, 100, .08);
}
body.woocommerce-cart .woocommerce-error li,
body.woocommerce-checkout .woocommerce-error li {
    margin: 0;
    padding: 2px 0;
}
body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before,
body.woocommerce-cart .woocommerce-error::before,
body.woocommerce-checkout .woocommerce-message::before,
body.woocommerce-checkout .woocommerce-info::before,
body.woocommerce-checkout .woocommerce-error::before {
    position: absolute;
    top: 50%;
    left: 18px;
    width: 20px;
    height: 20px;
    margin: 0;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(180deg, #ef10e5, #9700bc);
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    line-height: 20px;
    text-align: center;
    content: "i";
    transform: translateY(-50%);
}
body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-checkout .woocommerce-message::before {
    content: "\2713";
}
body.woocommerce-cart .woocommerce-error::before,
body.woocommerce-checkout .woocommerce-error::before {
    top: 16px;
    background: #d43760;
    content: "!";
    transform: none;
}
body.woocommerce-cart .woocommerce-message .button,
body.woocommerce-checkout .woocommerce-message .button {
    min-height: 38px;
    margin: 0;
    padding: 0 16px;
    font-size: 12px;
}
body.woocommerce-checkout .woocommerce-info a,
body.woocommerce-cart .woocommerce-info a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(255, 91, 209, .6);
    text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
body.woocommerce-cart .kst-cart2 .button,
body.woocommerce-checkout .kst-checkout2 .button,
body.woocommerce-checkout form.checkout_coupon .button,
body.woocommerce-cart .kst-cart2-summary a.checkout-button.button {
    display: inline-flex;
    min-height: 46px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 22px;
    border: 1px solid #ff78f2;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(180deg, #ff4eec 0%, #e30be2 42%, #b400cc 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), inset 0 -2px 0 rgba(92, 0, 112, .28), 0 2px 0 #720082, 0 7px 16px rgba(149, 1, 200, .20);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .03em;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(80, 0, 92, .3);
    cursor: pointer;
    transition: filter .16s ease, box-shadow .16s ease, opacity .16s ease;
}
body.woocommerce-cart .kst-cart2 .button:hover,
body.woocommerce-cart .kst-cart2 .button:focus-visible,
body.woocommerce-checkout .kst-checkout2 .button:hover,
body.woocommerce-checkout .kst-checkout2 .button:focus-visible,
body.woocommerce-checkout form.checkout_coupon .button:hover,
body.woocommerce-cart .kst-cart2-summary a.checkout-button.button:hover,
body.woocommerce-cart .kst-cart2-summary a.checkout-button.button:focus-visible {
    color: #fff;
    background: linear-gradient(180deg, #ff4eec 0%, #e30be2 42%, #b400cc 100%);
    filter: brightness(1.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -2px 0 rgba(92, 0, 112, .24), 0 2px 0 #720082, 0 0 0 2px rgba(255, 91, 209, .12), 0 0 22px rgba(255, 91, 209, .22);
    outline: 0;
}
body.woocommerce-cart .kst-cart2 .button:disabled,
body.woocommerce-cart .kst-cart2 .button[disabled] {
    opacity: .45;
    cursor: not-allowed;
    filter: none;
}
body.woocommerce-cart .kst-cart2 .button.kst-cart2-update {
    border-color: var(--kc-line-strong);
    color: #fff;
    background: linear-gradient(180deg, #242126 0%, #161419 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 2px 0 #09080a;
    text-shadow: none;
}
body.woocommerce-cart .kst-cart2 .button.kst-cart2-update:not(:disabled):hover {
    border-color: rgba(255, 91, 209, .55);
    background: linear-gradient(180deg, #2b242d 0%, #1a141d 100%);
}

/* --------------------------------------------------------------------------
   Form controls
   -------------------------------------------------------------------------- */
body.woocommerce-cart .kst-cart2 input.input-text,
body.woocommerce-cart .kst-cart2 input.qty,
body.woocommerce-cart .kst-cart2 select,
body.woocommerce-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .woocommerce form .form-row textarea,
body.woocommerce-checkout .woocommerce form .form-row select,
body.woocommerce-checkout form.checkout_coupon input.input-text {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    margin: 0;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    outline: 0;
    color: #fff;
    background: var(--kc-field);
    box-shadow: inset 0 1px 8px rgba(0, 0, 0, .3);
    font-size: 15px;
    line-height: 1.3;
    transition: border-color .16s ease, box-shadow .16s ease;
}
body.woocommerce-checkout .woocommerce form .form-row textarea {
    min-height: 104px;
    padding-top: 12px;
    padding-bottom: 12px;
    resize: vertical;
}
body.woocommerce-cart .kst-cart2 input.input-text::placeholder,
body.woocommerce-checkout .woocommerce form .form-row input.input-text::placeholder,
body.woocommerce-checkout .woocommerce form .form-row textarea::placeholder,
body.woocommerce-checkout form.checkout_coupon input.input-text::placeholder {
    color: rgba(255, 255, 255, .38);
}
body.woocommerce-cart .kst-cart2 input.input-text:focus,
body.woocommerce-cart .kst-cart2 input.qty:focus,
body.woocommerce-checkout .woocommerce form .form-row input.input-text:focus,
body.woocommerce-checkout .woocommerce form .form-row textarea:focus,
body.woocommerce-checkout .woocommerce form .form-row select:focus,
body.woocommerce-checkout form.checkout_coupon input.input-text:focus {
    border-color: rgba(239, 43, 238, .72);
    box-shadow: 0 0 0 3px rgba(229, 0, 241, .12), inset 0 1px 8px rgba(0, 0, 0, .3);
}

/* --------------------------------------------------------------------------
   Cart: free shipping progress
   -------------------------------------------------------------------------- */
body.woocommerce-cart .kst-cart2-progress {
    display: flex;
    box-sizing: border-box;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
    margin: 0 0 18px;
    padding: 16px 20px;
    border: 1px solid var(--kc-accent-line);
    border-radius: var(--kc-radius);
    background: linear-gradient(110deg, rgba(149, 1, 200, .13), rgba(255, 255, 255, .02));
}
body.woocommerce-cart .kst-cart2-progress__copy {
    flex: 0 0 auto;
    min-width: 200px;
}
body.woocommerce-cart .kst-cart2-progress__copy > span {
    margin-bottom: 2px;
}
body.woocommerce-cart .kst-cart2-progress__copy strong {
    display: block;
    color: #fff;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
}
body.woocommerce-cart .kst-cart2-progress__track {
    height: 8px;
    min-width: 140px;
    flex: 1 1 200px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .09);
}
body.woocommerce-cart .kst-cart2-progress__track > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #a600d1, #e900e3, #ff74d5);
    box-shadow: 0 0 14px rgba(236, 18, 232, .3);
}
body.woocommerce-cart .kst-cart2-progress > small {
    flex: 0 0 auto;
    color: var(--kc-muted);
    font-size: 13px;
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Cart: layout
   -------------------------------------------------------------------------- */
body.woocommerce-cart .kst-cart2 {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}
body.woocommerce-cart .kst-cart2__main {
    min-width: 0;
    flex: 1 1 auto;
}
body.woocommerce-cart .kst-cart2__form {
    margin: 0;
}
body.woocommerce-cart .kst-cart2__sidebar {
    position: sticky;
    top: 104px;
    width: 390px;
    flex: 0 0 390px;
}
body.woocommerce-cart .kst-cart2__collaterals {
    float: none;
    width: 100%;
    margin: 0;
}
body.woocommerce-cart .kst-cart2__items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* --------------------------------------------------------------------------
   Cart: product row
   -------------------------------------------------------------------------- */
body.woocommerce-cart .kst-cart2-item {
    position: relative;
    display: flex;
    box-sizing: border-box;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 16px 64px 16px 16px;
    border: 1px solid var(--kc-line);
    border-radius: var(--kc-radius);
    background: linear-gradient(145deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
    transition: border-color .18s ease;
}
body.woocommerce-cart .kst-cart2-item:hover {
    border-color: rgba(236, 61, 238, .24);
}
body.woocommerce-cart .kst-cart2-item__media {
    width: 104px;
    height: 104px;
    flex: 0 0 104px;
    overflow: hidden;
    border-radius: 12px;
    background: #f3f3f5;
}
body.woocommerce-cart .kst-cart2-item__media a {
    display: block;
    width: 100%;
    height: 100%;
}
body.woocommerce-cart .kst-cart2-item__media img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 8px;
    box-sizing: border-box;
    object-fit: contain;
}
body.woocommerce-cart .kst-cart2-item__body {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: center;
    gap: 16px 24px;
}
body.woocommerce-cart .kst-cart2-item__product {
    min-width: 0;
    flex: 1 1 auto;
}
body.woocommerce-cart .kst-cart2-item__title,
body.woocommerce-cart .kst-cart2-item__title a {
    color: #fff;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
    overflow-wrap: anywhere;
}
body.woocommerce-cart .kst-cart2-item__title a:hover,
body.woocommerce-cart .kst-cart2-item__title a:focus-visible {
    color: var(--kc-pink);
}
body.woocommerce-cart .kst-cart2-item__variation {
    margin-top: 6px;
    color: var(--kc-muted);
    font-size: 13px;
}
body.woocommerce-cart .kst-cart2-item__variation dl,
body.woocommerce-cart .kst-cart2-item__variation dt,
body.woocommerce-cart .kst-cart2-item__variation dd,
body.woocommerce-cart .kst-cart2-item__variation p {
    display: inline;
    margin: 0 4px 0 0;
    padding: 0;
}
body.woocommerce-cart .kst-cart2-item .backorder_notification {
    margin: 6px 0 0;
    color: var(--kc-pink);
    font-size: 13px;
}
body.woocommerce-cart .kst-cart2-item__details {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 22px;
}
body.woocommerce-cart .kst-cart2-item__detail {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
body.woocommerce-cart .kst-cart2-item__detail--price,
body.woocommerce-cart .kst-cart2-item__detail--subtotal {
    width: 104px;
}
body.woocommerce-cart .kst-cart2-item__detail--subtotal {
    align-items: flex-end;
    text-align: right;
}
body.woocommerce-cart .kst-cart2-item__detail--qty {
    align-items: center;
}
body.woocommerce-cart .kst-cart2-item__detail > span {
    color: rgba(255, 255, 255, .5);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}
body.woocommerce-cart .kst-cart2-item__detail > strong {
    color: #fff;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
    white-space: nowrap;
}
body.woocommerce-cart .kst-cart2-item__detail--subtotal > strong {
    color: var(--kc-pink);
}
body.woocommerce-cart .kst-cart2-item__detail del {
    display: block;
    color: var(--kc-muted);
    font-size: 12px;
    font-weight: 500;
}
body.woocommerce-cart .kst-cart2-item__detail ins {
    text-decoration: none;
}

/* Quantity: +/- stepper built by commerce.js, plain field without JS. */
body.woocommerce-cart .kst-cart2-item__qty .quantity {
    display: flex;
    width: 128px;
    height: 44px;
    box-sizing: border-box;
    align-items: stretch;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(229, 0, 241, .36);
    border-radius: 10px;
    background: linear-gradient(180deg, #17171b 0%, #101013 100%);
}
body.woocommerce-cart .kst-cart2-item__qty .quantity input.qty {
    width: 44px;
    min-width: 0;
    height: 100%;
    min-height: 0;
    flex: 1 1 auto;
    padding: 0 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
}
body.woocommerce-cart .kst-cart2-item__qty .quantity input.qty::-webkit-inner-spin-button,
body.woocommerce-cart .kst-cart2-item__qty .quantity input.qty::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}
body.woocommerce-cart .kst-cart2-item__qty .kustik-qty-control__button {
    width: 40px;
    min-width: 40px;
    height: 100%;
}
body.woocommerce-cart .kst-cart2-item__qty .quantity:focus-within {
    border-color: rgba(239, 43, 238, .72);
    box-shadow: 0 0 0 3px rgba(229, 0, 241, .12);
}

/* Remove */
body.woocommerce-cart .kst-cart2-item__remove-wrap {
    position: absolute;
    top: 14px;
    right: 14px;
}
body.woocommerce-cart .kst-cart2-item a.kst-cart2-item__remove.remove {
    display: inline-flex;
    height: 34px;
    align-items: center;
    gap: 7px;
    padding: 0 12px 0 10px;
    border: 1px solid rgba(255, 95, 134, .6);
    border-radius: 9px;
    color: #ffb8c9;
    background: rgba(255, 95, 134, .12);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}
body.woocommerce-cart .kst-cart2-item__remove-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M9 7V4.5h6V7M6.5 7l1 13h9l1-13M10 11v6M14 11v6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M9 7V4.5h6V7M6.5 7l1 13h9l1-13M10 11v6M14 11v6'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.woocommerce-cart .kst-cart2-item a.kst-cart2-item__remove.remove:hover,
body.woocommerce-cart .kst-cart2-item a.kst-cart2-item__remove.remove:focus-visible {
    border-color: #ff5f86;
    color: #fff;
    background: #d8365f;
    outline: 0;
}

/* --------------------------------------------------------------------------
   Cart: coupon + update bar, service strip
   -------------------------------------------------------------------------- */
body.woocommerce-cart .kst-cart2-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
    margin-top: 14px;
}
body.woocommerce-cart .kst-cart2-coupon {
    display: flex;
    box-sizing: border-box;
    flex: 1 1 520px;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    padding: 16px 18px;
    border: 1px solid var(--kc-line);
    border-radius: var(--kc-radius);
    background: rgba(255, 255, 255, .02);
}
body.woocommerce-cart .kst-cart2-coupon__copy {
    flex: 1 1 220px;
}
body.woocommerce-cart .kst-cart2-coupon__copy strong {
    display: block;
    color: #fff;
    font-size: 15px;
    line-height: 1.3;
}
body.woocommerce-cart .kst-cart2-coupon__copy span {
    display: block;
    margin-top: 3px;
    color: var(--kc-muted);
    font-size: 13px;
    line-height: 1.45;
}
body.woocommerce-cart .kst-cart2-coupon__form {
    display: flex;
    flex: 1 1 320px;
    gap: 10px;
}
body.woocommerce-cart .kst-cart2-coupon__form input.input-text {
    min-width: 0;
    flex: 1 1 auto;
}
body.woocommerce-cart .kst-cart2-coupon__form .button {
    flex: 0 0 auto;
}
body.woocommerce-cart .kst-cart2-actions > .kst-cart2-update {
    flex: 0 0 auto;
    align-self: center;
}
body.woocommerce-cart .kst-cart2-service {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}
body.woocommerce-cart .kst-cart2-service > div {
    display: flex;
    box-sizing: border-box;
    min-width: 0;
    flex: 1 1 200px;
    flex-direction: column;
    gap: 3px;
    padding: 14px 16px;
    border: 1px solid var(--kc-line);
    border-radius: 13px;
    background: rgba(255, 255, 255, .015);
}
body.woocommerce-cart .kst-cart2-service strong {
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
}
body.woocommerce-cart .kst-cart2-service span {
    color: var(--kc-muted);
    font-size: 13px;
    line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Cart: summary
   -------------------------------------------------------------------------- */
body.woocommerce-cart .cart-collaterals .cart_totals.kst-cart2-summary {
    float: none;
    width: 100%;
}
body.woocommerce-cart .kst-cart2-summary {
    box-sizing: border-box;
    padding: 24px;
    border: 1px solid var(--kc-accent-line);
    border-radius: var(--kc-radius);
    background: linear-gradient(165deg, rgba(26, 20, 30, .96), rgba(11, 11, 15, .98));
    box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}
body.woocommerce-cart .kst-cart2-summary__head {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--kc-line);
}
body.woocommerce-cart .kst-cart2-summary__head h2 {
    font-size: 26px;
    line-height: 1.15;
}
body.woocommerce-cart .kst-cart2-summary__head p {
    margin: 6px 0 0;
    color: var(--kc-muted);
    font-size: 13px;
    line-height: 1.5;
}
body.woocommerce-cart .woocommerce table.kst-cart2-summary__table,
body.woocommerce-cart .woocommerce table.kst-cart2-summary__table tbody {
    display: block;
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
body.woocommerce-cart .woocommerce table.kst-cart2-summary__table tr {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--kc-line);
}
body.woocommerce-cart .woocommerce table.kst-cart2-summary__table th,
body.woocommerce-cart .woocommerce table.kst-cart2-summary__table td {
    display: block;
    padding: 0;
    border: 0;
    color: #fff;
    background: transparent;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
}
body.woocommerce-cart .woocommerce table.kst-cart2-summary__table th {
    flex: 0 0 auto;
    color: var(--kc-soft);
    font-weight: 600;
}
body.woocommerce-cart .woocommerce table.kst-cart2-summary__table td {
    min-width: 0;
    flex: 1 1 auto;
    font-weight: 700;
    text-align: right;
}
body.woocommerce-cart .woocommerce table.kst-cart2-summary__table td::before {
    display: none;
    content: none;
}
body.woocommerce-cart .woocommerce table.kst-cart2-summary__table tr.order-total {
    align-items: center;
    padding: 18px 0 4px;
    border-bottom: 0;
}
body.woocommerce-cart .woocommerce table.kst-cart2-summary__table tr.order-total th {
    color: #fff;
    font-size: 17px;
    font-weight: 800;
}
body.woocommerce-cart .woocommerce table.kst-cart2-summary__table tr.order-total td strong {
    display: block;
    color: #fff;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 800;
}
body.woocommerce-cart .woocommerce table.kst-cart2-summary__table .includes_tax,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .includes_tax {
    display: block;
    margin-top: 3px;
    color: var(--kc-muted);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 500;
}
body.woocommerce-cart .woocommerce table.kst-cart2-summary__table .includes_tax .amount,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .includes_tax .amount {
    color: var(--kc-soft);
    font-size: 12px;
    font-weight: 600;
}
body.woocommerce-cart .kst-cart2-summary__table .cart-discount td,
body.woocommerce-cart .kst-cart2-summary__table .cart-discount td .amount {
    color: #6ee7a8;
}
body.woocommerce-cart .kst-cart2-summary__table .woocommerce-remove-coupon {
    display: inline-block;
    margin-left: 6px;
    color: var(--kc-muted);
    font-size: 12px;
    font-weight: 600;
}

/* Shipping options (cart summary and checkout review share the Woo markup). */
body.kustik-commerce-flow ul#shipping_method {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
body.kustik-commerce-flow ul#shipping_method li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 11px 12px;
    border: 1px solid var(--kc-line-strong);
    border-radius: 10px;
    background: rgba(255, 255, 255, .02);
    text-indent: 0;
    line-height: 1.4;
    transition: border-color .16s ease, background-color .16s ease;
}
body.kustik-commerce-flow ul#shipping_method li:has(input:checked),
body.kustik-commerce-flow ul#shipping_method li:only-child {
    border-color: rgba(255, 91, 209, .55);
    background: rgba(149, 1, 200, .12);
}
body.kustik-commerce-flow ul#shipping_method li input[type="radio"] {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin: 0;
    accent-color: #e30be2;
}
body.kustik-commerce-flow ul#shipping_method li label {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 2px 10px;
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}
body.kustik-commerce-flow ul#shipping_method li label .amount {
    font-weight: 800;
    white-space: nowrap;
}
/* Shipping row: label on top, the options below at full width. */
body.woocommerce-cart .woocommerce table.kst-cart2-summary__table tr.shipping,
body.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}
body.woocommerce-cart .woocommerce table.kst-cart2-summary__table tr.shipping td,
body.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td {
    width: 100%;
    text-align: left;
}
body.kustik-commerce-flow .woocommerce-shipping-destination,
body.kustik-commerce-flow .woocommerce-shipping-contents {
    margin: 8px 0 0;
    color: var(--kc-muted);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 500;
}
body.woocommerce-cart .woocommerce-shipping-calculator {
    margin: 6px 0 0;
}
body.woocommerce-cart .woocommerce-shipping-calculator > p {
    margin: 0;
}
body.woocommerce-cart .shipping-calculator-button {
    color: var(--kc-soft);
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(255, 91, 209, .5);
    text-underline-offset: 3px;
}
body.woocommerce-cart .shipping-calculator-button::after {
    content: none;
}
body.woocommerce-cart .shipping-calculator-form {
    margin-top: 10px;
    text-align: left;
}
body.woocommerce-cart .shipping-calculator-form .form-row {
    margin: 0 0 8px;
    padding: 0;
}
body.woocommerce-cart .shipping-calculator-form .button {
    width: 100%;
}

body.woocommerce-cart .kst-cart2-summary__checkout {
    margin-top: 18px;
}
body.woocommerce-cart .kst-cart2-summary__checkout .wc-proceed-to-checkout {
    padding: 0;
}
body.woocommerce-cart .kst-cart2-summary__checkout a.checkout-button {
    display: flex;
    width: 100%;
    min-height: 54px;
    margin: 0;
    font-size: 14px;
}
body.woocommerce-cart .kst-cart2-summary__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin-top: 14px;
    color: var(--kc-muted);
    font-size: 12px;
    line-height: 1.4;
}
body.woocommerce-cart .kst-cart2-summary__trust span::before {
    display: inline-block;
    margin-right: 6px;
    color: var(--kc-pink);
    content: "\2713";
}

/* --------------------------------------------------------------------------
   Cart: recommendations
   -------------------------------------------------------------------------- */
body.woocommerce-cart .kst-cart2-recs {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--kc-line);
}

/* Empty cart */
body.woocommerce-cart .wc-empty-cart-message {
    margin: 0;
}
body.woocommerce-cart .cart-empty.woocommerce-info {
    justify-content: flex-start;
    font-size: 16px;
}
body.woocommerce-cart .return-to-shop {
    margin: 18px 0 0;
}
body.woocommerce-cart .return-to-shop .button {
    min-height: 48px;
}

/* --------------------------------------------------------------------------
   Checkout: coupon toggle + form
   -------------------------------------------------------------------------- */
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    justify-content: flex-start;
}
body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 16px 18px;
    border: 1px solid var(--kc-line);
    border-radius: var(--kc-radius);
    background: rgba(255, 255, 255, .02);
}
body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon[style*="display:none"],
body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon[style*="display: none"] {
    display: none;
}
body.woocommerce-checkout form.checkout_coupon .form-row {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
}
body.woocommerce-checkout form.checkout_coupon .form-row-first {
    min-width: 0;
    flex: 1 1 260px;
}
body.woocommerce-checkout form.checkout_coupon .form-row-last {
    flex: 0 0 auto;
}
body.woocommerce-checkout form.checkout_coupon .clear {
    display: none;
}

/* --------------------------------------------------------------------------
   Checkout: layout
   -------------------------------------------------------------------------- */
body.woocommerce-checkout form.kst-checkout2 {
    margin: 0;
}
body.woocommerce-checkout .kst-checkout2__layout {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}
body.woocommerce-checkout .kst-checkout2__main {
    min-width: 0;
    flex: 1 1 auto;
}
body.woocommerce-checkout .kst-checkout2__sidebar {
    position: sticky;
    top: 104px;
    box-sizing: border-box;
    width: 440px;
    flex: 0 0 440px;
    padding: 24px;
    border: 1px solid var(--kc-accent-line);
    border-radius: var(--kc-radius);
    background: linear-gradient(165deg, rgba(26, 20, 30, .96), rgba(11, 11, 15, .98));
    box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}
body.woocommerce-checkout .kst-checkout2__intro {
    margin-bottom: 18px;
}
body.woocommerce-checkout .kst-checkout2__intro h2,
body.woocommerce-checkout .kst-checkout2__sidebar-head h2 {
    font-size: 26px;
    line-height: 1.15;
}
body.woocommerce-checkout .kst-checkout2__intro p,
body.woocommerce-checkout .kst-checkout2__sidebar-head p {
    margin: 6px 0 0;
    color: var(--kc-muted);
    font-size: 14px;
    line-height: 1.5;
}
body.woocommerce-checkout .kst-checkout2__sidebar-head {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--kc-line);
}
body.woocommerce-checkout .kst-checkout2__customer.col2-set {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 16px;
}
body.woocommerce-checkout .kst-checkout2__customer::before,
body.woocommerce-checkout .kst-checkout2__customer::after {
    content: none;
}
body.woocommerce-checkout .kst-checkout2__customer .col-1,
body.woocommerce-checkout .kst-checkout2__customer .col-2 {
    float: none;
    width: 100%;
    max-width: none;
}
body.woocommerce-checkout .kst-checkout2__section {
    box-sizing: border-box;
    padding: 24px;
    border: 1px solid var(--kc-line);
    border-radius: var(--kc-radius);
    background: linear-gradient(145deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
}
body.woocommerce-checkout .kst-checkout2__section h3 {
    margin: 0 0 18px;
    font-size: 20px;
    line-height: 1.25;
}

/* Field rows: pairs on wide screens, one column on phones. */
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-account-fields .create-account {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px;
}
body.woocommerce-checkout .woocommerce form .form-row {
    float: none;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    flex: 1 1 100%;
    margin: 0;
    padding: 0;
}
body.woocommerce-checkout .woocommerce form .form-row.form-row-first,
body.woocommerce-checkout .woocommerce form .form-row.form-row-last,
body.woocommerce-checkout #billing_postcode_field,
body.woocommerce-checkout #billing_city_field,
body.woocommerce-checkout #billing_phone_field,
body.woocommerce-checkout #billing_email_field,
body.woocommerce-checkout #shipping_postcode_field,
body.woocommerce-checkout #shipping_city_field {
    width: calc(50% - 8px);
    flex: 1 1 calc(50% - 8px);
}
body.woocommerce-checkout #billing_postcode_field,
body.woocommerce-checkout #shipping_postcode_field {
    max-width: 220px;
}
body.woocommerce-checkout .woocommerce form .form-row label {
    display: block;
    margin: 0 0 7px;
    color: var(--kc-soft);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}
body.woocommerce-checkout .woocommerce form .form-row label.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
body.woocommerce-checkout .woocommerce form .form-row .required {
    color: var(--kc-pink);
    text-decoration: none;
}
body.woocommerce-checkout .woocommerce form .form-row .optional {
    color: var(--kc-muted);
    font-weight: 500;
}
body.woocommerce-checkout .woocommerce form .form-row .woocommerce-input-wrapper {
    display: block;
}
body.woocommerce-checkout .woocommerce form .form-row .woocommerce-input-wrapper strong {
    display: flex;
    min-height: 48px;
    box-sizing: border-box;
    align-items: center;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    color: #fff;
    background: rgba(255, 255, 255, .03);
    font-size: 15px;
    font-weight: 600;
}
body.woocommerce-checkout .woocommerce form .form-row.woocommerce-invalid input.input-text,
body.woocommerce-checkout .woocommerce form .form-row.woocommerce-invalid select {
    border-color: rgba(255, 86, 120, .75);
}
body.woocommerce-checkout .woocommerce form .form-row.woocommerce-validated input.input-text {
    border-color: rgba(255, 255, 255, .14);
}
body.woocommerce-checkout .woocommerce form .form-row .checkout-inline-error-message {
    margin: 6px 0 0;
    color: #ff8aa6;
    font-size: 12px;
}
body.woocommerce-checkout #billing_address_2_field > label.screen-reader-text + .woocommerce-input-wrapper,
body.woocommerce-checkout #shipping_address_2_field > label.screen-reader-text + .woocommerce-input-wrapper {
    margin-top: -6px;
}

/* Select2 / selectWoo country and state pickers. */
body.woocommerce-checkout .select2-container .select2-selection--single {
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    background: var(--kc-field);
}
body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0 38px 0 14px;
    color: #fff;
    font-size: 15px;
    line-height: 46px;
}
body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow {
    top: 1px;
    right: 8px;
    height: 46px;
}
body.woocommerce-checkout .select2-dropdown {
    border-color: rgba(255, 91, 209, .35);
    color: #fff;
    background: #141418;
}
body.woocommerce-checkout .select2-results__option {
    padding: 9px 14px;
}
body.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[aria-selected],
body.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[data-selected] {
    background: #b400cc;
}
body.woocommerce-checkout .select2-search--dropdown .select2-search__field {
    border-color: rgba(255, 255, 255, .16);
    color: #fff;
    background: var(--kc-field);
}

/* Ship to a different address + account creation checkboxes. */
body.woocommerce-checkout #ship-to-different-address {
    margin: 0;
    font-size: 16px;
}
body.woocommerce-checkout #ship-to-different-address label,
body.woocommerce-checkout .woocommerce-account-fields label.checkbox,
body.woocommerce-checkout .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    cursor: pointer;
}
body.woocommerce-checkout #payment input[type="radio"] {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin: 1px 0 0;
    accent-color: #e30be2;
}
body.woocommerce-checkout .woocommerce form input[type="checkbox"] {
    display: inline-block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin: 0;
    border: 1.5px solid rgba(255, 91, 209, .62);
    border-radius: 6px;
    background: #0a0a0d no-repeat center / 12px 12px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: background-color .15s ease, border-color .15s ease;
}
body.woocommerce-checkout .woocommerce form input[type="checkbox"]:checked {
    border-color: #ff78f2;
    background-color: #e30be2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.3 4.8 8.8 9.8 3.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body.woocommerce-checkout .woocommerce form input[type="checkbox"]:focus-visible {
    outline: 2px solid rgba(255, 91, 209, .65);
    outline-offset: 2px;
}
body.woocommerce-checkout .woocommerce form .form-row label.woocommerce-form__label-for-checkbox {
    position: relative;
    display: block;
    min-height: 20px;
    margin: 0;
    padding-left: 30px;
    color: #fff;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
}
body.woocommerce-checkout .woocommerce form .form-row label.woocommerce-form__label-for-checkbox > input[type="checkbox"] {
    position: absolute;
    top: 0;
    left: 0;
}
body.woocommerce-checkout .woocommerce-invalid #terms {
    border-color: #ff5f86;
    outline: 0;
}
body.woocommerce-checkout .shipping_address {
    margin-top: 18px;
}
body.woocommerce-checkout .woocommerce-additional-fields {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--kc-line);
}
body.woocommerce-checkout .woocommerce-additional-fields > h3 {
    display: none;
}
body.woocommerce-checkout .woocommerce-account-fields {
    margin-top: 18px;
}

/* --------------------------------------------------------------------------
   Checkout: order review
   -------------------------------------------------------------------------- */
body.woocommerce-checkout .kst-checkout2__review {
    margin-top: 4px;
}
body.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table {
    display: block;
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
body.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table thead {
    display: none;
}
body.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table tbody,
body.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table tfoot {
    display: block;
}
body.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--kc-line);
}
body.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table td {
    display: block;
    padding: 0;
    border: 0;
    color: #fff;
    background: transparent;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
}
body.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table td.product-name {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}
body.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table td.product-total {
    flex: 0 0 auto;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}
body.woocommerce-checkout .kustik-checkout-product {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}
body.woocommerce-checkout .kustik-checkout-product__image {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    overflow: hidden;
    border-radius: 10px;
    background: #f3f3f5;
}
body.woocommerce-checkout .kustik-checkout-product__image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 5px;
    box-sizing: border-box;
    object-fit: contain;
}
body.woocommerce-checkout .kustik-checkout-product__name {
    min-width: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-quantity {
    flex: 0 0 auto;
    color: var(--kc-muted);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .variation {
    margin: 2px 0 0;
    color: var(--kc-muted);
    font-size: 12px;
}
body.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table tfoot th {
    flex: 0 0 auto;
    color: var(--kc-soft);
    font-weight: 600;
}
body.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table tfoot td {
    min-width: 0;
    flex: 1 1 auto;
    font-weight: 700;
    text-align: right;
}
body.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals {
    align-items: flex-start;
}
body.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table tr.order-total {
    padding: 18px 0 16px;
    border-bottom: 0;
}
body.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table tr.order-total th {
    color: #fff;
    font-size: 17px;
    font-weight: 800;
}
body.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table tr.order-total td strong {
    display: block;
    color: #fff;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 800;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart-discount td,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart-discount td .amount {
    color: #6ee7a8;
}

/* --------------------------------------------------------------------------
   Checkout: payment
   -------------------------------------------------------------------------- */
body.woocommerce-checkout #payment.woocommerce-checkout-payment {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
body.woocommerce-checkout #payment ul.payment_methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
    list-style: none;
}
body.woocommerce-checkout #payment ul.payment_methods::before,
body.woocommerce-checkout #payment ul.payment_methods::after {
    content: none;
}
body.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid var(--kc-line-strong);
    border-radius: 12px;
    background: rgba(255, 255, 255, .025);
    line-height: 1.4;
    transition: border-color .16s ease, background-color .16s ease;
}
body.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method:has(input:checked) {
    border-color: rgba(255, 91, 209, .6);
    background: rgba(149, 1, 200, .12);
}
body.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method > input[type="radio"] {
    float: left;
    margin: 2px 12px 0 0;
}
body.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method > label {
    display: block;
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}
body.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method > label img {
    max-height: 24px;
    margin: 0 0 0 8px;
    vertical-align: middle;
}
body.woocommerce-checkout #payment div.payment_box {
    clear: both;
    width: auto;
    margin: 10px 0 0 30px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--kc-muted);
    background: transparent;
    font-size: 13px;
    line-height: 1.5;
}
body.woocommerce-checkout #payment div.payment_box::before {
    content: none;
}
body.woocommerce-checkout #payment div.payment_box p {
    margin: 0;
    color: var(--kc-muted);
    font-size: 13px;
    line-height: 1.5;
}
body.woocommerce-checkout #payment ul.payment_methods > li.woocommerce-notice,
body.woocommerce-checkout #payment ul.payment_methods > li .woocommerce-info {
    margin: 0;
    padding: 14px 16px 14px 50px;
    border: 1px solid rgba(255, 86, 120, .42);
    border-radius: 12px;
    background: rgba(255, 60, 100, .08);
    font-size: 13px;
}
body.woocommerce-checkout #payment div.form-row.place-order {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--kc-line);
}
body.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
}
body.woocommerce-checkout #payment .woocommerce-privacy-policy-text p {
    margin: 0;
    color: var(--kc-muted);
    font-size: 12px;
    line-height: 1.55;
}
body.woocommerce-checkout #payment .woocommerce-privacy-policy-text a,
body.woocommerce-checkout #payment .woocommerce-terms-and-conditions-checkbox-text a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(255, 91, 209, .55);
    text-underline-offset: 2px;
}
body.woocommerce-checkout #payment .validate-required {
    margin: 0;
    padding: 0;
}
body.woocommerce-checkout #payment .woocommerce-terms-and-conditions-checkbox-text {
    color: #fff;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
}
body.woocommerce-checkout #payment .woocommerce-terms-and-conditions {
    max-height: 260px;
    overflow: auto;
    padding: 14px;
    border: 1px solid var(--kc-line);
    border-radius: 10px;
    color: var(--kc-soft);
    background: var(--kc-field);
    font-size: 13px;
}
body.woocommerce-checkout #payment #place_order {
    float: none;
    display: flex;
    width: 100%;
    min-height: 56px;
    margin: 0;
    font-size: 15px;
}
body.woocommerce-checkout .kst-checkout2-trust {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid var(--kc-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .02);
}
body.woocommerce-checkout .kst-checkout2-trust strong {
    color: #fff;
    font-size: 14px;
}
body.woocommerce-checkout .kst-checkout2-trust span {
    color: var(--kc-muted);
    font-size: 13px;
    line-height: 1.5;
}
body.woocommerce-checkout .blockUI.blockOverlay {
    border-radius: var(--kc-radius);
    background: rgba(10, 10, 13, .6);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
    body.woocommerce-cart .kst-cart2__sidebar {
        width: 350px;
        flex-basis: 350px;
    }
    body.woocommerce-checkout .kst-checkout2__sidebar {
        width: 400px;
        flex-basis: 400px;
    }
    body.woocommerce-cart .kst-cart2-item__body {
        flex-wrap: wrap;
    }
    body.woocommerce-cart .kst-cart2-item__product {
        flex: 1 1 100%;
    }
    body.woocommerce-cart .kst-cart2-item__details {
        width: 100%;
        justify-content: space-between;
    }
    body.woocommerce-cart .kst-cart2-item {
        align-items: flex-start;
    }
}

@media (max-width: 1023px) {
    body.woocommerce-cart .kst-cart2,
    body.woocommerce-checkout .kst-checkout2__layout {
        flex-direction: column;
        align-items: stretch;
    }
    body.woocommerce-cart .kst-cart2__sidebar,
    body.woocommerce-checkout .kst-checkout2__sidebar {
        position: static;
        width: 100%;
        flex: 1 1 auto;
    }
    body.woocommerce-cart .kst-cart2-item__body {
        flex-wrap: nowrap;
    }
    body.woocommerce-cart .kst-cart2-item__product {
        flex: 1 1 auto;
    }
    body.woocommerce-cart .kst-cart2-item__details {
        width: auto;
    }
    body.woocommerce-cart .kst-cart2-item {
        align-items: center;
    }
}

@media (max-width: 767px) {
    body.woocommerce-cart .kustik-page-hero h1,
    body.woocommerce-checkout .kustik-page-hero h1 {
        font-size: 34px;
    }
    /* Phone: image + name on the first line, price / quantity / value on the second. */
    body.woocommerce-cart .kst-cart2-item {
        flex-wrap: wrap;
        align-items: center;
        gap: 14px;
        padding: 14px;
    }
    body.woocommerce-cart .kst-cart2-item__media {
        width: 76px;
        height: 76px;
        flex-basis: 76px;
    }
    body.woocommerce-cart .kst-cart2-item__body {
        display: contents;
    }
    body.woocommerce-cart .kst-cart2-item__product {
        flex: 1 1 calc(100% - 90px);
        padding-right: 40px;
    }
    body.woocommerce-cart .kst-cart2-item__title,
    body.woocommerce-cart .kst-cart2-item__title a {
        font-size: 15px;
    }
    body.woocommerce-cart .kst-cart2-item__details {
        width: 100%;
        flex: 1 1 100%;
        box-sizing: border-box;
        justify-content: space-between;
        gap: 10px;
        padding-top: 12px;
        border-top: 1px solid var(--kc-line);
    }
    body.woocommerce-cart .kst-cart2-item__detail--price,
    body.woocommerce-cart .kst-cart2-item__detail--subtotal {
        width: auto;
        min-width: 70px;
    }
    body.woocommerce-cart .kst-cart2-item__detail > strong {
        font-size: 15px;
    }
    body.woocommerce-cart .kst-cart2-item__qty .quantity {
        width: 116px;
    }
    body.woocommerce-cart .kst-cart2-item__qty .kustik-qty-control__button {
        width: 36px;
        min-width: 36px;
    }
    body.woocommerce-cart .kst-cart2-item__remove-wrap {
        top: 12px;
        right: 12px;
    }
    body.woocommerce-cart .kst-cart2-actions > .kst-cart2-update {
        width: 100%;
    }
    body.woocommerce-cart .kst-cart2-coupon {
        flex-basis: 100%;
    }
    body.woocommerce-cart .kst-cart2-coupon__form {
        flex-basis: 100%;
    }
    /* The summary already lists payments and returns; keep the phone cart short. */
    body.woocommerce-cart .kst-cart2-service {
        display: none;
    }
    body.woocommerce-cart .kst-cart2-progress > small {
        flex-basis: 100%;
    }
    body.woocommerce-cart .kst-cart2-summary,
    body.woocommerce-checkout .kst-checkout2__sidebar,
    body.woocommerce-checkout .kst-checkout2__section {
        padding: 18px;
    }
    body.woocommerce-cart .kst-cart2-recs {
        margin-top: 40px;
        padding-top: 30px;
    }
    body.woocommerce-checkout .woocommerce form .form-row.form-row-first,
    body.woocommerce-checkout .woocommerce form .form-row.form-row-last,
    body.woocommerce-checkout #billing_phone_field,
    body.woocommerce-checkout #billing_email_field {
        width: 100%;
        flex-basis: 100%;
    }
    body.woocommerce-checkout #billing_postcode_field,
    body.woocommerce-checkout #shipping_postcode_field {
        max-width: 150px;
        flex: 0 0 130px;
    }
    body.woocommerce-checkout #billing_city_field,
    body.woocommerce-checkout #shipping_city_field {
        width: auto;
        flex: 1 1 140px;
    }
    body.woocommerce-checkout .kst-checkout2__intro h2,
    body.woocommerce-checkout .kst-checkout2__sidebar-head h2,
    body.woocommerce-cart .kst-cart2-summary__head h2 {
        font-size: 22px;
    }
    body.woocommerce-cart .woocommerce-message,
    body.woocommerce-checkout .woocommerce-message,
    body.woocommerce-cart .woocommerce-info,
    body.woocommerce-checkout .woocommerce-info {
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    body.woocommerce-cart .kst-cart2-coupon__form {
        flex-wrap: wrap;
    }
    body.woocommerce-cart .kst-cart2-coupon__form .button {
        width: 100%;
    }
}

/* Transaction pages: the title and the content share one centred 1500px column. */
body.woocommerce-cart .kustik-content-page__section,
body.woocommerce-checkout .kustik-content-page__section,
body.woocommerce-cart .kustik-page-hero__inner,
body.woocommerce-checkout .kustik-page-hero__inner {
    max-width: 1500px;
}

/* Light "Zobacz cały sklep" button: the generic commerce link colour must not reach it. */
body.kustik-commerce-flow .kst-cart2-recs a.kustik-button--light,
body.kustik-commerce-flow .kst-cart2-recs a.kustik-button--light:hover {
    color: #202127;
}

/* Coupon errors (cart and checkout): WooCommerce prints dark red text; make it readable on the dark UI. */
body.kustik-commerce-flow .coupon-error-notice {
    display: flex;
    width: 100%;
    flex: 1 1 100%;
    box-sizing: border-box;
    align-items: center;
    gap: 10px;
    margin: 4px 0 0;
    padding: 10px 14px;
    border: 1px solid rgba(255, 95, 134, .55);
    border-radius: 10px;
    color: #ffd0dc;
    background: rgba(255, 60, 100, .12);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
}
body.kustik-commerce-flow .coupon-error-notice::before {
    display: inline-flex;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: #d43760;
    font-size: 12px;
    font-weight: 800;
    content: "!";
}
body.kustik-commerce-flow #coupon_code.has-error {
    border-color: #ff5f86;
    box-shadow: 0 0 0 3px rgba(255, 95, 134, .18);
}
/* Checkout coupon error: WooCommerce's rule (.woocommerce form.checkout_coupon .coupon-error-notice) is stronger. */
body.kustik-commerce-flow .woocommerce form.checkout_coupon .coupon-error-notice {
    display: flex;
    margin: 4px 0 0;
    color: #ffd0dc;
    font-size: 14px;
}

body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon {
    align-items: flex-start;
}
body.woocommerce-checkout form.checkout_coupon .form-row-last .button {
    min-height: 48px;
}
/* One payment method: WooCommerce hides its radio, so the description is not indented. */
body.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method:only-child > div.payment_box {
    margin-left: 0;
}
/* Remove: a clear "Usuń" key at the end of the row (WooCommerce's a.remove is a 1em-wide glyph). */
body.woocommerce-cart .kst-cart2-item {
    padding-right: 16px;
}
body.woocommerce-cart .kst-cart2-item__remove-wrap {
    position: static;
    flex: 0 0 auto;
}
body.woocommerce-cart .kst-cart2-item a.kst-cart2-item__remove.remove {
    width: auto;
    box-sizing: border-box;
}
@media (max-width: 767px) {
    body.woocommerce-cart .kst-cart2-item {
        padding-right: 58px;
    }
    body.woocommerce-cart .kst-cart2-item__remove-wrap {
        position: absolute;
        top: 12px;
        right: 12px;
    }
    body.woocommerce-cart .kst-cart2-item a.kst-cart2-item__remove.remove {
        width: 36px;
        height: 36px;
        justify-content: center;
        padding: 0;
    }
    body.woocommerce-cart .kst-cart2-item__remove-icon {
        width: 17px;
        height: 17px;
        flex-basis: 17px;
    }
    body.woocommerce-cart .kst-cart2-item__remove-label {
        display: none;
    }
}
/* WooCommerce forces a red text colour on a.remove, so the icon and label carry their own colour. */
body.woocommerce-cart .kst-cart2-item__remove-label {
    color: #ffc2d1;
}
body.woocommerce-cart .kst-cart2-item .kst-cart2-item__remove-icon {
    background: #ffc2d1;
}
body.woocommerce-cart .kst-cart2-item a.kst-cart2-item__remove.remove:is(:hover, :focus-visible) :is(.kst-cart2-item__remove-label, .kst-cart2-item__remove-icon) {
    color: #fff;
    background-color: #fff;
}
body.woocommerce-cart .kst-cart2-item a.kst-cart2-item__remove.remove:is(:hover, :focus-visible) .kst-cart2-item__remove-label {
    background-color: transparent;
}

/* --------------------------------------------------------------------------
   2.12.2: notices with an action ("Usunięto ... Cofnij"), empty cart
   -------------------------------------------------------------------------- */
body.kustik-commerce-flow :is(.woocommerce-message, .woocommerce-info)::after {
    content: none;
}
body.kustik-commerce-flow .woocommerce-message .restore-item {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    margin-left: auto;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, .06);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
    transition: border-color .16s ease, background-color .16s ease;
}
body.kustik-commerce-flow .woocommerce-message .restore-item:hover,
body.kustik-commerce-flow .woocommerce-message .restore-item:focus-visible {
    border-color: #ff78f2;
    background: rgba(229, 0, 241, .18);
    outline: 0;
}
.kst-cart-empty {
    margin: 4px 0 0;
}
.kst-cart-empty__card {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 28px 40px;
    overflow: hidden;
    padding: 40px;
    border: 1px solid rgba(255, 91, 209, .22);
    border-radius: 18px;
    background: radial-gradient(circle at 12% 0, rgba(229, 0, 241, .16), rgba(229, 0, 241, 0) 45%), linear-gradient(165deg, rgba(26, 20, 30, .96), rgba(11, 11, 15, .98));
}
.kst-cart-empty__icon {
    display: flex;
    width: 88px;
    height: 88px;
    flex: 0 0 88px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 120, 242, .55);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 78, 236, .22), rgba(180, 0, 204, .12));
    box-shadow: 0 0 40px rgba(229, 0, 241, .2);
}
.kst-cart-empty__icon .kustik-icon {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}
.kst-cart-empty__copy {
    min-width: 0;
    flex: 1 1 380px;
}
.kst-cart-empty__copy h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
}
.kst-cart-empty__copy p {
    max-width: 560px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
    line-height: 1.6;
}
.kst-cart-empty__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.kst-cart-empty__actions .kustik-button {
    min-height: 50px;
    padding: 0 26px;
}
.kst-cart-empty__categories {
    flex: 1 1 100%;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}
.kst-cart-empty__categories > span {
    display: block;
    margin: 0 0 14px;
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.kst-cart-empty__categories > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.kst-cart-empty__categories .kst-key {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 0 16px 3px;
    font-size: 12px;
    font-weight: 700;
}
.kst-cart-empty__picks {
    padding-top: 56px;
}
@media (max-width: 640px) {
    .kst-cart-empty__card {
        gap: 20px;
        padding: 24px 18px;
    }
    .kst-cart-empty__icon {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
        border-radius: 18px;
    }
    .kst-cart-empty__icon .kustik-icon {
        width: 30px;
        height: 30px;
    }
    .kst-cart-empty__copy h2 {
        font-size: 24px;
    }
    .kst-cart-empty__actions .kustik-button {
        width: 100%;
    }
}
.kst-cart-empty__categories .kst-key,
.kst-cart-empty__categories .kst-key span {
    color: #29282d;
}
.kst-cart-empty__categories .kst-key:hover,
.kst-cart-empty__categories .kst-key:focus-visible {
    color: #16161a;
}
/* Empty cart, centred like the 404 / account cards (2.12.3). */
.kst-cart-empty__card {
    max-width: 860px;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    margin: 0 auto;
    padding: 48px 40px 40px;
    text-align: center;
    background: radial-gradient(circle at 50% 0, rgba(229, 0, 241, .18), rgba(229, 0, 241, 0) 55%), linear-gradient(165deg, rgba(26, 20, 30, .96), rgba(11, 11, 15, .98));
}
.kst-cart-empty__copy {
    flex: 0 0 auto;
    width: 100%;
}
.kst-cart-empty__copy p {
    margin-right: auto;
    margin-left: auto;
}
.kst-cart-empty__actions {
    justify-content: center;
}
.kst-cart-empty__actions .kustik-button--light,
.kst-cart-empty__actions .kustik-button--light:hover,
.kst-cart-empty__actions .kustik-button--light:focus-visible {
    color: #202127;
    text-shadow: none;
}
.kst-cart-empty__categories {
    width: 100%;
}
.kst-cart-empty__categories > div {
    justify-content: center;
}
@media (max-width: 640px) {
    .kst-cart-empty__card {
        padding: 30px 18px 26px;
    }
}
