/*
Theme Name: Wedins Motor
Author: Wedins Motor
Version: 2.8.11
Description: Tema för Wedins Motor – matchar startsidans header
*/

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
	margin:0;
	font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
	color:#171717;
	background:#fff;
	line-height:1.55;
	-webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input,select,textarea{font:inherit}
.wm-wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

/* ========== HEADER – samma stil som startsidan ========== */
.wm-header{
	position:sticky;
	top:0;
	z-index:1000;
	background:#fff;
	border-bottom:1px solid #e5e5e5;
}
.wm-header-row{
	display:flex;
	align-items:center;
	gap:20px;
	min-height:90px;
}

/* Loggor – samma höjd */
.wm-logo-link{
	display:flex;
	align-items:center;
	gap:16px;
	flex-shrink:0;
}
.wm-logo-wedins,
.wm-logo-mammotion{
	height:48px !important;
	max-height:48px !important;
	width:auto !important;
	max-width:200px !important;
	object-fit:contain !important;
	display:block !important;
}

/* Meny */
.wm-main-nav{margin-left:auto}
.wm-menu{
	list-style:none;
	margin:0;
	padding:0;
	display:flex;
	align-items:center;
	gap:2px;
}
.wm-menu a{
	display:block;
	padding:10px 12px;
	font-size:13px;
	font-weight:700;
	letter-spacing:.06em;
	text-transform:uppercase;
	color:#171717;
	border-radius:4px;
	transition:color .15s,background .15s;
}
.wm-menu a:hover{color:#1a4d38;background:#f4f6f4}

/* Kontakta oss – grön knapp */
.wm-btn-contact{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:42px;
	padding:0 18px;
	background:#1a4d38;
	color:#fff !important;
	font-size:13px;
	font-weight:700;
	text-transform:uppercase;
	letter-spacing:.03em;
	border-radius:6px;
	white-space:nowrap;
	flex-shrink:0;
	transition:background .15s;
}
.wm-btn-contact:hover{background:#143d2c;color:#fff !important}

/* Varukorg */
.wm-btn-cart{
	display:inline-flex;
	align-items:center;
	gap:8px;
	min-height:42px;
	padding:0 14px;
	border:1px solid #171717;
	border-radius:6px;
	background:#fff;
	color:#171717;
	font-size:13px;
	font-weight:700;
	text-transform:uppercase;
	letter-spacing:.03em;
	white-space:nowrap;
	flex-shrink:0;
	transition:background .15s,color .15s;
}
.wm-btn-cart:hover{background:#171717;color:#fff}
.wm-cart-icon{font-size:15px;line-height:1}
.wm-cart-count{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:22px;
	height:22px;
	padding:0 6px;
	border-radius:999px;
	background:#1a4d38;
	color:#fff;
	font-size:12px;
	font-weight:700;
}
.wm-btn-cart:hover .wm-cart-count{background:#fff;color:#171717}

/* Mobil */
.wm-menu-btn{
	display:none;
	width:42px;
	height:42px;
	border:1px solid #171717;
	background:#fff;
	font-size:20px;
	cursor:pointer;
	border-radius:6px;
	margin-left:auto;
}
.wm-mobile-menu{
	display:none;
	flex-direction:column;
	padding:8px 24px 16px;
	border-top:1px solid #eee;
	background:#fff;
}
.wm-mobile-menu a{
	display:block;
	padding:14px 0;
	font-weight:700;
	font-size:14px;
	text-transform:uppercase;
	letter-spacing:.05em;
	border-bottom:1px solid #f0f0f0;
}

/* ========== MAIN ========== */
.wm-main{min-height:50vh}

/* ========== SIDOR ========== */
.wm-page{padding:40px 24px 60px}
.wm-page-title{font-size:32px;margin:0 0 20px;font-weight:700}
.wm-page-content{font-size:16px;line-height:1.7;max-width:900px}
.wm-page-content p{margin:0 0 1em}

/* ========== PRODUKT ========== */
.wm-product{max-width:1180px;margin:0 auto;padding:40px 24px 70px}
.wm-product-top{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.wm-product-image{
	background:#f5f6f5;
	border-radius:12px;
	padding:24px;
	min-height:360px;
	display:flex;
	align-items:center;
	justify-content:center;
}
.wm-product-image img{width:100%;max-width:520px;height:auto;object-fit:contain;margin:0 auto}
.wm-brand{font-size:12px;font-weight:700;letter-spacing:.15em;color:#666;text-transform:uppercase;margin-bottom:6px}
.wm-product-info h1{font-size:36px;line-height:1.1;margin:0 0 14px;font-weight:750}
.wm-price{font-size:26px;font-weight:700;margin-bottom:16px}
.wm-short{font-size:16px;line-height:1.6;color:#333}
.wm-stock{font-weight:700;color:#168447;margin:16px 0}
.wm-out{color:#b42318}
.wm-cart-form form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:20px 0}
.wm-cart-form .quantity .qty{
	width:70px;min-height:48px;padding:0 10px;border:1px solid #ccc;border-radius:6px;text-align:center;
}
.wm-cart-form button.single_add_to_cart_button,
.wm-cart-form .button{
	min-height:48px;padding:0 26px;font-weight:700;font-size:15px;
	background:#1a4d38;color:#fff;border:0;border-radius:6px;cursor:pointer;
}
.wm-cart-form button.single_add_to_cart_button:hover{background:#143d2c}
.wm-product-meta{list-style:none;margin:20px 0 0;padding:16px 0 0;border-top:1px solid #eee}
.wm-product-meta li{padding:5px 0 5px 20px;position:relative;font-size:14px;color:#444}
.wm-product-meta li::before{content:"✓";position:absolute;left:0;color:#1a4d38;font-weight:700}
.wm-description{margin-top:48px;padding-top:32px;border-top:1px solid #e5e5e5;max-width:800px;line-height:1.7}
.wm-description h2{font-size:24px;margin:0 0 14px}
.wm-related{margin-top:48px;padding-top:28px;border-top:1px solid #e5e5e5}
.wm-related h2,.related.products>h2{font-size:22px;margin:0 0 20px}

/* ========== BUTIK ========== */
.wm-shop{padding:36px 24px 60px}
.wm-shop-header h1{font-size:32px;margin:0 0 8px}
.wm-shop-intro{margin:0 0 20px;color:#555}
.wm-shop-toolbar{display:flex;justify-content:space-between;gap:16px;margin-bottom:24px;padding-bottom:14px;border-bottom:1px solid #eee;font-size:14px;color:#555}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;list-style:none;margin:0;padding:0}
.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important;border:1px solid #e8e8e8;border-radius:10px;overflow:hidden}
.woocommerce ul.products li.product a img{width:100%;height:200px;object-fit:contain;background:#f5f6f5;padding:12px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px;font-weight:650;padding:12px 14px 4px;margin:0}
.woocommerce ul.products li.product .price{display:block;padding:0 14px 8px;font-weight:700;font-size:16px}
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button{
	display:block;margin:0 14px 14px;text-align:center;min-height:40px;line-height:40px;
	background:#1a4d38;color:#fff;border-radius:6px;font-weight:600;font-size:13px;border:0;
}

/* ========== SHOP BOX (varukorg + kassa) ========== */
.wm-shop-box{
	max-width:1000px;
	margin:0 auto;
	padding:40px 24px 70px;
}
.wm-empty-state{
	text-align:center;
	padding:48px 20px;
	background:#f7f8f7;
	border-radius:12px;
	border:1px solid #e5e5e5;
}
.wm-empty-state p{margin:0 0 16px;font-size:16px;color:#555}
.wm-empty-state .button{display:inline-flex}

/* Varukorg – radlayout */
.wm-cart-list{display:flex;flex-direction:column;gap:12px;margin-bottom:20px;max-width:720px}
.wm-cart-row{
	display:grid;
	grid-template-columns:72px minmax(120px,1fr) 90px 90px 36px;
	gap:12px;
	align-items:center;
	padding:12px 14px;
	border:1px solid #e5e5e5;
	border-radius:10px;
	background:#fff;
	max-width:100%;
}
.wm-cart-row-info{min-width:0}
.wm-cart-row-name{
	font-weight:600;
	font-size:14px;
	margin-bottom:2px;
	line-height:1.3;
	overflow:hidden;
	text-overflow:ellipsis;
}
.wm-cart-row-price{font-size:13px;color:#555}
.woocommerce-price-suffix{font-weight:500;color:#666;font-size:12px}
.coupon,
.woocommerce-form-coupon-toggle,
form.checkout_coupon,
.woocommerce-cart .coupon{
	display:none !important;
}
.wm-cart-row-image img{
	width:72px;
	height:72px;
	object-fit:contain;
	background:#f5f6f5;
	border-radius:8px;
	padding:4px;
}
.wm-cart-row-name{font-weight:600;font-size:15px;margin-bottom:4px}
.wm-cart-row-name a{font-weight:600}
.wm-cart-row-price{font-size:14px;color:#555}
.wm-cart-row-qty .quantity .qty{
	width:64px;
	min-height:40px;
	padding:0 8px;
	border:1px solid #ccc;
	border-radius:6px;
	text-align:center;
}
.wm-cart-row-total{font-weight:700;font-size:15px;text-align:right}
.wm-cart-row-remove .remove{
	display:inline-flex;
	width:32px;
	height:32px;
	align-items:center;
	justify-content:center;
	font-size:22px;
	color:#999;
	border-radius:6px;
}
.wm-cart-row-remove .remove:hover{background:#fee;color:#b42318}
.wm-cart-actions{margin:8px 0 28px;text-align:right}
.wm-cart-summary{max-width:380px;margin-left:auto}
.cart-collaterals{
	background:#f7f8f7;
	border:1px solid #e5e5e5;
	border-radius:10px;
	padding:22px;
}
.cart-collaterals .cart_totals h2{font-size:18px;margin:0 0 14px}
.cart-collaterals table{width:100%;margin-bottom:16px;border-collapse:collapse}
.cart-collaterals th,.cart-collaterals td{padding:8px 0;text-align:left;font-size:14px}
.cart-collaterals .order-total th,
.cart-collaterals .order-total td{font-size:17px;font-weight:700;border-top:1px solid #ddd;padding-top:12px}
.wc-proceed-to-checkout{margin:0}
.wc-proceed-to-checkout a{display:block;width:100%;text-align:center}

/* Checkout – två kolumner */
.wm-checkout-grid{
	display:grid;
	grid-template-columns:1.15fr 0.85fr;
	gap:32px;
	align-items:start;
}
.wm-checkout-section{
	margin-bottom:24px;
}
.wm-checkout-section h2{
	font-size:18px;
	margin:0 0 16px;
	padding-bottom:10px;
	border-bottom:1px solid #e5e5e5;
	font-weight:700;
}
.wm-order-box{
	background:#f7f8f7;
	border:1px solid #e5e5e5;
	border-radius:12px;
	padding:22px;
	position:sticky;
	top:100px;
}
.woocommerce-checkout .form-row{margin:0 0 14px;padding:0}
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last{width:48%}
.woocommerce-checkout .form-row-first{float:left;clear:left}
.woocommerce-checkout .form-row-last{float:right;clear:right}
.woocommerce-checkout .form-row-wide{width:100%;clear:both}
.woocommerce-checkout .form-row::after{content:"";display:table;clear:both}
.woocommerce-checkout label{display:block;font-weight:600;font-size:13px;margin-bottom:5px;color:#333}
.woocommerce-checkout .required{color:#b42318}
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select{
	width:100%;
	min-height:44px;
	padding:10px 12px;
	border:1px solid #ccc;
	border-radius:6px;
	background:#fff;
	font-size:15px;
}
.woocommerce-checkout textarea{min-height:90px}
.woocommerce-checkout #order_review table.shop_table{width:100%;border-collapse:collapse;margin-bottom:16px}
.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td{
	padding:10px 0;
	border-bottom:1px solid #e5e5e5;
	text-align:left;
	font-size:14px;
}
.woocommerce-checkout #order_review table.shop_table .order-total th,
.woocommerce-checkout #order_review table.shop_table .order-total td{
	font-size:17px;
	font-weight:700;
	border-bottom:0;
	padding-top:12px;
}
.woocommerce-checkout #payment{
	background:#fff;
	border:1px solid #e5e5e5;
	border-radius:8px;
	padding:16px;
	margin-top:12px;
}
.woocommerce-checkout #payment ul.payment_methods{list-style:none;margin:0 0 12px;padding:0}
.woocommerce-checkout #payment ul.payment_methods li{padding:10px 0;border-bottom:1px solid #f0f0f0}
.woocommerce-checkout #payment div.payment_box{background:#f5f6f5;padding:12px;border-radius:6px;margin-top:8px;font-size:14px}
.woocommerce-checkout #place_order{
	width:100%;
	min-height:52px;
	margin-top:12px;
	font-size:16px;
	font-weight:700;
	background:#1a4d38 !important;
	color:#fff !important;
	border:0;
	border-radius:6px;
	cursor:pointer;
}
.woocommerce-checkout #place_order:hover{background:#143d2c !important}

/* Woo knappar */
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce-cart .checkout-button{
	min-height:44px;
	padding:0 22px;
	font-weight:600;
	border-radius:6px;
	border:0;
	cursor:pointer;
	background:#1a4d38 !important;
	color:#fff !important;
	display:inline-flex;
	align-items:center;
	justify-content:center;
}
.woocommerce .button:hover,
.woocommerce a.button:hover{background:#143d2c !important;color:#fff !important}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.cart-empty{
	padding:14px 18px;
	background:#f5f8f6;
	border-radius:8px;
	border-left:4px solid #1a4d38;
	margin-bottom:18px;
	list-style:none;
}
.woocommerce-error{border-left-color:#b42318;background:#fef5f5}


/* ========== CENTRERADE SIDOR ========== */
.wm-centered-page{
	max-width:1180px;
	margin:0 auto;
	padding:40px 24px 70px;
	width:100%;
}
.wm-centered-page .entry-content{
	max-width:100%;
	margin:0 auto;
}
.wm-centered-page .wm-page-title{
	font-size:32px;
	margin:0 0 24px;
	font-weight:700;
}
/* Jämför-verktyget full bredd inuti */
.wm-centered-page #wedins-comparison{
	max-width:100%;
	margin:0 auto;
	padding-left:0;
	padding-right:0;
}
.wm-shop-box{
	max-width:1000px !important;
	margin-left:auto !important;
	margin-right:auto !important;
	width:100%;
	padding:40px 24px 70px;
	box-sizing:border-box;
}
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce{
	max-width:1000px;
	margin:0 auto;
	padding:0;
	width:100%;
}
/* ========== FOOTER – enkel, som startsidan ========== */
.wm-footer{
	margin-top:48px;
	border-top:1px solid #e5e5e5;
	padding:28px 0;
	text-align:center;
}
.wm-footer p{
	margin:0;
	font-size:14px;
	color:#777;
}

/* ========== RESPONSIV ========== */
@media(max-width:980px){
	.wm-main-nav,
	.wm-btn-contact{display:none}
	.wm-menu-btn{display:block}
	.wm-mobile-menu[hidden]{display:none}
	.wm-mobile-menu:not([hidden]){display:flex}
	.wm-product-top{grid-template-columns:1fr;gap:24px}
	.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}
	.wm-checkout-grid{grid-template-columns:1fr}
	.wm-order-box{position:static}
	.woocommerce-checkout .form-row-first,
	.woocommerce-checkout .form-row-last{width:100%;float:none}
	.wm-cart-row{grid-template-columns:64px 1fr;grid-template-areas:"img info" "img qty" "img total" "img remove"}
	.wm-cart-row-image{grid-area:img}
	.wm-cart-row-info{grid-area:info}
	.wm-cart-row-qty{grid-area:qty}
	.wm-cart-row-total{grid-area:total;text-align:left}
	.wm-cart-row-remove{grid-area:remove}
	.wm-cart-summary{max-width:none}
}

@media(max-width:600px){
	.wm-logo-wedins,
	.wm-logo-mammotion{height:34px !important;max-height:34px !important;max-width:140px !important}
	.wm-header-row{min-height:72px;gap:10px}
	.wm-btn-cart{padding:0 10px;font-size:11px}
	.wm-product-info h1{font-size:28px}
	.wm-page-title{font-size:26px}
	.woocommerce ul.products{grid-template-columns:1fr}
	.cart-collaterals{max-width:none}
}

/* Varukorg – kompakt layout */
.wm-shop-box{
	max-width:960px !important;
}
.woocommerce-cart .wm-shop-box{
	display:block;
}
.wm-cart-list{
	display:flex !important;
	flex-direction:column !important;
	gap:10px !important;
	margin-bottom:16px !important;
	max-width:100% !important;
}
.wm-cart-row{
	display:grid !important;
	grid-template-columns:64px 1fr auto auto 32px !important;
	gap:10px !important;
	align-items:center !important;
	padding:12px !important;
	border:1px solid #e5e5e5 !important;
	border-radius:10px !important;
	background:#fff !important;
	max-width:100% !important;
}
.wm-cart-row-image img{
	width:56px !important;
	height:56px !important;
	object-fit:contain !important;
	background:#f5f6f5 !important;
	border-radius:6px !important;
	padding:3px !important;
}
.wm-cart-row-info{min-width:0}
.wm-cart-row-name{
	font-weight:600 !important;
	font-size:14px !important;
	line-height:1.3 !important;
	margin:0 0 2px !important;
}
.wm-cart-row-price{font-size:13px !important;color:#555 !important}
.wm-cart-row-qty .qty{
	width:56px !important;
	min-height:36px !important;
	text-align:center !important;
}
.wm-cart-row-total{
	font-weight:700 !important;
	font-size:14px !important;
	white-space:nowrap !important;
}
.wm-cart-actions{margin:4px 0 20px !important;text-align:left !important}
.wm-cart-summary{
	max-width:340px !important;
	margin:0 0 0 auto !important;
}
/* Checkout snyggare */
.wm-checkout-grid{
	display:grid !important;
	grid-template-columns:1fr 340px !important;
	gap:28px !important;
	align-items:start !important;
}
.wm-checkout-section h2,
#customer_details h3,
.woocommerce-billing-fields > h3,
.woocommerce-shipping-fields > h3,
.woocommerce-additional-fields > h3{
	display:none !important;
}
.wm-order-box{
	background:#f7f8f7 !important;
	border:1px solid #e5e5e5 !important;
	border-radius:12px !important;
	padding:20px !important;
	position:sticky !important;
	top:100px !important;
}
.wm-order-box h2{
	display:block !important;
	font-size:18px !important;
	margin:0 0 14px !important;
	padding-bottom:10px !important;
	border-bottom:1px solid #e5e5e5 !important;
}
/* Dölj free shipping-text om den dyker upp */
.woocommerce-shipping-totals td small,
.shipping .amount + * { }
label[for*="free_shipping"]{font-size:14px}

@media(max-width:800px){
	.wm-checkout-grid{grid-template-columns:1fr !important}
	.wm-order-box{position:static !important}
	.wm-cart-row{
		grid-template-columns:56px 1fr 32px !important;
		grid-template-areas:"img info rm" "img qty total" !important;
	}
	.wm-cart-row-image{grid-area:img}
	.wm-cart-row-info{grid-area:info}
	.wm-cart-row-qty{grid-area:qty}
	.wm-cart-row-total{grid-area:total;text-align:left !important}
	.wm-cart-row-remove{grid-area:rm}
	.wm-cart-summary{max-width:none !important;margin:0 !important}
}


/* ===== Kassan = varukorg + betalning ===== */
.woocommerce-checkout .shop_table.woocommerce-checkout-review-order-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 16px;
}
.woocommerce-checkout .shop_table.woocommerce-checkout-review-order-table th,
.woocommerce-checkout .shop_table.woocommerce-checkout-review-order-table td {
	padding: 10px 0;
	border-bottom: 1px solid #e8e8e8;
	font-size: 14px;
	text-align: left;
	vertical-align: middle;
}
.woocommerce-checkout .shop_table .product-name {
	font-weight: 600;
	max-width: 200px;
}
.woocommerce-checkout .shop_table .product-total {
	text-align: right;
	font-weight: 700;
	white-space: nowrap;
	width: 1%;
}
.woocommerce-checkout .shop_table tfoot th {
	font-weight: 600;
}
.woocommerce-checkout .shop_table tfoot .order-total th,
.woocommerce-checkout .shop_table tfoot .order-total td {
	font-size: 17px;
	font-weight: 700;
	border-bottom: 0;
	padding-top: 12px;
}
.woocommerce-checkout .cart-subtotal td,
.woocommerce-checkout .order-total td {
	text-align: right;
	white-space: nowrap;
}

/* Kompakt varukorg om den visas */
.wm-cart-list { max-width: 100% !important; }
.wm-cart-row {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	gap: 10px !important;
	padding: 10px 12px !important;
	grid-template-columns: none !important;
}
.wm-cart-row-image { flex: 0 0 56px; }
.wm-cart-row-image img { width: 56px !important; height: 56px !important; }
.wm-cart-row-info { flex: 1 1 auto; min-width: 0; }
.wm-cart-row-qty { flex: 0 0 auto; }
.wm-cart-row-total { flex: 0 0 auto; white-space: nowrap !important; font-weight: 700; }
.wm-cart-row-remove { flex: 0 0 28px; }


/* ===== Normal webbshop varukorg ===== */
.wm-cart-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 28px;
	align-items: start;
}
.wm-cart-table {
	width: 100%;
	border-collapse: collapse;
}
.wm-cart-table th {
	text-align: left;
	padding: 10px 8px;
	border-bottom: 2px solid #e5e5e5;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #555;
}
.wm-cart-table td {
	padding: 14px 8px;
	border-bottom: 1px solid #eee;
	vertical-align: middle;
}
.wm-cart-table .product-thumbnail img {
	width: 56px;
	height: 56px;
	object-fit: contain;
	background: #f5f6f5;
	border-radius: 6px;
}
.wm-cart-table .product-name a { font-weight: 600; }
.wm-cart-table .product-remove .remove {
	display: inline-flex;
	width: 28px;
	height: 28px;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	color: #999;
	border-radius: 6px;
}
.wm-cart-table .product-remove .remove:hover { background: #fee; color: #b42318; }
.wm-cart-table .product-quantity .qty {
	width: 60px;
	min-height: 38px;
	text-align: center;
	border: 1px solid #ccc;
	border-radius: 6px;
}
.wm-cart-table .product-subtotal { font-weight: 700; white-space: nowrap; }
.wm-cart-table td.actions { text-align: left; border-bottom: 0; padding-top: 16px; }
.wm-cart-summary { position: sticky; top: 100px; }
.wm-cart-summary .cart-collaterals {
	background: #f7f8f7;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	padding: 18px;
}
.wm-cart-summary .cart_totals h2 { font-size: 17px; margin: 0 0 12px; }
.wm-cart-summary table { width: 100%; margin-bottom: 12px; }
.wm-cart-summary th, .wm-cart-summary td { padding: 8px 0; text-align: left; font-size: 14px; }
.wm-cart-summary .order-total th,
.wm-cart-summary .order-total td { font-size: 16px; font-weight: 700; border-top: 1px solid #ddd; padding-top: 10px; }
.wc-proceed-to-checkout a { display: block; width: 100%; text-align: center; }

.woocommerce-privacy-policy-text,
.woocommerce-terms-and-conditions-wrapper { display: none !important; }

@media (max-width: 800px) {
	.wm-cart-layout { grid-template-columns: 1fr; }
	.wm-cart-summary { position: static; }
	.wm-cart-table thead { display: none; }
	.wm-cart-table tr {
		display: grid;
		grid-template-columns: 28px 56px 1fr;
		grid-template-areas:
			"rm img name"
			"rm img price"
			"rm img qty"
			"rm img sum";
		gap: 6px 10px;
		padding: 12px 0;
		border-bottom: 1px solid #eee;
	}
	.wm-cart-table td { border: 0; padding: 0; }
	.wm-cart-table .product-remove { grid-area: rm; }
	.wm-cart-table .product-thumbnail { grid-area: img; }
	.wm-cart-table .product-name { grid-area: name; }
	.wm-cart-table .product-price { grid-area: price; }
	.wm-cart-table .product-quantity { grid-area: qty; }
	.wm-cart-table .product-subtotal { grid-area: sum; font-weight: 700; }
	.wm-cart-table td.actions { grid-column: 1 / -1; }
}


/* Kombinerad varukorg + kassa */
.wm-section-title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e5e5e5;
}
.wm-combined-cart {
	margin-bottom: 36px;
	padding-bottom: 28px;
	border-bottom: 1px solid #e5e5e5;
}
.wm-combined-cart-actions {
	margin-top: 12px;
}
.wm-combined-cart .wm-cart-table {
	margin-bottom: 0;
}
.wm-checkout-box .wm-page-title {
	margin-bottom: 28px;
}
.woocommerce-billing-fields > h3,
.woocommerce-shipping-fields > h3,
.woocommerce-additional-fields > h3 {
	display: none !important;
}


/* Dölj fortsätt handla */
.return-to-shop,
.wc-forward,
a.button.wc-forward,
.woocommerce-message .button.wc-forward,
.continue-shopping {
	display: none !important;
}

/* Proffsig order-sammanställning */
.wm-order-box {
	background: #f8f9f8;
	border: 1px solid #e2e6e3;
	border-radius: 12px;
	padding: 22px;
}
.wm-order-summary {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 8px;
}
.wm-order-summary tbody td {
	padding: 12px 0;
	border-bottom: 1px solid #e8ebe9;
	vertical-align: top;
	font-size: 14px;
}
.wm-order-summary .product-name {
	text-align: left;
	padding-right: 12px;
}
.wm-order-summary .product-total {
	text-align: right;
	font-weight: 600;
	white-space: nowrap;
	width: 1%;
}
.wm-os-name {
	display: block;
	font-weight: 600;
	line-height: 1.35;
	color: #171717;
}
.wm-os-qty {
	display: inline-block;
	margin-top: 3px;
	font-size: 13px;
	font-weight: 500;
	color: #666;
}
.wm-order-summary tfoot th,
.wm-order-summary tfoot td {
	padding: 10px 0;
	font-size: 14px;
	border-bottom: 1px solid #e8ebe9;
	text-align: left;
}
.wm-order-summary tfoot td {
	text-align: right;
	font-weight: 600;
	white-space: nowrap;
}
.wm-order-summary tfoot tr:last-child th,
.wm-order-summary tfoot tr:last-child td {
	border-bottom: 0;
}
.wm-order-summary tfoot .order-total th,
.wm-order-summary tfoot .order-total td {
	padding-top: 14px;
	font-size: 17px;
	font-weight: 700;
	border-top: 2px solid #d5dad6;
	border-bottom: 0;
}
.wm-order-summary tfoot .cart-subtotal th {
	font-weight: 500;
	color: #444;
}
.wm-order-summary tfoot .cart-subtotal td {
	font-weight: 500;
}
/* Shipping rows cleaner */
.wm-order-summary .woocommerce-shipping-totals th,
.wm-order-summary .woocommerce-shipping-totals td {
	font-weight: 500;
}
.wm-order-summary ul#shipping_method {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: right;
}
.wm-order-summary ul#shipping_method li {
	margin: 0 0 4px;
	text-align: right;
}
/* Payment box under summary */
.wm-order-box #payment {
	margin-top: 16px;
	background: #fff;
	border: 1px solid #e2e6e3;
	border-radius: 8px;
	padding: 14px;
}
.wm-order-box #payment ul.payment_methods {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
}
.wm-order-box #payment ul.payment_methods li {
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f0;
	font-size: 14px;
}
.wm-order-box #payment div.payment_box {
	background: #f5f6f5;
	padding: 10px 12px;
	border-radius: 6px;
	margin-top: 8px;
	font-size: 13px;
	color: #444;
}
.wm-order-box #place_order {
	width: 100%;
	min-height: 50px;
	margin-top: 8px;
	font-size: 16px;
	font-weight: 700;
	background: #1a4d38 !important;
	color: #fff !important;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
}
.wm-order-box #place_order:hover {
	background: #143d2c !important;
}


/* =========================================================
   KASSA v2 – proffsig layout
   ========================================================= */
.wm-checkout {
	max-width: 1040px;
	margin: 0 auto;
	padding: 36px 20px 80px;
}
.wm-checkout-title {
	font-size: 30px;
	font-weight: 750;
	margin: 0 0 28px;
	letter-spacing: -0.02em;
}
.wm-card {
	background: #fff;
	border: 1px solid #e6e8e6;
	border-radius: 14px;
	padding: 24px;
	box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.wm-card h2 {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 18px;
	padding: 0 0 12px;
	border-bottom: 1px solid #eee;
	text-transform: none;
	letter-spacing: 0;
}
.wm-card-sticky {
	position: sticky;
	top: 96px;
}

/* Produkter överst */
.wm-checkout-products {
	margin-bottom: 28px;
	background: #fff;
	border: 1px solid #e6e8e6;
	border-radius: 14px;
	padding: 8px 16px 16px;
}
.wm-cp-row {
	display: grid;
	grid-template-columns: 64px 1fr 90px 100px 36px;
	gap: 12px;
	align-items: center;
	padding: 14px 0;
	border-bottom: 1px solid #f0f0f0;
}
.wm-cp-row:last-of-type { border-bottom: 0; }
.wm-cp-img img {
	width: 64px;
	height: 64px;
	object-fit: contain;
	background: #f5f6f5;
	border-radius: 8px;
	padding: 4px;
}
.wm-cp-name {
	font-weight: 650;
	font-size: 15px;
	line-height: 1.3;
}
.wm-cp-name a { font-weight: 650; }
.wm-cp-price {
	font-size: 13px;
	color: #666;
	margin-top: 3px;
}
.wm-cp-qty .qty {
	width: 64px;
	min-height: 40px;
	text-align: center;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 15px;
}
.wm-cp-sum {
	font-weight: 700;
	font-size: 15px;
	text-align: right;
	white-space: nowrap;
}
.wm-cp-remove .remove {
	display: inline-flex;
	width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	color: #aaa;
	border-radius: 8px;
}
.wm-cp-remove .remove:hover { background: #fdecec; color: #b42318; }
.wm-cp-actions {
	padding-top: 8px;
	display: flex;
	justify-content: flex-end;
}
.wm-btn-secondary {
	background: #fff !important;
	color: #171717 !important;
	border: 1px solid #ccc !important;
	min-height: 40px !important;
	padding: 0 16px !important;
	border-radius: 8px !important;
	font-weight: 600 !important;
}
.wm-btn-secondary:hover {
	border-color: #1a4d38 !important;
	background: #f6faf7 !important;
}

/* Grid */
.wm-checkout-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.9fr;
	gap: 24px;
	align-items: start;
}

/* Formulär */
.wm-checkout .form-row {
	margin: 0 0 14px;
	padding: 0;
}
.wm-checkout .form-row-first,
.wm-checkout .form-row-last {
	width: 48%;
}
.wm-checkout .form-row-first { float: left; }
.wm-checkout .form-row-last { float: right; }
.wm-checkout .form-row-wide { width: 100%; clear: both; }
.wm-checkout .form-row::after { content: ""; display: table; clear: both; }
.wm-checkout label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: #333;
}
.wm-checkout .required { color: #b42318; }
.wm-checkout input.input-text,
.wm-checkout textarea,
.wm-checkout select {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #d0d0d0;
	border-radius: 8px;
	background: #fff;
	font-size: 15px;
	transition: border-color .15s;
}
.wm-checkout input.input-text:focus,
.wm-checkout textarea:focus,
.wm-checkout select:focus {
	outline: none;
	border-color: #1a4d38;
	box-shadow: 0 0 0 3px rgba(26,77,56,.12);
}
.woocommerce-billing-fields > h3,
.woocommerce-shipping-fields > h3,
.woocommerce-additional-fields > h3,
.wm-checkout #order_review_heading {
	display: none !important;
}

/* Order lines */
.wm-order-lines {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}
.wm-order-line {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #eee;
	font-size: 14px;
}
.wm-ol-name {
	display: block;
	font-weight: 650;
	line-height: 1.3;
}
.wm-ol-qty {
	display: block;
	font-size: 12px;
	color: #777;
	margin-top: 2px;
}
.wm-ol-right {
	font-weight: 650;
	white-space: nowrap;
}

.wm-order-totals {
	padding-top: 4px;
}
.wm-ot-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	font-size: 14px;
	color: #444;
}
.wm-ot-row.wm-ot-total {
	margin-top: 8px;
	padding-top: 14px;
	border-top: 2px solid #ddd;
	font-size: 17px;
	font-weight: 750;
	color: #171717;
}
/* Dölj ful standard shipping-tabell, behåll radio om behövs */
.wm-card .woocommerce-shipping-totals {
	display: block;
}
.wm-card table.woocommerce-checkout-review-order-table {
	display: none;
}
.wm-card ul#shipping_method {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
}
.wm-card ul#shipping_method li {
	margin: 0 0 6px;
	font-size: 13px;
}

/* Betalning */
.wm-card #payment {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid #eee;
	background: transparent;
	border-left: 0;
	border-right: 0;
	border-bottom: 0;
	border-radius: 0;
}
.wm-card #payment ul.payment_methods {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
}
.wm-card #payment ul.payment_methods li {
	padding: 12px 0;
	border-bottom: 1px solid #f0f0f0;
	font-size: 14px;
}
.wm-card #payment div.payment_box {
	background: #f4f6f4;
	border-radius: 8px;
	padding: 12px;
	margin-top: 8px;
	font-size: 13px;
	color: #444;
}
.wm-card #place_order {
	width: 100%;
	min-height: 52px;
	margin-top: 4px;
	font-size: 16px;
	font-weight: 700;
	background: #1a4d38 !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 10px !important;
	cursor: pointer;
}
.wm-card #place_order:hover { background: #143d2c !important; }

.woocommerce-privacy-policy-text,
.woocommerce-terms-and-conditions-wrapper,
.return-to-shop,
.wc-forward { display: none !important; }

@media (max-width: 860px) {
	.wm-checkout-grid { grid-template-columns: 1fr; }
	.wm-card-sticky { position: static; }
	.wm-cp-row {
		grid-template-columns: 56px 1fr 32px;
		grid-template-areas:
			"img info rm"
			"img qty sum";
		gap: 8px 10px;
	}
	.wm-cp-img { grid-area: img; }
	.wm-cp-info { grid-area: info; }
	.wm-cp-qty { grid-area: qty; }
	.wm-cp-sum { grid-area: sum; text-align: left; }
	.wm-cp-remove { grid-area: rm; }
	.wm-checkout .form-row-first,
	.wm-checkout .form-row-last {
		width: 100%;
		float: none;
	}
}

@media (max-width: 860px) {
	.wm-cp-row {
		grid-template-columns: 56px 1fr 32px !important;
		grid-template-areas:
			"img info rm"
			"img qty sum" !important;
		gap: 8px 10px !important;
		align-items: start !important;
	}
	.wm-cp-img { grid-area: img !important; }
	.wm-cp-info { grid-area: info !important; min-width: 0 !important; }
	.wm-cp-name { word-break: break-word !important; overflow-wrap: anywhere !important; }
	.wm-cp-qty { grid-area: qty !important; }
	.wm-cp-sum {
		grid-area: sum !important;
		text-align: left !important;
		justify-self: start !important;
		white-space: normal !important;
		font-size: 14px !important;
		max-width: 100% !important;
	}
	.wm-cp-remove { grid-area: rm !important; }
	.wm-cp-price { font-size: 12px !important; }
	.wm-cp-sum .woocommerce-Price-amount,
	.wm-cp-sum .amount {
		white-space: nowrap !important;
		display: inline-block !important;
	}
	/* Order box totals never overflow */
	.wm-ol-right,
	.wm-ot-row span:last-child {
		text-align: right !important;
		white-space: nowrap !important;
		flex-shrink: 0 !important;
	}
	.wm-order-line {
		flex-wrap: nowrap !important;
		gap: 8px !important;
	}
	.wm-ol-left { min-width: 0 !important; }
	.wm-ol-name { overflow-wrap: anywhere !important; }
}


/* ===== Tacksida efter beställning ===== */
.wm-thankyou {
	max-width: 900px;
	margin: 0 auto;
	padding: 40px 20px 80px;
}
.wm-thankyou-success {
	text-align: center;
	margin-bottom: 32px;
}
.wm-thankyou-check {
	width: 56px;
	height: 56px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: #e8f5ee;
	color: #1a4d38;
	font-size: 28px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}
.wm-thankyou-success h1 {
	font-size: 28px;
	margin: 0 0 8px;
}
.wm-thankyou-lead {
	color: #555;
	font-size: 16px;
	margin: 0;
}
.wm-thankyou-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}
.wm-thankyou .wm-card {
	background: #fff;
	border: 1px solid #e6e8e6;
	border-radius: 14px;
	padding: 22px;
}
.wm-thankyou .wm-card h2 {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}
.wm-thankyou-meta {
	list-style: none;
	margin: 0;
	padding: 0;
}
.wm-thankyou-meta li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid #f3f3f3;
	font-size: 14px;
}
.wm-thankyou-meta li span { color: #666; }
.wm-thankyou-meta li:last-child { border-bottom: 0; }
.wm-thankyou-items {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
}
.wm-thankyou-items li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f0;
	font-size: 14px;
}
.wm-ti-name { font-weight: 600; }
.wm-ti-total { white-space: nowrap; font-weight: 600; }
.wm-thankyou-totals {
	padding-top: 8px;
	border-top: 1px solid #e8e8e8;
}
.wm-thankyou-address {
	font-style: normal;
	font-size: 14px;
	line-height: 1.6;
	color: #333;
}
.wm-thankyou-footer {
	text-align: center;
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid #eee;
	font-size: 14px;
	color: #555;
}
.wm-thankyou-actions {
	margin-top: 16px;
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
}
.wm-thankyou-actions .button {
	min-height: 44px;
	padding: 0 20px;
	border-radius: 8px;
	background: #1a4d38 !important;
	color: #fff !important;
	border: 0 !important;
	font-weight: 600;
}
.wm-thankyou-fail {
	text-align: center;
	max-width: 520px;
	margin: 0 auto;
}
/* Dölj Woo standard-layout på tacksida */
.woocommerce-order ul.order_details,
.woocommerce-order .woocommerce-order-details,
.woocommerce-order .woocommerce-customer-details {
	/* våra egna block används */
}
.woocommerce-order .woocommerce-notice--success {
	display: none !important;
}
@media (max-width: 700px) {
	.wm-thankyou-grid { grid-template-columns: 1fr; }
}

/* Footer med företagsinfo */
.wm-footer {
	background: #f7f8f7;
	border-top: 1px solid #e5e5e5;
	padding: 40px 0 24px;
	margin-top: 48px;
	font-size: 14px;
	color: #444;
}
.wm-footer-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin-bottom: 24px;
}
.wm-footer-col strong {
	display: block;
	margin-bottom: 8px;
	color: #171717;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.wm-footer-col p {
	margin: 0;
	line-height: 1.55;
}
.wm-footer-col a {
	color: #1a4d38;
	text-decoration: underline;
}
.wm-footer-copy {
	margin: 0;
	padding-top: 16px;
	border-top: 1px solid #e5e5e5;
	font-size: 13px;
	color: #777;
	text-align: center;
}
.wm-invoice-instructions {
	background: #f4f8f5;
	border: 1px solid #d0e0d6;
	border-radius: 8px;
	padding: 14px 16px;
	margin: 16px 0;
	font-size: 14px;
}
@media (max-width: 700px) {
	.wm-footer-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

/* ========== Synlig produktsektion (SEO / AI) ========== */
.wm-products-seo {
	padding: 48px 0 56px;
	background: #fafbfa;
	border-top: 1px solid #e8ebe8;
}
.wm-products-seo-head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 32px;
}
.wm-products-seo-head h2 {
	margin: 0 0 10px;
	font-size: 1.6rem;
	font-weight: 700;
	color: #171717;
}
.wm-products-seo-head p {
	margin: 0;
	color: #555;
	font-size: 15px;
	line-height: 1.5;
}
.wm-products-seo-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
@media (max-width: 1100px) {
	.wm-products-seo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
	.wm-products-seo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.wm-products-seo-grid { grid-template-columns: 1fr; }
}
.wm-products-seo-item {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.wm-products-seo-item article {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 0 0 16px;
}
.wm-psi-img {
	display: block;
	background: #f4f4f4;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}
.wm-psi-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.wm-psi-title {
	margin: 14px 16px 4px;
	font-size: 1.05rem;
	line-height: 1.3;
}
.wm-psi-title a:hover { color: #1a4d38; }
.wm-psi-brand {
	margin: 0 16px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #888;
}
.wm-psi-sku {
	margin: 4px 16px 0;
	font-size: 12px;
	color: #777;
}
.wm-psi-price {
	margin: 10px 16px 0;
	display: flex;
	align-items: baseline;
	gap: 8px;
}
.wm-psi-amount {
	font-size: 1.35rem;
	font-weight: 700;
	color: #171717;
}
.wm-psi-vat {
	font-size: 12px;
	color: #777;
}
.wm-psi-stock {
	margin: 6px 16px 0;
	font-size: 13px;
	font-weight: 600;
}
.wm-psi-stock.in { color: #1a4d38; }
.wm-psi-stock.out { color: #a33; }
.wm-psi-desc {
	margin: 8px 16px 0;
	font-size: 13px;
	color: #555;
	line-height: 1.45;
	flex: 1;
}
.wm-psi-actions {
	margin: 14px 16px 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.wm-psi-actions .button,
.wm-psi-actions .wm-btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	border: 0;
	cursor: pointer;
}
.wm-psi-actions .button {
	background: #1a4d38 !important;
	color: #fff !important;
}
.wm-psi-actions .wm-btn-secondary {
	background: #f0f2f0;
	color: #171717;
}
.wm-products-seo-note {
	margin: 28px 0 0;
	text-align: center;
	font-size: 13px;
	color: #777;
}

/* Produktkort i shop-loop */
.wm-product-card {
	list-style: none;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.wm-pc-image img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f4f4f4; }
.wm-pc-body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.wm-pc-title { font-weight: 600; font-size: 15px; line-height: 1.3; }
.wm-pc-price { font-size: 1.15rem; font-weight: 700; }
.wm-pc-stock { font-size: 13px; color: #1a4d38; font-weight: 600; }
.wm-pc-stock.is-out { color: #a33; }
.wm-pc-cart { margin-top: auto; padding-top: 8px; }
.wm-pc-cart .button {
	width: 100%;
	background: #1a4d38 !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 8px !important;
	min-height: 40px;
	font-weight: 600;
}

ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.products::before, ul.products::after { display: none !important; content: none !important; }

/* ========== Produkter-sida (full lista) ========== */
.wm-products-page .wm-shop-header {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 28px;
}
.wm-products-page .wm-shop-header h1 {
	font-size: 1.85rem;
	font-weight: 700;
	margin: 0 0 10px;
	color: #171717;
}
.wm-shop-count {
	margin: 12px 0 0;
	font-size: 14px;
	color: #666;
}
.wm-shop-empty {
	text-align: center;
	padding: 40px 20px;
	color: #555;
}
.wm-products-page .wm-products-seo-grid {
	margin-top: 8px;
}
.wm-products-page .wm-psi-title {
	font-size: 1.05rem;
}

/* ========== Produkter alltid synliga på startsidan ========== */
.wm-products-seo {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	padding: 48px 0 56px !important;
	background: #f4f7f4 !important;
	border-top: 3px solid #2d5a3d !important;
	border-bottom: 1px solid #e0e6e0 !important;
	margin: 24px 0 !important;
}
.wm-products-seo-head h2 {
	font-size: 1.75rem !important;
	color: #171717 !important;
}
.wm-products-seo-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
	gap: 22px !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.wm-psi-amount {
	font-size: 1.35rem !important;
	font-weight: 700 !important;
	color: #1a5c2e !important;
}
.wm-psi-price {
	margin: 8px 0 !important;
}

/* ===== v2.7.1: produktgrid full bredd, jämnt fördelad ===== */
.wm-products-seo {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 16px 0 32px !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	position: static !important;
	left: auto !important;
	transform: none !important;
	box-sizing: border-box !important;
}
.wm-products-seo > .wm-wrap {
	max-width: 1180px !important;
	width: 100% !important;
	margin: 0 auto !important;
	padding: 0 24px !important;
	box-sizing: border-box !important;
}
.wm-products-seo-grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 24px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	box-sizing: border-box !important;
}
.wm-products-seo-item {
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}
.wm-products-seo-item article {
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
	width: 100% !important;
	box-sizing: border-box !important;
}
/* Produktbilder på startsida/lista – begränsad höjd, inte full naturlig storlek */
.wm-psi-img {
	display: block !important;
	background: #f4f4f4 !important;
	aspect-ratio: 1 / 1 !important;
	max-height: 240px !important;
	overflow: hidden !important;
}
.wm-psi-img img {
	width: 100% !important;
	max-width: 100% !important;
	height: 100% !important;
	max-height: 240px !important;
	object-fit: contain !important;
	margin: 0 auto !important;
}
.wm-front-products-full .wm-psi-img {
	max-height: 220px !important;
}
.wm-front-products-full .wm-psi-img img {
	max-height: 220px !important;
}
.wm-product-card .wm-pc-image {
	display: block;
	background: #f4f4f4;
	aspect-ratio: 1 / 1;
	max-height: 220px;
	overflow: hidden;
}
.wm-product-card .wm-pc-image img {
	width: 100% !important;
	height: 100% !important;
	max-height: 220px !important;
	object-fit: contain !important;
}
.wm-products-seo-note,
.wm-products-fallback,
.wm-ai-price-table,
#wm-ai-prislista {
	display: none !important;
}
.wm-psi-price-plain {
	font-size: 12px;
	color: #555;
	margin: 4px 0 0;
}
@media (max-width: 1100px) {
	.wm-products-seo-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 800px) {
	.wm-products-seo-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
}
@media (max-width: 480px) {
	.wm-products-seo-grid { grid-template-columns: 1fr !important; }
}

/* Om produkterna ligger inuti smal sidkolumn – expandera föräldern */
.wm-front .wm-products-seo,
.entry-content .wm-products-seo,
.elementor-widget-container .wm-products-seo {
	width: 100% !important;
}

/* WooCommerce standard pris-HTML */
.wm-product-info .price,
.wm-psi-price.price,
.wm-pc-price.price {
	font-size: 1.35rem;
	font-weight: 700;
	color: #1a5c2e;
	margin: 8px 0;
}
.wm-product-info .price .woocommerce-Price-amount,
.wm-psi-price .woocommerce-Price-amount,
.wm-pc-price .woocommerce-Price-amount {
	font-weight: 700;
}
.wm-price-ai {
	font-size: 14px;
	color: #333;
	margin: 4px 0 12px;
}


/* ===== v2.7.3: produkter full sidbredd ===== */
.wm-front-products-full {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto 40px;
	padding: 0 24px;
	box-sizing: border-box;
	clear: both;
}
.wm-front-products-full .wm-products-seo {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	position: static !important;
	left: auto !important;
	transform: none !important;
}
.wm-front-products-full .wm-products-seo > .wm-wrap {
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}
.wm-front-products-full .wm-products-seo-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 24px !important;
	width: 100% !important;
}
.wm-front-products-full .wm-products-seo-item {
	width: 100% !important;
	min-width: 0 !important;
}
@media (max-width: 1100px) {
	.wm-front-products-full .wm-products-seo-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}
@media (max-width: 800px) {
	.wm-front-products-full .wm-products-seo-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}
@media (max-width: 480px) {
	.wm-front-products-full .wm-products-seo-grid {
		grid-template-columns: 1fr !important;
	}
}
/* Dölj tomma rester där produkter låg tidigare */
.wm-front .elementor-widget-wc-products,
.wm-front .elementor-widget-woocommerce-products,
.wm-front .woocommerce ul.products:empty {
	display: none !important;
}

/* ========== Nyhetssida / LUBA 4 ========== */
.wm-news-page { padding: 40px 0 70px; }
.wm-news-inner { max-width: 820px; }
.wm-news-kicker {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #1a4d38;
}
.wm-news-header h1 {
	font-size: 2rem;
	line-height: 1.15;
	margin: 0 0 10px;
	font-weight: 750;
}
.wm-news-date { margin: 0 0 24px; color: #666; font-size: 14px; }
.wm-news-lead { font-size: 1.1rem; line-height: 1.55; margin: 0 0 28px; }
.wm-luba4-hero-box {
	background: linear-gradient(135deg, #1a4d38 0%, #0f2e22 100%);
	color: #fff;
	border-radius: 14px;
	padding: 28px 28px;
	margin: 0 0 32px;
}
.wm-luba4-hero-box h2 { margin: 0 0 8px; font-size: 1.4rem; color: #fff; }
.wm-luba4-hero-box p { margin: 0; opacity: .9; }
.wm-luba4-features {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: grid;
	gap: 14px;
}
.wm-luba4-features li {
	padding: 16px 18px;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	background: #fafbfa;
}
.wm-luba4-features strong {
	display: block;
	margin-bottom: 4px;
	color: #1a4d38;
}
.wm-luba4-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 28px 0 16px;
	align-items: center;
}
.wm-luba4-cta .wm-btn-secondary {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 18px;
	border: 1px solid #171717;
	border-radius: 6px;
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .03em;
}
.wm-luba4-cta .wm-btn-secondary:hover { background: #171717; color: #fff; }
.wm-news-note { font-size: 13px; color: #777; margin-top: 24px; }
.wm-news-content h2 { margin-top: 1.6em; }
@media (max-width: 600px) {
	.wm-news-header h1 { font-size: 1.55rem; }
	.wm-luba4-hero-box { padding: 20px; }
}

.wm-luba4-hero-sub { margin: 8px 0 0 !important; font-size: 13px; opacity: .8; letter-spacing: .04em; text-transform: uppercase; }
.wm-luba4-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin: 0 0 32px;
}
.wm-luba4-stats div {
	background: #f4f7f4;
	border: 1px solid #e0e6e0;
	border-radius: 10px;
	padding: 14px 10px;
	text-align: center;
}
.wm-luba4-stats strong { display: block; font-size: 1.35rem; color: #1a4d38; }
.wm-luba4-stats span { font-size: 12px; color: #555; }
.wm-table-wrap { overflow-x: auto; margin: 0 0 28px; }
.wm-news-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.wm-news-table th, .wm-news-table td { border: 1px solid #e5e5e5; padding: 10px 12px; text-align: left; vertical-align: top; }
.wm-news-table th { background: #1a4d38; color: #fff; font-weight: 650; }
.wm-news-table tr:nth-child(even) td { background: #f7f9f7; }
.wm-news-inner { max-width: 860px; }
.wm-luba4 ul { margin: 0 0 22px; padding-left: 1.2em; }
.wm-luba4 h3 { margin: 1.2em 0 .4em; font-size: 1.15rem; }
@media (max-width: 700px) {
	.wm-luba4-stats { grid-template-columns: repeat(2, 1fr); }
}


/* v2.8.2: mobilheader får plats, en moms-rad */
.wm-header, .wm-header-row { max-width: 100%; }
.wm-header { overflow-x: clip; }
.wm-price-vat {
	display: inline-block;
	margin-left: 6px;
	font-weight: 500;
	font-size: 12px;
	color: #666;
}
.price .woocommerce-price-suffix,
.wm-psi-vat,
.price .woocommerce-price-suffix + .woocommerce-price-suffix {
	display: none !important;
}
@media (max-width: 980px) {
	.wm-wrap.wm-header-row { padding-left: 12px; padding-right: 12px; gap: 8px; }
	.wm-main-nav,
	.wm-btn-contact { display: none !important; }
	.wm-btn-cart { margin-left: auto; padding: 0 8px !important; min-width: 42px; }
	.wm-btn-cart > span:nth-of-type(2) { display: none; } /* texten "Varukorg" */
	.wm-menu-btn { display: block !important; margin-left: 0 !important; flex-shrink: 0; }
	.wm-mobile-menu { width: 100%; box-sizing: border-box; padding: 8px 16px 16px; }
	.wm-logo-link { gap: 8px !important; min-width: 0; }
	.wm-logo-wedins, .wm-logo-mammotion { max-width: 110px !important; }
}
@media (max-width: 420px) {
	.wm-logo-mammotion { display: none !important; }
}


/* ========== LUBA 4 visuell nyhetssida ========== */
.wm-news-visual{max-width:none;padding:0;margin:0}
.wm-news-visual .wm-page-title,
body.page-nyheter .wm-page-title{display:none}
.wm-l4{background:#0c0d10;color:#eee;margin:0}
.wm-l4-hero{
	position:relative;min-height:78vh;
	background-size:cover;background-position:center 30%;
	display:flex;align-items:flex-end;
}
.wm-l4-hero-shade{
	position:absolute;inset:0;
	background:linear-gradient(180deg,rgba(12,13,16,.25) 10%,rgba(12,13,16,.78) 100%);
}
.wm-l4-hero-copy{
	position:relative;z-index:1;
	padding:48px 8vw 56px;max-width:920px;
}
.wm-l4-kicker{letter-spacing:.18em;text-transform:uppercase;font-size:11px;color:#c9c9c9;margin:0 0 10px}
.wm-l4-eyebrow{margin:0 0 8px;font-size:15px;color:#ddd}
.wm-l4-eyebrow.dark{color:#666}
.wm-l4-hero h1,.wm-l4 h1{
	margin:0 0 8px;font-size:clamp(36px,7vw,72px);line-height:.95;font-weight:700;color:#fff;letter-spacing:-.03em
}
.wm-l4-sub{font-size:clamp(18px,2.4vw,28px);margin:0 0 16px;color:#fff}
.wm-l4-lead{max-width:560px;line-height:1.55;color:#d7d7d7;margin:0 0 22px}
.wm-l4-hero-cta{display:flex;flex-wrap:wrap;gap:10px}
.wm-l4-btn{
	display:inline-flex;align-items:center;justify-content:center;
	min-height:46px;padding:0 20px;border-radius:8px;
	background:#fff;color:#111!important;font-weight:700;text-decoration:none
}
.wm-l4-btn.ghost{background:transparent;border:1px solid rgba(255,255,255,.55);color:#fff!important}
.wm-l4-btn.ghost.dark{border-color:#222;color:#111!important}
.wm-l4-stats{
	display:grid;grid-template-columns:repeat(6,1fr);gap:1px;
	background:#1b1c20;border-top:1px solid #222;border-bottom:1px solid #222
}
.wm-l4-stats div{background:#111214;padding:22px 12px;text-align:center}
.wm-l4-stats strong{display:block;font-size:26px;color:#fff}
.wm-l4-stats span{display:block;margin-top:4px;font-size:12px;color:#9a9a9a}
.wm-l4-grid{
	display:grid;grid-template-columns:1fr 1fr;gap:16px;
	padding:24px 4vw 8px;max-width:1400px;margin:0 auto
}
.wm-l4-card.wide{grid-column:1/-1}
.wm-l4-card{
	position:relative;background:#16171b;border-radius:16px;overflow:hidden;min-height:280px
}
.wm-l4-card img,.wm-l4-banner img,.wm-l4-split img{
	width:100%;height:auto;display:block;object-fit:cover
}
.wm-l4-card.wide img{height:340px;max-height:340px;object-fit:cover;object-position:center 40%}
.wm-l4-card img{width:100%;height:280px;object-fit:cover;object-position:center 45%;display:block}
.wm-l4-card-text{
	position:absolute;left:0;right:0;top:0;
	padding:22px 24px 80px;
	background:linear-gradient(180deg,rgba(8,9,12,.82) 0%,rgba(8,9,12,.35) 55%,transparent 100%);
	pointer-events:none
}
.wm-l4-card-text h2{margin:0 0 6px;font-size:clamp(18px,2.2vw,26px);line-height:1.2;color:#fff;max-width:18em}
.wm-l4-banner h2,.wm-l4-compare h2,.wm-l4-cta-bar h2{margin:0 0 8px;font-size:26px;color:#fff}
.wm-l4-card-text p,.wm-l4-split-copy p,.wm-l4-banner p{margin:0;color:#c8c8c8;line-height:1.55}
.wm-l4-banner{position:relative;margin:20px 0 0}
.wm-l4-banner img{max-height:640px;object-fit:cover}
.wm-l4-banner figcaption{
	position:absolute;left:0;right:0;bottom:0;
	padding:36px 8vw;background:linear-gradient(transparent,rgba(0,0,0,.75))
}
.wm-l4-split{
	display:grid;grid-template-columns:1.15fr .85fr;gap:0;align-items:stretch;
	max-width:1400px;margin:24px auto;padding:0 4vw
}
.wm-l4-split figure{margin:0;border-radius:16px;overflow:hidden}
.wm-l4-split-copy{padding:36px 28px;display:flex;flex-direction:column;justify-content:center}
.wm-l4-split-copy h2{color:#fff}
.wm-l4-split-copy ul{margin:12px 0;padding-left:18px;color:#ddd;line-height:1.7}
.wm-l4-compare{padding:40px 4vw 20px;max-width:1100px;margin:0 auto}
.wm-l4-compare .wm-news-table{width:100%;border-collapse:collapse;background:#16171b;color:#ddd}
.wm-l4-compare th,.wm-l4-compare td{padding:12px 14px;border-bottom:1px solid #2a2b30;text-align:left}
.wm-l4-compare th{background:#1d1e23;color:#fff}
.wm-l4-note{color:#aaa;font-size:14px;line-height:1.55}
.wm-l4-cta-bar{
	margin:20px 4vw 10px;padding:28px;border-radius:16px;background:#16171b;
	display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap
}
.wm-l4-cta-bar p{color:#bbb;margin:6px 0 0}
.wm-l4-source{padding:8px 4vw 40px;font-size:12px;color:#777}
.wm-l4-source a{color:#bbb}
@media(max-width:900px){
	.wm-l4-stats{grid-template-columns:repeat(3,1fr)}
	.wm-l4-grid,.wm-l4-split{grid-template-columns:1fr}
	.wm-l4-hero{min-height:62vh}
	.wm-l4-card.wide img{height:220px;max-height:220px}
	.wm-l4-card img{height:220px}
}
@media(max-width:560px){
	.wm-l4-stats{grid-template-columns:repeat(2,1fr)}
}

.wm-l4-specs{padding:40px 4vw 16px;max-width:900px;margin:0 auto}
.wm-l4-specs h2{color:#fff;margin:0 0 8px;font-size:28px}
.wm-l4-spec-list{list-style:none;margin:18px 0 0;padding:0;background:#16171b;border-radius:14px;overflow:hidden}
.wm-l4-spec-list li{display:grid;grid-template-columns:minmax(140px,32%) 1fr;gap:12px;padding:12px 18px;border-bottom:1px solid #2a2b30}
.wm-l4-spec-list li:last-child{border-bottom:0}
.wm-l4-spec-list span{color:#8d8d8d;font-size:13px}
.wm-l4-spec-list strong{color:#fff;font-weight:600}
@media(max-width:560px){
	.wm-l4-spec-list li{grid-template-columns:1fr;gap:2px;padding:12px 14px}
}

/* Reapriser */
.price ins,
.price ins .woocommerce-Price-amount,
.price ins .amount,
.woocommerce ins .woocommerce-Price-amount,
.wm-psi-price ins,
.wm-psi-price ins .woocommerce-Price-amount,
.wm-pc-price ins,
.wm-pc-price ins .woocommerce-Price-amount,
.wm-product-info .price ins,
.wm-product-info .price ins .woocommerce-Price-amount {
	color: #c41e3a !important;
	font-weight: 700;
}
.price del,
.price del .woocommerce-Price-amount,
.woocommerce del .woocommerce-Price-amount {
	color: #888 !important;
	font-weight: 500;
}

.wm-nav-news a,
a.wm-nav-news{
	background:#1a4d38 !important;
	color:#fff !important;
	border-radius:999px !important;
	padding:8px 14px !important;
	display:inline-flex !important;
	align-items:center !important;
	gap:8px !important;
}
.wm-nav-news a:hover,
a.wm-nav-news:hover{background:#143d2c !important;color:#fff !important}
.wm-news-badge{
	display:inline-block;
	background:#e11d48;
	color:#fff !important;
	font-size:9px;
	letter-spacing:.08em;
	text-transform:uppercase;
	padding:2px 6px;
	border-radius:999px;
	font-weight:800;
	line-height:1.2;
}
.wm-mobile-menu a.wm-nav-news{
	background:#1a4d38 !important;
	color:#fff !important;
	margin:8px 0;
	padding:12px 14px !important;
	border-radius:8px !important;
	border-bottom:0 !important;
}
.wm-l4-btn.solid{
	background:#fff !important;
	color:#111 !important;
	border:2px solid #fff !important;
	font-weight:800;
}
.wm-l4-btn.solid:hover{background:#e8e8e8 !important;color:#111 !important}
.wm-l4-cta-bar .wm-l4-btn{
	min-width:200px;
}
.wm-l4-lead.sv{opacity:.85;font-size:.95em;margin-top:-8px}
.wm-l4-card-text{
	text-shadow:0 1px 8px rgba(0,0,0,.55);
}

.wm-l4-spec-grid{
	display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px
}
.wm-l4-spec-grid > div{
	background:#16171b;border-radius:14px;padding:20px 22px
}
.wm-l4-spec-grid h3{margin:0 0 10px;color:#fff;font-size:16px}
.wm-l4-spec-grid ul{margin:0;padding-left:18px;color:#cfcfcf;line-height:1.7}
@media(max-width:700px){
	.wm-l4-spec-grid{grid-template-columns:1fr}
}
