/* Scoped to the basket and active checkout. Native WooCommerce forms and validation stay intact. */
.ebcx-commerce{--cx-ink:#203d35;--cx-brand:#155943;--cx-tint:#f1f6f3;--cx-line:#d8e3dd;--cx-gold:#f3cc68;--cx-muted:#52665f;background:#f6f8f7}
.ebcx-uk{--cx-ink:#24344e;--cx-brand:#24344e;--cx-tint:#f2f5fa;--cx-line:#dce3ed;--cx-muted:#53627a;--cx-gold:#ffce46}
.ebcx-commerce #main.generic-content,.ebcx-commerce .account-container{max-width:1180px;margin:0 auto;padding:32px 24px 56px!important;min-height:0}
.ebcx-commerce .account-container{width:100%;box-sizing:border-box}
.ebcx-commerce h1{font-size:34px!important;line-height:1.2;margin:0 0 12px!important;letter-spacing:-.8px}
.ebcx-commerce .woocommerce{font-family:Arial,sans-serif;font-size:15px;line-height:1.5;color:var(--cx-ink)}
.ebcx-commerce .woocommerce h2,.ebcx-commerce .woocommerce h3{font-family:inherit;font-size:22px!important;line-height:1.3;margin:0 0 22px;letter-spacing:-.4px}
.ebcx-commerce .ebcx-intro{margin:0 0 22px}.ebcx-commerce .ebcx-intro>p{font-family:inherit;font-size:16px;margin:0 0 12px}
.ebcx-assurance{display:flex;flex-wrap:wrap;gap:8px 22px;font-size:13px;font-weight:600;color:var(--cx-muted)}
.ebcx-assurance span:before{content:'✓';color:var(--cx-brand);margin-right:7px}
.ebcx-commerce .ebcx-guest{margin:12px 0 0!important;font-size:14px!important;font-weight:600}
.ebcx-commerce .woocommerce-info,.ebcx-commerce .woocommerce-message,.ebcx-commerce .woocommerce-error{background:#fff;border:1px solid var(--cx-line);border-left:3px solid var(--cx-brand);border-radius:8px;padding:12px 16px!important;margin:0 0 14px;font-family:inherit;font-size:14px;box-shadow:none}
.ebcx-commerce .woocommerce-info:before,.ebcx-commerce .woocommerce-message:before,.ebcx-commerce .woocommerce-error:before{display:none}
.ebcx-commerce .woocommerce-error{border-left-color:#a22921;color:#8d201b}
.ebcx-commerce .woocommerce-form-login-toggle .woocommerce-info,.ebcx-commerce .woocommerce-form-coupon-toggle .woocommerce-info{background:transparent;border:0;padding:2px 0!important;margin:0 0 10px}
.ebcx-commerce .woocommerce-form-coupon-toggle{margin-bottom:20px}
.ebcx-commerce .woocommerce-info a{font-weight:600;text-decoration:underline}
.ebcx-commerce form.checkout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(370px,.9fr);gap:28px;align-items:start;margin-top:18px}
.ebcx-commerce form.checkout:before,.ebcx-commerce form.checkout:after{display:none!important}
.ebcx-commerce #customer_details,.ebcx-commerce .ebcx-order-panel{padding:26px;background:#fff;border:1px solid var(--cx-line);border-radius:14px;width:auto;min-width:0;box-shadow:0 3px 14px #172d2510}
.ebcx-commerce #customer_details{grid-column:1}.ebcx-commerce .ebcx-order-panel{grid-column:2;grid-row:1}
.ebcx-commerce #customer_details .col-1,.ebcx-commerce #customer_details .col-2{float:none;width:100%;margin:0}
.ebcx-commerce #customer_details .col-2:empty,.ebcx-commerce .woocommerce-additional-fields:empty{display:none}
.ebcx-commerce #order_review_heading{font-size:22px!important;margin:0 0 16px!important}
.ebcx-commerce #order_review{width:100%;float:none}
.ebcx-commerce .woocommerce form .form-row{padding:0;margin:0 0 18px}
.ebcx-commerce .woocommerce form .form-row label{font-family:inherit;font-size:14px;line-height:1.45;font-weight:600;margin:0 0 7px;color:var(--cx-ink)}
.ebcx-commerce .woocommerce form .form-row-first,.ebcx-commerce .woocommerce form .form-row-last{width:48%}
.ebcx-commerce .woocommerce input.input-text,.ebcx-commerce .woocommerce textarea,.ebcx-commerce .woocommerce select{font-family:inherit;font-size:16px!important;line-height:1.3;min-height:48px;border:1px solid #aebfb6;border-radius:7px;background:#fff;color:var(--cx-ink);padding:11px 12px;width:100%;box-shadow:none}
.ebcx-commerce .select2-container .select2-selection--single{height:48px;border:1px solid #aebfb6;border-radius:7px;background:#fff}
.ebcx-commerce .select2-container .select2-selection--single .select2-selection__rendered{font-family:Arial,sans-serif;font-size:16px;line-height:46px;padding-left:12px;color:var(--cx-ink)}
.ebcx-commerce .select2-container .select2-selection--single .select2-selection__arrow{height:46px;right:8px}
.ebcx-commerce input:focus-visible,.ebcx-commerce select:focus-visible,.ebcx-commerce button:focus-visible,.ebcx-commerce a:focus-visible,.ebcx-commerce summary:focus-visible{outline:3px solid var(--cx-gold);outline-offset:3px}
.ebcx-commerce .woocommerce .form-row .description{font-size:12px;color:var(--cx-muted);margin-top:6px;line-height:1.4;display:block}
.ebcx-commerce [hidden]{display:none!important}
.ebcx-commerce .ebcx-address-toggle{background:transparent;border:0;color:var(--cx-brand);font:600 13px/1.5 Arial,sans-serif;padding:0;margin:-4px 0 18px;min-height:30px;text-decoration:underline;cursor:pointer}
.ebcx-commerce table.shop_table{border:0;border-collapse:collapse;border-radius:0;font-size:14px;margin:0 0 18px;background:transparent}
.ebcx-commerce table.shop_table td,.ebcx-commerce table.shop_table th{padding:13px 0;vertical-align:top;border:0;border-bottom:1px solid var(--cx-line);line-height:1.5;font-family:Arial,sans-serif}
.ebcx-commerce table.shop_table th:last-child,.ebcx-commerce table.shop_table td:last-child{text-align:right}
.ebcx-commerce table.shop_table .product-name{padding-right:14px;font-size:14px!important;width:auto}
.ebcx-commerce .woocommerce-checkout-review-order-table .product-total{white-space:nowrap}
.ebcx-commerce table.shop_table .order-total td,.ebcx-commerce table.shop_table .order-total th{font-size:21px;font-weight:700;border-bottom:0;padding:18px 0}
.ebcx-commerce #payment{background:transparent!important;border-radius:0;padding:0}
.ebcx-commerce #payment ul.payment_methods{padding:0!important;border:0;list-style:none;margin:0 0 18px}
.ebcx-commerce #payment ul.payment_methods>li{background:#fff;border:1px solid var(--cx-line);border-radius:8px;padding:14px;margin:0 0 10px;list-style:none;font-size:14px;line-height:1.5}
.ebcx-commerce #payment ul.payment_methods>li:has(>input:checked){border-color:var(--cx-brand);background:var(--cx-tint)}
.ebcx-commerce #payment ul.payment_methods li>label{font:600 15px/1.4 Arial,sans-serif;display:inline;cursor:pointer}
.ebcx-commerce #payment ul.payment_methods li img{max-height:24px;max-width:80px;vertical-align:middle}
.ebcx-commerce #payment div.payment_box{background:transparent;color:var(--cx-ink);padding:12px 0 0;margin:0;font-size:14px}
.ebcx-commerce #payment div.payment_box:before{display:none}
.ebcx-commerce #payment div.form-row{padding:0!important;margin:0}
.ebcx-commerce :is(#payment,.ebcx-agreement-slot) .woocommerce-terms-and-conditions-wrapper{font-family:Arial,sans-serif;font-size:12px;line-height:1.55}
.ebcx-commerce :is(#payment,.ebcx-agreement-slot) .woocommerce-privacy-policy-text p{font-size:12px;line-height:1.55;margin:12px 0;color:var(--cx-muted)}
.ebcx-commerce :is(#payment,.ebcx-agreement-slot) .form-row label.checkbox{font-size:13px!important;line-height:1.6;font-weight:400;display:block;margin:12px 0!important}
.ebcx-commerce :is(#payment,.ebcx-agreement-slot) input[type=checkbox],.ebcx-commerce #payment input[type=radio]{appearance:auto!important;width:18px;height:18px;min-height:0;display:inline-block;vertical-align:middle;margin:0 8px 3px 0!important;accent-color:var(--cx-brand)}
.ebcx-commerce .iw-digital-consent{padding:15px;border:1px solid var(--cx-line);background:var(--cx-tint);border-radius:9px;margin:16px 0;font-size:12px}
.ebcx-commerce .iw-digital-consent>p{font:600 14px/1.4 Arial,sans-serif;margin:0 0 8px}
.ebcx-commerce .iw-digital-consent p,.ebcx-commerce .iw-digital-consent details{font-family:Arial,sans-serif;font-size:12px;line-height:1.5}
.ebcx-commerce .iw-digital-consent summary{cursor:pointer;text-decoration:underline;margin:10px 0 4px}
.ebcx-commerce .ebuk-digital-consent{padding:14px!important;border:1px solid var(--cx-line);background:var(--cx-tint);border-radius:9px;margin:16px 0!important}
.ebcx-commerce #place_order,.ebcx-commerce .checkout-button{width:100%;display:flex;align-items:center;justify-content:center;min-height:54px;float:none!important;background:var(--cx-gold)!important;color:var(--cx-ink)!important;border:1px solid transparent!important;border-radius:7px!important;font:700 15px/1.4 Arial,sans-serif!important;text-decoration:none!important;padding:14px 18px!important;margin:18px 0 0!important;box-shadow:none}
.ebcx-commerce #place_order:hover,.ebcx-commerce .checkout-button:hover{filter:brightness(.96)}
.ebcx-commerce .woocommerce form.login,.ebcx-commerce .woocommerce form.checkout_coupon{max-width:590px;padding:20px;border:1px solid var(--cx-line);border-radius:10px;background:#fff}
.ebcx-commerce.woocommerce-cart .woocommerce{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:24px;align-items:start}
.ebcx-commerce.woocommerce-cart .woocommerce>*{grid-column:1/-1}
.ebcx-commerce.woocommerce-cart .woocommerce-cart-form{grid-column:1;background:#fff;border:1px solid var(--cx-line);border-radius:14px;padding:22px}
.ebcx-commerce.woocommerce-cart .cart-collaterals{grid-column:2;width:auto;background:#fff;border:1px solid var(--cx-line);border-radius:14px;padding:24px}
.ebcx-commerce .cart-collaterals .cart_totals{width:100%;float:none}
.ebcx-commerce .cart-collaterals h2{font-size:22px!important;margin:0 0 12px}
.ebcx-commerce .wc-proceed-to-checkout{padding:0}
.ebcx-commerce .cart .product-thumbnail{width:84px;padding-right:14px}.ebcx-commerce .cart .product-thumbnail img{width:70px;height:90px;object-fit:contain}
.ebcx-commerce .cart .product-remove{width:28px;padding-right:9px}
.ebcx-commerce .cart .product-price,.ebcx-commerce .cart .product-quantity{display:none}
.ebcx-commerce .cart .product-name>a{font-size:17px;font-weight:700;text-decoration:none;line-height:1.4;display:block}
.ebcx-commerce .cart .product-name{font-size:17px!important;font-weight:700}
.ebcx-commerce .cart .ebcx-item-note{font-weight:400}
.ebcx-commerce .ebcx-item-note{display:block;font-size:12px;color:var(--cx-muted);margin-top:7px}
.ebcx-commerce .cart .actions{padding:18px 0 0;border:0;text-align:left!important}
.ebcx-commerce .cart .actions>.button[name=update_cart]:disabled{display:none}
.ebcx-commerce .cart .coupon{float:none!important;text-align:left}
.ebcx-commerce .ebcx-coupon summary{font-size:14px;font-weight:600;cursor:pointer;text-decoration:underline}
.ebcx-commerce .ebcx-coupon-fields{display:flex;gap:10px;flex-wrap:wrap;padding-top:12px}
.ebcx-commerce .ebcx-coupon-fields label{display:none}
.ebcx-commerce .ebcx-coupon-fields input{width:210px!important;max-width:100%}
.ebcx-commerce .ebcx-coupon-fields button,.ebcx-commerce form.checkout_coupon button{font:600 14px/1.4 Arial,sans-serif;background:var(--cx-brand);color:#fff;min-height:46px;border-radius:7px;padding:11px 18px}
.ebcx-commerce .ebcx-cart-help{font:13px/1.7 Arial,sans-serif;text-align:center;color:var(--cx-muted);margin:15px 0 0}
.ebcx-commerce.woocommerce-cart .ebcx-intro{margin:0}
.ebcx-commerce .required{color:var(--cx-ink)}
.ebcx-commerce .newsletter-band,.ebcx-commerce .newsletter{display:none}
.ebcx-commerce #billing_address_2_field:has(.ebcx-address-toggle:not([hidden])){margin:-4px 0 6px}
.ebcx-commerce #billing_address_2_field .ebcx-address-toggle{margin:0}
@media(max-width:900px){.ebcx-commerce form.checkout{grid-template-columns:minmax(0,1fr);gap:20px}.ebcx-commerce .ebcx-order-panel{grid-column:1;grid-row:auto}.ebcx-commerce.woocommerce-cart .woocommerce{grid-template-columns:minmax(0,1fr)}.ebcx-commerce.woocommerce-cart .cart-collaterals{grid-column:1}}
@media(max-width:600px){.ebcx-commerce #main.generic-content,.ebcx-commerce .account-container{padding:24px 16px 36px!important}.ebcx-commerce h1{font-size:29px!important}.ebcx-commerce #customer_details,.ebcx-commerce .ebcx-order-panel{padding:20px 16px}.ebcx-commerce .ebcx-assurance{gap:7px 14px;font-size:12px}.ebcx-commerce .woocommerce form .form-row-first,.ebcx-commerce .woocommerce form .form-row-last{width:100%;float:none}.ebcx-commerce.woocommerce-cart .woocommerce-cart-form{padding:16px}.ebcx-commerce .woocommerce table.shop_table_responsive tr td:before{display:none}.ebcx-commerce .cart tr.cart_item{display:grid;grid-template-columns:24px 68px minmax(0,1fr);gap:8px;position:relative}.ebcx-commerce .cart .product-thumbnail{display:block!important;width:auto;padding:12px 0!important}.ebcx-commerce .cart .product-thumbnail img{width:60px;height:78px}.ebcx-commerce .cart .product-remove{display:block;grid-column:1;width:auto;padding:12px 0!important}.ebcx-commerce .cart .product-name{display:block;grid-column:3;text-align:left!important;padding:12px 0!important}.ebcx-commerce .cart .product-subtotal{grid-column:3;text-align:left!important;padding:0 0 16px!important}.ebcx-commerce .cart .product-name>a{font-size:16px}.ebcx-commerce table.shop_table_responsive tr:nth-child(2n) td{background:transparent}.ebcx-commerce .cart-collaterals .shop_table tr{display:table-row}.ebcx-commerce .cart-collaterals .shop_table td{display:table-cell;text-align:right!important}.ebcx-commerce .cart-collaterals .shop_table th{display:table-cell}.ebcx-commerce .cart .actions{display:block}.ebcx-commerce .ebcx-coupon-fields input{flex:1;min-width:120px}.ebcx-commerce .woocommerce table.shop_table_responsive{display:table;width:100%}}

/* Keep the optional coupon visible and account creation consistent on both shops. */
.ebcx-commerce .woocommerce form.ebcx-inline-coupon{display:block!important;width:100%;max-width:590px;box-sizing:border-box;border:0;padding:0;background:transparent;margin:14px 0 20px}
.ebcx-commerce .ebcx-coupon-inline-fields{display:flex;align-items:stretch;gap:10px}
.ebcx-commerce .ebcx-coupon-inline-fields input{flex:1;min-width:0;width:auto!important}
.ebcx-commerce .ebcx-coupon-inline-fields button{flex:0 0 auto;white-space:nowrap;margin:0!important;min-height:48px;min-width:0!important;width:auto!important;padding:11px 18px!important}
.ebcx-commerce #customer_details .create-account label{font:400 14px/1.5 Arial,sans-serif;cursor:pointer}
.ebcx-commerce #customer_details input[type=checkbox]{appearance:auto!important;width:18px;height:18px;min-height:0;display:inline-block;vertical-align:middle;margin:0 8px 3px 0!important;accent-color:var(--cx-brand)}
.ebcx-commerce #payment ul.payment_methods li>label img{display:inline-block!important;vertical-align:middle;margin:0 0 0 8px}

/* Native wallet alternatives follow the card/PayPal action and remain in the payment panel. */
.ebcx-wallet-options{display:flex;flex-direction:column}
.ebcx-wallet-options:empty{display:none}
.ebcx-wallet-options #wc-stripe-express-checkout-element{margin:0 0 10px!important}
.ebcx-wallet-options #wc-stripe-express-checkout-button-separator{display:none!important}

/* Agreement comes before every payment route; native server validation remains authoritative. */
.ebcx-agreement-slot{margin:0 0 18px}
.ebcx-agreement-slot .form-row{padding:0!important;margin:0!important}
.ebcx-payment-locked{opacity:.55;pointer-events:none}

/* Card, PayPal, Apple Pay, Google Pay; native wallet mounts survive checkout refresh. */
.ebcx-order-action-slot .place-order{margin:0!important;padding:0!important}
.ebcx-order-action-slot #place_order{width:100%;margin-top:14px}
.ebcx-wallet-options{margin-top:12px}

/* Keep the card payment action close to its fields instead of below wallet alternatives. */
.ebcx-order-action-slot{margin-bottom:16px}
