.cws-decrease-quantity,
.cws-increase-quantity {
    width: 24px;
    height: 100%;
    padding: 4px;
    cursor: pointer;
    transition: 250ms;
}

.cws-decrease-quantity:hover,
.cws-increase-quantity:hover {
    background: var(--e-global-color-primary);
}

.cws-decrease-quantity:hover path,
.cws-increase-quantity:hover path {
    stroke: #fff;
}

.cws-quantity {
    user-select: none;
    min-width: 24px;
    text-align: center;
}

.cws-quantity-input {
    display: flex;
    background: #f7f7f7;
    align-items: center;
}

.cws-decrease-quantity svg,
.cws-increase-quantity svg {
    width: 100%;
    height: 100%;
}

.cws-add-to-cart-content {
    gap: 8px;
}

.cws-add-to-cart {
    width: 100%;
}

.cws-add-to-cart-button {
    background: var(--e-global-color-primary);
    background-color: var(--e-global-color-primary);
    border: 0px;
    width: 100%;
    color: #fff;
    transition: 250ms;
    cursor: pointer;
}

.cws-add-to-cart-button:hover {
    background: var(--e-global-color-secondary);
    background-color: var(--e-global-color-secondary);
}

.cws-cart-icon {
    position: relative;
    height: 24px;
    width: 24px;
    color: #fff;
    cursor: pointer;
}

.cws-cart-icon svg {
    height: 100%;
    width: 100%;
    fill: transparent;
}

.cws-cart-icon svg path {
    stroke: #fff;
}

.cws-cart-quantity-wrap {
    position: absolute;
    top: -50%;
    right: -50%;
}

.cws-cart-quantity-wrap .cws-cart-quantity {
    width: 22px;
    color: #fff;
    height: 22px;
    display: block;
    border-radius: 100%;
    background: var(--e-global-color-primary);
    text-align: center;
    font-size: 14px;
    line-height: 24px;
}

.cws-cart-wrap {
    height: calc(var(--vh, 1vh) * 100);
    top: 0px;
    right: 0%;
    position: fixed;
    width: 100%;
    z-index: 999999;
    box-shadow: -5px 0px 30px 5px #0000000d;
    pointer-events: none;
    visibility: hidden;
    background: #00000090;
}

.cws-cart-wrap.active {
    pointer-events: all;
    visibility: visible;
}

.cws-cart-wrap .cws-cart-content {
    height: 100%;
    top: 0px;
    right: -100%;
    position: absolute;
    width: 100%;
    max-width: 400px;
    z-index: 999;
    transition: 500ms;
    background: #fff;
    flex-direction: column;
}

.cws-cart-wrap.active .cws-cart-content {
    right: 0%;
}

.cws-cart-items-wrap {
    height: 100%;
    overflow-y: scroll;
    flex: 1;
}

.cws-cart-footer {
    padding: 16px;
    border-top: 1px solid #d9d9d9;
}

.cws-cart-footer .minicartcart-actions {
    gap: 8px;
}

.cws-cart-checkout-action,
.cart-summary-actions a,
.cws-cart-mobile-sticky-actions a,
.cws-cart-coupon-action {
    position: relative;
    width: 100%;
}

.cws-cart-checkout-action.view-cart {
    background: transparent;
    border: 1px solid var(--cws-suite-neutral);
    color: var(--cws-suite-neutral);
}

.cws-cart-checkout-action.view-cart:hover {
    transition: 250ms;
    border-color: var(--cws-suite-neutral-hover);
    color: var(--cws-suite-neutral-hover);
}

.cws-minicart-item-wrap {
    padding: 10px;
}

.cws-minicart-item-content .minicart-item-image {
    max-width: 80px;
}

.cws-minicart-item-content .minicart-item-image img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.cws-minicart-item-content .minicart-item-name {
    font-weight: bold;
}

.cws-minicart-item-content .single-cart-item-attr {
    font-size: 13px;
}

.cws-minicart-item-content .attr-name {
    font-weight: 500;
}

.cws-minicart-item-content .minicart-actions {
    flex-direction: column;
    gap: 8px;
}

.cws-minicart-item-content .cws-single-item-total-price {
    font-weight: bold;
}

.cws-minicart-item-content .minicart-price-data {
    gap: 8px;
    align-items: center;
}

.cws-minicart-item-content .minicart-item-data {
    flex-direction: column;
    gap: 8px;
    justify-content: space-between;
}

.cws-minicart-item-wrap .cws-minicart-item-content {
    position: relative;
    padding: 12px;
    border-bottom: 1px solid #d9d9d9;
    gap: 10px;
}

.cws-close-minicart,
.cws-checkout-line-remove,
.cws-remove-from-cart {
    position: absolute;
    width: 20px;
    height: 20px;
    padding: 4px;
    display: block;
    cursor: pointer;
}

.cws-remove-from-cart,
.cws-checkout-line-remove,
.cws-remove-from-fullcart {
    top: 0px;
    left: 0px;
    background: var(--cws-suite-negative);
    border-radius: 100%;
    transition: 250ms;
}

.cws-remove-from-fullcart {
    position: absolute;
    padding: 4px;
    display: block;
    cursor: pointer;
    top: 18px;
    width: 18px;
    height: 18px;
    left: -5px;
}

.cws-remove-from-cart:hover,
.cws-checkout-line-remove:hover,
.cws-remove-from-fullcart:hover {
    background: var(--cws-suite-negative-hover);
}

.cws-close-minicart svg,
.cws-remove-from-cart svg,
.cws-checkout-line-remove svg,
.cws-remove-from-fullcart svg {
    width: 100%;
    height: 100%;
    display: block;
}

.cws-close-minicart svg path,
.cws-remove-from-cart svg path,
.cws-checkout-line-remove svg path,
.cws-remove-from-fullcart svg path {
    stroke: #fff;
    transition: 250ms;
    stroke-width: 5px;
}

.cws-checkout-line-remove {
    width: 16px;
    height: 16px;
    padding: 3px;
    top: -5px;
    left: -5px;
}

.cws-remove-from-fullcart {
    display: none;
}

@media (max-width: 768px) {
    .cws-remove-from-fullcart {
        display: block;
    }

    .cws-cart-item-remove-wrap {
        display: none;
    }
}

.cws-close-minicart svg path {
    stroke-width: 3px;
}

.cws-cart-item-content .cws-minicart-item-wrap:last-child .cws-minicart-item-content {
    border-bottom: 0px;
}

.cws-cart-items-wrap.loading::after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: #ffffff80;
}

.cws-cart-items-wrap {
    flex-direction: column;
}

.cws-close-minicart {
    position: absolute;
    top: 5px;
    left: -50px;
    width: 28px;
    height: 28px;
}

.minicart-total-data {
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.minicart-total-data .minicart-total {
    font-weight: bold;
}

#tidio-chat {
    z-index: 99999 !important;
}

.cws-suite-loading-animation-wrap {
    background: inherit;
    background-color: inherit;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    padding: 8px;
    fill: #fff;
}

.cws-minicart-wrap {
    cursor: pointer;
    gap: 8px;
}

.cws-minicart-wrap .cws-cart-totals {
    min-width: 70px;
}

.cws-minicart-wrap .cws-cart-totals .amount {
    color: #fff;
}

svg.cws-suite-loading-animation {
    transform-origin: center;
    animation: rotate 500ms infinite;
    width: max-content;
    height: 100%;
    fill: inherit;
}

svg.cws-suite-loading-animation g {
    fill: inherit;
}

.cws-add-to-cart-button {
    position: relative;
}

button.cws-add-to-cart-button[cws-disabled='1'] {
    background: #d9d9d9;
}

.cws-cart-title {
    text-align: center;
}

.cws-cart-title img {
    max-width: 150px;
    width: 100%;
}

.cws-variable-product {
    flex-direction: column;
    gap: 16px;
}

.cws-suite.empty-cart-notice {
    padding: 22px;
}

.soft-red-pulse {
    color: #d8c9cc;
    background-color: #756468;
    border: 1px solid #8e767b;
    animation: softRedPulse 1s ease-in-out infinite;
}

.price-animate-out {
    animation: priceOut 0.18s ease forwards;
}

.price-animate-in {
    animation: priceIn 0.28s ease forwards;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.cws-add-to-cart.button.loading::after {
    content: unset !important;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.cws-add-to-cart.button.loading {
    padding-right: 0 !important;
}

.cws-loop-add-to-cart .cws-suite-loading-animation-wrap {
    text-align: center;
}

.cws-single-cart-item-content {
    gap: 16px;
    width: 100%;
}

.cws-cart-item-thumbnail {
    width: 130px;
}

.cws-cart-item-thumbnail>a {
    width: 100%;
    height: 100%;
    display: block;
}

.cws-cart-item-details {
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.cws-cart-product-name>a {
    font-size: 18px;
    line-height: 28px;
}

.cws-cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-contents-content {
    flex-direction: column;
}

.cart-contents-wrap {
    flex: 1;
    border-radius: 8px;
    padding: 24px 16px;
    background: var(--cws-surface);
    border: 1px solid var(--cws-line);
    border-radius: var(--cws-radius);
}

.cws-single-cart-item-content {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f5f5f5;
}

.cws-woocommerce-cart-form {
    max-width: 1280px;
    margin: auto;
    width: 100%;
    padding: 24px 16px;
}

.cart-totals-wrap {
    max-width: 460px;
    width: 100%;
    background: var(--cws-surface);
    border: 1px solid var(--cws-line);
    border-radius: var(--cws-radius);
}

.cws-woocommerce-cart-form>.flex {
    width: 100%;
    gap: 24px;
}

.cws-woocommerce-cart-form .cart-totals-content {
    flex-direction: column;
    gap: 16px;
    border-radius: 8px;
    padding: 24px 16px;
    background: #fff;
    position: sticky;
    top: 32px;
}

.cws-woocommerce-cart-form .cws_cart_summary {
    flex-direction: column;
    gap: 16px;
}

.cws-woocommerce-cart-form .cart-subtotal,
.cws-woocommerce-cart-form .order-total {
    justify-content: space-between;
}

.cws-woocommerce-cart-form .cws_cart_summary .order-total strong {
    display: block;
    text-align: right;
}

.cws-woocommerce-cart-form .cart-totals-heading h2 {
    font-size: 28px;
    line-height: 36px;
    margin: 0;
    text-align: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #d9d9d9;
}

.cws-woocommerce-cart-form .cart-summary-actions {
    margin-top: 16px;
}

.cws-woocommerce-cart-form .cart-contents-content div:first-child .cws-single-cart-item-content {
    border-top: unset !important;
}

.elementor-widget-cws_suite_woocommerce_cart_full {
    width: 100%;
}

.cws-woocommerce-cart-form .cart-subtotal,
.cws-woocommerce-cart-form .order-total {
    font-size: 16px;
}

.cws-woocommerce-cart-form .cws-singleitem-pricing {
    gap: 16px;
}

.cws-woocommerce-cart-form .cws-cart-item-remove {
    font-size: 12px;
    cursor: pointer;
    transition: 250ms;
}

.cws-woocommerce-cart-form .cws-cart-item-remove:hover {
    color: var(--cws-suite-negative);
}

.cws-suite-promocode-input .cws-cart-coupon-action {
    cursor: pointer;
    width: max-content;
}

.cws-suite-promocode-input-wrap {
    margin-top: 8px;
    padding-top: 16px;
}

.cws-suite-promocode-input-wrap>label {
    margin-bottom: 12px;
    font-size: 14px;
}

.cws-woocommerce-cart-form .cws-decrease-quantity,
.cws-woocommerce-cart-form .cws-increase-quantity {
    height: 32px;
}

.cws-woocommerce-cart-form .cws-decrease-quantity:hover {
    background: var(--cws-suite-negative);
}

/* ── Cart segment update overlay ─────────────────────────────────────────── */
.cws-suite-fullcart-update-overlay {
    position: relative;
    pointer-events: none;
    user-select: none;
}

.cws-suite-fullcart-update-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 10;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.65);
    animation: cws-overlay-pulse 500ms ease-in-out infinite;
}

.cws-cart-actions-right {
    position: relative;
    align-items: center;
    gap: 8px;
    transition: 500ms;
}

.cws-woocommerce-cart-form .cws-cart-actions-right .cws-suite-loading-animation-wrap svg path {
    fill: var(--e-global-color-primary);
}

.cws-woocommerce-cart-form .cws-cart-actions-right .cws-suite-loading-animation-wrap {
    position: relative;
    width: max-content;
    height: 24px;
    padding: 0px;
}

/* ── Coupon notices ───────────────────────────────────────────────────────── */
.cws-suite-coupon-notices {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
}

.cws-suite-coupon-notice p {
    margin: 0;
}

.cws-suite-coupon-notice {
    padding: 10px 14px;
    border-radius: 0px 6px 6px 0px;
    font-size: 14px;
    line-height: 18px;
    border-left: 3px solid transparent;
}

.cws-suite-coupon-notice--success {
    background-color: #f0faf4;
    border-color: var(--cws-suite-positive);
    color: var(--cws-suite-positive);
}

.cws-suite-coupon-notice--error {
    background-color: #fdf3f3;
    border-color: var(--cws-suite-negative);
    color: var(--cws-suite-negative);
}

.cws-suite-coupon-notice--notice {
    background-color: #f5f8ff;
    border-color: var(--e-global-color-primary);
    color: var(--e-global-color-primary);
}

/* ── Out-of-stock notice ─────────────────────────────────────────────────── */
.cws-out-of-stock-notice-slot {
    margin-bottom: 12px;
}

.cws-out-of-stock-notice-slot--hidden {
    display: none;
}

.cws-out-of-stock-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 8px;
    background-color: #f4f4f5;
    color: #1f2937;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 12px;
}

.cws-out-of-stock-notice-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
}

.cws-out-of-stock-notice-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cws-out-of-stock-notice-title {
    font-weight: 600;
}

.cws-add-to-cart-button[disabled],
.cws-add-to-cart-button[disabled]:hover {
    background: #d9d9d9;
    background-color: #d9d9d9;
    cursor: not-allowed;
}

/* ── Mobile sticky cart actions ──────────────────────────────────────────── */
.cws-cart-mobile-sticky-actions {
    display: none;
}

.cws-woocommerce-cart-form .cws-single-cart-item-wrap {
    position: relative;
}

.cws-woocommerce-cart-form .cws-shipping-package {
    flex-direction: column;
    gap: 8px;
}


@media (max-width: 768px) {
    .cws-cart-actions {
        gap: 8px;
    }

    .cws-cart-item-details {
        gap: 16px;
    }

    .cws-singleitem-pricing {
        justify-content: space-between;
        width: 100%;
    }

    .cws-cart-mobile-sticky-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 12px 16px;
        background: #fff;
        box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.10);
        z-index: 999;
        transition: transform 0.25s ease, opacity 0.25s ease;
        transform: translateY(100%);
        opacity: 0;
        pointer-events: none;
    }

    .cws-cart-mobile-sticky-actions--visible {
        display: block;
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}

@keyframes cws-overlay-pulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

@keyframes priceOut {
    from {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }

    to {
        opacity: 0;
        transform: translateY(-6px);
        filter: blur(2px);
    }
}

@keyframes priceIn {
    from {
        opacity: 0;
        transform: translateY(6px) scale(0.98);
        filter: blur(2px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes softRedPulse {

    0%,
    100% {
        background-color: #ac5a68;
        box-shadow: 0 0 0 rgba(160, 90, 100, 0);
    }

    50% {
        background-color: #ad4052;
        box-shadow: 0 0 18px rgba(170, 95, 105, 0.28);
    }
}

@media (max-width:768px) {
    .cws-woocommerce-cart-form>.flex {
        flex-direction: column;
    }

    .cws-close-minicart {
        left: unset;
        right: 12px;
        background: #fff;
        border-radius: 100%;
    }

    .cws-close-minicart svg path {
        stroke: #222;
    }
}

@media (max-width:480px) {
    .cws-cart-wrap .cws-cart-content {
        max-width: unset;
    }
}

/* ============================================================================
   CHECKOUT BLOCK (woocheckout)
   All styles scoped under .cws-checkout-wrap, .cws-woocommerce-cart-form. Maps design tokens to Elementor
   globals where useful so the user's theme colors flow through.
============================================================================ */
.cws-checkout-wrap,
.cws-woocommerce-cart-form{
    --cws-accent: var(--e-global-color-accent, #1a1814);
    --cws-accent-ink: #fff;
    --cws-line: rgba(0, 0, 0, 0.08);
    --cws-line-2: rgba(0, 0, 0, 0.12);
    --cws-surface: #fff;
    --cws-surface-2: #fafaf9;
    --cws-field: #f7f6f4;
    --cws-ink-1: var(--e-global-color-text, #1a1814);
    --cws-ink-2: rgba(26, 24, 20, 0.7);
    --cws-ink-3: rgba(26, 24, 20, 0.55);
    --cws-ink-4: rgba(26, 24, 20, 0.35);
    --cws-danger: #c1432a;
    --cws-radius: 8px;
    --cws-radius-sm: 6px;
    --cws-pad-card: 28px;
    --cws-gap: 20px;

    color: var(--cws-ink-1);
    max-width: 1280px;
}

.cws-checkout-wrap{
    margin: 0 auto;
    padding: 24px 16px 40px 16px;
}

.cws-checkout-wrap *,
.cws-checkout-wrap *::before,
.cws-checkout-wrap *::after {
    box-sizing: border-box;
}

.cws-checkout-wrap .woocommerce-notices-wrapper:empty {
    display: none;
}

.cws-checkout-wrap .woocommerce-notices-wrapper {
    margin-bottom: 16px;
}

.cws-checkout-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 32px;
    align-items: start;
}

.cws-checkout-main {
    min-width: 0;
}

.cws-checkout-summary {
    display: flex;
    flex-direction: column;
    gap: var(--cws-gap);
    min-width: 0;
}

/* Cards */
.cws-checkout-wrap .cws-card {
    background: var(--cws-surface);
    border: 1px solid var(--cws-line);
    border-radius: var(--cws-radius);
    padding: var(--cws-pad-card);
}

.cws-checkout-main .cws-card+.cws-card {
    margin-top: var(--cws-gap);
}

.cws-checkout-wrap .cws-card-h {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.cws-checkout-wrap .cws-card-h h2 {
    font-size: 21px;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.005em;
    line-height: 1.3;
}

.cws-checkout-wrap .cws-card-h-muted {
    color: var(--cws-ink-3);
    font-weight: 400;
    font-size: 13px;
}

/* Empty / editor states */
.cws-checkout-empty .cws-card,
.cws-checkout-editor-preview .cws-card {
    background: var(--cws-surface);
    border: 1px solid var(--cws-line);
    border-radius: var(--cws-radius);
    padding: 24px;
    text-align: center;
}

/* Form fields — override WC defaults inside the wrap */
.cws-checkout-wrap .form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 14px;
    padding: 0;
}

.cws-checkout-wrap .form-row:last-child {
    margin-bottom: 0;
}

.cws-checkout-wrap .form-row-first,
.cws-checkout-wrap .form-row-last {
    width: calc(50% - 7px);
    float: none;
}

.cws-checkout-wrap .form-row-wide {
    width: 100%;
}

.cws-checkout-wrap .woocommerce-billing-fields__field-wrapper,
.cws-checkout-wrap .woocommerce-shipping-fields__field-wrapper,
.cws-checkout-wrap .woocommerce-additional-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
}

.cws-checkout-wrap .woocommerce-billing-fields__field-wrapper>.form-row-wide,
.cws-checkout-wrap .woocommerce-shipping-fields__field-wrapper>.form-row-wide,
.cws-checkout-wrap .woocommerce-additional-fields__field-wrapper>.form-row-wide,
.cws-checkout-wrap .form-row.notes,
.cws-checkout-wrap .form-row.create-account {
    grid-column: 1 / -1;
}

.cws-checkout-wrap form .form-row-first,
.cws-checkout-wrap form .form-row-last,
.woocommerce .cws-checkout-wrap form .form-row-first,
.woocommerce .cws-checkout-wrap form .form-row-last {
    width: 100%;
    float: none;
}

.cws-checkout-wrap .form-row label {
    font-size: 13px;
    font-weight: 500;
    color: var(--cws-ink-2);
}

.cws-checkout-wrap .form-row label .required,
.cws-checkout-wrap .form-row label .optional {
    color: var(--cws-danger);
    text-decoration: none;
    margin-left: 2px;
}

.cws-checkout-wrap .form-row label .optional {
    color: var(--cws-ink-4);
}

.cws-checkout-wrap input[type="text"],
.cws-checkout-wrap input[type="email"],
.cws-checkout-wrap input[type="tel"],
.cws-checkout-wrap input[type="number"],
.cws-checkout-wrap input[type="password"],
.cws-checkout-wrap select,
.cws-checkout-wrap textarea {
    width: 100%;
    border: 1px solid var(--cws-line-2);
    background: var(--cws-field);
    border-radius: var(--cws-radius-sm);
    padding: 14px 14px;
    font-family: inherit;
    font-size: 15px;
    color: var(--cws-ink-1);
    transition: border-color .12s, background .12s, box-shadow .12s;
    line-height: 1.4;
}

.cws-checkout-wrap input::placeholder,
.cws-checkout-wrap textarea::placeholder {
    color: var(--cws-ink-4);
}

.cws-checkout-wrap input:hover,
.cws-checkout-wrap select:hover,
.cws-checkout-wrap textarea:hover {
    border-color: rgba(0, 0, 0, 0.25);
}

.cws-checkout-wrap input:focus,
.cws-checkout-wrap select:focus,
.cws-checkout-wrap textarea:focus {
    outline: none;
    border-color: var(--cws-ink-1);
    background: var(--cws-surface);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.cws-checkout-wrap textarea {
    resize: vertical;
    min-height: 140px;
    padding: 18px 20px;
    line-height: 1.65;
    font-size: 14px;
    font-family: inherit;
    border: 1px solid var(--cws-line);
    border-radius: var(--cws-radius);
    background: var(--cws-surface-2);
    color: var(--cws-ink-1);
    letter-spacing: 0.005em;
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.02);
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.cws-checkout-wrap textarea::placeholder {
    color: var(--cws-ink-4);
    font-style: normal;
    opacity: 1;
}

.cws-checkout-wrap textarea:hover {
    background: var(--cws-surface);
    border-color: var(--cws-line-2);
}

.cws-checkout-wrap textarea:focus {
    background: var(--cws-surface);
    border-color: var(--cws-accent);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(0, 0, 0, 0.02);
    outline: none;
}

.cws-checkout-wrap select {
    appearance: none;
    -webkit-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--cws-ink-2) 50%),
        linear-gradient(135deg, var(--cws-ink-2) 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 36px;
}

/* Select2 (country dropdown) — make it look like a native field */
.cws-checkout-wrap .select2-container .select2-selection--single {
    height: auto;
    border: 1px solid var(--cws-line-2);
    background: var(--cws-field);
    border-radius: var(--cws-radius-sm);
    padding: 12px 14px;
}

.cws-checkout-wrap .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.4;
    padding: 0;
    color: var(--cws-ink-1);
}

.cws-checkout-wrap .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 10px;
    top: 0;
}

/* Ship-to-different-address checkbox card */
.cws-checkout-ship-toggle-card {
    padding: 18px 28px !important;
}

.cws-checkout-ship-toggle-card #ship-to-different-address {
    margin: 0;
}

.cws-checkout-wrap .cws-check {
    display: flex !important;
    gap: 12px;
    align-items: center;
    cursor: pointer;
    user-select: none;
    margin: 0;
}

.cws-checkout-wrap .cws-check-input {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 1px solid var(--cws-line-2);
    border-radius: 5px;
    flex: 0 0 22px;
    background: var(--cws-surface);
    margin-top: 1px;
    padding: 0 !important;
    position: relative;
    cursor: pointer;
    transition: all .12s;
}

.cws-checkout-wrap .cws-check-input:checked {
    background: var(--cws-surface);
    border-color: var(--cws-accent);
}

.cws-checkout-wrap .cws-check-input:checked::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 7px;
    width: 7px;
    height: 11px;
    border-right: 2px solid var(--cws-accent);
    border-bottom: 2px solid var(--cws-accent);
    transform: rotate(45deg);
}

.cws-checkout-wrap .cws-check-label {
    font-size: 14px;
    color: var(--cws-ink-1);
}

.cws-checkout-wrap .cws-checkout-place-order .cws-check-label {
    font-size: 13px;
    line-height: 1.5;
}

.cws-checkout-wrap .cws-check-muted {
    color: var(--cws-ink-3);
    font-size: 13px;
}

/* Order review (right column, summary card body) */
.cws-checkout-review-lines {
    display: flex;
    flex-direction: column;
}

.cws-checkout-line {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--cws-line);
    align-items: flex-start;
}

.cws-checkout-line:first-child {
    padding-top: 0;
}

.cws-checkout-line:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cws-checkout-line-thumb {
    width: 56px;
    height: 56px;
    background: var(--cws-surface-2);
    border-radius: var(--cws-radius-sm);
    position: relative;
    overflow: hidden;
}

.cws-checkout-line-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.cws-checkout-line-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cws-checkout-line-body {
    min-width: 0;
}

.cws-checkout-line-qty {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 13px;
    color: var(--cws-ink-2);
}

.cws-checkout-line-qty .cws-quantity-input {
    flex: 0 0 auto;
}

.cws-checkout-line-qty .qunatitiy-multiplier {
    opacity: 0.6;
}

.cws-checkout-line-single-price {
    color: var(--cws-ink-1);
}

.cws-checkout-line-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.cws-checkout-line-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--cws-ink-1);
    line-height: 1.35;
}

.cws-checkout-line-meta {
    font-size: 12px;
    color: var(--cws-ink-3);
    margin-top: 4px;
    line-height: 1.45;
}

.cws-checkout-line-meta p {
    margin: 0;
}

.cws-checkout-line-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--cws-ink-1);
    white-space: nowrap;
}

/* Totals */
.cws-checkout-totals {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--cws-line);
    font-size: 14px;
}

.cws-tot-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.cws-tot-row .l {
    color: var(--cws-ink-2);
}

.cws-tot-row .v {
    color: var(--cws-ink-1);
    font-weight: 500;
    text-align: right;
}

.cws-tot-row.grand {
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid var(--cws-line);
    font-size: 17px;
}

.cws-tot-row.grand .l {
    color: var(--cws-ink-1);
    font-weight: 600;
}

.cws-tot-row.grand .v {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.cws-tot-row.cart-discount .v {
    color: var(--cws-accent);
}

.cws-tot-row .woocommerce-shipping-totals {
    margin: 0;
}

.cws-shipping-not-available {
    color: var(--cws-ink-3);
    font-size: 13px;
    font-weight: 400;
}

/* Checkout coupon row */
.cws-checkout-coupon {
    margin-top: 18px;
}

.cws-coupon-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--cws-surface-2);
    border: 1px dashed var(--cws-line-2);
    border-radius: var(--cws-radius-sm);
    font-size: 13px;
    color: var(--cws-ink-2);
    cursor: pointer;
    transition: border-color .12s, background .12s;
}

.cws-coupon-toggle:hover {
    border-color: var(--cws-ink-3);
}

.cws-coupon-toggle::before {
    content: "+";
    font-size: 18px;
    color: var(--cws-ink-3);
    line-height: 1;
}

.cws-coupon-toggle b {
    color: var(--cws-ink-1);
    font-weight: 600;
}

.cws-checkout-wrap .cws-coupon-form {
    display: none;
    margin-top: 12px;
}

.cws-checkout-wrap .cws-coupon-form--open {
    display: block;
}

.cws-checkout-wrap .cws-suite-promocode-input-wrap.cws-coupon-form {
    margin: 12px 0 0;
    padding: 0;
}

.cws-checkout-wrap .cws-suite-promocode-input-wrap>label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--cws-ink-2);
    margin-bottom: 8px;
}

.cws-checkout-wrap .cws-suite-promocode-input {
    align-items: stretch;
}

.cws-checkout-wrap .cws-suite-promocode-input .cws-coupon-input {
    flex: 1;
    min-width: 0;
}

.cws-checkout-wrap .cws-suite-promocode-input .cws-coupon-apply {
    width: auto;
    flex: 0 0 auto;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.cws-checkout-wrap .cws-coupon-apply.loading {
    position: relative;
}

.cws-suite-coupon-notices-slot {
    margin-top: 12px;
}

.cws-suite-coupon-notice {
    padding: 10px 12px;
    border-radius: 0px var(--cws-radius-sm) var(--cws-radius-sm) 0px;
    font-size: 13px;
    line-height: 1.4;
}

.cws-suite-coupon-notice p {
    margin: 0;
}

.cws-suite-coupon-notice--error {
    background: rgba(193, 67, 42, 0.08);
    color: var(--cws-danger);
}

.cws-suite-coupon-notice--success {
    background: rgba(40, 130, 70, 0.08);
    color: rgb(40, 130, 70);
}

.cws-suite-coupon-notice--notice {
    background: var(--cws-surface-2);
    color: var(--cws-ink-2);
}

/* Payment + shipping radio cards (shared rules — shipping density is overridden below) */
.cws-pay-list,
.cws-ship-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cws-pay,
.cws-ship {
    display: block;
    border: 1px solid var(--cws-line-2);
    border-radius: var(--cws-radius-sm);
    padding: 14px 16px;
    cursor: pointer;
    transition: border-color .12s, background .12s, box-shadow .12s;
    background: var(--cws-surface);
    /* Anchor for the click-overlay pseudo on .cws-*-label::before */
    position: relative;
}

.cws-pay:hover,
.cws-ship:hover {
    border-color: var(--cws-ink-3);
}

.cws-ship.cws-ship--single,
.cws-ship.cws-ship--single:hover {
    cursor: default;
    border-color: var(--cws-line-2);
}

.cws-pay.selected,
.cws-ship.selected {
    border-color: var(--cws-accent);
    background: var(--cws-field);
}

.cws-pay-label,
.cws-ship-label {
    display: block;
    cursor: pointer;
}

/* Click anywhere on the card to select. The label's ::before stretches over the
   whole card; clicking it counts as clicking the label, which toggles the radio.
   Suppressed on .cws-pay.selected so the (now visible) .cws-pay-body form fields
   stay interactive, and not used on .cws-ship--single (no <label> rendered). */
.cws-pay-label::before,
.cws-ship-label::before {
    content: '';
    position: absolute;
    inset: 0;
}

.cws-pay.selected .cws-pay-label::before {
    content: none;
}

.cws-pay-head,
.cws-ship-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cws-pay-head .input-radio,
.cws-ship-head .input-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cws-pay-radio,
.cws-ship-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid var(--cws-line-2);
    flex: 0 0 18px;
    background: var(--cws-surface);
    position: relative;
    transition: border-color .12s;
}

.cws-pay.selected .cws-pay-radio,
.cws-ship.selected .cws-ship-radio {
    border-color: var(--cws-accent);
}

.cws-pay.selected .cws-pay-radio::after,
.cws-ship.selected .cws-ship-radio::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--cws-accent);
    transform: translate(-50%, -50%);
}

.cws-pay-title,
.cws-ship-title {
    font-weight: 600;
    font-size: 14px;
    flex: 1;
    line-height: 18px;
}

/* Shipping compact variant — tighter than payment cards so the right-hand
   summary stays dense. Keeps the same visual language (border, .selected, etc.) */
.cws-ship-list { gap: 6px; }
.cws-ship { padding: 8px 12px; }
.cws-ship-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.cws-ship-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.cws-ship-right {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-shrink: 0;
}
.cws-ship-title,
.cws-ship-name { font-size: 13px; line-height: 16px; font-weight: 500; }
.cws-ship-radio { width: 14px; height: 14px; flex: 0 0 14px; }
.cws-ship.selected .cws-ship-radio::after { width: 7px; height: 7px; }

.cws-ship-price {
    font-size: 13px;
    line-height: 16px;
    font-weight: 600;
    white-space: nowrap;
}
.cws-ship-right .tax_label {
    color: var(--cws-ink-2, #6b7280);
    font-size: 11px;
    line-height: 16px;
}

@media (max-width: 480px) {
    .cws-ship-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .cws-ship-right {
        padding-left: 22px;
    }
}

/* The shipping cards in the checkout summary land inside .v (text-align: right
   from the surrounding cws-tot-row layout). Override so cards left-align. */
.cws-checkout-shipping-methods {
    text-align: left;
}

.cws-tot-row.cws-checkout-shipping{
    flex-direction: column;
}

.cws-pay-logo img {
    max-height: 24px;
    width: auto;
    vertical-align: middle;
}

.cws-pay-body {
    font-size: 13px;
    color: var(--cws-ink-2);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--cws-line);
    line-height: 1.55;
}

.cws-pay-body p:first-child {
    margin-top: 0;
}

.cws-pay-body p:last-child {
    margin-bottom: 0;
}

.cws-pay-body img {
    max-height: 36px;
    width: auto;
    height: auto;
    vertical-align: middle;
}

.cws-pay-body input[type="text"],
.cws-pay-body input[type="email"],
.cws-pay-body select {
    margin-top: 8px;
}

.cws-pay-empty {
    list-style: none;
    color: var(--cws-ink-3);
    font-size: 13px;
    padding: 12px 16px;
    border-radius: var(--cws-radius-sm);
    background: var(--cws-surface-2);
    border: 1px dashed var(--cws-line);
}

/* Place-order CTA + privacy + terms */
.cws-checkout-wrap .cws-checkout-payment .cws-checkout-place-order.form-row.place-order {
    margin-top: 18px;
    padding-top: 18px;
    padding-bottom: 0;
    margin-bottom: 0;
    border-top: 1px solid var(--cws-line);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cws-checkout-privacy {
    margin: 0;
    font-size: 13px;
    color: var(--cws-ink-2);
    line-height: 1.5;
}

.cws-checkout-privacy a,
.cws-checkout-terms-text a {
    color: var(--cws-ink-1);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cws-checkout-terms-text {
    margin: 0;
    font-size: 12px;
    color: var(--cws-ink-3);
    line-height: 1.5;
}

.cws-checkout-terms-label {
    margin: 0;
}

.cws-checkout-terms-label .cws-check-label a {
    color: var(--cws-ink-1);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cws-check-required {
    color: var(--cws-danger);
    margin-left: 2px;
}

.cws-checkout-wrap .cws-checkout-payment button#place_order.cws-checkout-place-order-btn,
.cws-checkout-wrap .cws-checkout-coupon button.cws-coupon-apply.cws-cta,
.cws-checkout-wrap button.cws-cta.cws-checkout-place-order-btn {
    width: 100%;
    background: var(--e-global-color-primary, #1a1814);
    background-color: var(--e-global-color-primary, #1a1814);
    color: var(--cws-accent-ink);
    border: none;
    border-radius: var(--cws-radius-sm);
    font: inherit;
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    letter-spacing: -0.005em;
    transition: background-color .2s ease, transform .15s ease, box-shadow .2s ease, filter .15s ease;
    position: relative;
    line-height: 1.2;
    text-transform: none;
    text-shadow: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    will-change: transform;
}

.cws-checkout-wrap .cws-checkout-coupon .cws-coupon-apply.cws-cta {
    padding: 16px 30px;
    font-weight: 400;
    font-size: 14px;
}

.cws-checkout-wrap .cws-checkout-payment button#place_order.cws-checkout-place-order-btn:hover,
.cws-checkout-wrap .cws-checkout-coupon button.cws-coupon-apply.cws-cta:hover,
.cws-checkout-wrap button.cws-cta.cws-checkout-place-order-btn:hover {
    background: var(--cws-accent);
    background-color: var(--cws-accent);
    color: var(--cws-accent-ink);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    filter: none;
}

.cws-checkout-wrap .cws-checkout-payment button#place_order.cws-checkout-place-order-btn:focus-visible,
.cws-checkout-wrap .cws-checkout-coupon button.cws-coupon-apply.cws-cta:focus-visible,
.cws-checkout-wrap button.cws-cta.cws-checkout-place-order-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cws-checkout-wrap .cws-checkout-payment button#place_order.cws-checkout-place-order-btn:active,
.cws-checkout-wrap .cws-checkout-coupon button.cws-coupon-apply.cws-cta:active,
.cws-checkout-wrap button.cws-cta.cws-checkout-place-order-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.cws-checkout-wrap .cws-checkout-payment button#place_order.cws-checkout-place-order-btn[disabled],
.cws-checkout-wrap .cws-checkout-payment button#place_order.cws-checkout-place-order-btn.loading,
.cws-checkout-wrap .cws-checkout-coupon button.cws-coupon-apply.cws-cta[disabled],
.cws-checkout-wrap .cws-checkout-coupon button.cws-coupon-apply.cws-cta.loading,
.cws-checkout-wrap button.cws-cta.cws-checkout-place-order-btn[disabled],
.cws-checkout-wrap button.cws-cta.cws-checkout-place-order-btn.loading {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.cws-checkout-wrap .cws-checkout-payment button#place_order.cws-checkout-place-order-btn[disabled]:hover,
.cws-checkout-wrap .cws-checkout-payment button#place_order.cws-checkout-place-order-btn.loading:hover,
.cws-checkout-wrap .cws-checkout-coupon button.cws-coupon-apply.cws-cta[disabled]:hover,
.cws-checkout-wrap .cws-checkout-coupon button.cws-coupon-apply.cws-cta.loading:hover,
.cws-checkout-wrap button.cws-cta.cws-checkout-place-order-btn[disabled]:hover,
.cws-checkout-wrap button.cws-cta.cws-checkout-place-order-btn.loading:hover {
    background: var(--e-global-color-primary, #1a1814);
    background-color: var(--e-global-color-primary, #1a1814);
    transform: none;
}

/* WC notices inside checkout */
.cws-checkout-wrap ul.woocommerce-error,
.cws-checkout-wrap ul.woocommerce-info,
.cws-checkout-wrap ul.woocommerce-message {
    list-style: none;
    margin: 0 0 12px;
    padding: 12px 16px 12px 46px;
    border-radius: 0 0 var(--cws-radius-sm) var(--cws-radius-sm);
    font-size: 13px;
    line-height: 1.5;
    position: relative;
}

.cws-checkout-wrap ul.woocommerce-error {
    background: rgba(193, 67, 42, 0.08);
    color: var(--cws-danger);
}

.cws-checkout-wrap ul.woocommerce-info {
    background: rgba(0, 0, 0, 0.04);
    color: var(--cws-ink-2);
}

.cws-checkout-wrap ul.woocommerce-message {
    background: rgba(40, 130, 70, 0.08);
    color: rgb(40, 130, 70);
}

/* Mobile breakpoints */
@media (max-width: 960px) {
    .cws-checkout-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cws-checkout-summary {
        position: static;
        top: auto;
    }

    .cws-checkout-wrap .woocommerce-billing-fields__field-wrapper,
    .cws-checkout-wrap .woocommerce-shipping-fields__field-wrapper,
    .cws-checkout-wrap .woocommerce-additional-fields__field-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .cws-checkout-wrap {
        --cws-pad-card: 20px;
        --cws-gap: 14px;
    }

    .cws-coupon-form {
        flex-direction: column;
    }

    .cws-coupon-apply {
        padding: 12px 18px;
    }
}