/* Shared presentation for native Woo cart rows and the existing checkout fragments. */
body.ksca-atelier :is(.ksd-cart-layout,#ksd-checkout-plants){--ksd-row-muted:color-mix(in srgb,var(--ink) 65%,var(--surface));--ksd-row-soft:var(--soft)}
body.ksca-atelier #ksd-checkout-plants .ksd-order-plant,
body.ksca-atelier .ksd-cart-layout table.cart tr.cart_item{display:grid;grid-template-columns:56px minmax(0,1fr) 120px max-content 40px;grid-template-areas:"photo name quantity subtotal remove";gap:14px;align-items:center;padding:16px;border:0;border-radius:24px;background:var(--surface)}
body.ksca-atelier #ksd-checkout-plants .ksd-order-plant>img{grid-area:photo;width:56px;height:70px;max-width:100%;object-fit:cover;border-radius:14px;align-self:center}
body.ksca-atelier .ksd-cart-layout table.cart .product-thumbnail img{width:56px!important;height:70px!important;border-radius:14px}
body.ksca-atelier #ksd-checkout-plants .ksd-checkout-plant-name{grid-area:name;min-width:0}
body.ksca-atelier #ksd-checkout-plants .ksd-checkout-plant-name>strong,
body.ksca-atelier .ksd-cart-layout table.cart .product-name>a{display:block;color:var(--ink);font:650 18px/1.25 var(--display);text-transform:uppercase;letter-spacing:0;overflow-wrap:anywhere;text-decoration:none}
body.ksca-atelier #ksd-checkout-plants .ksd-checkout-plant-name>small,
body.ksca-atelier .ksd-cart-layout .ksd-cart-supply{margin:6px 0 0;color:var(--ksd-row-muted);font:400 13px/1.5 var(--ksca-font-sans,Arial,Helvetica,sans-serif);letter-spacing:0;overflow-wrap:anywhere}
body.ksca-atelier #ksd-checkout-plants .ksc-checkout-stepper{grid-area:quantity;display:grid;grid-template-columns:40px 40px 40px;width:120px;min-width:0;height:40px;border:0!important;border-radius:14px!important;background:none!important;gap:0;justify-self:end;padding:0;box-shadow:none}
body.ksca-atelier #ksd-checkout-plants .ksc-checkout-stepper button{width:40px!important;height:40px!important;min-height:40px!important;padding:0;margin:0!important;border:0;border-radius:12px!important;background:var(--ksd-row-soft)!important;color:var(--ink)!important;font:400 18px/1 var(--ksca-font-sans,Arial,Helvetica,sans-serif)!important}
body.ksca-atelier #ksd-checkout-plants .ksc-checkout-stepper input{width:40px!important;height:40px!important;min-width:0;padding:0!important;border:0!important;border-radius:10px!important;background:none!important;color:var(--ink);box-shadow:none;font:400 16px/1 var(--ksca-font-sans,Arial,Helvetica,sans-serif);text-align:center}
body.ksca-atelier #ksd-checkout-plants .ksd-checkout-line-price{grid-area:subtotal;justify-self:end;color:var(--ink);white-space:nowrap}
body.ksca-atelier :is(#ksd-checkout-plants .ksd-checkout-line-price,.ksd-cart-layout .product-subtotal){font:650 22px/1.15 var(--display);letter-spacing:0;color:var(--ink)}
body.ksca-atelier :is(#ksd-checkout-plants .ksd-checkout-line-price,.ksd-cart-layout .product-subtotal) :is(span,bdi,ins){font:inherit;color:inherit;background:none;text-decoration:none}
body.ksca-atelier :is(#ksd-checkout-plants,.ksd-cart-layout .product-subtotal) .ksd-price-saving{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
body.ksca-atelier :is(#ksd-checkout-plants .ksd-checkout-line-price,.ksd-cart-layout .product-subtotal) del{font:400 15px/1.2 var(--display);color:var(--ksd-row-muted);opacity:1;text-decoration:line-through}
body.ksca-atelier #ksd-checkout-plants .ksd-remove-plant,
body.ksca-atelier .ksd-cart-layout .product-remove a.remove{grid-area:remove;display:grid;place-items:center;width:40px!important;height:40px!important;min-height:40px!important;margin:0;padding:10px;border:0;border-radius:12px;background:var(--ksd-row-soft)!important;color:var(--ink)!important;box-shadow:none;cursor:pointer;transition:background-color .18s,opacity .18s}
body.ksca-atelier #ksd-checkout-plants .ksd-remove-plant svg,
body.ksca-atelier .ksd-cart-layout .product-remove svg{display:block;width:18px;height:18px}
body.ksca-atelier #ksd-checkout-plants .ksd-remove-plant:disabled{opacity:.45;cursor:wait}
body.ksca-atelier :is(#ksd-checkout-plants .ksd-remove-plant,.ksd-cart-layout .product-remove a.remove):hover{background:color-mix(in srgb,var(--ink) 12%,var(--surface))!important}
body.ksca-atelier :is(#ksd-checkout-plants .ksd-remove-plant,.ksd-cart-layout .product-remove a.remove):focus-visible{outline:2px solid var(--ink);outline-offset:3px}
body.ksca-atelier .ksd-cart-layout table.cart td.product-price{display:none!important}
body.ksca-atelier .ksd-cart-layout table.cart td.product-quantity{grid-area:quantity;justify-self:end;margin:0!important}
body.ksca-atelier .ksd-cart-layout table.cart td.product-subtotal{grid-area:subtotal;width:auto!important;min-width:max-content;margin:0!important}
body.ksca-atelier .ksd-cart-layout table.cart tr td .quantity input.qty{height:40px!important;font:400 16px/1 var(--ksca-font-sans,Arial,Helvetica,sans-serif);color:var(--ink)!important}

body.ksca-atelier .ksd-cart-layout .ksc-quantity-buttons{display:grid;grid-template-columns:40px 40px 40px;width:120px;height:40px;border:0!important;border-radius:14px!important;background:none!important;gap:0;padding:0}
body.ksca-atelier .ksd-cart-layout .ksc-quantity-buttons button{width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:0;margin:0!important;border:0;border-radius:12px!important;background:var(--ksd-row-soft)!important;color:var(--ink)!important;font:400 18px/1 var(--ksca-font-sans,Arial,Helvetica,sans-serif)!important}
body.ksca-atelier .ksd-cart-layout table.cart tr td .ksc-quantity-buttons input.qty{width:40px!important;height:40px!important;padding:0!important;border:0!important;border-radius:10px!important;box-shadow:none;background:none!important;text-align:center}
body.ksca-atelier .ksd-cart-layout .ksc-quantity-buttons:focus-within{outline:0!important;box-shadow:none!important}
body.ksca-atelier #ksd-checkout-plants .ksc-checkout-stepper input,
body.ksca-atelier .ksd-cart-layout table.cart tr td .ksc-quantity-buttons input.qty{appearance:textfield;caret-color:var(--ink);font-variant-numeric:tabular-nums;cursor:text;transition:none!important}
/* A compact quantity input must not inherit the large checkout-field focus halo. */
body.ksca-atelier #ksd-checkout-plants .ksc-checkout-stepper input:focus,
body.ksca-atelier .ksd-cart-layout table.cart tr td .ksc-quantity-buttons input.qty:focus{outline:0!important;box-shadow:none!important}
body.ksca-atelier #ksd-checkout-plants .ksc-checkout-stepper input:focus-visible,
body.ksca-atelier .ksd-cart-layout table.cart tr td .ksc-quantity-buttons input.qty:focus-visible{box-shadow:none!important;outline:0!important}
body.ksca-atelier .ksd-cart-layout .cart_totals{background:#151b16!important;color:#f3f6f2;--ink:#f3f6f2;--muted:#bac7bb;--soft:#29352c;--line:#4b5b4f;--green:#d5e9be;--surface:#151b16;--button-ink:#172719;--ksd-border:#4b5b4f}
body.ksca-atelier .ksd-cart-layout .cart_totals table :is(th,td){font-size:16px!important;color:#eee!important;line-height:1.5}
body.ksca-atelier .ksd-cart-layout .cart_totals table td{font-weight:700}
body.ksca-atelier .ksd-cart-layout .cart_totals .order-total :is(th,td){font-size:24px!important}
body.ksca-atelier .ksd-cart-layout .cart_totals .checkout-button{background:#fff!important;color:#172719!important}

/* Payment remains in its existing column; every theme uses the same dark green palette. */
body.ksca-atelier form.ksd-flow #ksd-payment-section{--ink:#f3f6f2;--muted:#bac7bb;--green:#d5e9be;--soft:#29352c;--surface:#151b16;--line:#4b5b4f;--button-ink:#172719;--ksd-panel:#151b16;--ksd-field:#29352c;--ksd-border:#4b5b4f;--ksd-muted:#bac7bb;background:#151b16!important;color:#f3f6f2;border-color:#29352c!important;box-shadow:none!important;padding:26px}
body.ksca-atelier form.ksd-flow #ksd-payment-section:is([data-state=active],[data-state=completed]){border-color:#77917d!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section>.ksd-section-heading{padding-bottom:0;margin-bottom:18px}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-section-heading>span:first-child{background:#d5e9be;color:#172719;border:0}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-section-heading h2,
body.ksca-atelier form.ksd-flow #ksd-payment-section #ksca-checkout-total{color:#fff;font:700 clamp(30px,2.8vw,42px)/1.18 var(--display);letter-spacing:0;text-transform:uppercase}
body.ksca-atelier form.ksd-flow #ksd-payment-section #ksca-checkout-total :is(span,bdi){font:inherit;color:inherit}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksca-order-indicator{background:#bac7bb}
body.ksca-atelier form.ksd-flow #ksd-payment-section table.shop_table :is(th,td){font-family:var(--ksca-font-sans,Arial,Helvetica,sans-serif);font-size:18px;line-height:1.4;letter-spacing:0;padding-block:0!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section table.shop_table{margin-bottom:14px!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section table.shop_table tfoot tr{padding-block:6px;gap:12px}
body.ksca-atelier form.ksd-flow #ksd-payment-section table.shop_table th:after{border-color:#4b5b4f}
body.ksca-atelier form.ksd-flow #ksd-payment-section table.shop_table tr.shipping td{font-size:14px!important;font-weight:400!important;line-height:1.45;max-width:190px}
body.ksca-atelier form.ksd-flow #ksd-payment-section table.shop_table th{font-weight:400!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section table.shop_table td{font-weight:700!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section table.shop_table td .woocommerce-Price-amount{font-size:22px;font-weight:700}
body.ksca-atelier form.ksd-flow #ksd-payment-section table.shop_table .order-total :is(th,td){font-size:24px}
body.ksca-atelier form.ksd-flow #ksd-payment-section table.shop_table .order-total .woocommerce-Price-amount{font-size:30px;font-family:var(--display);font-weight:700}
body.ksca-atelier form.ksd-flow #ksd-payment-section #ksd-payment-title{font:600 18px/1.4 var(--ksca-font-sans,Arial,Helvetica,sans-serif);color:#eee;margin:12px 0 8px}
body.ksca-atelier form.ksd-flow #ksd-payment-section #payment ul.payment_methods>li{background:#202b23!important;border-color:#4b5b4f!important;padding:12px;margin:0}
body.ksca-atelier form.ksd-flow #ksd-payment-section #payment ul.payment_methods>li:has(input:checked){background:#29352c!important;border-color:#6d8873!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section #payment .payment_methods label{font:500 17px/1.4 var(--ksca-font-sans,Arial,Helvetica,sans-serif)!important;color:#eee!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section #payment .payment_box{color:#bac7bb!important;font-size:14px;margin-top:6px}
body.ksca-atelier form.ksd-flow #ksd-payment-section #payment ul.payment_methods::before,body.ksca-atelier form.ksd-flow #ksd-payment-section #payment ul.payment_methods::after{display:none}
body.ksca-atelier form.ksd-flow #ksd-payment-section #payment .place-order{padding-top:8px!important;margin-bottom:0!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-coupon{padding:0;margin:0 0 14px}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-coupon :is(summary,input,button){font-family:var(--ksca-font-sans,Arial,Helvetica,sans-serif);font-size:17px;color:#ddd}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-coupon>label{color:#bac7bb}
body.ksca-atelier form.ksd-flow #ksd-payment-section #payment .payment_box p{color:#bac7bb!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-coupon button{background:#e5e5e5!important;color:#172719!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-coupon input{background:#29352c!important;border-color:#4b5b4f!important;color:#fff!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section #place_order{background:#fff!important;color:#172719!important;font:700 27px/1.25 var(--display);letter-spacing:.025em;text-transform:uppercase;box-shadow:none;min-height:56px;border-radius:16px;margin-bottom:0!important}
/* A subtle grey hover and small scale provide the same feedback on both order buttons. */
body.ksca-atelier form.ksd-flow #ksd-payment-section #place_order,
body.ksca-atelier .ksd-cart-layout .cart_totals .checkout-button{transform:none;transform-origin:center;transition:transform .2s ease,background-color .2s ease,box-shadow .2s ease}
body.ksca-atelier form.ksd-flow #ksd-payment-section #place_order:hover,
body.ksca-atelier .ksd-cart-layout .cart_totals .checkout-button:hover{background:#efefef!important;color:#172719!important;filter:none}
body.ksca-atelier #ksd-checkout-plants .ksc-checkout-stepper button,
body.ksca-atelier .ksd-cart-layout .ksc-quantity-buttons button{transform:none;transition:transform .18s ease,background-color .18s ease}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 body.ksca-atelier #ksd-checkout-plants .ksc-checkout-stepper button:not(:disabled):hover,
 body.ksca-atelier .ksd-cart-layout .ksc-quantity-buttons button:not(:disabled):hover{background:color-mix(in srgb,var(--ksd-row-soft) 90%,var(--ink))!important;transform:scale(1.045)!important;filter:none}

 body.ksca-atelier form.ksd-flow:not(.processing) #ksd-payment-section #place_order:not(:disabled):not(.disabled):hover,
 body.ksca-atelier .ksd-cart-layout .cart_totals .checkout-button:not(.disabled):hover{transform:scale(1.018);box-shadow:0 5px 18px #0002}
}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-button-acceptance,
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-button-acceptance a{color:#bac7bb!important;font:400 15px/1.5 var(--ksca-font-sans,Arial,Helvetica,sans-serif)!important;letter-spacing:0;text-decoration:none}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-button-acceptance{margin:12px 0!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-button-acceptance a:is(:hover,:focus-visible){color:#eee!important;text-decoration:underline;text-underline-offset:3px}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksmx-connect{gap:8px 12px;color:#c2cfc3!important;padding:10px 0!important;margin:6px 0!important;border-color:#4b5b4f!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksmx-connect>strong{font:400 14px/1.4 var(--ksca-font-sans,Arial,Helvetica,sans-serif)!important;color:inherit}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksmx-manage{font-size:14px;color:#bac7bb;text-decoration:underline;text-underline-offset:3px}
body.ksca-atelier form.ksd-flow #ksd-payment-section :is(button,a,input):focus-visible{outline:2px solid #eee;outline-offset:3px}
@media(max-width:760px){
 body.ksca-atelier #ksd-checkout-plants .ksd-order-plant,body.ksca-atelier .ksd-cart-layout table.cart tr.cart_item{grid-template-columns:56px minmax(0,1fr) max-content 40px;grid-template-areas:"photo name name name" "quantity quantity subtotal remove";gap:12px 10px;padding:14px}
 body.ksca-atelier #ksd-checkout-plants .ksd-order-plant>img,body.ksca-atelier .ksd-cart-layout table.cart .product-thumbnail img{width:56px!important;height:68px!important;border-radius:12px}
 body.ksca-atelier #ksd-checkout-plants .ksd-checkout-plant-name>strong,body.ksca-atelier .ksd-cart-layout table.cart .product-name>a{font-size:18px}
 body.ksca-atelier #ksd-checkout-plants .ksd-checkout-plant-name>small,body.ksca-atelier .ksd-cart-layout .ksd-cart-supply{font-size:13px;line-height:1.45}
 body.ksca-atelier :is(#ksd-checkout-plants .ksd-checkout-line-price,.ksd-cart-layout .product-subtotal){font-size:22px}
 body.ksca-atelier :is(#ksd-checkout-plants .ksd-checkout-line-price,.ksd-cart-layout .product-subtotal) del{font-size:15px}
}
@media(max-width:600px){
 body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-section-heading h2,body.ksca-atelier form.ksd-flow #ksd-payment-section #ksca-checkout-total{font-size:32px}
 body.ksca-atelier form.ksd-flow #ksd-payment-section table.shop_table :is(th,td){font-size:16px}
 body.ksca-atelier form.ksd-flow #ksd-payment-section table.shop_table td .woocommerce-Price-amount{font-size:20px}
}
@media(max-width:380px){
 body.ksca-atelier #ksd-checkout-plants .ksd-order-plant,body.ksca-atelier .ksd-cart-layout table.cart tr.cart_item{grid-template-columns:48px minmax(0,1fr) max-content 40px;gap:10px 8px;padding:10px}
 body.ksca-atelier #ksd-checkout-plants .ksc-checkout-stepper,body.ksca-atelier .ksd-cart-layout .ksc-quantity-buttons{grid-template-columns:40px 28px 40px;width:108px}
 body.ksca-atelier #ksd-checkout-plants .ksc-checkout-stepper button,body.ksca-atelier .ksd-cart-layout .ksc-quantity-buttons button{width:40px!important;min-width:40px!important}
 body.ksca-atelier #ksd-checkout-plants .ksc-checkout-stepper input,body.ksca-atelier .ksd-cart-layout table.cart tr td .ksc-quantity-buttons input.qty{width:28px!important}
 body.ksca-atelier #ksd-checkout-plants .ksd-remove-plant,body.ksca-atelier .ksd-cart-layout .product-remove a.remove{width:40px!important;padding:8px}
 body.ksca-atelier #ksd-checkout-plants .ksd-order-plant>img,body.ksca-atelier .ksd-cart-layout table.cart .product-thumbnail img{width:48px!important;height:60px!important}
 body.ksca-atelier :is(#ksd-checkout-plants .ksd-checkout-line-price,.ksd-cart-layout .product-subtotal){font-size:22px}
}
@media(max-width:350px){
 body.ksca-atelier #ksd-checkout-plants .ksd-order-plant,body.ksca-atelier .ksd-cart-layout table.cart tr.cart_item{grid-template-columns:48px minmax(0,1fr) max-content 36px;padding:10px 2px;column-gap:6px}
 body.ksca-atelier #ksd-checkout-plants .ksc-checkout-stepper,body.ksca-atelier .ksd-cart-layout .ksc-quantity-buttons{grid-template-columns:36px 28px 36px;width:100px}
 body.ksca-atelier #ksd-checkout-plants .ksc-checkout-stepper button,body.ksca-atelier .ksd-cart-layout .ksc-quantity-buttons button{width:36px!important;min-width:36px!important}
 body.ksca-atelier #ksd-checkout-plants .ksd-remove-plant,body.ksca-atelier .ksd-cart-layout .product-remove a.remove{width:36px!important;padding:6px}
 body.ksca-atelier #ksd-checkout-plants .ksd-checkout-plant-name>strong,body.ksca-atelier .ksd-cart-layout table.cart .product-name>a{font-size:18px}
}
@media(prefers-reduced-motion:reduce){
 body.ksca-atelier #ksd-checkout-plants .ksc-checkout-stepper button,body.ksca-atelier .ksd-cart-layout .ksc-quantity-buttons button{transition:none!important;transform:none!important}
 body.ksca-atelier :is(#ksd-checkout-plants .ksd-remove-plant,.ksd-cart-layout .product-remove a.remove){transition:none}
 body.ksca-atelier form.ksd-flow #ksd-payment-section #place_order,body.ksca-atelier .ksd-cart-layout .cart_totals .checkout-button{transition:none!important;transform:none!important}
}

/* A cool glass payment card; all existing checkout and payment behavior is retained. */
body.ksca-atelier form.ksd-flow #ksd-payment-section{--ink:#173a3c;--muted:#657e82;--green:#206b64;--soft:rgba(255,255,255,.56);--surface:#f4fafb;--line:rgba(81,129,139,.23);--button-ink:#fff;--ksd-panel:rgba(248,255,254,.96);--ksd-field:rgba(255,255,255,.6);--ksd-border:rgba(81,129,139,.23);--ksd-muted:#657e82;background:#f4fafb linear-gradient(135deg,rgba(248,255,254,.96) 0%,rgba(225,242,242,.9) 52%,rgba(230,236,251,.93) 100%)!important;color:#173a3c;border-color:rgba(112,161,171,.3)!important;box-shadow:0 12px 34px #234e6510,inset 0 1px 0 #ffffffe6!important;backdrop-filter:none;-webkit-backdrop-filter:none}
body.ksca-atelier form.ksd-flow #ksd-payment-section:is([data-state=active],[data-state=completed],.ksd-step-ready){border-color:#9dc3c6!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-section-heading>span:first-child{flex:0 0 31px;width:31px;height:31px;border:1px solid #bcdad9;background:#d8eeec!important;color:#173a3c!important;font:700 12.5px/1 var(--ksca-font-sans,Arial,Helvetica,sans-serif)}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-section-heading h2,
body.ksca-atelier form.ksd-flow #ksd-payment-section #ksca-checkout-total{color:#173a3c}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-step-status,
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksca-order-updating{color:#526e73!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksca-order-indicator{background:#62a6a6!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section table.shop_table th:after{border-color:#c0d6d9}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-coupon :is(summary,input,button){font-size:14px;color:#526e73}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-coupon>label{color:#526e73}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-coupon button{background:rgba(255,255,255,.75)!important;color:#245f66!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-coupon input{background:rgba(255,255,255,.6)!important;border-color:#bdd4d7!important;color:#173a3c!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section #payment ul.payment_methods>li{background:rgba(255,255,255,.45)!important;border-color:#bdd4d7!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section #payment ul.payment_methods>li:has(input:checked){background:rgba(255,255,255,.65)!important;border-color:#8ab7bc!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section #ksd-payment-title,
body.ksca-atelier form.ksd-flow #ksd-payment-section #payment .payment_methods label{color:#173a3c!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section #payment .payment_box,
body.ksca-atelier form.ksd-flow #ksd-payment-section #payment .payment_box p{color:#526e73!important;font-size:13px;line-height:1.45}
body.ksca-atelier form.ksd-flow #ksd-payment-section #payment label[for=payment_method_ksd_sbp] img{display:inline-block;float:none!important;width:24px!important;height:24px!important;max-height:none!important;object-fit:contain;vertical-align:middle;margin:0 0 0 8px!important;padding:0;background:none;filter:none!important;opacity:1}
body.ksca-atelier form.ksd-flow #ksd-payment-section #place_order{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(110deg,#206b64 0%,#315e7a 100%)!important;color:#fff!important;box-shadow:0 5px 18px #245f751a}
body.ksca-atelier form.ksd-flow #ksd-payment-section #place_order:hover{background:linear-gradient(110deg,#206b64 0%,#315e7a 100%)!important;color:#fff!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-button-acceptance,
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-button-acceptance a{color:#526e73!important;font:400 12.5px/1.5 var(--ksca-font-sans,Arial,Helvetica,sans-serif)!important;letter-spacing:0}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-button-acceptance{position:relative;padding-left:21px;margin:10px 0!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-button-acceptance::before{content:"";position:absolute;left:0;top:3px;width:12px;height:12px;box-sizing:border-box;border:1px solid #78999c;border-radius:50%;background:radial-gradient(circle,#78999c 0 2px,transparent 2.5px)}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-button-acceptance a{text-decoration:underline;text-decoration-color:#98b3b7;text-decoration-thickness:1px;text-underline-offset:2px}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-button-acceptance a:is(:hover,:focus-visible){color:#173a3c!important;text-decoration-color:currentColor}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksmx-connect{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title issue" "message manage" "status status";align-items:center;gap:6px 10px;color:#173a3c!important;padding:9px 0!important;margin:4px 0!important;border-color:#bdd4d7!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksmx-connect>strong{grid-area:title;font:400 13px/1.4 var(--ksca-font-sans,Arial,Helvetica,sans-serif)!important;color:#173a3c!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksmx-connect>.ksmx-message{grid-area:message;font-size:12.5px;line-height:1.4;color:#275f6a!important;text-underline-offset:2px}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksmx-connect>.ksmx-issue{grid-area:issue;min-height:36px;max-width:170px;padding:8px 11px;border:1px solid #b0cccf!important;border-radius:10px;background:rgba(255,255,255,.65)!important;color:#245f66!important;font:500 12.5px/1.3 var(--ksca-font-sans,Arial,Helvetica,sans-serif);white-space:normal;box-shadow:none}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksmx-connect>.ksmx-manage{grid-area:manage;font-size:12px;line-height:1.4;color:#526e73!important;text-underline-offset:2px}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksmx-connect>.ksmx-status{grid-area:status;min-width:0;margin:0!important;font:400 12px/1.45 var(--ksca-font-sans,Arial,Helvetica,sans-serif);color:#526e73!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section :is(button,a,input):focus-visible{outline:2px solid #206b64;outline-offset:3px}
/* The existing readiness code enables this class; no shimmer before completion. */
body.ksca-atelier form.ksd-flow.ksd-ready-to-order:not(.processing):not([aria-busy=true]) #ksd-payment-section:not(.ksca-is-updating):not([aria-busy=true]) #place_order.ksd-primary-ready:not(:disabled):not(.disabled):not([aria-busy=true])::after{content:"";position:absolute;top:-60%;bottom:-60%;left:0;width:35%;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(255,255,255,.38),transparent);transform:translateX(-220%) skewX(-18deg);opacity:0;animation:ksd-checkout-ready-sheen 9s cubic-bezier(.2,.65,.35,1) infinite}
@keyframes ksd-checkout-ready-sheen{0%,76%{transform:translateX(-220%) skewX(-18deg);opacity:0}78%{opacity:.9}90%{transform:translateX(450%) skewX(-18deg);opacity:.9}91%,100%{transform:translateX(450%) skewX(-18deg);opacity:0}}
@media(prefers-reduced-motion:reduce){body.ksca-atelier form.ksd-flow #ksd-payment-section #place_order::after{content:none!important;animation:none!important}}

/* Shipping totals must inherit the light card ink, including native nested amounts. */
body.ksca-atelier form.ksd-flow #ksd-payment-section #order_review table.shop_table :is(th,td,.woocommerce-Price-amount,bdi,.woocommerce-Price-currencySymbol){color:#173a3c!important}

/* Saturated emerald glass, with no notification invitation in the checkout. */
body.ksca-atelier form.ksd-flow #ksd-payment-section{--ink:#f3fbf5;--muted:#cbe1d1;--green:#d7edcf;--soft:rgba(255,255,255,.1);--surface:#205f45;--line:rgba(207,237,218,.26);--button-ink:#17452e;--ksd-panel:#205f45;--ksd-field:rgba(5,43,29,.24);--ksd-border:rgba(207,237,218,.3);--ksd-muted:#cbe1d1;background:radial-gradient(ellipse at 95% 0,rgba(160,221,167,.13),transparent 56%),linear-gradient(145deg,#287750 0%,#1d5b42 58%,#205f46 100%) #205f45!important;color:#f3fbf5;border-color:#589d73!important;box-shadow:0 12px 34px #16472c20,inset 0 1px 0 #ddf5df66!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section:is([data-state=active],[data-state=completed],.ksd-step-ready){border-color:#74b48e!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-section-heading>span:first-child{background:#d7edcf!important;color:#214d35!important;border-color:#a7cfae}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-section-heading h2,
body.ksca-atelier form.ksd-flow #ksd-payment-section #ksca-checkout-total{color:#f3fbf5}
body.ksca-atelier form.ksd-flow #ksd-payment-section #order_review table.shop_table :is(th,td,.woocommerce-Price-amount,bdi,.woocommerce-Price-currencySymbol){color:#f3fbf5!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section table.shop_table th:after{border-color:#76a68b}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-step-status,
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksca-order-updating{color:#cbe1d1!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-coupon :is(summary,input,button),
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-coupon>label{color:#cbe1d1}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-coupon input{background:rgba(5,43,29,.24)!important;border-color:#689c7e!important;color:#f3fbf5!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-coupon input::placeholder{color:#bdd9c7;opacity:1}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-coupon button{background:#e5f3e5!important;color:#20563a!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section #payment ul.payment_methods>li{background:rgba(255,255,255,.07)!important;border-color:#72a78b!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section #payment ul.payment_methods>li:has(input:checked){background:rgba(255,255,255,.12)!important;border-color:#94c6a5!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section #ksd-payment-title,
body.ksca-atelier form.ksd-flow #ksd-payment-section #payment .payment_methods label{color:#f3fbf5!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section #payment .payment_box,
body.ksca-atelier form.ksd-flow #ksd-payment-section #payment .payment_box p{color:#d1e7d8!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section #payment label[for=payment_method_ksd_sbp] img{background:#fff;border-radius:4px}
body.ksca-atelier form.ksd-flow #ksd-payment-section #place_order,
body.ksca-atelier form.ksd-flow #ksd-payment-section #place_order:hover{background:linear-gradient(110deg,#e8f5dc 0%,#c6e8cf 100%)!important;color:#17452e!important;box-shadow:0 5px 18px #0f382425}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-button-acceptance,
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-button-acceptance a{color:#d1e5d7!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-button-acceptance::before{border-color:#a5cdaf;background:radial-gradient(circle,#d1e5d7 0 2px,transparent 2.5px)}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-button-acceptance a{text-decoration-color:#89b497}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksd-button-acceptance a:is(:hover,:focus-visible){color:#fff!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section .ksmx-connect{display:none!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section :is(button,a,input):focus-visible{outline-color:#d7edcf}

/* Give the smaller checkout explanations a little more weight. */
body.ksca-atelier form.ksd-flow :is(.ksd-account-note,.ksd-login-note,.ksd-help,.ksd-step-summary,.ksd-address-foot small,.ksd-status,.ksd-delivery-title p,.ksd-carrier-brand>span,.ksd-pickup-hint,.ksd-dispatch-note,.ksd-parcel-note,.ksd-billing-details p,.ksd-delivery #ksd-office-summary,.ksd-coupon summary,.ksd-coupon button,.ksd-coupon p){font-weight:500}
body.ksca-atelier form.ksd-flow #ksd-payment-section #payment :is(.payment_box,.payment_box p,.woocommerce-privacy-policy-text){font-weight:500}
body.ksca-atelier form.ksd-flow #ksd-payment-section :is(.ksd-button-acceptance,.ksd-button-acceptance a){font-weight:500!important}
body.ksca-atelier form.ksd-flow #ksd-payment-section #place_order{font-weight:700!important}

/* The native billing_phone input keeps its identity and server normalization. */
body.ksca-atelier form.ksd-flow #billing_phone_field .ksd-checkout-phone{
 display:flex;align-items:center;gap:10px;min-height:56px;padding:5px;
 background:var(--ksd-field,var(--soft));border:1px solid var(--ksd-border,var(--line));border-radius:16px;
}
body.ksca-atelier form.ksd-flow #billing_phone_field .ksd-phone-prefix{
 position:relative;display:flex;flex:0 0 66px;align-items:center;color:var(--ink);
}
body.ksca-atelier form.ksd-flow #billing_phone_field .ksd-phone-prefix select{
 -webkit-appearance:none;appearance:none;display:block;width:100%;height:44px;min-height:44px;
 margin:0;padding:0 24px 0 12px;border:0;border-radius:12px;box-shadow:none;
 background:color-mix(in srgb,var(--ink) 7%,var(--ksd-field,var(--soft)));
 color:inherit;font:500 16px/1.4 var(--ksca-font-sans,Arial,sans-serif);cursor:pointer;
}
body.ksca-atelier form.ksd-flow #billing_phone_field .ksd-phone-prefix svg{
 position:absolute;right:9px;width:12px;height:12px;pointer-events:none;
 fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
}
body.ksca-atelier form.ksd-flow #billing_phone_field #billing_phone{
 flex:1;min-width:0;width:100%;height:44px!important;min-height:44px;margin:0;padding:0 8px 0 0!important;
 border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
body.ksca-atelier form.ksd-flow #billing_phone_field .ksd-checkout-phone:focus-within{
 outline:2px solid var(--green);outline-offset:2px;
}
body.ksca-atelier form.ksd-flow #billing_phone_field:is(.woocommerce-invalid,.ksd-field-invalid) .ksd-checkout-phone{
 border-color:#b42318;
}
body.ksca-atelier form.ksd-flow #billing_phone_field:is(.woocommerce-invalid,.ksd-field-invalid) .ksd-checkout-phone:focus-within{
 outline-color:#b42318;
}
