body.cnwscheckout_active form.checkout {
    --cnwscheckout_radius: 18px;
}

.cnwscheckout_before_form {
    margin: 0 0 26px;
}

.cnwscheckout_banner {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 28px 30px;
    color: var(--cnwscheckout_banner_text, #fff);
    background: linear-gradient(135deg, var(--cnwscheckout_banner_bg, #132033), var(--cnwscheckout_banner_bg_2, #8b6826));
    box-shadow: 0 22px 50px rgba(15, 23, 42, .16);
}

.cnwscheckout_banner::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -90px;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
}

.cnwscheckout_banner_content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.cnwscheckout_banner_kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--cnwscheckout_banner_muted, #e6d7b7);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.cnwscheckout_banner h2 {
    margin: 0 0 6px;
    color: inherit;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -.04em;
}

.cnwscheckout_banner p {
    margin: 0;
    color: var(--cnwscheckout_banner_muted, #e6d7b7);
    font-size: 16px;
    line-height: 1.55;
}

.cnwscheckout_progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.cnwscheckout_progress li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--cnwscheckout_border, #d9e1ec);
    border-radius: 999px;
    background: var(--cnwscheckout_card_bg, #fff);
    color: #334155;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}

.cnwscheckout_progress li span {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
}

.cnwscheckout_progress li.is-current {
    border-color: color-mix(in srgb, var(--cnwscheckout_accent, #c99a3d) 55%, #fff);
}

.cnwscheckout_progress li.is-current span {
    background: var(--cnwscheckout_accent, #c99a3d);
    color: #fff;
}

.cnwscheckout_progress strong {
    font-size: 13px;
    letter-spacing: .01em;
}

body.cnwscheckout_active .woocommerce form.checkout,
body.cnwscheckout_active .woocommerce-checkout-review-order,
body.cnwscheckout_active .woocommerce-billing-fields,
body.cnwscheckout_active .woocommerce-shipping-fields,
body.cnwscheckout_active .woocommerce-additional-fields {
    border-radius: var(--cnwscheckout_radius);
    color: var(--cnwscheckout_checkout_section_text, #0f172a);
}

body.cnwscheckout_active .woocommerce-billing-fields,
body.cnwscheckout_active .woocommerce-shipping-fields,
body.cnwscheckout_active .woocommerce-additional-fields {
    background: var(--cnwscheckout_checkout_section_bg, transparent);
}

body.cnwscheckout_active .woocommerce-checkout-review-order {
    background: var(--cnwscheckout_checkout_order_bg, transparent);
}

body.cnwscheckout_active .woocommerce-checkout-review-order-table td.product-name {
    min-width: 0;
    vertical-align: top;
}

body.cnwscheckout_active .woocommerce-checkout-review-order-table td.product-total {
    vertical-align: top;
    white-space: nowrap;
}

body.cnwscheckout_active .woocommerce-checkout-review-order-table .product-name dl.variation,
body.cnwscheckout_active .woocommerce-checkout-review-order-table .product-name .wc-item-meta {
    display: grid;
    grid-template-columns: minmax(92px, .8fr) minmax(0, 1.2fr);
    gap: 4px 12px;
    width: 100%;
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.35;
}

body.cnwscheckout_active .woocommerce-checkout-review-order-table .product-name .wc-item-meta li {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(92px, .8fr) minmax(0, 1.2fr);
    gap: 12px;
}

body.cnwscheckout_active .woocommerce-checkout-review-order-table .product-name dl.variation dt,
body.cnwscheckout_active .woocommerce-checkout-review-order-table .product-name dl.variation dd,
body.cnwscheckout_active .woocommerce-checkout-review-order-table .product-name .wc-item-meta li,
body.cnwscheckout_active .woocommerce-checkout-review-order-table .product-name .wc-item-meta p {
    float: none;
    clear: none;
    width: auto;
    margin: 0;
    padding: 0;
}

body.cnwscheckout_active .woocommerce-checkout-review-order-table .product-name dl.variation dt {
    color: var(--cnwscheckout_checkout_section_muted, #64748b);
    font-weight: 600;
}

body.cnwscheckout_active .woocommerce-checkout-review-order-table .product-name dl.variation dd {
    min-width: 0;
    overflow-wrap: anywhere;
}

body.cnwscheckout_active .woocommerce-form-coupon-toggle .woocommerce-info {
    min-height: 0;
    margin: 0 0 12px;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.4;
}

body.cnwscheckout_active form.checkout_coupon {
    margin: 0 0 18px;
    padding: 14px;
}

body.cnwscheckout_active form.checkout_coupon .form-row {
    margin-bottom: 0;
}

body.cnwscheckout_active .woocommerce form .form-row input.input-text,
body.cnwscheckout_active .woocommerce form .form-row textarea,
body.cnwscheckout_active .woocommerce form .form-row select,
body.cnwscheckout_active .select2-container .select2-selection--single {
    min-height: 46px;
    border-color: var(--cnwscheckout_checkout_field_border, var(--cnwscheckout_border, #d9e1ec));
    border-radius: 12px;
    background-color: var(--cnwscheckout_checkout_field_bg, #ffffff);
    color: var(--cnwscheckout_checkout_field_text, #0f172a);
    box-shadow: none;
}

body.cnwscheckout_active .select2-container .select2-selection--single .select2-selection__rendered {
    color: var(--cnwscheckout_checkout_field_text, #0f172a);
}

body.cnwscheckout_active .woocommerce form .form-row input.input-text:focus,
body.cnwscheckout_active .woocommerce form .form-row textarea:focus {
    border-color: var(--cnwscheckout_checkout_field_focus, var(--cnwscheckout_accent, #c99a3d));
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 154, 61, .14);
}

body.cnwscheckout_active .woocommerce-checkout #payment,
body.cnwscheckout_active .woocommerce-checkout-payment {
    background: var(--cnwscheckout_checkout_payment_bg, #f8fafc);
}

body.cnwscheckout_active #place_order,
body.cnwscheckout_active .woocommerce #payment #place_order,
body.cnwscheckout_active .woocommerce-page #payment #place_order,
body.cnwscheckout_active .wc-block-components-checkout-place-order-button {
    min-height: 52px;
    border: 0;
    border-radius: 14px;
    background: var(--cnwscheckout_button_bg, #b8872f) !important;
    color: var(--cnwscheckout_button_text, #fff) !important;
    font-weight: 800;
    letter-spacing: .01em;
    box-shadow: 0 14px 28px rgba(184, 135, 47, .24);
}

body.cnwscheckout_active #place_order:hover,
body.cnwscheckout_active .woocommerce #payment #place_order:hover,
body.cnwscheckout_active .woocommerce-page #payment #place_order:hover,
body.cnwscheckout_active .wc-block-components-checkout-place-order-button:hover {
    background: var(--cnwscheckout_button_bg_hover, #936922) !important;
}

.cnwscheckout_guided_currency {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 500;
}

.cnwscheckout_ean_field.is-hidden,
.cnwscheckout_ean_id_field.is-hidden,
.cnwscheckoutpro_ean_invoice_field.is-hidden {
    display: none !important;
}

@media (max-width: 760px) {
    .cnwscheckout_banner {
        padding: 22px 20px;
        border-radius: 18px;
    }

    .cnwscheckout_progress {
        grid-template-columns: 1fr;
    }
}

.cnwscheckout_guided_currency_total th,
.cnwscheckout_guided_currency_total td {
    color: #475569;
    font-size: 14px;
}

.cnwscheckout_guided_currency_total strong {
    display: inline-block;
    color: #334155;
    font-weight: 700;
}

.cnwscheckoutpro_sidecart_trigger {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9998;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 54px;
    padding: 0 17px;
    border: 0;
    border-radius: 999px;
    background: var(--cnwscheckout_button_bg, #b8872f);
    color: var(--cnwscheckout_button_text, #fff);
    box-shadow: 0 18px 38px rgba(15, 23, 42, .24);
    cursor: pointer;
    font-weight: 800;
    text-decoration: none;
}

.cnwscheckoutpro_sidecart_trigger:hover,
.cnwscheckoutpro_sidecart_trigger:focus {
    background: var(--cnwscheckout_button_bg_hover, #936922);
    color: var(--cnwscheckout_button_text, #fff);
}

.cnwscheckoutpro_sidecart_trigger_icon {
    width: 23px;
    height: 23px;
    font-size: 23px;
    line-height: 23px;
}

.cnwscheckoutpro_sidecart_trigger_label {
    font-size: 14px;
    line-height: 1;
}

.cnwscheckoutpro_sidecart_trigger_count {
    position: absolute;
    top: -6px;
    right: -6px;
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-size: 12px;
    line-height: 1;
}

.cnwscheckoutpro_sidecart_shell {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
}

.cnwscheckoutpro_sidecart_shell.is-open {
    pointer-events: auto;
}

.cnwscheckoutpro_sidecart_overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .45);
    opacity: 0;
    transition: opacity .22s ease;
}

.cnwscheckoutpro_sidecart_shell.is-open .cnwscheckoutpro_sidecart_overlay {
    opacity: 1;
}

.cnwscheckoutpro_sidecart {
    position: absolute;
    top: 0;
    right: 0;
    width: min(460px, calc(100vw - 24px));
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: -22px 0 48px rgba(15, 23, 42, .22);
    transform: translateX(105%);
    transition: transform .24s ease;
}

.cnwscheckoutpro_sidecart_shell.is-open .cnwscheckoutpro_sidecart {
    transform: translateX(0);
}

.cnwscheckoutpro_sidecart header,
.cnwscheckoutpro_sidecart footer {
    padding: 20px;
    border-bottom: 1px solid var(--cnwscheckout_border, #d9e1ec);
}

.cnwscheckoutpro_sidecart footer {
    border-top: 1px solid var(--cnwscheckout_border, #d9e1ec);
    border-bottom: 0;
}

.cnwscheckoutpro_sidecart header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cnwscheckoutpro_sidecart h3 {
    margin: 0;
    color: #0f172a;
}

.cnwscheckoutpro_sidecart_close {
    width: 36px;
    height: 36px;
    border: 1px solid var(--cnwscheckout_border, #d9e1ec);
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.cnwscheckoutpro_sidecart_body {
    flex: 1;
    overflow: auto;
    padding: 18px 20px;
}

.cnwscheckoutpro_sidecart_item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 13px;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f7;
}

.cnwscheckoutpro_sidecart_thumb img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 12px;
}

.cnwscheckoutpro_sidecart_item strong,
.cnwscheckoutpro_sidecart_item span {
    display: block;
}

.cnwscheckoutpro_sidecart_total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.cnwscheckoutpro_sidecart_checkout,
.cnwscheckoutpro_sidecart_continue {
    width: 100%;
    justify-content: center;
    margin-top: 8px !important;
}

body.cnwscheckout_flow_clean header.site-header,
body.cnwscheckout_flow_clean .site-header,
body.cnwscheckout_flow_clean .main-header-bar,
body.cnwscheckout_flow_clean .elementor-location-header {
    display: none !important;
}

.cnwscheckout_cvr_field.is-hidden,
.cnwscheckout_eu_vat_field.is-hidden,
#billing_cvr_field.is-hidden,
#billing_eu_vat_field.is-hidden {
    display: none !important;
}

.cnwscheckout_vat_status {
    margin: 18px 0 !important;
    padding: 14px 16px !important;
    border-radius: 14px !important;
    border-top: 3px solid var(--cnwscheckout_accent, #c99a3d) !important;
    font-size: 14px;
    line-height: 1.5;
}

.cnwscheckoutpro_sidecart_overlay {
    z-index: 1;
}

.cnwscheckoutpro_sidecart {
    z-index: 2;
}

.cnwscheckoutpro_sidecart.is-loading {
    opacity: .72;
    pointer-events: none;
}

.cnwscheckoutpro_sidecart_item {
    grid-template-columns: 58px 1fr;
    gap: 14px;
}

.cnwscheckoutpro_sidecart_item_main {
    min-width: 0;
}

.cnwscheckoutpro_sidecart_item_head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.cnwscheckoutpro_sidecart_item_head strong {
    color: #0f172a;
    font-size: 14px;
    line-height: 1.35;
}

.cnwscheckoutpro_sidecart_remove {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #9f1239;
    cursor: pointer;
}

.cnwscheckoutpro_sidecart_remove .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.cnwscheckoutpro_sidecart_meta {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
}

.cnwscheckoutpro_sidecart_item_bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

.cnwscheckoutpro_sidecart_qty {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid #d9e1ec;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.cnwscheckoutpro_sidecart_qty button {
    width: 28px;
    height: 28px;
    border: 0;
    background: #f8fafc;
    color: #0f172a;
    cursor: pointer;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
}

.cnwscheckoutpro_sidecart_qty span {
    min-width: 28px;
    padding: 0 7px;
    color: #0f172a;
    font-size: 13px;
    line-height: 28px;
    text-align: center;
    font-weight: 800;
}

.cnwscheckoutpro_sidecart_item_price {
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
    text-align: right;
}

.cnwscheckoutpro_sidecart_total.is-muted {
    margin-top: -5px;
    color: #64748b;
    font-size: 13px;
}

.cnwscheckoutpro_sidecart_currency {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    line-height: 1.45;
    text-align: right;
}

.cnwscheckoutpro_sidecart_cart,
.cnwscheckoutpro_sidecart_checkout,
.cnwscheckoutpro_sidecart_continue {
    width: 100%;
    justify-content: center;
    margin-top: 8px !important;
    text-align: center;
}


/* v1.1.4 side-cart layer hardening */
.cnwscheckoutpro_sidecart_shell:not(.is-open) .cnwscheckoutpro_sidecart_overlay {
    pointer-events: none;
}
.cnwscheckoutpro_sidecart_overlay {
    pointer-events: auto;
}
.cnwscheckoutpro_sidecart {
    pointer-events: auto;
    opacity: 1 !important;
    filter: none !important;
}
.cnwscheckoutpro_sidecart_shell.is-open .cnwscheckoutpro_sidecart {
    background: #fff;
}

.cnwscheckout_product_tax_box {
    margin: 14px 0 18px;
    padding: 14px 16px;
    border: 1px solid var(--cnwscheckout_checkout_field_border, var(--cnwscheckout_border, #d9e1ec));
    border-radius: 16px;
    background: var(--cnwscheckout_checkout_order_bg, #ffffff);
    color: var(--cnwscheckout_checkout_section_text, #0f172a);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
    max-width: 420px;
}

.cnwscheckout_product_tax_box h3,
.cnwscheckout_product_tax_box_title {
    display: block;
    margin-bottom: 10px;
    color: var(--cnwscheckout_checkout_section_text, #0f172a);
    font-size: 14px;
}

.cnwscheckout_product_tax_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid var(--cnwscheckout_checkout_field_border, #eef2f7);
}

.cnwscheckout_product_tax_row span {
    color: var(--cnwscheckout_checkout_field_text, #64748b);
    font-size: 13px;
}

.cnwscheckout_product_tax_row strong {
    color: var(--cnwscheckout_checkout_section_text, #0f172a);
    font-size: 15px;
    white-space: nowrap;
}

.cnwscheckout_product_tax_box p {
    margin: 8px 0 0;
    color: var(--cnwscheckout_checkout_field_text, #64748b);
    font-size: 12px;
    line-height: 1.45;
}

/* v1.1.7 compact checkout field layout */
body.cnwscheckout_active .woocommerce form.checkout .form-row label .optional {
    display: none;
}
body.cnwscheckout_active .woocommerce form.checkout .form-row.form-row-first,
body.cnwscheckout_active .woocommerce form.checkout .form-row.form-row-last {
    width: calc(50% - 8px);
}
body.cnwscheckout_active .woocommerce form.checkout .form-row.form-row-first {
    clear: both;
    float: left;
}
body.cnwscheckout_active .woocommerce form.checkout .form-row.form-row-last {
    float: right;
    clear: none;
}
body.cnwscheckout_active .woocommerce form.checkout .form-row.form-row-wide {
    clear: both;
}
body.cnwscheckout_active #billing_postcode_field,
body.cnwscheckout_active #billing_city_field,
body.cnwscheckout_active #billing_phone_field,
body.cnwscheckout_active #billing_cvr_field,
body.cnwscheckout_active #billing_eu_vat_field,
body.cnwscheckout_active #billing_country_field {
    max-width: none;
}
body.cnwscheckout_active #billing_cvr_field input,
body.cnwscheckout_active #billing_postcode_field input {
    max-width: 260px;
}
body.cnwscheckout_active #billing_phone_field input {
    max-width: 280px;
}
.cnwscheckout_phone_input_wrap {
    display: flex;
    align-items: stretch;
    max-width: 320px;
}
.cnwscheckout_phone_input_wrap .cnwscheckout_phone_prefix {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    padding: 0 10px;
    border: 1px solid var(--cnwscheckout_border, #d9e1ec);
    border-right: 0;
    border-radius: 12px 0 0 12px;
    background: #f8fafc;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}
body.cnwscheckout_active .woocommerce form .form-row .cnwscheckout_phone_input_wrap input.input-text {
    border-radius: 0 12px 12px 0;
    max-width: none;
}
@media (max-width: 760px) {
    body.cnwscheckout_active .woocommerce form.checkout .form-row.form-row-first,
    body.cnwscheckout_active .woocommerce form.checkout .form-row.form-row-last {
        width: 100%;
        float: none;
        clear: both;
    }
    .cnwscheckout_phone_input_wrap {
        max-width: none;
    }
}

/* v1.1.8 cleaner compact checkout field layout */
body.cnwscheckout_active .woocommerce form.checkout #billing_email_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_company_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_address_1_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_address_2_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_website_field,
body.cnwscheckout_active .woocommerce form.checkout #order_comments_field {
    width: 100%;
    clear: both;
    float: none;
}

body.cnwscheckout_active .woocommerce form.checkout #billing_first_name_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_last_name_field {
    width: calc(50% - 10px);
    clear: none;
}

body.cnwscheckout_active .woocommerce form.checkout #billing_first_name_field {
    float: left;
    clear: both;
}

body.cnwscheckout_active .woocommerce form.checkout #billing_last_name_field {
    float: right;
}

body.cnwscheckout_active .woocommerce form.checkout #billing_postcode_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_city_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_country_field {
    clear: none;
    float: left;
    margin-right: 16px;
}

body.cnwscheckout_active .woocommerce form.checkout #billing_postcode_field {
    width: calc(24% - 11px);
    clear: both;
}

body.cnwscheckout_active .woocommerce form.checkout #billing_city_field {
    width: calc(38% - 11px);
}

body.cnwscheckout_active .woocommerce form.checkout #billing_country_field {
    width: calc(38% - 11px);
    margin-right: 0;
}

body.cnwscheckout_active .woocommerce form.checkout #billing_cvr_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_eu_vat_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_phone_field {
    width: calc(50% - 10px);
    clear: none;
}

body.cnwscheckout_active .woocommerce form.checkout #billing_cvr_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_eu_vat_field {
    float: left;
    clear: both;
}

body.cnwscheckout_active .woocommerce form.checkout #billing_phone_field {
    float: right;
}

body.cnwscheckout_active .woocommerce form.checkout #billing_ean_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_ean_id_field {
    width: calc(50% - 10px);
    clear: none;
}

body.cnwscheckout_active .woocommerce form.checkout #billing_ean_field {
    float: left;
    clear: both;
}

body.cnwscheckout_active .woocommerce form.checkout #billing_ean_id_field {
    float: right;
}

body.cnwscheckout_active .woocommerce form.checkout #billing_cvr_field.is-hidden,
body.cnwscheckout_active .woocommerce form.checkout #billing_eu_vat_field.is-hidden,
body.cnwscheckout_active .woocommerce form.checkout #billing_ean_field.is-hidden,
body.cnwscheckout_active .woocommerce form.checkout #billing_ean_id_field.is-hidden {
    display: none !important;
}

body.cnwscheckout_active .woocommerce form.checkout #billing_postcode_field input,
body.cnwscheckout_active .woocommerce form.checkout #billing_cvr_field input,
body.cnwscheckout_active .woocommerce form.checkout #billing_eu_vat_field input,
body.cnwscheckout_active .woocommerce form.checkout #billing_phone_field input {
    max-width: none;
}

body.cnwscheckout_active .select2-container {
    width: 100% !important;
}

body.cnwscheckout_active .woocommerce form.checkout .form-row::after {
    content: "";
    display: table;
    clear: both;
}

.cnwscheckout_phone_input_wrap {
    max-width: none;
    width: 100%;
}

.cnwscheckout_phone_input_wrap .cnwscheckout_phone_prefix {
    min-width: 92px;
}

@media (max-width: 760px) {
    body.cnwscheckout_active .woocommerce form.checkout #billing_first_name_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_last_name_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_postcode_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_city_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_country_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_cvr_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_eu_vat_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_phone_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_ean_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_ean_id_field {
        width: 100%;
        float: none;
        clear: both;
        margin-right: 0;
    }
}

/* v1.1.9 phone country prefix polish */
.cnwscheckout_phone_input_wrap .cnwscheckout_phone_prefix {
    min-width: 108px;
    gap: 6px;
    font-size: 15px;
    letter-spacing: .01em;
}

.cnwscheckout_phone_input_wrap .cnwscheckout_phone_prefix::first-letter {
    font-size: 20px;
}

/* v1.2.0 checkout polish: stable field rows, clearer design variables and no extra information title */
body.cnwscheckout_active .cnwscheckout_banner,
body.cnwscheckout_active .cnwscheckout_banner * {
    color: var(--cnwscheckout_banner_text, #ffffff);
}
body.cnwscheckout_active .cnwscheckout_banner h2 {
    color: var(--cnwscheckout_banner_text, #ffffff) !important;
}
body.cnwscheckout_active .cnwscheckout_banner p {
    color: var(--cnwscheckout_banner_muted, #e6d7b7) !important;
}
body.cnwscheckout_active #place_order,
body.cnwscheckout_active .woocommerce #payment #place_order,
body.cnwscheckout_active .woocommerce-page #payment #place_order,
body.cnwscheckout_active .wc-block-components-checkout-place-order-button,
body.cnwscheckout_active .cnwscheckoutpro_sidecart_checkout,
body.cnwscheckout_active .cnwscheckoutpro_sidecart_cart,
body.cnwscheckout_active .cnwscheckoutpro_sidecart_continue,
body.cnwscheckout_active .cnwscheckoutpro_sidecart_trigger {
    color: var(--cnwscheckout_button_text, #ffffff) !important;
}
body.cnwscheckout_active .woocommerce-additional-fields > h3,
body.cnwscheckout_active .woocommerce-additional-fields h3 {
    display: none !important;
}
body.cnwscheckout_active .woocommerce form.checkout #billing_email_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_company_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_address_1_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_address_2_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_website_field,
body.cnwscheckout_active .woocommerce form.checkout #order_comments_field {
    width: 100% !important;
    clear: both !important;
    float: none !important;
}
body.cnwscheckout_active .woocommerce form.checkout #billing_first_name_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_last_name_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_country_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_phone_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_postcode_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_city_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_ean_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_ean_id_field {
    width: calc(50% - 10px) !important;
    clear: none !important;
}
body.cnwscheckout_active .woocommerce form.checkout #billing_first_name_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_country_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_postcode_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_ean_field {
    float: left !important;
    clear: both !important;
}
body.cnwscheckout_active .woocommerce form.checkout #billing_last_name_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_phone_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_city_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_ean_id_field {
    float: right !important;
}
body.cnwscheckout_active .woocommerce form.checkout #billing_cvr_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_eu_vat_field {
    width: calc(50% - 10px) !important;
    float: left !important;
    clear: both !important;
}
body.cnwscheckout_active .woocommerce form.checkout #billing_cvr_field.is-hidden,
body.cnwscheckout_active .woocommerce form.checkout #billing_eu_vat_field.is-hidden,
body.cnwscheckout_active .woocommerce form.checkout #billing_ean_id_field.is-hidden {
    display: none !important;
}
body.cnwscheckout_active .woocommerce form.checkout .woocommerce-shipping-fields {
    clear: both;
    margin-top: 18px;
}
body.cnwscheckout_active .woocommerce form.checkout .woocommerce-shipping-fields h3 {
    padding: 14px 16px;
    border: 1px solid var(--cnwscheckout_border, #d9e1ec);
    border-radius: 14px;
    background: #f8fafc;
    font-size: 15px;
}
.cnwscheckout_phone_input_wrap .cnwscheckout_phone_prefix {
    min-width: 120px;
    font-size: 16px;
    gap: 8px;
}
.cnwscheckout_phone_input_wrap .cnwscheckout_phone_prefix::first-letter {
    font-size: 24px;
}
@media (max-width: 760px) {
    body.cnwscheckout_active .woocommerce form.checkout #billing_first_name_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_last_name_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_country_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_phone_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_postcode_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_city_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_cvr_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_eu_vat_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_ean_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_ean_id_field {
        width: 100% !important;
        float: none !important;
        clear: both !important;
    }
}


/* v1.2.1 final checkout and side-cart polish */
body.cnwscheckout_active .woocommerce form.checkout #billing_email_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_company_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_address_1_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_address_2_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_website_field,
body.cnwscheckout_active .woocommerce form.checkout #order_comments_field {
    width: 100% !important;
    clear: both !important;
    float: none !important;
}
body.cnwscheckout_active .woocommerce form.checkout #billing_first_name_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_last_name_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_country_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_phone_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_postcode_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_city_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_ean_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_ean_id_field {
    width: calc(50% - 10px) !important;
    clear: none !important;
}
body.cnwscheckout_active .woocommerce form.checkout #billing_first_name_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_country_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_postcode_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_ean_field {
    float: left !important;
    clear: both !important;
}
body.cnwscheckout_active .woocommerce form.checkout #billing_last_name_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_phone_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_city_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_ean_id_field {
    float: right !important;
}
body.cnwscheckout_active .woocommerce form.checkout #billing_cvr_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_eu_vat_field {
    width: calc(50% - 10px) !important;
    float: left !important;
    clear: both !important;
}
body.cnwscheckout_active .woocommerce form.checkout #billing_state_field {
    width: calc(50% - 10px) !important;
    float: right !important;
    clear: none !important;
}
body.cnwscheckout_active .woocommerce-additional-fields > h3,
body.cnwscheckout_active .woocommerce-additional-fields h3 {
    display: none !important;
}
body.cnwscheckout_active .woocommerce-additional-fields:has(#order_comments_field[style*="display: none"]),
body.cnwscheckout_active .woocommerce-additional-fields:empty {
    display: none !important;
}
.cnwscheckout_phone_input_wrap .cnwscheckout_phone_prefix {
    min-width: 126px;
    font-size: 16px;
    gap: 8px;
}
.cnwscheckout_phone_input_wrap .cnwscheckout_phone_prefix::first-letter {
    font-size: 26px;
    line-height: 1;
}
.cnwscheckoutpro_sidecart_close:hover,
.cnwscheckoutpro_sidecart_close:focus,
.cnwscheckoutpro_sidecart_remove:hover,
.cnwscheckoutpro_sidecart_remove:focus,
.cnwscheckoutpro_sidecart_qty button:hover,
.cnwscheckoutpro_sidecart_qty button:focus {
    background: inherit !important;
    color: inherit !important;
    box-shadow: none !important;
    outline: none !important;
}
.cnwscheckoutpro_sidecart_close:hover,
.cnwscheckoutpro_sidecart_close:focus {
    background: #fff !important;
    color: #0f172a !important;
}
.cnwscheckoutpro_sidecart_qty {
    height: 32px;
    align-items: center;
}
.cnwscheckoutpro_sidecart_qty button,
.cnwscheckoutpro_sidecart_qty span {
    height: 32px;
    min-height: 32px;
    line-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
}
.cnwscheckoutpro_sidecart_qty span {
    min-width: 34px;
}
body.cnwscheckout_active .cnwscheckout_banner,
body.cnwscheckout_active .cnwscheckout_banner h1,
body.cnwscheckout_active .cnwscheckout_banner h2,
body.cnwscheckout_active .cnwscheckout_banner h3,
body.cnwscheckout_active .cnwscheckout_banner .cnwscheckout_banner_content h2 {
    color: var(--cnwscheckout_banner_text, #ffffff) !important;
}
body.cnwscheckout_active .cnwscheckout_banner p,
body.cnwscheckout_active .cnwscheckout_banner .cnwscheckout_banner_content p {
    color: var(--cnwscheckout_banner_muted, #e6d7b7) !important;
}
@media (max-width: 760px) {
    body.cnwscheckout_active .woocommerce form.checkout #billing_first_name_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_last_name_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_country_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_phone_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_postcode_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_city_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_cvr_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_eu_vat_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_state_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_ean_field,
    body.cnwscheckout_active .woocommerce form.checkout #billing_ean_id_field {
        width: 100% !important;
        float: none !important;
        clear: both !important;
    }
}

/* v1.2.1 same-version polish: stable compact checkout rows + no side-cart hover ring */
body.cnwscheckout_active .woocommerce form.checkout .woocommerce-billing-fields__field-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    column-gap: 20px !important;
    row-gap: 0 !important;
    align-items: flex-start !important;
}
body.cnwscheckout_active .woocommerce form.checkout .woocommerce-billing-fields__field-wrapper > .form-row {
    float: none !important;
    clear: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
}
body.cnwscheckout_active .woocommerce form.checkout #billing_email_field { order: 10; flex: 0 0 100% !important; max-width: 100% !important; }
body.cnwscheckout_active .woocommerce form.checkout #billing_first_name_field { order: 20; flex: 0 0 calc(50% - 10px) !important; max-width: calc(50% - 10px) !important; }
body.cnwscheckout_active .woocommerce form.checkout #billing_last_name_field { order: 21; flex: 0 0 calc(50% - 10px) !important; max-width: calc(50% - 10px) !important; }
body.cnwscheckout_active .woocommerce form.checkout #billing_company_field { order: 30; flex: 0 0 100% !important; max-width: 100% !important; }
body.cnwscheckout_active .woocommerce form.checkout #billing_address_1_field { order: 40; flex: 0 0 100% !important; max-width: 100% !important; }
body.cnwscheckout_active .woocommerce form.checkout #billing_address_2_field { order: 41; flex: 0 0 100% !important; max-width: 100% !important; }
body.cnwscheckout_active .woocommerce form.checkout #billing_country_field { order: 50; flex: 0 0 calc(50% - 10px) !important; max-width: calc(50% - 10px) !important; }
body.cnwscheckout_active .woocommerce form.checkout #billing_phone_field { order: 51; flex: 0 0 calc(50% - 10px) !important; max-width: calc(50% - 10px) !important; }
body.cnwscheckout_active .woocommerce form.checkout #billing_postcode_field { order: 60; flex: 0 0 32% !important; max-width: 32% !important; }
body.cnwscheckout_active .woocommerce form.checkout #billing_city_field { order: 61; flex: 1 1 calc(68% - 20px) !important; max-width: calc(68% - 20px) !important; }
body.cnwscheckout_active .woocommerce form.checkout #billing_state_field { order: 62; flex: 0 0 calc(50% - 10px) !important; max-width: calc(50% - 10px) !important; }
body.cnwscheckout_active .woocommerce form.checkout #billing_cvr_field,
body.cnwscheckout_active .woocommerce form.checkout #billing_eu_vat_field { order: 70; flex: 0 0 calc(50% - 10px) !important; max-width: calc(50% - 10px) !important; }
body.cnwscheckout_active .woocommerce form.checkout #billing_website_field { order: 80; flex: 0 0 100% !important; max-width: 100% !important; }
body.cnwscheckout_active .woocommerce form.checkout #billing_ean_field { order: 90; flex: 0 0 calc(50% - 10px) !important; max-width: calc(50% - 10px) !important; }
body.cnwscheckout_active .woocommerce form.checkout #billing_ean_id_field { order: 91; flex: 0 0 calc(50% - 10px) !important; max-width: calc(50% - 10px) !important; }
body.cnwscheckout_active .woocommerce form.checkout #billing_phone_field .cnwscheckout_phone_input_wrap {
    width: 100% !important;
}
.cnwscheckoutpro_sidecart_close,
.cnwscheckoutpro_sidecart_close:hover,
.cnwscheckoutpro_sidecart_close:focus,
.cnwscheckoutpro_sidecart_close:active,
.cnwscheckoutpro_sidecart_remove,
.cnwscheckoutpro_sidecart_remove:hover,
.cnwscheckoutpro_sidecart_remove:focus,
.cnwscheckoutpro_sidecart_remove:active,
.cnwscheckoutpro_sidecart_qty button,
.cnwscheckoutpro_sidecart_qty button:hover,
.cnwscheckoutpro_sidecart_qty button:focus,
.cnwscheckoutpro_sidecart_qty button:active {
    outline: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent !important;
}
.cnwscheckoutpro_sidecart_close,
.cnwscheckoutpro_sidecart_close:hover,
.cnwscheckoutpro_sidecart_close:focus,
.cnwscheckoutpro_sidecart_close:active {
    border-color: transparent !important;
    background: transparent !important;
    color: #0f172a !important;
}
@media (max-width: 760px) {
    body.cnwscheckout_active .woocommerce form.checkout .woocommerce-billing-fields__field-wrapper > .form-row {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* v1.2.1 clean rebuild: stable checkout field grid + no side-cart focus ring */
body.cnwscheckout_active form.checkout .woocommerce-billing-fields__field-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    column-gap: 20px !important;
    row-gap: 0 !important;
    align-items: flex-start !important;
}
body.cnwscheckout_active form.checkout .woocommerce-billing-fields__field-wrapper > .form-row,
body.cnwscheckout_active form.checkout .woocommerce-billing-fields__field-wrapper > p.form-row {
    float: none !important;
    clear: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
}
body.cnwscheckout_active form.checkout #billing_email_field { order: 10 !important; flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; }
body.cnwscheckout_active form.checkout #billing_first_name_field { order: 20 !important; flex: 0 0 calc(50% - 10px) !important; width: calc(50% - 10px) !important; max-width: calc(50% - 10px) !important; }
body.cnwscheckout_active form.checkout #billing_last_name_field { order: 21 !important; flex: 0 0 calc(50% - 10px) !important; width: calc(50% - 10px) !important; max-width: calc(50% - 10px) !important; }
body.cnwscheckout_active form.checkout #billing_company_field { order: 30 !important; flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; }
body.cnwscheckout_active form.checkout #billing_address_1_field { order: 40 !important; flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; }
body.cnwscheckout_active form.checkout #billing_address_2_field { order: 41 !important; flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; }
body.cnwscheckout_active form.checkout #billing_country_field { order: 50 !important; flex: 0 0 calc(50% - 10px) !important; width: calc(50% - 10px) !important; max-width: calc(50% - 10px) !important; }
body.cnwscheckout_active form.checkout #billing_phone_field { order: 51 !important; flex: 0 0 calc(50% - 10px) !important; width: calc(50% - 10px) !important; max-width: calc(50% - 10px) !important; }
body.cnwscheckout_active form.checkout #billing_postcode_field { order: 60 !important; flex: 0 0 32% !important; width: 32% !important; max-width: 32% !important; }
body.cnwscheckout_active form.checkout #billing_city_field { order: 61 !important; flex: 0 0 calc(68% - 20px) !important; width: calc(68% - 20px) !important; max-width: calc(68% - 20px) !important; }
body.cnwscheckout_active form.checkout #billing_state_field { order: 62 !important; flex: 0 0 calc(50% - 10px) !important; width: calc(50% - 10px) !important; max-width: calc(50% - 10px) !important; }
body.cnwscheckout_active form.checkout #billing_cvr_field,
body.cnwscheckout_active form.checkout #billing_eu_vat_field { order: 70 !important; flex: 0 0 calc(50% - 10px) !important; width: calc(50% - 10px) !important; max-width: calc(50% - 10px) !important; }
body.cnwscheckout_active form.checkout #billing_ean_field { order: 71 !important; flex: 0 0 calc(50% - 10px) !important; width: calc(50% - 10px) !important; max-width: calc(50% - 10px) !important; }
body.cnwscheckout_active form.checkout #billing_ean_id_field { order: 72 !important; flex: 0 0 calc(50% - 10px) !important; width: calc(50% - 10px) !important; max-width: calc(50% - 10px) !important; }
body.cnwscheckout_active form.checkout #cnwscheckoutpro_ean_requisition_field { order: 73 !important; flex: 0 0 calc(50% - 10px) !important; width: calc(50% - 10px) !important; max-width: calc(50% - 10px) !important; }
body.cnwscheckout_active form.checkout #cnwscheckoutpro_ean_contact_field { order: 74 !important; flex: 0 0 calc(50% - 10px) !important; width: calc(50% - 10px) !important; max-width: calc(50% - 10px) !important; }
body.cnwscheckout_active form.checkout #cnwscheckoutpro_ean_invoice_email_field { order: 75 !important; flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; }
body.cnwscheckout_active form.checkout #billing_website_field { order: 80 !important; flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; }
body.cnwscheckout_active form.checkout .is-hidden { display: none !important; }
.cnwscheckoutpro_sidecart_close,
.cnwscheckoutpro_sidecart_close:hover,
.cnwscheckoutpro_sidecart_close:focus,
.cnwscheckoutpro_sidecart_close:focus-visible,
.cnwscheckoutpro_sidecart_close:active,
.cnwscheckoutpro_sidecart_remove,
.cnwscheckoutpro_sidecart_remove:hover,
.cnwscheckoutpro_sidecart_remove:focus,
.cnwscheckoutpro_sidecart_remove:focus-visible,
.cnwscheckoutpro_sidecart_remove:active,
.cnwscheckoutpro_sidecart_qty button,
.cnwscheckoutpro_sidecart_qty button:hover,
.cnwscheckoutpro_sidecart_qty button:focus,
.cnwscheckoutpro_sidecart_qty button:focus-visible,
.cnwscheckoutpro_sidecart_qty button:active {
    outline: none !important;
    outline-color: transparent !important;
    outline-style: none !important;
    outline-width: 0 !important;
    box-shadow: none !important;
    border-color: transparent !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent !important;
}
.cnwscheckoutpro_sidecart_close::-moz-focus-inner,
.cnwscheckoutpro_sidecart_remove::-moz-focus-inner,
.cnwscheckoutpro_sidecart_qty button::-moz-focus-inner {
    border: 0 !important;
}
.cnwscheckoutpro_sidecart_close,
.cnwscheckoutpro_sidecart_close:hover,
.cnwscheckoutpro_sidecart_close:focus,
.cnwscheckoutpro_sidecart_close:focus-visible,
.cnwscheckoutpro_sidecart_close:active {
    background: transparent !important;
    color: #0f172a !important;
    transform: none !important;
}
@media (max-width: 760px) {
    body.cnwscheckout_active form.checkout .woocommerce-billing-fields__field-wrapper > .form-row,
    body.cnwscheckout_active form.checkout .woocommerce-billing-fields__field-wrapper > p.form-row {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* v1.5.6 checkout flow polish */
.cnwscheckout_flowbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.cnwscheckout_flowbar .cnwscheckout_progress {
    flex: 1 1 auto;
    margin-top: 0;
}

.cnwscheckout_progress {
    grid-template-columns: repeat(var(--cnwscheckout_progress_count, 3), minmax(0, 1fr));
}

.cnwscheckout_return_shop,
.cnwscheckout_return_shop:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--cnwscheckout_border, #d9e1ec);
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}

.cnwscheckout_return_shop:hover,
.cnwscheckout_return_shop:focus {
    border-color: var(--cnwscheckout_accent, #c99a3d);
    color: #0f172a;
}

@media (max-width: 760px) {
    .cnwscheckout_flowbar {
        align-items: stretch;
        flex-direction: column;
    }

    .cnwscheckout_return_shop {
        width: 100%;
    }
}


.cnwscheckout_block_guided_currency {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #e2e8f0;
}

.cnwscheckout_block_guided_currency span {
    color: #64748b;
    font-weight: 700;
}

.cnwscheckout_block_guided_currency .cnwscheckout_guided_currency_value {
    color: #334155;
    font-weight: 600;
    text-align: right;
}

.cnwscheckout_guided_currency_value,
.cnwscheckoutpro_sidecart_guided_total .cnwscheckout_guided_currency_value,
.cnwscheckout_block_guided_currency .cnwscheckout_guided_currency_value {
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
}

.cnwscheckout_guided_currency_total .cnwscheckout_guided_currency_value {
    display: inline-block;
    font-weight: 600;
    color: #334155;
}

.cnwscheckout_wsh_guided_currency {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}

.wsh-room-booking-base-price_value + .cnwscheckout_wsh_guided_currency,
.wsh-room-booking-total__value + .cnwscheckout_wsh_guided_currency {
    margin-bottom: 4px;
}


.cnwscheckoutpro_sidecart_shell {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
}

.cnwscheckoutpro_sidecart_shell.is-open {
    pointer-events: auto;
}

.cnwscheckoutpro_sidecart_shell:not(.is-open) .cnwscheckoutpro_sidecart_overlay {
    pointer-events: none;
}

.cnwscheckoutpro_sidecart_overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(15, 23, 42, .52);
    opacity: 0;
    transition: opacity .22s ease;
}

.cnwscheckoutpro_sidecart_shell.is-open .cnwscheckoutpro_sidecart_overlay {
    opacity: 1;
}

.cnwscheckoutpro_sidecart {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: min(440px, 94vw);
    height: 100%;
    background: var(--cnwscheckout_sidecart_bg, #fff) !important;
    color: var(--cnwscheckout_sidecart_text, #0f172a);
    box-shadow: -22px 0 48px rgba(15, 23, 42, .22);
    transform: translateX(105%);
    transition: transform .24s ease;
    opacity: 1 !important;
    filter: none !important;
    pointer-events: auto;
}

.cnwscheckoutpro_sidecart_shell.is-open .cnwscheckoutpro_sidecart {
    transform: translateX(0);
}

.cnwscheckoutpro_sidecart header {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 30px 24px 22px;
    border-bottom: 1px solid var(--cnwscheckout_sidecart_border, #e2e8f0);
    background: linear-gradient(135deg, var(--cnwscheckout_sidecart_header_bg, #132033), var(--cnwscheckout_sidecart_header_bg_2, #8b6826));
    color: var(--cnwscheckout_sidecart_header_text, #fff);
}

.cnwscheckoutpro_sidecart header h3 {
    margin: 0;
    color: var(--cnwscheckout_sidecart_header_text, #fff);
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.cnwscheckoutpro_sidecart header::before {
    content: "CN WebStyle";
    display: block;
    position: absolute;
    margin-top: -16px;
    color: var(--cnwscheckout_sidecart_header_muted, #e6d7b7);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.cnwscheckoutpro_sidecart_close {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .34) !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12) !important;
    color: var(--cnwscheckout_sidecart_close_text, #fff) !important;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    box-shadow: none !important;
}

.cnwscheckoutpro_sidecart_close:hover,
.cnwscheckoutpro_sidecart_close:focus,
.cnwscheckoutpro_sidecart_close:active {
    border-color: rgba(255, 255, 255, .55) !important;
    background: rgba(255, 255, 255, .20) !important;
    color: var(--cnwscheckout_sidecart_close_text, #fff) !important;
    outline: none !important;
    box-shadow: none !important;
}

.cnwscheckoutpro_sidecart_body {
    flex: 1;
    overflow: auto;
    padding: 18px 22px;
    background: var(--cnwscheckout_sidecart_bg, #fff);
}

.cnwscheckoutpro_sidecart_item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--cnwscheckout_sidecart_border, #e2e8f0);
}

.cnwscheckoutpro_sidecart_thumb img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 14px;
    background: #f8fafc;
}

.cnwscheckoutpro_sidecart_item_main {
    min-width: 0;
}

.cnwscheckoutpro_sidecart_item_head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.cnwscheckoutpro_sidecart_item_head strong {
    color: var(--cnwscheckout_sidecart_text, #0f172a);
    font-size: 14px;
    line-height: 1.35;
}

.cnwscheckoutpro_sidecart_meta {
    margin: 5px 0 0;
    color: var(--cnwscheckout_sidecart_muted, #64748b);
    font-size: 12px;
    line-height: 1.35;
}

.cnwscheckoutpro_sidecart_meta dl.variation,
.cnwscheckoutpro_sidecart_meta .wc-item-meta {
    display: grid !important;
    grid-template-columns: minmax(82px, auto) minmax(0, 1fr);
    gap: 3px 8px;
    margin: 7px 0 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.cnwscheckoutpro_sidecart_meta dl.variation dt,
.cnwscheckoutpro_sidecart_meta dl.variation dd,
.cnwscheckoutpro_sidecart_meta .wc-item-meta li,
.cnwscheckoutpro_sidecart_meta .wc-item-meta strong,
.cnwscheckoutpro_sidecart_meta .wc-item-meta p {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    line-height: 1.35 !important;
}

.cnwscheckoutpro_sidecart_meta dl.variation dt,
.cnwscheckoutpro_sidecart_meta .wc-item-meta strong {
    color: var(--cnwscheckout_sidecart_text, #0f172a);
    font-weight: 700;
}

.cnwscheckoutpro_sidecart_meta dl.variation dd p {
    margin: 0 !important;
}

.cnwscheckoutpro_sidecart_item_bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

.cnwscheckoutpro_sidecart_qty {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--cnwscheckout_sidecart_border, #d9e1ec);
    border-radius: 999px;
    overflow: hidden;
    background: var(--cnwscheckout_sidecart_secondary_bg, #fff);
}

.cnwscheckoutpro_sidecart_qty button,
.cnwscheckoutpro_sidecart_qty span {
    min-width: 30px;
    height: 30px;
    margin: 0;
    padding: 0 8px;
    border: 0 !important;
    background: transparent !important;
    color: var(--cnwscheckout_sidecart_text, #0f172a);
    font-size: 13px;
    font-weight: 900;
    line-height: 30px;
    text-align: center;
    box-shadow: none !important;
}

.cnwscheckoutpro_sidecart_qty button {
    cursor: pointer;
    font-size: 16px;
}

.cnwscheckoutpro_sidecart_qty button:hover,
.cnwscheckoutpro_sidecart_qty button:focus,
.cnwscheckoutpro_sidecart_qty button:active {
    background: rgba(15, 23, 42, .05) !important;
    color: var(--cnwscheckout_sidecart_text, #0f172a) !important;
    outline: none !important;
    box-shadow: none !important;
}

.cnwscheckoutpro_sidecart_remove {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--cnwscheckout_sidecart_border, #e2e8f0) !important;
    border-radius: 999px;
    background: var(--cnwscheckout_sidecart_secondary_bg, #fff) !important;
    color: #9f1239 !important;
    cursor: pointer;
    box-shadow: none !important;
}

.cnwscheckoutpro_sidecart_remove:hover,
.cnwscheckoutpro_sidecart_remove:focus,
.cnwscheckoutpro_sidecart_remove:active {
    background: #fff5f5 !important;
    color: #9f1239 !important;
    outline: none !important;
    box-shadow: none !important;
}

.cnwscheckoutpro_sidecart_remove .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.cnwscheckoutpro_sidecart_item_price {
    color: var(--cnwscheckout_sidecart_text, #0f172a);
    font-size: 14px;
    font-weight: 900;
    text-align: right;
}

.cnwscheckoutpro_sidecart footer {
    padding: 20px 22px 22px;
    border-top: 1px solid var(--cnwscheckout_sidecart_border, #e2e8f0);
    background: color-mix(in srgb, var(--cnwscheckout_sidecart_bg, #fff) 92%, #f8fafc);
}

.cnwscheckoutpro_sidecart_total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    color: var(--cnwscheckout_sidecart_text, #334155);
}

.cnwscheckoutpro_sidecart_total.is-muted {
    color: var(--cnwscheckout_sidecart_muted, #64748b);
    font-size: 13px;
}

.cnwscheckoutpro_sidecart_currency {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(15, 23, 42, .04);
    color: var(--cnwscheckout_sidecart_muted, #64748b);
    font-size: 12px;
    line-height: 1.45;
    text-align: right;
}

.cnwscheckoutpro_sidecart_cart,
.cnwscheckoutpro_sidecart_checkout,
.cnwscheckoutpro_sidecart_continue {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin-top: 8px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    font-weight: 900 !important;
    text-align: center;
    text-decoration: none !important;
    box-shadow: none !important;
}

.cnwscheckoutpro_sidecart_checkout {
    border: 0 !important;
    background: var(--cnwscheckout_button_bg, #b8872f) !important;
    color: var(--cnwscheckout_button_text, #fff) !important;
}

.cnwscheckoutpro_sidecart_checkout:hover,
.cnwscheckoutpro_sidecart_checkout:focus {
    background: var(--cnwscheckout_button_bg_hover, #936922) !important;
    color: var(--cnwscheckout_button_text, #fff) !important;
}

.cnwscheckoutpro_sidecart_cart,
.cnwscheckoutpro_sidecart_continue {
    border: 1px solid var(--cnwscheckout_sidecart_border, #cbd5e1) !important;
    background: var(--cnwscheckout_sidecart_secondary_bg, #fff) !important;
    color: var(--cnwscheckout_sidecart_secondary_text, #0f172a) !important;
}

.cnwscheckoutpro_sidecart_empty {
    margin: 0;
    color: var(--cnwscheckout_sidecart_muted, #64748b);
}

body.cnwscheckoutpro_sidecart_open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .cnwscheckoutpro_sidecart {
        width: 100vw;
    }
}

/* v1.6.3 Pro free-shipping line/bar */
.cnwscheckout_free_shipping_bar {
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid color-mix(in srgb, var(--cnwscheckout_free_shipping_fill, #c99a3d) 28%, var(--cnwscheckout_sidecart_border, #e2e8f0));
    border-radius: 16px;
    background: var(--cnwscheckout_free_shipping_bg, #fff7ed);
    color: var(--cnwscheckout_free_shipping_text, #0f172a);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.cnwscheckout_free_shipping_text {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.cnwscheckout_free_shipping_text strong {
    color: var(--cnwscheckout_free_shipping_text, #0f172a);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 900;
}

.cnwscheckout_free_shipping_text span {
    color: var(--cnwscheckout_free_shipping_muted, #64748b);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.cnwscheckout_free_shipping_track {
    overflow: hidden;
    height: 9px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .10);
}

.cnwscheckout_free_shipping_track span {
    display: block;
    width: var(--cnwscheckout_free_shipping_percent, 0%);
    min-width: 8px;
    max-width: 100%;
    height: 100%;
    border-radius: inherit;
    background: var(--cnwscheckout_free_shipping_fill, #c99a3d);
    transition: width .22s ease;
}

.cnwscheckout_free_shipping_bar.is-complete .cnwscheckout_free_shipping_track span {
    width: 100%;
}

.cnwscheckoutpro_sidecart footer .cnwscheckout_free_shipping_bar,
.cnwscheckout_free_shipping_side_cart {
    margin: 0 0 14px;
    padding: 12px;
    border-radius: 14px;
    box-shadow: none;
}

.cnwscheckoutpro_sidecart footer .cnwscheckout_free_shipping_text,
.cnwscheckout_free_shipping_side_cart .cnwscheckout_free_shipping_text {
    display: block;
    margin-bottom: 9px;
}

.cnwscheckoutpro_sidecart footer .cnwscheckout_free_shipping_text strong,
.cnwscheckout_free_shipping_side_cart .cnwscheckout_free_shipping_text strong {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
}

.cnwscheckoutpro_sidecart footer .cnwscheckout_free_shipping_text span,
.cnwscheckout_free_shipping_side_cart .cnwscheckout_free_shipping_text span {
    display: block;
    text-align: left;
    white-space: normal;
}

.cnwscheckout_free_shipping_block {
    margin: 14px 0;
}

@media (max-width: 760px) {
    .cnwscheckout_free_shipping_text {
        display: block;
    }

    .cnwscheckout_free_shipping_text span {
        display: block;
        margin-top: 3px;
        text-align: left;
        white-space: normal;
    }
}


.cnwscheckout_free_shipping_totals_row td {
    padding: 12px 0 !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.cnwscheckout_free_shipping_totals_row .cnwscheckout_free_shipping_bar {
    margin: 0;
    padding: 12px;
    border-radius: 14px;
}

.cnwscheckout_free_shipping_totals_row .cnwscheckout_free_shipping_text {
    gap: 6px;
}

.cnwscheckout_free_shipping_totals_row .cnwscheckout_free_shipping_text strong {
    font-size: 13px;
}

.cnwscheckout_free_shipping_totals_row .cnwscheckout_free_shipping_text span {
    font-size: 12px;
}

.cnwscheckout_abandoned_capture_form {
    margin: 14px 0;
    padding: 14px;
    border: 1px solid var(--cnwscheckout_sidecart_border, #e2e8f0);
    border-radius: 14px;
    background: rgba(255,255,255,.78);
}

.cnwscheckout_abandoned_checkout_capture {
    width: 100%;
    margin: 8px 0 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    clear: both;
}

.cnwscheckout_abandoned_capture_form strong {
    display: block;
    margin-bottom: 10px;
    color: var(--cnwscheckout_sidecart_text, #0f172a);
}

.cnwscheckout_abandoned_capture_row {
    display: flex;
    gap: 8px;
}

.cnwscheckout_abandoned_capture_row input[type="email"] {
    min-width: 0;
    flex: 1 1 auto;
}

.cnwscheckout_abandoned_capture_button {
    white-space: nowrap;
}

.cnwscheckout_abandoned_consent_label {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--cnwscheckout_sidecart_muted, #64748b);
}

.cnwscheckout_abandoned_consent_label input[type="checkbox"] {
    flex: 0 0 auto;
    margin-top: 2px;
}

.cnwscheckout_abandoned_checkout_capture .cnwscheckout_abandoned_consent_label {
    display: inline-flex;
    align-items: center;
    margin: 8px 0 0 0;
    padding: 10px 12px;
    border: 1px solid var(--cnwscheckout_checkout_field_border, #d8e2ef);
    border-radius: 12px;
    background: var(--cnwscheckout_checkout_field_bg, rgba(255,255,255,.88));
    color: var(--cnwscheckout_checkout_field_text, #64748b);
    font-size: 12px;
    line-height: 1.35;
}

.cnwscheckout_abandoned_checkout_capture .cnwscheckout_abandoned_capture_message {
    margin-top: 6px;
    font-size: 12px;
}

.cnwscheckout_abandoned_capture_form .cnwscheckout_abandoned_capture_button {
    min-height: 44px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
}

.cnwscheckout_abandoned_capture_message {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
}

.cnwscheckout_abandoned_capture_message.is-success {
    color: #166534;
}

.cnwscheckout_abandoned_capture_message.is-error {
    color: #991b1b;
}

@media (max-width: 520px) {
    .cnwscheckout_abandoned_capture_row {
        flex-direction: column;
    }
}

/* v1.8.9 side-cart action polish: stable secondary button border on all themes */
.cnwscheckoutpro_sidecart footer button.cnwscheckoutpro_sidecart_continue,
.cnwscheckoutpro_sidecart footer .cnwscheckoutpro_sidecart_continue.button,
.cnwscheckoutpro_sidecart footer a.cnwscheckoutpro_sidecart_cart,
.cnwscheckoutpro_sidecart footer .cnwscheckoutpro_sidecart_cart.button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 46px !important;
    border: 1px solid var(--cnwscheckout_sidecart_border, #cbd5e1) !important;
    border-radius: 999px !important;
    background: var(--cnwscheckout_sidecart_secondary_bg, #ffffff) !important;
    color: var(--cnwscheckout_sidecart_secondary_text, #0f172a) !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
}

.cnwscheckoutpro_sidecart footer button.cnwscheckoutpro_sidecart_continue:hover,
.cnwscheckoutpro_sidecart footer button.cnwscheckoutpro_sidecart_continue:focus,
.cnwscheckoutpro_sidecart footer .cnwscheckoutpro_sidecart_continue.button:hover,
.cnwscheckoutpro_sidecart footer .cnwscheckoutpro_sidecart_continue.button:focus,
.cnwscheckoutpro_sidecart footer a.cnwscheckoutpro_sidecart_cart:hover,
.cnwscheckoutpro_sidecart footer a.cnwscheckoutpro_sidecart_cart:focus,
.cnwscheckoutpro_sidecart footer .cnwscheckoutpro_sidecart_cart.button:hover,
.cnwscheckoutpro_sidecart footer .cnwscheckoutpro_sidecart_cart.button:focus {
    border-color: var(--cnwscheckout_button_bg, #b8872f) !important;
    background: var(--cnwscheckout_sidecart_secondary_bg, #ffffff) !important;
    color: var(--cnwscheckout_sidecart_secondary_text, #0f172a) !important;
    outline: none !important;
    box-shadow: none !important;
}


@media (max-width: 760px) {
    .cnwscheckoutpro_sidecart_trigger {
        right: 14px;
        bottom: 14px;
        min-height: 50px;
        padding: 0 14px;
    }

    .cnwscheckoutpro_sidecart_trigger_label {
        display: none;
    }
}
