/* ChiliLovers commerce v8: varukorg (/cart/) och kassa (/checkout/, inkl. betala och "ordern komplett").
   Laddas bara när chrome v8 är aktivt på varukorg/kassa (inc/chililovers-chrome-v8.php, body.cl-chrome-commerce). Varje selektor börjar med
   body.cl-chrome-v8.cl-chrome-commerce. Rör ALDRIG: Kustom/Klarnas iframe (#kco-iframe, iframe), dess egna kolumnbredder, JS-hookar eller dolda fält.
   Inget display:none på funktionella element, inga transforms/overflow/contain på föräldrar till iframen, inga externa URL:er.
   Tokens = chrome v8 (DESIGN.md). Rubrikfonten Libre Caslon Condensed är samma fil som Mitt konto använder. */
@font-face{font-family:'Libre Caslon Condensed';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/libre-caslon-cond-400.woff2) format('woff2')}
@font-face{font-family:'Libre Caslon Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/libre-caslon-cond-700.woff2) format('woff2')}

body.cl-chrome-v8.cl-chrome-commerce{
	--cm-ink:#241e14;--cm-muted:#5a513f;--cm-line:#e3d8c0;--cm-line-2:#cdbf9f;--cm-white:#fffcf6;--cm-surface:#f2e9d6;--cm-paper:#f8f2e6;
	--cm-green:#2f6122;--cm-green-d:#234a19;--cm-red:#a52a1b;--cm-wash:#fbe9e3;--cm-green-wash:#e7eedc;
	--cm-serif:'Libre Caslon Condensed','Libre Caslon Text',Georgia,'Times New Roman',serif;
	--cm-sans:'Open Sans',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
	--cm-ease:cubic-bezier(.23,1,.32,1);
	--cm-card:0 1px 2px rgba(45,36,24,.04),0 10px 24px -18px rgba(45,36,24,.22);
	--cm-r:18px;--cm-r-ctl:12px;
	background:var(--cm-paper);color:var(--cm-ink);
}
body.cl-chrome-v8.cl-chrome-commerce #wrapper,
body.cl-chrome-v8.cl-chrome-commerce #main{background:var(--cm-paper);color:var(--cm-ink);font-family:var(--cm-sans)}
body.cl-chrome-v8.cl-chrome-commerce #main{padding-bottom:24px}

/* ---------- stegrubrik: Varukorg > Kassan > Ordern komplett */
body.cl-chrome-v8.cl-chrome-commerce .checkout-page-title{background:transparent;border:0;padding:clamp(22px,3vw,40px) 0 4px}
body.cl-chrome-v8.cl-chrome-commerce .checkout-page-title .page-title-inner{min-height:0;padding:0}
body.cl-chrome-v8.cl-chrome-commerce .checkout-breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2px 14px;margin:0;font:400 clamp(24px,3.4vw,40px)/1.1 var(--cm-serif);letter-spacing:-.01em;text-transform:none;color:var(--cm-line-2)}
body.cl-chrome-v8.cl-chrome-commerce .checkout-breadcrumbs a{color:var(--cm-line-2);font-weight:400;text-decoration:none;box-shadow:none;padding:6px 0}
body.cl-chrome-v8.cl-chrome-commerce .checkout-breadcrumbs a.current{color:var(--cm-ink);font-weight:700}
body.cl-chrome-v8.cl-chrome-commerce .checkout-breadcrumbs a:not(.current):not(.no-click):hover{color:var(--cm-muted)}
body.cl-chrome-v8.cl-chrome-commerce .checkout-breadcrumbs .divider{color:var(--cm-line-2);opacity:1;margin:0;font-size:.6em}
body.cl-chrome-v8.cl-chrome-commerce .cart-container.container{max-width:1180px;padding-top:clamp(12px,2vw,28px);padding-bottom:40px}
body.cl-chrome-v8.cl-chrome-commerce .cart-container > p:empty,
body.cl-chrome-v8.cl-chrome-commerce .cart-container > p:first-child{margin:0}

/* ---------- gemensamma byggstenar */
body.cl-chrome-v8.cl-chrome-commerce :is(.woocommerce-cart-form,.cart-collaterals .cart_totals,.cart-sidebar .ux-cart-coupon,.cart-sidebar .cart-sidebar-content){-webkit-font-smoothing:antialiased}
body.cl-chrome-v8.cl-chrome-commerce :is(h2,h3,.widget-title,.woocommerce-billing-fields h3,.woocommerce-shipping-fields h3,#order_review_heading){font-family:var(--cm-serif);font-weight:700;color:var(--cm-ink);text-transform:none;letter-spacing:-.005em}
body.cl-chrome-v8.cl-chrome-commerce :is(h3,#order_review_heading){font-size:24px;line-height:1.15;margin:0 0 14px}
body.cl-chrome-v8.cl-chrome-commerce .cart-container a{color:var(--cm-green)}
body.cl-chrome-v8.cl-chrome-commerce #main :focus-visible{outline:2px solid var(--cm-ink);outline-offset:2px;border-radius:6px}

/* Knappar: grön primär, outline sekundär (samma som drawerns .clc-dbtn). */
body.cl-chrome-v8.cl-chrome-commerce #main :is(.button,button.button,input[type=submit].button,.checkout-button,#place_order){
	display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;margin:0;border-radius:var(--cm-r-ctl);
	font:700 14.5px/1.2 var(--cm-sans);letter-spacing:.02em;text-transform:none;text-shadow:none;box-shadow:none;cursor:pointer;
	background:var(--cm-white);color:var(--cm-green);border:1.5px solid var(--cm-green);
	transition:background-color 160ms ease,color 160ms ease,border-color 160ms ease,transform 160ms var(--cm-ease)}
body.cl-chrome-v8.cl-chrome-commerce #main :is(.button,button.button,input[type=submit].button):hover{background:var(--cm-green);color:var(--cm-white);border-color:var(--cm-green)}
body.cl-chrome-v8.cl-chrome-commerce #main :is(.button,button.button):active{transform:scale(.98)}
body.cl-chrome-v8.cl-chrome-commerce #main :is(.checkout-button,.button.alt,#place_order,.wc-proceed-to-checkout .button){
	background:var(--cm-green);color:var(--cm-white);border-color:var(--cm-green);min-height:54px;font-size:15.5px;letter-spacing:.03em}
body.cl-chrome-v8.cl-chrome-commerce #main :is(.checkout-button,.button.alt,#place_order,.wc-proceed-to-checkout .button):hover{background:var(--cm-green-d);border-color:var(--cm-green-d);color:var(--cm-white)}
body.cl-chrome-v8.cl-chrome-commerce #main .wc-proceed-to-checkout{padding:18px 0 0}
body.cl-chrome-v8.cl-chrome-commerce #main .wc-proceed-to-checkout .checkout-button{display:flex;width:100%;margin:0}

/* Fält */
body.cl-chrome-v8.cl-chrome-commerce #main :is(input[type=text],input[type=email],input[type=tel],input[type=number],input[type=password],input[type=search],select,textarea,.select2-selection){
	min-height:48px;padding:10px 14px;border:1.5px solid var(--cm-line-2);border-radius:var(--cm-r-ctl);background:var(--cm-white);color:var(--cm-ink);
	font:400 15px/1.4 var(--cm-sans);box-shadow:none;transition:border-color 160ms ease,box-shadow 160ms ease}
body.cl-chrome-v8.cl-chrome-commerce #main :is(input[type=text],input[type=email],input[type=tel],input[type=number],input[type=password],select,textarea):focus{
	border-color:var(--cm-ink);box-shadow:0 0 0 3px rgba(36,30,20,.12);outline:0}
body.cl-chrome-v8.cl-chrome-commerce #main ::placeholder{color:#8a7f69;opacity:1}
body.cl-chrome-v8.cl-chrome-commerce #main label{font:600 13.5px/1.4 var(--cm-sans);color:var(--cm-ink);text-transform:none;letter-spacing:0}
body.cl-chrome-v8.cl-chrome-commerce #main input[type=checkbox],
body.cl-chrome-v8.cl-chrome-commerce #main input[type=radio]{accent-color:var(--cm-green)}
body.cl-chrome-v8.cl-chrome-commerce #main .form-row .required{color:var(--cm-red);text-decoration:none}

/* Meddelanden (WooCommerce-notiser och Flatsomes message-wrapper) */
body.cl-chrome-v8.cl-chrome-commerce #main :is(.woocommerce-info,.woocommerce-message,.woocommerce-error,.message-wrapper){
	background:var(--cm-white);color:var(--cm-ink);border:1px solid var(--cm-line);border-left:4px solid var(--cm-green);border-radius:var(--cm-r-ctl);box-shadow:var(--cm-card);
	padding:14px 18px;margin:0 0 14px;font:400 14.5px/1.5 var(--cm-sans);list-style:none}
body.cl-chrome-v8.cl-chrome-commerce #main :is(.woocommerce-error){border-left-color:var(--cm-red);background:var(--cm-wash)}
body.cl-chrome-v8.cl-chrome-commerce #main :is(.woocommerce-info,.woocommerce-message,.woocommerce-error) :is(.message-container){padding:0;color:inherit;text-align:left}
body.cl-chrome-v8.cl-chrome-commerce #main .message-wrapper.woocommerce-info{border:0;box-shadow:none;background:transparent;padding:0;margin:0 0 6px}
body.cl-chrome-v8.cl-chrome-commerce #main .woocommerce-info::before,
body.cl-chrome-v8.cl-chrome-commerce #main .woocommerce-message::before{display:none}
body.cl-chrome-v8.cl-chrome-commerce #main :is(.woocommerce-form-login-toggle,.woocommerce-form-coupon-toggle) .message-container{padding:4px 0;font-size:14.5px;color:var(--cm-muted)}
body.cl-chrome-v8.cl-chrome-commerce #main :is(.showlogin,.showcoupon){font-weight:700;color:var(--cm-green);text-decoration:underline;text-underline-offset:3px}
body.cl-chrome-v8.cl-chrome-commerce #main :is(form.checkout_coupon,form.woocommerce-form-login){background:var(--cm-white);border:1px dashed var(--cm-line-2);border-radius:var(--cm-r);padding:18px;margin:0 0 18px}

/* ---------- varukorg: tabell som kort */
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .woocommerce-cart-form{background:var(--cm-white);border:1px solid var(--cm-line);border-radius:var(--cm-r);box-shadow:var(--cm-card);padding:6px clamp(14px,2vw,26px) 18px}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .shop_table{border:0;background:transparent;margin:0}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .shop_table thead th{padding:16px 10px 12px;font:700 11.5px/1.2 var(--cm-sans);letter-spacing:.12em;text-transform:uppercase;color:var(--cm-muted);border-bottom:1px solid var(--cm-line);background:transparent}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .shop_table td{padding:16px 10px;border-color:var(--cm-line);vertical-align:middle;background:transparent}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .cart_item .product-thumbnail{width:96px}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .cart_item .product-thumbnail img{width:80px;height:80px;object-fit:cover;border-radius:var(--cm-r-ctl);border:1px solid var(--cm-line);background:var(--cm-surface)}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .cart_item .product-name a{font:700 16px/1.35 var(--cm-sans);color:var(--cm-ink);text-decoration:none}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .cart_item .product-name a:hover{color:var(--cm-green);text-decoration:underline;text-underline-offset:3px}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart :is(.product-price,.product-subtotal) .amount{font-weight:700;color:var(--cm-ink)}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .product-subtotal .amount{font-size:16px}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .product-remove a.remove{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;border:1.5px solid var(--cm-line-2);background:var(--cm-white);color:var(--cm-muted)!important;font-size:18px;line-height:1;text-decoration:none;transition:background-color 160ms ease,color 160ms ease,border-color 160ms ease}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .product-remove a.remove:hover{background:var(--cm-red);border-color:var(--cm-red);color:var(--cm-white)!important}
/* Antalsväljare: pill med − och + */
body.cl-chrome-v8.cl-chrome-commerce #main .ux-quantity{display:inline-flex;align-items:stretch;border:1.5px solid var(--cm-line-2);border-radius:var(--cm-r-ctl);background:var(--cm-white);overflow:hidden;margin:0}
body.cl-chrome-v8.cl-chrome-commerce #main .ux-quantity :is(input.qty,input[type=number]){min-height:44px;width:48px;padding:0;border:0;border-radius:0;background:transparent;text-align:center;font-weight:700;box-shadow:none;-moz-appearance:textfield}
body.cl-chrome-v8.cl-chrome-commerce #main .ux-quantity :is(input.qty,input[type=number])::-webkit-outer-spin-button,
body.cl-chrome-v8.cl-chrome-commerce #main .ux-quantity :is(input.qty,input[type=number])::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
body.cl-chrome-v8.cl-chrome-commerce #main .ux-quantity .ux-quantity__button{min-height:44px;min-width:40px;padding:0;margin:0;border:0;border-radius:0;background:var(--cm-surface);color:var(--cm-ink);font-size:18px;font-weight:700;box-shadow:none}
body.cl-chrome-v8.cl-chrome-commerce #main .ux-quantity .ux-quantity__button:hover{background:var(--cm-ink);color:var(--cm-white)}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .actions{padding:18px 0 0;border:0}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .actions .continue-shopping a.button{color:var(--cm-green)}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .actions .continue-shopping a.button:hover{color:var(--cm-white)}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .actions button[name=update_cart]{margin-left:12px;float:none;background:transparent;border-color:var(--cm-line-2);color:var(--cm-muted)}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .actions button[name=update_cart]:hover{background:var(--cm-ink);border-color:var(--cm-ink);color:var(--cm-white)}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .actions button[name=update_cart][disabled]{opacity:.45;cursor:default}

/* Layout: tabellen får resten, summan en fast kolumn (Flatsomes 7/5-kolumner blev för trånga för sex tabellkolumner). */
@media (min-width:850px){
	body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .woocommerce.row{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,400px);gap:28px;align-items:start;margin:0}
	body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .woocommerce.row>.col{max-width:none;flex:none;width:auto;padding:0;border:0;margin:0}
}
@media (max-width:849.98px){
	body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .woocommerce.row{margin:0 0 0}
	body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .woocommerce.row>.col{border:0;padding:0;margin:0 0 18px;max-width:100%;flex-basis:100%}
}

/* Summa-kolumn */
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .cart-collaterals{border-left:0}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .cart-sidebar{background:var(--cm-white);border:1px solid var(--cm-line);border-radius:var(--cm-r);box-shadow:var(--cm-card);padding:22px clamp(16px,2vw,26px) 24px;position:sticky;top:calc(var(--clc-hh,64px) + 20px)}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .cart_totals>table:first-child{display:none}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .cart_totals h2{display:block;font-size:24px;line-height:1.15;margin:0 0 6px}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .cart_totals th{font:600 14px/1.4 var(--cm-sans);color:var(--cm-muted);text-transform:none;letter-spacing:0;border-color:var(--cm-line);background:transparent;padding:12px 0}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .cart_totals td{border-color:var(--cm-line);padding:12px 0;text-align:right;background:transparent}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .cart_totals .order-total :is(th,td){border-top:2px solid var(--cm-ink);padding-top:16px}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .cart_totals .order-total th{font-weight:700;color:var(--cm-ink);font-size:16px}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .cart_totals .order-total td>strong .amount{font:700 22px/1.2 var(--cm-sans);color:var(--cm-ink)}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .cart_totals .includes_tax .amount{font-size:inherit;font-weight:inherit;color:inherit}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .cart_totals .includes_tax{display:block;color:var(--cm-muted);font-size:12.5px;font-weight:400}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .cart_totals .woocommerce-shipping-destination{color:var(--cm-muted);font-size:12.5px;margin:4px 0 0;text-align:right}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .ux-cart-coupon{margin:22px 0 0;padding-top:20px;border-top:1px solid var(--cm-line)}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .ux-cart-coupon .widget-title{display:flex;align-items:center;gap:8px;font:700 17px/1.2 var(--cm-serif);margin:0 0 12px;border:0;padding:0}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .ux-cart-coupon .coupon{display:grid;gap:10px}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .ux-cart-coupon :is(input.input-text,button){width:100%;margin:0}

/* ---------- kassa */
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout form.checkout>.row{max-width:none;margin-left:0;margin-right:0}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout :is(form.checkout_coupon,form.woocommerce-form-login) :is(.button,.lost_password a){white-space:nowrap}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout :is(.lost_password,.lost_password a){font-size:14px;margin:0}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout form.checkout_coupon .flex-col:not(.flex-grow){flex:none}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout :is(.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields){border:0;padding-top:0}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout form.checkout .large-5 .col-inner.has-border{background:var(--cm-white);border:1px solid var(--cm-line);border-radius:var(--cm-r);box-shadow:var(--cm-card);padding:clamp(18px,2.4vw,28px)}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout :is(.woocommerce-form-login-toggle,.woocommerce-form-coupon-toggle,.clgc-toggle) :is(.message-container,a){font-size:14.5px}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout .woocommerce-form-login-toggle .message-container,
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout .woocommerce-form-coupon-toggle .message-container{width:auto;max-width:none;margin:0;text-align:left!important}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout :is(.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields){margin-bottom:22px}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout #customer_details{background:var(--cm-white);border:1px solid var(--cm-line);border-radius:var(--cm-r);box-shadow:var(--cm-card);padding:clamp(18px,2.4vw,30px)}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout .form-row{margin-bottom:14px}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout #order_review_heading{margin-top:0}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout .shop_table{border:0;background:transparent;margin:0 0 16px}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout .shop_table :is(th,td){padding:11px 0;border-color:var(--cm-line);background:transparent;font-size:14.5px;color:var(--cm-ink);vertical-align:top}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout .shop_table thead th{font:700 11.5px/1.2 var(--cm-sans);letter-spacing:.12em;text-transform:uppercase;color:var(--cm-muted);border-bottom:1px solid var(--cm-line)}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout .shop_table td:last-child,
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout .shop_table thead th:last-child{text-align:right}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout .shop_table :is(.cart-subtotal,.shipping,.order-total) th{font-weight:600;color:var(--cm-muted)}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout .shop_table .order-total :is(th,td){border-top:2px solid var(--cm-ink);padding-top:14px;color:var(--cm-ink)}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout .shop_table .order-total td>strong .amount{font:700 20px/1.2 var(--cm-sans)}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout .shop_table .includes_tax .amount{font-size:inherit;font-weight:inherit}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout .shop_table .includes_tax{color:var(--cm-muted);font-size:12.5px}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout .shop_table .product-name{font-weight:600}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout .shop_table .product-quantity{color:var(--cm-muted);font-weight:600}
/* Betalsätt (ordinarie WooCommerce; Kustoms iframe styr sitt eget utseende) */
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout #payment{background:transparent;border:0;border-radius:0}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout #payment ul.payment_methods{border:0;padding:0;margin:0 0 14px}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout #payment li.wc_payment_method{list-style:none;background:var(--cm-white);border:1.5px solid var(--cm-line-2);border-radius:var(--cm-r-ctl);padding:14px 16px;margin:0 0 10px}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout #payment li.wc_payment_method:has(input:checked){border-color:var(--cm-ink);box-shadow:0 0 0 1px var(--cm-ink)}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout #payment div.payment_box{background:var(--cm-paper);color:var(--cm-muted);border-radius:var(--cm-r-ctl);font-size:13.5px;margin-top:10px}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout #payment div.payment_box::before{display:none}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper{font-size:13px;color:var(--cm-muted)}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout #place_order{width:100%;float:none}

/* Kustom Checkout: bara färg och typografi runt iframen. Kolumner, bredder och iframens höjd styrs av Kustom (rörs inte). */
body.cl-chrome-v8.cl-chrome-commerce #kco-wrapper{font-family:var(--cm-sans);color:var(--cm-ink)}
body.cl-chrome-v8.cl-chrome-commerce #kco-order-review{background:transparent}
body.cl-chrome-v8.cl-chrome-commerce #kco-order-review :is(.shop_table,.woocommerce-checkout-review-order-table){background:var(--cm-white);border:1px solid var(--cm-line);border-radius:var(--cm-r);box-shadow:var(--cm-card)}
body.cl-chrome-v8.cl-chrome-commerce #kco-order-review .shop_table :is(th,td){padding-left:16px;padding-right:16px}
body.cl-chrome-v8.cl-chrome-commerce #kco-order-review .shop_table thead th{padding-top:14px}
body.cl-chrome-v8.cl-chrome-commerce #kco-wrapper :is(.woocommerce-info,.woocommerce-error){margin-top:12px}
body.cl-chrome-v8.cl-chrome-commerce #kco-wrapper :is(.kco-extra-fields,.woocommerce-additional-fields,.form-row) label{font-size:14px}

/* Presentkort (plugin chililovers-giftcards) */
body.cl-chrome-v8.cl-chrome-commerce .clgc-apply{margin:0 0 18px}
body.cl-chrome-v8.cl-chrome-commerce .clgc-apply .clgc-toggle{margin:0 0 8px;font-size:14.5px;color:var(--cm-muted)}
body.cl-chrome-v8.cl-chrome-commerce .clgc-apply .clgc-toggle a{font-weight:700;color:var(--cm-green);text-decoration:underline;text-underline-offset:3px}
body.cl-chrome-v8.cl-chrome-commerce .clgc-apply form.clgc-form{background:var(--cm-white);border:1px dashed var(--cm-line-2);border-radius:var(--cm-r);padding:18px;margin:0}
body.cl-chrome-v8.cl-chrome-commerce .clgc-apply form.clgc-form[hidden]{display:none}
body.cl-chrome-v8.cl-chrome-commerce .clgc-apply form.clgc-form p{margin:0 0 10px}
body.cl-chrome-v8.cl-chrome-commerce .clgc-apply form.clgc-form .description{color:var(--cm-muted);font-size:13px;margin:8px 0 0}
body.cl-chrome-v8.cl-chrome-commerce .clgc-apply form.clgc-form input[name=clgc_code]{width:100%;max-width:340px;margin:0 8px 8px 0;font-variant-numeric:tabular-nums;letter-spacing:.06em}

/* Bästsäljare under korgen: samma kort som i butiken, bara typografi och avstånd */
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .cart-container .lead{font:700 clamp(24px,2.6vw,32px)/1.1 var(--cm-serif);text-align:center;letter-spacing:-.005em;text-transform:none;margin:48px 0 20px;color:var(--cm-ink)}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .products .box-text .name a{color:var(--cm-ink);font-weight:600}
body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .products .price{color:var(--cm-ink);font-weight:700}

/* ---------- tack-sidan (order-received) */
body.cl-chrome-v8.cl-chrome-commerce .woocommerce-order{background:var(--cm-white);border:1px solid var(--cm-line);border-radius:var(--cm-r);box-shadow:var(--cm-card);padding:clamp(18px,2.6vw,32px);max-width:860px;margin:0 auto}
body.cl-chrome-v8.cl-chrome-commerce .woocommerce-order .woocommerce-thankyou-order-received{font:700 clamp(22px,2.4vw,28px)/1.2 var(--cm-serif);color:var(--cm-green)}
body.cl-chrome-v8.cl-chrome-commerce .woocommerce-order ul.order_details{display:flex;flex-wrap:wrap;gap:12px 28px;margin:16px 0;padding:0;list-style:none;border:0}
body.cl-chrome-v8.cl-chrome-commerce .woocommerce-order ul.order_details li{border:0;padding:0;margin:0;font-size:12.5px;color:var(--cm-muted);text-transform:uppercase;letter-spacing:.08em}
body.cl-chrome-v8.cl-chrome-commerce .woocommerce-order ul.order_details li strong{display:block;margin-top:4px;font-size:15px;color:var(--cm-ink);text-transform:none;letter-spacing:0}

/* ---------- mobil */
@media (max-width:849.98px){
	body.cl-chrome-v8.cl-chrome-commerce .checkout-breadcrumbs{gap:0 10px}
	body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .cart-sidebar{position:static;margin-top:18px}
	body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .woocommerce-cart-form{padding:4px 14px 16px}
	body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .shop_table thead{display:none}
	body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .cart_item{display:block;position:relative;padding:14px 0 14px 0;border-bottom:1px solid var(--cm-line)}
	body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .cart_item td{border:0;padding:4px 0}
	body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .cart_item .product-remove{position:absolute;right:0;top:12px;padding:0;z-index:2;display:block;width:32px;height:32px}
	body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .cart_item .product-thumbnail{display:block;width:auto}
	body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .cart_item .product-name{padding-right:40px}
	body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .cart_item .product-price{display:none}
	body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .actions .button{width:100%;margin:8px 0 0}
	body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .actions button[name=update_cart]{margin-left:0}
	body.cl-chrome-v8.cl-chrome-commerce.woocommerce-cart .actions :is(.continue-shopping,.pull-left){float:none;width:100%}
}
@media (max-width:549.98px){
	body.cl-chrome-v8.cl-chrome-commerce .cart-container.container{padding-left:14px;padding-right:14px}
	body.cl-chrome-v8.cl-chrome-commerce.woocommerce-checkout #customer_details{padding:16px}
	body.cl-chrome-v8.cl-chrome-commerce #main :is(.button,button.button,.checkout-button,#place_order){width:100%}
}
@media (prefers-reduced-motion:reduce){
	body.cl-chrome-v8.cl-chrome-commerce #main :is(.button,input,select,textarea,.remove,.ux-quantity__button){transition:none}
	body.cl-chrome-v8.cl-chrome-commerce #main .button:active{transform:none}
}
