/*
 * Pan Czesanka — Cart & Checkout Experience PRO
 * Page-scoped styles only. The selectors deliberately start with .pcse-ccx.
 */

body.pcse-ccx {
    --pcse-ccx-bg: #fbfdf9;
    --pcse-ccx-card: #ffffff;
    --pcse-ccx-cream: #fff8ea;
    --pcse-ccx-mint: #e8f4ec;
    --pcse-ccx-pink: #fbe8ec;
    --pcse-ccx-yellow: #f6d968;
    --pcse-ccx-coral: #e86f7d;
    --pcse-ccx-ink: #214f4e;
    --pcse-ccx-muted: #69817f;
    --pcse-ccx-line: rgba(33,79,78,.11);
    --pcse-ccx-shadow: 0 18px 48px rgba(44,78,77,.10);
    background: var(--pcse-ccx-bg);
    color: var(--pcse-ccx-ink);
}

body.pcse-ccx .main-page-wrapper,
body.pcse-ccx .site-content,
body.pcse-ccx .content-layout-wrapper {
    background: transparent;
}

body.pcse-ccx .woocommerce {
    width: min(100% - 40px, 1380px);
    max-width: 1380px;
    margin-inline: auto;
    color: var(--pcse-ccx-ink);
}

body.pcse-ccx .woocommerce-notices-wrapper,
body.pcse-ccx .woocommerce-form-coupon-toggle,
body.pcse-ccx .woocommerce-form-login-toggle {
    width: min(100% - 40px, 1380px);
    margin-inline: auto;
}

body.pcse-ccx .woocommerce-message,
body.pcse-ccx .woocommerce-info,
body.pcse-ccx .woocommerce-error {
    margin: 18px 0;
    padding: 16px 18px 16px 52px;
    border: 1px solid var(--pcse-ccx-line);
    border-radius: 16px;
    background: #fff;
    color: var(--pcse-ccx-ink);
    box-shadow: 0 10px 30px rgba(44,78,77,.07);
}

body.pcse-ccx .woocommerce-info {
    border-color: rgba(159,207,197,.5);
    background: var(--pcse-ccx-mint);
}

body.pcse-ccx .woocommerce-error {
    border-color: rgba(232,111,125,.38);
    background: var(--pcse-ccx-pink);
}

/* Process hero */
.pcse-ccx-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(480px,.9fr);
    align-items: center;
    gap: 48px;
    width: min(100%, 1380px);
    margin: 34px auto 30px;
    padding: clamp(26px,3.2vw,46px);
    border: 1px solid var(--pcse-ccx-line);
    border-radius: 30px;
    background:
        radial-gradient(circle at 93% 8%, rgba(246,200,208,.62), transparent 28%),
        radial-gradient(circle at 4% 96%, rgba(246,217,104,.40), transparent 23%),
        linear-gradient(135deg,#edf8f1 0%,#fffaf0 68%,#fff 100%);
    box-shadow: var(--pcse-ccx-shadow);
}

.pcse-ccx-hero::after {
    content: "";
    position: absolute;
    right: -52px;
    top: -78px;
    width: 190px;
    height: 190px;
    border: 22px solid rgba(255,255,255,.42);
    border-radius: 48% 52% 60% 40%;
    transform: rotate(-18deg);
    pointer-events: none;
}

.pcse-ccx-hero__copy {
    position: relative;
    z-index: 1;
}

.pcse-ccx-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--pcse-ccx-coral);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .13em;
}

.pcse-ccx-hero h1 {
    margin: 0;
    color: var(--pcse-ccx-ink);
    font-size: clamp(34px,4vw,60px);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -.05em;
}

.pcse-ccx-hero p {
    max-width: 650px;
    margin: 15px 0 0;
    color: var(--pcse-ccx-muted);
    font-size: clamp(14px,1.15vw,17px);
    line-height: 1.65;
}

.pcse-ccx-steps {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pcse-ccx-step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 68px;
    padding: 12px 14px;
    border: 1px solid rgba(33,79,78,.09);
    border-radius: 18px;
    background: rgba(255,255,255,.68);
    color: var(--pcse-ccx-muted);
}

.pcse-ccx-step__number {
    display: grid;
    flex: 0 0 34px;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #f1f5f3;
    color: var(--pcse-ccx-muted);
    font-size: 11px;
    font-weight: 900;
}

.pcse-ccx-step__label {
    min-width: 0;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;
}

.pcse-ccx-step.is-active {
    border-color: rgba(232,111,125,.30);
    background: var(--pcse-ccx-pink);
    color: var(--pcse-ccx-ink);
    box-shadow: 0 10px 26px rgba(232,111,125,.12);
}

.pcse-ccx-step.is-active .pcse-ccx-step__number {
    background: var(--pcse-ccx-coral);
    color: #fff;
}

.pcse-ccx-step.is-complete {
    background: var(--pcse-ccx-mint);
    color: var(--pcse-ccx-ink);
}

.pcse-ccx-step.is-complete .pcse-ccx-step__number {
    background: #9fcfc5;
    color: #fff;
}

/* Shared controls */
body.pcse-ccx button,
body.pcse-ccx input,
body.pcse-ccx select,
body.pcse-ccx textarea {
    font-family: inherit;
}

body.pcse-ccx .button,
body.pcse-ccx button.button,
body.pcse-ccx input.button,
body.pcse-ccx #place_order {
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--pcse-ccx-yellow);
    color: var(--pcse-ccx-ink);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .01em;
    box-shadow: none;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

body.pcse-ccx .button:hover,
body.pcse-ccx button.button:hover,
body.pcse-ccx input.button:hover,
body.pcse-ccx #place_order:hover {
    background: #ffe27a;
    color: var(--pcse-ccx-ink);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(246,217,104,.30);
}

body.pcse-ccx .button:focus-visible,
body.pcse-ccx button.button:focus-visible,
body.pcse-ccx input.button:focus-visible,
body.pcse-ccx #place_order:focus-visible {
    outline: 3px solid rgba(232,111,125,.34);
    outline-offset: 3px;
}

body.pcse-ccx .button[disabled],
body.pcse-ccx button.button[disabled],
body.pcse-ccx input.button[disabled] {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
}

/* Free-shipping card */
.pcse-ccx-shipping-progress {
    margin: 0 0 20px;
    padding: 15px;
    border: 1px solid rgba(246,217,104,.52);
    border-radius: 18px;
    background: var(--pcse-ccx-cream);
}

.pcse-ccx-shipping-progress.is-complete {
    border-color: rgba(159,207,197,.65);
    background: var(--pcse-ccx-mint);
}

.pcse-ccx-shipping-progress__head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pcse-ccx-shipping-progress__icon {
    display: grid;
    flex: 0 0 38px;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: var(--pcse-ccx-yellow);
    color: var(--pcse-ccx-ink);
}

.pcse-ccx-shipping-progress.is-complete .pcse-ccx-shipping-progress__icon {
    background: #9fcfc5;
}

.pcse-ccx-shipping-progress__icon svg {
    width: 20px;
    height: 20px;
}

.pcse-ccx-shipping-progress__head strong,
.pcse-ccx-shipping-progress__head small {
    display: block;
}

.pcse-ccx-shipping-progress__head strong {
    color: var(--pcse-ccx-ink);
    font-size: 12px;
    line-height: 1.3;
}

.pcse-ccx-shipping-progress__head small {
    margin-top: 3px;
    color: var(--pcse-ccx-muted);
    font-size: 10px;
    line-height: 1.4;
}

.pcse-ccx-shipping-progress__track {
    overflow: hidden;
    height: 7px;
    margin-top: 13px;
    border-radius: 999px;
    background: rgba(33,79,78,.08);
}

.pcse-ccx-shipping-progress__track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg,var(--pcse-ccx-coral),#f3a2ad);
    transition: width .35s ease;
}

.pcse-ccx-shipping-progress.is-complete .pcse-ccx-shipping-progress__track span {
    background: linear-gradient(90deg,#79bdb0,#9fcfc5);
}

/* Benefits */
.pcse-ccx-benefits {
    display: grid;
    gap: 9px;
    margin-top: 16px;
}

.pcse-ccx-benefit {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 10px 11px;
    border-radius: 14px;
    background: rgba(232,244,236,.68);
}

.pcse-ccx-benefit:nth-child(2) { background: rgba(255,248,234,.78); }
.pcse-ccx-benefit:nth-child(3) { background: rgba(251,232,236,.72); }

.pcse-ccx-benefit__icon {
    display: grid;
    flex: 0 0 32px;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 11px;
    background: #fff;
    color: var(--pcse-ccx-ink);
}

.pcse-ccx-benefit__icon svg {
    width: 17px;
    height: 17px;
}

.pcse-ccx-benefit strong,
.pcse-ccx-benefit small {
    display: block;
}

.pcse-ccx-benefit strong {
    color: var(--pcse-ccx-ink);
    font-size: 10px;
    line-height: 1.25;
}

.pcse-ccx-benefit small {
    margin-top: 2px;
    color: var(--pcse-ccx-muted);
    font-size: 8px;
    line-height: 1.35;
}

/* CART */
body.pcse-ccx-cart .woocommerce-cart-form,
body.pcse-ccx-cart .cart-collaterals {
    margin-top: 0;
}

body.pcse-ccx-cart .woocommerce-cart-form {
    float: left;
    width: calc(100% - 430px);
    padding-right: 28px;
}

body.pcse-ccx-cart .cart-collaterals {
    float: right;
    width: 430px;
}

body.pcse-ccx-cart .woocommerce::after {
    content: "";
    display: table;
    clear: both;
}

body.pcse-ccx-cart table.shop_table.cart {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0 14px;
    background: transparent;
}

body.pcse-ccx-cart table.shop_table.cart thead th {
    padding: 0 14px 5px;
    border: 0;
    color: var(--pcse-ccx-muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.pcse-ccx-cart table.shop_table.cart tr.cart_item {
    --pcse-row-bg: var(--pcse-ccx-cream);
}

body.pcse-ccx-cart table.shop_table.cart tr.cart_item:nth-child(3n+2) { --pcse-row-bg: var(--pcse-ccx-mint); }
body.pcse-ccx-cart table.shop_table.cart tr.cart_item:nth-child(3n+3) { --pcse-row-bg: var(--pcse-ccx-pink); }

body.pcse-ccx-cart table.shop_table.cart tr.cart_item td {
    padding: 18px 12px;
    border: 0;
    background: var(--pcse-row-bg);
    vertical-align: middle;
}

body.pcse-ccx-cart table.shop_table.cart tr.cart_item td:first-child {
    border-radius: 22px 0 0 22px;
}

body.pcse-ccx-cart table.shop_table.cart tr.cart_item td:last-child {
    border-radius: 0 22px 22px 0;
}

body.pcse-ccx-cart td.product-remove {
    width: 46px;
    padding-left: 14px !important;
}

body.pcse-ccx-cart td.product-remove a.remove {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(232,111,125,.25);
    border-radius: 10px;
    background: rgba(255,255,255,.74);
    color: var(--pcse-ccx-coral) !important;
    font-size: 19px;
    line-height: 1;
}

body.pcse-ccx-cart td.product-remove a.remove:hover {
    background: var(--pcse-ccx-coral);
    color: #fff !important;
}

body.pcse-ccx-cart td.product-thumbnail {
    width: 106px;
}

body.pcse-ccx-cart td.product-thumbnail img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    padding: 8px;
    border: 1px solid rgba(33,79,78,.08);
    border-radius: 18px;
    background: #fff;
}

body.pcse-ccx-cart td.product-name a {
    color: var(--pcse-ccx-ink);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.35;
}

body.pcse-ccx-cart td.product-name .variation {
    margin: 7px 0 0;
    color: var(--pcse-ccx-muted);
    font-size: 10px;
}

.pcse-ccx-cart-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 8px;
}

.pcse-ccx-cart-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.68);
    color: var(--pcse-ccx-muted);
    font-size: 9px;
    font-weight: 800;
}

.pcse-ccx-cart-meta .is-stock { color: #327d6d; }
.pcse-ccx-cart-meta .is-out { color: var(--pcse-ccx-coral); }

body.pcse-ccx-cart td.product-price,
body.pcse-ccx-cart td.product-subtotal {
    color: var(--pcse-ccx-ink);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

body.pcse-ccx-cart .quantity {
    display: inline-grid;
    grid-template-columns: 34px 42px 34px;
    overflow: hidden;
    min-width: 110px;
    height: 38px;
    border: 1px solid rgba(33,79,78,.12);
    border-radius: 999px;
    background: #fff;
}

body.pcse-ccx-cart .quantity input.qty,
body.pcse-ccx-cart .quantity .minus,
body.pcse-ccx-cart .quantity .plus {
    width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--pcse-ccx-ink);
    box-shadow: none;
    text-align: center;
}

body.pcse-ccx-cart .quantity .minus:hover,
body.pcse-ccx-cart .quantity .plus:hover {
    background: var(--pcse-ccx-yellow);
    transform: none;
    box-shadow: none;
}

body.pcse-ccx-cart .woocommerce-cart-form .actions {
    padding: 16px 0 0;
    border: 0;
    background: transparent;
}

body.pcse-ccx-cart .woocommerce-cart-form .coupon {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(100%,560px);
    padding: 12px;
    border: 1px dashed rgba(33,79,78,.18);
    border-radius: 18px;
    background: #fff;
}

body.pcse-ccx-cart .woocommerce-cart-form .coupon label {
    display: none;
}

body.pcse-ccx-cart .woocommerce-cart-form .coupon input.input-text {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 44px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--pcse-ccx-line);
    border-radius: 12px;
    background: var(--pcse-ccx-cream);
    color: var(--pcse-ccx-ink);
}

body.pcse-ccx-cart button[name="update_cart"] {
    float: right;
    background: var(--pcse-ccx-mint);
}

body.pcse-ccx-cart .woocommerce-cart-form.is-updating {
    opacity: .62;
    pointer-events: none;
}

body.pcse-ccx-cart .cart_totals {
    position: sticky;
    top: 24px;
    width: 100%;
    padding: 24px;
    border: 1px solid var(--pcse-ccx-line);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--pcse-ccx-shadow);
}

body.admin-bar.pcse-ccx-cart .cart_totals { top: 56px; }

body.pcse-ccx-cart .cart_totals h2 {
    margin: 0 0 18px;
    color: var(--pcse-ccx-ink);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -.035em;
}

body.pcse-ccx-cart .cart_totals table.shop_table {
    margin: 0;
    border: 0;
    border-collapse: collapse;
}

body.pcse-ccx-cart .cart_totals table.shop_table th,
body.pcse-ccx-cart .cart_totals table.shop_table td {
    padding: 13px 0;
    border: 0;
    border-bottom: 1px solid var(--pcse-ccx-line);
    background: transparent;
    color: var(--pcse-ccx-ink);
    font-size: 11px;
    vertical-align: top;
}

body.pcse-ccx-cart .cart_totals table.shop_table th {
    width: 36%;
    font-weight: 850;
}

body.pcse-ccx-cart .cart_totals table.shop_table td {
    text-align: right;
}

body.pcse-ccx-cart .cart_totals .order-total th,
body.pcse-ccx-cart .cart_totals .order-total td {
    padding-top: 18px;
    border-bottom: 0;
    font-size: 15px;
    font-weight: 900;
}

body.pcse-ccx-cart .cart_totals .order-total .amount {
    color: var(--pcse-ccx-coral);
    font-size: 24px;
}

body.pcse-ccx ul#shipping_method {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.pcse-ccx ul#shipping_method li {
    position: relative;
    display: grid;
    grid-template-columns: 18px minmax(0,1fr);
    align-items: start;
    gap: 9px;
    margin: 0;
    padding: 10px 11px;
    border: 1px solid var(--pcse-ccx-line);
    border-radius: 13px;
    background: #fff;
    text-align: left;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

body.pcse-ccx ul#shipping_method li.is-selected,
body.pcse-ccx ul#shipping_method li:has(input:checked) {
    border-color: rgba(232,111,125,.36);
    background: var(--pcse-ccx-pink);
    box-shadow: 0 8px 20px rgba(232,111,125,.10);
}

body.pcse-ccx ul#shipping_method input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: var(--pcse-ccx-coral);
}

body.pcse-ccx ul#shipping_method label {
    margin: 0;
    color: var(--pcse-ccx-ink);
    font-size: 10px;
    font-weight: 750;
    line-height: 1.45;
    cursor: pointer;
}

body.pcse-ccx .wc-proceed-to-checkout {
    margin: 20px 0 0;
    padding: 0;
}

body.pcse-ccx .wc-proceed-to-checkout a.checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    margin: 0;
    border-radius: 999px;
    background: var(--pcse-ccx-yellow);
    color: var(--pcse-ccx-ink);
    font-size: 13px;
    font-weight: 900;
}

/* Cross sells / recommendations */
body.pcse-ccx-cart .cross-sells {
    clear: both;
    width: 100%;
    margin-top: 70px;
}

body.pcse-ccx-cart .cross-sells > h2 {
    color: var(--pcse-ccx-ink);
    font-size: clamp(28px,3vw,46px);
    font-weight: 900;
    letter-spacing: -.045em;
}

/* CHECKOUT */
body.pcse-ccx-checkout form.checkout.woocommerce-checkout {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(390px,.72fr);
    grid-template-areas:
        "customer heading"
        "customer shipping"
        "customer review";
    align-items: start;
    gap: 0 34px;
    margin: 0 0 70px;
}

body.pcse-ccx-checkout #customer_details {
    grid-area: customer;
    width: 100%;
    margin: 0;
}

body.pcse-ccx-checkout #customer_details .col-1,
body.pcse-ccx-checkout #customer_details .col-2 {
    float: none;
    width: 100%;
}

body.pcse-ccx-checkout #customer_details .col-1,
body.pcse-ccx-checkout #customer_details .col-2,
body.pcse-ccx-checkout form.checkout_coupon,
body.pcse-ccx-checkout form.login {
    margin-bottom: 22px;
    padding: 28px;
    border: 1px solid var(--pcse-ccx-line);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(44,78,77,.08);
}

body.pcse-ccx-checkout #customer_details .col-1 {
    background: linear-gradient(145deg,#fff 0%,#fffdfa 100%);
}

body.pcse-ccx-checkout #customer_details .col-2 {
    background: linear-gradient(145deg,#fff 0%,#f7fcf8 100%);
}

body.pcse-ccx-checkout .woocommerce-billing-fields > h3,
body.pcse-ccx-checkout .woocommerce-shipping-fields > h3,
body.pcse-ccx-checkout .woocommerce-additional-fields > h3 {
    margin: 0 0 22px;
    color: var(--pcse-ccx-ink);
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -.035em;
}

body.pcse-ccx-checkout .woocommerce-billing-fields > h3::before,
body.pcse-ccx-checkout .woocommerce-additional-fields > h3::before {
    display: block;
    margin-bottom: 8px;
    color: var(--pcse-ccx-coral);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

body.pcse-ccx-checkout .woocommerce-billing-fields > h3::before { content: "DANE KONTAKTOWE I ROZLICZENIOWE"; }
body.pcse-ccx-checkout .woocommerce-additional-fields > h3::before { content: "DODATKOWE INFORMACJE"; }

body.pcse-ccx-checkout .woocommerce-billing-fields__field-wrapper,
body.pcse-ccx-checkout .woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
}

body.pcse-ccx-checkout .form-row {
    float: none !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
}

body.pcse-ccx-checkout .form-row-wide,
body.pcse-ccx-checkout #billing_address_1_field,
body.pcse-ccx-checkout #billing_address_2_field,
body.pcse-ccx-checkout #billing_company_field,
body.pcse-ccx-checkout #billing_country_field,
body.pcse-ccx-checkout #billing_email_field,
body.pcse-ccx-checkout #billing_phone_field,
body.pcse-ccx-checkout #billing_faktura_vat_field,
body.pcse-ccx-checkout #order_comments_field {
    grid-column: 1 / -1;
}

body.pcse-ccx-checkout .form-row label {
    display: block;
    margin: 0 0 7px;
    color: var(--pcse-ccx-ink);
    font-size: 10px;
    font-weight: 850;
    line-height: 1.35;
}

body.pcse-ccx-checkout .form-row label .optional {
    color: var(--pcse-ccx-muted);
    font-weight: 600;
}

body.pcse-ccx-checkout .form-row input.input-text,
body.pcse-ccx-checkout .form-row select,
body.pcse-ccx-checkout .form-row textarea,
body.pcse-ccx-checkout .select2-container .select2-selection--single {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 0 15px;
    border: 1px solid rgba(33,79,78,.15);
    border-radius: 14px;
    background: #fbfdfb;
    color: var(--pcse-ccx-ink);
    font-size: 12px;
    box-shadow: none;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

body.pcse-ccx-checkout .form-row textarea {
    min-height: 128px;
    padding-top: 13px;
    resize: vertical;
}

body.pcse-ccx-checkout .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 9px 22px 9px 0;
    color: var(--pcse-ccx-ink);
    line-height: 30px;
}

body.pcse-ccx-checkout .select2-container .select2-selection--single .select2-selection__arrow {
    top: 10px;
    right: 10px;
}

body.pcse-ccx-checkout .form-row input.input-text:focus,
body.pcse-ccx-checkout .form-row select:focus,
body.pcse-ccx-checkout .form-row textarea:focus,
body.pcse-ccx-checkout .select2-container--focus .select2-selection--single {
    border-color: var(--pcse-ccx-coral);
    background: #fff;
    outline: 0;
    box-shadow: 0 0 0 4px rgba(232,111,125,.10);
}

body.pcse-ccx-checkout .woocommerce-invalid input.input-text,
body.pcse-ccx-checkout .woocommerce-invalid select,
body.pcse-ccx-checkout .woocommerce-invalid .select2-selection {
    border-color: var(--pcse-ccx-coral) !important;
    background: var(--pcse-ccx-pink);
}

body.pcse-ccx-checkout .woocommerce-validated input.input-text,
body.pcse-ccx-checkout .woocommerce-validated select {
    border-color: rgba(74,155,136,.42);
}

body.pcse-ccx-checkout .form-row .input-checkbox,
body.pcse-ccx-checkout .form-row input[type="checkbox"],
body.pcse-ccx-checkout .form-row input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0 7px 0 0;
    accent-color: var(--pcse-ccx-coral);
}

body.pcse-ccx-checkout #billing_faktura_vat_field,
body.pcse-ccx-checkout .woocommerce-account-fields,
body.pcse-ccx-checkout .woocommerce-shipping-fields h3 {
    padding: 13px 14px;
    border: 1px solid var(--pcse-ccx-line);
    border-radius: 14px;
    background: var(--pcse-ccx-cream);
}

body.pcse-ccx-checkout #billing_faktura_vat_field label,
body.pcse-ccx-checkout .woocommerce-account-fields label,
body.pcse-ccx-checkout .woocommerce-shipping-fields h3 label {
    display: flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
}

body.pcse-ccx-checkout #order_review_heading {
    grid-area: heading;
    position: sticky;
    top: 24px;
    z-index: 2;
    margin: 0;
    padding: 25px 25px 17px;
    border: 1px solid var(--pcse-ccx-line);
    border-bottom: 0;
    border-radius: 26px 26px 0 0;
    background: #fff;
    color: var(--pcse-ccx-ink);
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -.035em;
    box-shadow: 0 16px 42px rgba(44,78,77,.08);
}

body.admin-bar.pcse-ccx-checkout #order_review_heading { top: 56px; }

body.pcse-ccx-checkout form.checkout > .pcse-ccx-shipping-progress {
    grid-area: shipping;
    position: sticky;
    top: 91px;
    z-index: 3;
    margin: 0;
    padding: 0 25px 18px;
    border: 1px solid var(--pcse-ccx-line);
    border-top: 0;
    border-bottom: 0;
    border-radius: 0;
    background: #fff;
}

body.admin-bar.pcse-ccx-checkout form.checkout > .pcse-ccx-shipping-progress { top: 123px; }

body.pcse-ccx-checkout #order_review {
    grid-area: review;
    position: sticky;
    top: 189px;
    z-index: 1;
    overflow: hidden;
    margin: 0;
    padding: 0 25px 25px;
    border: 1px solid var(--pcse-ccx-line);
    border-top: 0;
    border-radius: 0 0 26px 26px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(44,78,77,.10);
}

body.admin-bar.pcse-ccx-checkout #order_review { top: 221px; }

body.pcse-ccx-checkout table.woocommerce-checkout-review-order-table {
    margin: 0 0 18px;
    border: 0;
    border-collapse: collapse;
}

body.pcse-ccx-checkout table.woocommerce-checkout-review-order-table th,
body.pcse-ccx-checkout table.woocommerce-checkout-review-order-table td {
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid var(--pcse-ccx-line);
    background: transparent;
    color: var(--pcse-ccx-ink);
    font-size: 10px;
    line-height: 1.45;
}

body.pcse-ccx-checkout table.woocommerce-checkout-review-order-table thead th {
    color: var(--pcse-ccx-muted);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.pcse-ccx-checkout table.woocommerce-checkout-review-order-table .product-name {
    padding-right: 12px;
    font-weight: 800;
}

body.pcse-ccx-checkout table.woocommerce-checkout-review-order-table .product-total,
body.pcse-ccx-checkout table.woocommerce-checkout-review-order-table td:last-child {
    text-align: right;
    white-space: nowrap;
}

body.pcse-ccx-checkout table.woocommerce-checkout-review-order-table .order-total th,
body.pcse-ccx-checkout table.woocommerce-checkout-review-order-table .order-total td {
    padding-top: 18px;
    border-bottom: 0;
    font-size: 14px;
    font-weight: 900;
}

body.pcse-ccx-checkout table.woocommerce-checkout-review-order-table .order-total .amount {
    color: var(--pcse-ccx-coral);
    font-size: 23px;
}

body.pcse-ccx-checkout #payment {
    margin: 18px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
}

body.pcse-ccx-checkout #payment ul.payment_methods {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0 0 18px;
    border: 0;
}

body.pcse-ccx-checkout #payment ul.payment_methods li.wc_payment_method {
    position: relative;
    margin: 0;
    padding: 13px 14px;
    border: 1px solid var(--pcse-ccx-line);
    border-radius: 16px;
    background: #fff;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

body.pcse-ccx-checkout #payment ul.payment_methods li.wc_payment_method.is-selected,
body.pcse-ccx-checkout #payment ul.payment_methods li.wc_payment_method:has(> input:checked) {
    border-color: rgba(232,111,125,.38);
    background: var(--pcse-ccx-pink);
    box-shadow: 0 9px 22px rgba(232,111,125,.10);
}

body.pcse-ccx-checkout #payment ul.payment_methods li > input[type="radio"] {
    width: 17px;
    height: 17px;
    margin: 0 8px 0 0;
    accent-color: var(--pcse-ccx-coral);
}

body.pcse-ccx-checkout #payment ul.payment_methods li > label {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin: 0;
    color: var(--pcse-ccx-ink);
    font-size: 11px;
    font-weight: 850;
    cursor: pointer;
}

body.pcse-ccx-checkout #payment ul.payment_methods li > label img {
    max-height: 28px;
    width: auto;
    margin-left: 8px;
}

body.pcse-ccx-checkout #payment div.payment_box {
    margin: 11px -2px 0;
    padding: 12px 13px;
    border-radius: 12px;
    background: rgba(255,255,255,.78);
    color: var(--pcse-ccx-muted);
    font-size: 10px;
    line-height: 1.5;
}

body.pcse-ccx-checkout #payment div.payment_box::before {
    display: none;
}

body.pcse-ccx-checkout #payment .place-order {
    margin: 0;
    padding: 17px 0 0;
    border-top: 1px solid var(--pcse-ccx-line);
}

body.pcse-ccx-checkout #payment .woocommerce-privacy-policy-text {
    color: var(--pcse-ccx-muted);
    font-size: 9px;
    line-height: 1.55;
}

body.pcse-ccx-checkout #payment .woocommerce-terms-and-conditions-wrapper {
    margin: 14px 0;
    padding: 12px 13px;
    border-radius: 13px;
    background: var(--pcse-ccx-cream);
}

body.pcse-ccx-checkout #payment #place_order {
    float: none;
    width: 100%;
    min-height: 56px;
    margin: 6px 0 0;
    font-size: 13px;
}

body.pcse-ccx-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
body.pcse-ccx-checkout .woocommerce-form-login-toggle .woocommerce-info {
    margin-bottom: 12px;
    padding-left: 18px;
    background: var(--pcse-ccx-cream);
}

body.pcse-ccx-checkout form.checkout_coupon,
body.pcse-ccx-checkout form.login {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 12px;
    width: min(100% - 40px,1380px);
    margin: 0 auto 20px;
}

body.pcse-ccx-checkout form.checkout_coupon > p:first-child,
body.pcse-ccx-checkout form.login > p:first-child {
    grid-column: 1 / -1;
}

body.pcse-ccx-checkout form.checkout_coupon input.input-text,
body.pcse-ccx-checkout form.login input.input-text {
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--pcse-ccx-line);
    border-radius: 13px;
    background: #fff;
}

/* Mobile sticky action */
.pcse-ccx-mobile-bar {
    display: none;
}

@media (max-width: 1180px) {
    .pcse-ccx-hero {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    body.pcse-ccx-cart .woocommerce-cart-form {
        width: calc(100% - 360px);
    }

    body.pcse-ccx-cart .cart-collaterals {
        width: 360px;
    }

    body.pcse-ccx-checkout form.checkout.woocommerce-checkout {
        grid-template-columns: minmax(0,1fr) minmax(350px,.72fr);
        gap: 0 22px;
    }
}

@media (max-width: 980px) {
    body.pcse-ccx .woocommerce,
    body.pcse-ccx .woocommerce-notices-wrapper,
    body.pcse-ccx .woocommerce-form-coupon-toggle,
    body.pcse-ccx .woocommerce-form-login-toggle {
        width: min(100% - 28px,820px);
    }

    .pcse-ccx-hero {
        width: min(100% - 28px,820px);
        margin-top: 22px;
    }

    body.pcse-ccx-cart .woocommerce-cart-form,
    body.pcse-ccx-cart .cart-collaterals {
        float: none;
        width: 100%;
        padding-right: 0;
    }

    body.pcse-ccx-cart .cart-collaterals {
        margin-top: 24px;
    }

    body.pcse-ccx-cart .cart_totals,
    body.admin-bar.pcse-ccx-cart .cart_totals {
        position: static;
    }

    body.pcse-ccx-checkout form.checkout.woocommerce-checkout {
        display: block;
        margin-bottom: 40px;
    }

    body.pcse-ccx-checkout #order_review_heading,
    body.pcse-ccx-checkout form.checkout > .pcse-ccx-shipping-progress,
    body.pcse-ccx-checkout #order_review,
    body.admin-bar.pcse-ccx-checkout #order_review_heading,
    body.admin-bar.pcse-ccx-checkout form.checkout > .pcse-ccx-shipping-progress,
    body.admin-bar.pcse-ccx-checkout #order_review {
        position: static;
    }

    body.pcse-ccx-checkout #order_review_heading {
        margin-top: 26px;
    }
}

@media (max-width: 720px) {
    body.pcse-ccx {
        padding-bottom: 82px;
    }

    body.pcse-ccx .woocommerce,
    body.pcse-ccx .woocommerce-notices-wrapper,
    body.pcse-ccx .woocommerce-form-coupon-toggle,
    body.pcse-ccx .woocommerce-form-login-toggle,
    .pcse-ccx-hero {
        width: min(100% - 20px,620px);
    }

    .pcse-ccx-hero {
        margin: 14px auto 20px;
        padding: 24px 18px;
        border-radius: 22px;
    }

    .pcse-ccx-hero h1 {
        font-size: 38px;
    }

    .pcse-ccx-hero p {
        font-size: 13px;
    }

    .pcse-ccx-steps {
        gap: 6px;
    }

    .pcse-ccx-step {
        display: grid;
        justify-items: center;
        gap: 6px;
        min-height: 72px;
        padding: 9px 5px;
        text-align: center;
    }

    .pcse-ccx-step__number {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        border-radius: 10px;
    }

    .pcse-ccx-step__label {
        font-size: 9px;
    }

    body.pcse-ccx-cart table.shop_table.cart {
        display: block;
        border-spacing: 0;
    }

    body.pcse-ccx-cart table.shop_table.cart thead {
        display: none;
    }

    body.pcse-ccx-cart table.shop_table.cart tbody,
    body.pcse-ccx-cart table.shop_table.cart tr.cart_item {
        display: block;
    }

    body.pcse-ccx-cart table.shop_table.cart tr.cart_item {
        position: relative;
        display: grid;
        grid-template-columns: 82px minmax(0,1fr);
        gap: 0 14px;
        overflow: hidden;
        margin-bottom: 14px;
        padding: 15px;
        border: 1px solid var(--pcse-ccx-line);
        border-radius: 22px;
        background: var(--pcse-row-bg);
        box-shadow: 0 12px 30px rgba(44,78,77,.07);
    }

    body.pcse-ccx-cart table.shop_table.cart tr.cart_item td {
        display: block;
        padding: 5px 0;
        border-radius: 0 !important;
        background: transparent;
        text-align: left !important;
    }

    body.pcse-ccx-cart td.product-remove {
        position: absolute;
        z-index: 2;
        top: 10px;
        right: 10px;
        width: auto;
        padding: 0 !important;
    }

    body.pcse-ccx-cart td.product-thumbnail {
        grid-column: 1;
        grid-row: 1 / span 4;
        width: 82px;
    }

    body.pcse-ccx-cart td.product-thumbnail img {
        width: 82px;
        height: 98px;
    }

    body.pcse-ccx-cart td.product-name,
    body.pcse-ccx-cart td.product-price,
    body.pcse-ccx-cart td.product-quantity,
    body.pcse-ccx-cart td.product-subtotal {
        grid-column: 2;
        padding-right: 30px;
    }

    body.pcse-ccx-cart td.product-price::before,
    body.pcse-ccx-cart td.product-quantity::before,
    body.pcse-ccx-cart td.product-subtotal::before {
        float: none;
        display: inline-block;
        min-width: 65px;
        margin-right: 5px;
        color: var(--pcse-ccx-muted);
        font-size: 9px;
        font-weight: 800;
    }

    body.pcse-ccx-cart .woocommerce-cart-form .actions {
        display: grid;
        gap: 10px;
    }

    body.pcse-ccx-cart .woocommerce-cart-form .coupon {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    body.pcse-ccx-cart button[name="update_cart"] {
        float: none;
        width: 100%;
    }

    body.pcse-ccx-cart .cart_totals,
    body.pcse-ccx-checkout #customer_details .col-1,
    body.pcse-ccx-checkout #customer_details .col-2 {
        padding: 20px 17px;
        border-radius: 22px;
    }

    body.pcse-ccx-checkout .woocommerce-billing-fields__field-wrapper,
    body.pcse-ccx-checkout .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    body.pcse-ccx-checkout .form-row,
    body.pcse-ccx-checkout #billing_first_name_field,
    body.pcse-ccx-checkout #billing_last_name_field,
    body.pcse-ccx-checkout #billing_postcode_field,
    body.pcse-ccx-checkout #billing_city_field {
        grid-column: 1 / -1;
    }

    body.pcse-ccx-checkout #order_review_heading {
        padding: 21px 18px 14px;
        border-radius: 22px 22px 0 0;
    }

    body.pcse-ccx-checkout form.checkout > .pcse-ccx-shipping-progress {
        padding: 0 18px 16px;
    }

    body.pcse-ccx-checkout #order_review {
        padding: 0 18px 21px;
        border-radius: 0 0 22px 22px;
    }

    body.pcse-ccx-checkout form.checkout_coupon,
    body.pcse-ccx-checkout form.login {
        grid-template-columns: 1fr;
        width: min(100% - 20px,620px);
        padding: 18px;
    }

    .pcse-ccx-mobile-bar {
        position: fixed;
        z-index: 9998;
        right: 10px;
        bottom: 10px;
        left: 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 66px;
        padding: 9px 10px 9px 15px;
        border: 1px solid rgba(33,79,78,.12);
        border-radius: 20px;
        background: rgba(255,255,255,.96);
        box-shadow: 0 18px 55px rgba(18,49,48,.25);
        backdrop-filter: blur(14px);
    }

    .pcse-ccx-mobile-bar__total small,
    .pcse-ccx-mobile-bar__total strong {
        display: block;
    }

    .pcse-ccx-mobile-bar__total small {
        color: var(--pcse-ccx-muted);
        font-size: 9px;
        font-weight: 800;
        text-transform: uppercase;
    }

    .pcse-ccx-mobile-bar__total strong {
        margin-top: 2px;
        color: var(--pcse-ccx-ink);
        font-size: 17px;
        font-weight: 900;
    }

    .pcse-ccx-mobile-bar a,
    .pcse-ccx-mobile-bar button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        margin: 0;
        padding: 0 18px;
        border: 0;
        border-radius: 999px;
        background: var(--pcse-ccx-yellow);
        color: var(--pcse-ccx-ink);
        font-size: 11px;
        font-weight: 900;
        text-decoration: none;
        box-shadow: none;
    }
}

@media (max-width: 420px) {
    .pcse-ccx-hero h1 { font-size: 33px; }
    .pcse-ccx-step__label { font-size: 8px; }
    .pcse-ccx-mobile-bar a,
    .pcse-ccx-mobile-bar button { padding-inline: 14px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    body.pcse-ccx *,
    body.pcse-ccx *::before,
    body.pcse-ccx *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}

/* v0.11.1 — structural width lock
 * Woodmart declares percentage widths/floats for classic cart and checkout columns.
 * Those rules can be printed after plugin styles and shrink the summary panels inside
 * our grid columns. The structural dimensions below are intentionally locked.
 */
body.pcse-ccx-cart .woocommerce-cart-form {
    float: left !important;
    width: calc(100% - 490px) !important;
    max-width: none !important;
    min-width: 0 !important;
    padding-right: 34px !important;
}

body.pcse-ccx-cart .cart-collaterals {
    float: right !important;
    width: 490px !important;
    max-width: 490px !important;
    min-width: 0 !important;
}

body.pcse-ccx-cart .cart-collaterals .cart_totals,
body.pcse-ccx-cart .cart_totals {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

body.pcse-ccx-checkout form.checkout.woocommerce-checkout {
    display: grid !important;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: minmax(0,1fr) minmax(480px,.78fr);
    gap: 0 38px;
}

body.pcse-ccx-checkout #customer_details,
body.pcse-ccx-checkout #order_review_heading,
body.pcse-ccx-checkout form.checkout.woocommerce-checkout > .pcse-ccx-shipping-progress,
body.pcse-ccx-checkout #order_review,
body.pcse-ccx-checkout .woocommerce-checkout-review-order,
body.pcse-ccx-checkout #payment,
body.pcse-ccx-checkout table.woocommerce-checkout-review-order-table {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

body.pcse-ccx-checkout #order_review {
    overflow: visible;
}

body.pcse-ccx-checkout table.woocommerce-checkout-review-order-table {
    table-layout: auto;
}

body.pcse-ccx-checkout #payment ul.payment_methods,
body.pcse-ccx-checkout #payment ul.payment_methods > li,
body.pcse-ccx-checkout #payment .place-order {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

@media (max-width: 1240px) and (min-width: 1021px) {
    body.pcse-ccx-cart .woocommerce-cart-form {
        width: calc(100% - 420px) !important;
        padding-right: 26px !important;
    }

    body.pcse-ccx-cart .cart-collaterals {
        width: 420px !important;
        max-width: 420px !important;
    }

    body.pcse-ccx-checkout form.checkout.woocommerce-checkout {
        grid-template-columns: minmax(0,1fr) minmax(420px,.76fr);
        gap: 0 26px;
    }
}

@media (max-width: 1020px) {
    body.pcse-ccx-cart .woocommerce-cart-form,
    body.pcse-ccx-cart .cart-collaterals {
        float: none !important;
        width: 100% !important;
        max-width: none !important;
        padding-right: 0 !important;
    }

    body.pcse-ccx-checkout form.checkout.woocommerce-checkout {
        display: block !important;
    }

    body.pcse-ccx-checkout #order_review_heading,
    body.pcse-ccx-checkout form.checkout.woocommerce-checkout > .pcse-ccx-shipping-progress,
    body.pcse-ccx-checkout #order_review {
        position: static !important;
        width: 100% !important;
    }
}

/* v0.11.2 — Woodmart classic shortcode checkout wrappers
 * Woodmart overrides woocommerce/checkout/form-checkout.php and wraps the two
 * native WooCommerce sections in .customer-details and .checkout-order-review.
 * These wrappers, not #customer_details / #order_review, are the actual direct
 * layout children and carry Woodmart's 66.66% / 33.33% flex widths.
 */
body.pcse-ccx-checkout .woocommerce > form.checkout.woocommerce-checkout,
body.pcse-ccx-checkout .woocommerce form.checkout.woocommerce-checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(470px, .82fr) !important;
    grid-template-areas: "pcse-customer pcse-review" !important;
    align-items: start !important;
    column-gap: 40px !important;
    row-gap: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

body.pcse-ccx-checkout form.checkout.woocommerce-checkout > .customer-details,
body.pcse-ccx-checkout form.checkout.woocommerce-checkout .customer-details {
    grid-area: pcse-customer !important;
    float: none !important;
    clear: none !important;
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.pcse-ccx-checkout form.checkout.woocommerce-checkout > .checkout-order-review,
body.pcse-ccx-checkout form.checkout.woocommerce-checkout .checkout-order-review {
    grid-area: pcse-review !important;
    position: sticky !important;
    top: 24px !important;
    align-self: start !important;
    float: none !important;
    clear: none !important;
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

body.admin-bar.pcse-ccx-checkout form.checkout.woocommerce-checkout > .checkout-order-review,
body.admin-bar.pcse-ccx-checkout form.checkout.woocommerce-checkout .checkout-order-review {
    top: 56px !important;
}

/* The complete review card now sticks as one unit. Inner pieces must not create
 * three competing sticky layers or inherit Woodmart percentage widths. */
body.pcse-ccx-checkout .checkout-order-review #order_review_heading,
body.pcse-ccx-checkout .checkout-order-review > .pcse-ccx-shipping-progress,
body.pcse-ccx-checkout .checkout-order-review #order_review,
body.pcse-ccx-checkout .checkout-order-review .woocommerce-checkout-review-order,
body.pcse-ccx-checkout .checkout-order-review #payment,
body.pcse-ccx-checkout .checkout-order-review table.woocommerce-checkout-review-order-table {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    float: none !important;
    clear: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

body.pcse-ccx-checkout form.checkout.woocommerce-checkout > *:not(.customer-details):not(.checkout-order-review) {
    grid-column: 1 / -1;
    width: 100%;
}

@media (max-width: 1240px) and (min-width: 1021px) {
    body.pcse-ccx-checkout .woocommerce > form.checkout.woocommerce-checkout,
    body.pcse-ccx-checkout .woocommerce form.checkout.woocommerce-checkout {
        grid-template-columns: minmax(0, 1fr) minmax(420px, .8fr) !important;
        column-gap: 28px !important;
    }
}

@media (max-width: 1020px) {
    body.pcse-ccx-checkout .woocommerce > form.checkout.woocommerce-checkout,
    body.pcse-ccx-checkout .woocommerce form.checkout.woocommerce-checkout {
        display: block !important;
    }

    body.pcse-ccx-checkout form.checkout.woocommerce-checkout > .customer-details,
    body.pcse-ccx-checkout form.checkout.woocommerce-checkout .customer-details,
    body.pcse-ccx-checkout form.checkout.woocommerce-checkout > .checkout-order-review,
    body.pcse-ccx-checkout form.checkout.woocommerce-checkout .checkout-order-review {
        position: static !important;
        width: 100% !important;
        max-width: none !important;
    }

    body.pcse-ccx-checkout form.checkout.woocommerce-checkout .checkout-order-review {
        margin-top: 28px !important;
    }
}

/* ============================================================
 * v0.11.6 — Cart item controls hardening
 * Normalizes Woodmart/WooCommerce remove and quantity controls.
 * ============================================================ */
body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-remove a.remove {
    position: relative !important;
    display: inline-grid !important;
    place-items: center !important;
    overflow: visible !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(232,111,125,.25) !important;
    border-radius: 10px !important;
    background: rgba(255,255,255,.78) !important;
    color: var(--pcse-ccx-coral) !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-remove a.remove::before,
body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-remove a.remove::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    display: block !important;
    width: 12px !important;
    height: 1.5px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: currentColor !important;
    opacity: 1 !important;
    font-family: inherit !important;
    line-height: 1 !important;
    transform-origin: center !important;
}

body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-remove a.remove::before {
    transform: translate(-50%,-50%) rotate(45deg) !important;
}

body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-remove a.remove::after {
    transform: translate(-50%,-50%) rotate(-45deg) !important;
}

body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-remove a.remove:hover,
body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-remove a.remove:focus-visible {
    background: var(--pcse-ccx-coral) !important;
    color: #fff !important;
}

body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 34px 42px 34px !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    overflow: hidden !important;
    width: 110px !important;
    min-width: 110px !important;
    max-width: 110px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 1px solid rgba(33,79,78,.12) !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: none !important;
    font-size: initial !important;
    line-height: normal !important;
}

body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity::before,
body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity::after {
    content: none !important;
    display: none !important;
}

body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity .minus,
body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity .plus {
    position: static !important;
    inset: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--pcse-ccx-ink) !important;
    -webkit-text-fill-color: var(--pcse-ccx-ink) !important;
    box-shadow: none !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 36px !important;
    text-align: center !important;
    text-indent: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    transform: none !important;
    cursor: pointer !important;
}

body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity .minus::before,
body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity .minus::after,
body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity .plus::before,
body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity .plus::after {
    content: none !important;
    display: none !important;
}

body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity input.qty,
body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity input[type="number"].qty,
body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity input[type="text"].qty {
    position: static !important;
    inset: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-right: 1px solid rgba(33,79,78,.08) !important;
    border-left: 1px solid rgba(33,79,78,.08) !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--pcse-ccx-ink) !important;
    -webkit-text-fill-color: var(--pcse-ccx-ink) !important;
    caret-color: var(--pcse-ccx-ink) !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 36px !important;
    text-align: center !important;
    text-indent: 0 !important;
    appearance: textfield !important;
    -moz-appearance: textfield !important;
    -webkit-appearance: none !important;
    transform: none !important;
}

body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity input.qty::-webkit-inner-spin-button,
body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity input.qty::-webkit-outer-spin-button {
    margin: 0 !important;
    -webkit-appearance: none !important;
}

body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity .minus:hover,
body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity .plus:hover,
body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity .minus:focus-visible,
body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity .plus:focus-visible {
    background: var(--pcse-ccx-yellow) !important;
    color: var(--pcse-ccx-ink) !important;
    -webkit-text-fill-color: var(--pcse-ccx-ink) !important;
}

@media (max-width: 760px) {
    body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity {
        margin: 5px 0 0 !important;
    }
}


/* ============================================================
 * v0.11.7 — Quantity value vertical alignment hotfix
 * Woodmart can offset the native number input glyph below the
 * control. A synchronized visual mirror keeps the value centered.
 * ============================================================ */
body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity {
    isolation: isolate !important;
}

body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity .minus {
    grid-column: 1 !important;
    grid-row: 1 !important;
}

body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity input.qty,
body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity input[type="number"].qty,
body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity input[type="text"].qty {
    z-index: 1 !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    caret-color: var(--pcse-ccx-ink) !important;
    line-height: 1 !important;
}

body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity .plus {
    grid-column: 3 !important;
    grid-row: 1 !important;
}

body.pcse-ccx-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity .pcse-ccx-qty-display {
    position: relative !important;
    z-index: 3 !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 36px !important;
    min-width: 42px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-right: 1px solid rgba(33,79,78,.08) !important;
    border-left: 1px solid rgba(33,79,78,.08) !important;
    background: #fff !important;
    color: var(--pcse-ccx-ink) !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-align: center !important;
    pointer-events: none !important;
    transform: none !important;
}
