/* MK Sektionen – Catalogue & fiche produit (WoodMart), activable dans Réglages → MK Sektionen */
body.mk-shop-style{--p:var(--mk-primary,#071F40);--a:var(--mk-accent,#9E1235);--d:var(--mk-dark,#041633);--line:#dde4ec;--muted:#4a5d73}
body.mk-shop-style.woocommerce,body.mk-shop-style.woocommerce-page{background:#f3f5f8}
.mk-shop-style.woocommerce h1,.mk-shop-style.woocommerce .product_title,.mk-shop-style .woocommerce-tabs .tabs a,.mk-shop-style .wd-nav-tabs .nav-link-text,.mk-shop-style .related-and-upsells .title,.mk-shop-style .related > h2{font-family:var(--mk-ft,inherit);text-transform:var(--mk-tt,uppercase)}

/* Bandeau de titre des catégories */
.mk-shop-style .wd-page-title,.mk-shop-style .page-title{background:var(--p)!important;border-bottom:6px solid var(--a)}
.mk-shop-style .wd-page-title .entry-title,.mk-shop-style .page-title .entry-title,.mk-shop-style .wd-page-title .title{font:var(--mk-ts,italic) 800 clamp(40px,5vw,64px)/.95 var(--mk-ft,inherit)!important;text-transform:var(--mk-tt,uppercase);color:#fff!important}
.mk-shop-style .wd-page-title .woocommerce-breadcrumb,.mk-shop-style .wd-page-title .woocommerce-breadcrumb a,.mk-shop-style .wd-page-title .breadcrumbs a{color:#9fb4c9!important}
.mk-shop-style .wd-page-title .wd-nav-product-cat a,.mk-shop-style .wd-page-title .wd-btn-show-cat{border:1px solid #355a80;border-radius:3px;color:#fff!important}
.mk-shop-style .wd-page-title .wd-nav-product-cat .wd-active a,.mk-shop-style .wd-page-title .wd-nav-product-cat a:hover{border-color:var(--a);color:var(--a-txt,var(--a))!important}

/* Barre d'outils, filtres */
.mk-shop-style .shop-loop-head{background:#fff;border:1px solid var(--line);border-radius:6px;padding:10px 16px;margin-bottom:22px}
.mk-shop-style .sidebar-container .widget,.mk-shop-style .wd-sidebar .widget{background:#fff;border:1px solid var(--line);border-radius:6px;padding:18px 20px;margin-bottom:16px}
.mk-shop-style .widget-title,.mk-shop-style .widgettitle{font:700 18px var(--mk-ft,inherit)!important;text-transform:var(--mk-tt,uppercase);color:var(--p)!important}
.mk-shop-style .widget_price_filter .ui-slider .ui-slider-range,.mk-shop-style .widget_price_filter .ui-slider .ui-slider-handle{background:var(--a)!important}

/* Cartes produits */
.mk-shop-style .wd-product .product-wrapper,.mk-shop-style .product-grid-item .product-wrapper{background:#fff;border:1px solid var(--line);border-radius:6px;overflow:hidden;padding:0 0 16px;transition:box-shadow .2s,transform .2s}
.mk-shop-style .wd-product:hover .product-wrapper,.mk-shop-style .product-grid-item:hover .product-wrapper{box-shadow:0 14px 30px rgba(6,39,67,.12);transform:translateY(-3px)}
.mk-shop-style .wd-product .product-element-bottom,.mk-shop-style .product-grid-item .product-element-bottom{padding:14px 18px 0}
.mk-shop-style .wd-product .wd-entities-title,.mk-shop-style .product-grid-item .wd-entities-title{font:600 16px/1.35 var(--mk-fb,inherit)!important;text-transform:none;color:var(--p)}
.mk-shop-style .wd-product .wd-product-cats a,.mk-shop-style .wd-product .wd-product-brands-links a{font-size:12px;font-weight:700;color:var(--a-txt,var(--a));text-transform:var(--mk-tt,uppercase);letter-spacing:.1em}
.mk-shop-style .wd-product .price,.mk-shop-style .product-grid-item .price{font:800 26px var(--mk-ft,inherit)!important;color:var(--p)!important}
.mk-shop-style .wd-product .price del{font-size:.6em;opacity:.6}
.mk-shop-style .wd-product .wd-add-btn>a,.mk-shop-style .wd-product .add_to_cart_button{background:var(--p)!important;color:#fff!important;border-radius:4px}
.mk-shop-style .wd-product .wd-add-btn>a:hover{background:var(--a)!important;color:var(--on-a,#fff)!important}

/* Pagination */
.mk-shop-style .woocommerce-pagination .page-numbers li a,.mk-shop-style .woocommerce-pagination .page-numbers li span{min-width:44px;height:44px;line-height:44px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--p);font-weight:700}
.mk-shop-style .woocommerce-pagination .page-numbers li span.current{background:var(--p);color:#fff;border-color:var(--p)}

/* Fiche produit */
.mk-shop-style.single-product .product_title{font:var(--mk-ts,italic) 800 clamp(32px,4vw,44px)/1 var(--mk-ft,inherit)!important;color:var(--p)}
.mk-shop-style.single-product .summary-inner,.mk-shop-style.single-product .entry-summary{background:#fff;border:1px solid var(--line);border-radius:6px;padding:28px}
.mk-shop-style.single-product .summary .price,.mk-shop-style.single-product .entry-summary .price{font:800 46px var(--mk-ft,inherit)!important;color:var(--p)!important}
.mk-shop-style.single-product .woocommerce-product-gallery .wd-carousel-item img,.mk-shop-style.single-product .woocommerce-product-gallery__image img{background:#fff;border-radius:6px}
.mk-shop-style.single-product .quantity{border:2px solid var(--p);border-radius:4px}
.mk-shop-style .single_add_to_cart_button{min-height:56px;background:var(--a)!important;color:var(--on-a,#fff)!important;border-radius:4px!important;font:700 18px var(--mk-fb,inherit)!important;text-transform:var(--mk-tt,uppercase);letter-spacing:.06em}
.mk-shop-style .single_add_to_cart_button:hover{background:var(--p)!important;color:#fff!important}
.mk-shop-style .woocommerce-tabs .tabs,.mk-shop-style .wd-nav-tabs{border-bottom:3px solid var(--p)}
.mk-shop-style .woocommerce-tabs .tabs li.active a,.mk-shop-style .wd-nav-tabs li.wd-active a{background:var(--p);color:#fff!important}
.mk-shop-style .woocommerce-Tabs-panel{background:#fff;border:1px solid var(--line);border-top:0;padding:28px}
.mk-shop-style table.woocommerce-product-attributes th,.mk-shop-style .shop_attributes th{background:#f3f5f8;font-weight:600;color:var(--p)}

/* Bloc livraison (shortcode WoodMart ou HTML dans la description courte) */
.mk-lieferbox{display:flex;gap:14px;align-items:center;background:var(--p);color:#fff;border-radius:4px;padding:14px 16px;margin:16px 0}
.mk-lieferbox strong{display:block}.mk-lieferbox span{font-size:14px;color:#c9d6e4}
.mk-lieferbox .mk-ico{color:var(--a-txt,var(--a));flex:none}
.mk-usp-mini{list-style:none;margin:0 0 16px;padding:0;display:flex;flex-direction:column;gap:8px;font-size:15px;color:#2c3e55}
.mk-usp-mini li::before{content:"✓";color:var(--a-txt,var(--a));font-weight:700;margin-right:8px}

/* ===== v1.4 : prix, en-tête de catégorie ===== */
.mk-shop-style .wd-product .price,.mk-shop-style .product-grid-item .price{font-size:24px!important;line-height:1.2}
.mk-shop-style .price .woocommerce-price-suffix,.mk-shop-style .price small{font:500 13px var(--mk-fb,inherit)!important;color:var(--muted)!important;margin-left:4px;letter-spacing:0;text-transform:none}
.mk-shop-style.single-product .summary .price .woocommerce-price-suffix{font-size:15px!important}
.mk-cathead{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;margin:0 0 20px}
.mk-cathead-n{font:600 15px var(--mk-fb,inherit);color:var(--muted)}
.mk-cathead-n strong{font:800 22px var(--mk-ft,inherit);color:var(--p);margin-right:4px}
.mk-cathead-chips{display:flex;flex-wrap:wrap;gap:8px}
.mk-cathead-chips a{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:6px 14px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--p)!important;font-weight:600;font-size:14px}
.mk-cathead-chips a em{font-style:normal;font-size:12px;color:var(--muted)}
.mk-cathead-chips a:hover,.mk-cathead-chips a.is-on{border-color:var(--p);background:var(--p);color:#fff!important}
.mk-cathead-chips a.is-on em,.mk-cathead-chips a:hover em{color:var(--a-txt,var(--a))}

/* ===== v1.4 : catalogue & fiche produit en style B (Präzise & hell) ===== */
body.mk-shop-b{--line:#e6ebf1;--muted:#5b6b7f;--tint:color-mix(in srgb,var(--a) 14%,#fff)}
body.mk-shop-b.woocommerce,body.mk-shop-b.woocommerce-page{background:#f6f8fb}
body.mk-shop-b .wd-page-title,body.mk-shop-b .page-title{background:radial-gradient(900px 300px at 90% -20%,color-mix(in srgb,var(--a) 30%,transparent),transparent 65%),var(--p)!important;border-bottom:0}
body.mk-shop-b .wd-page-title .entry-title,body.mk-shop-b .page-title .entry-title,body.mk-shop-b .wd-page-title .title{font-weight:700!important;letter-spacing:-.02em}
body.mk-shop-b .wd-page-title .wd-nav-product-cat a,body.mk-shop-b .wd-page-title .wd-btn-show-cat{border-radius:var(--mk-r,6px);border-color:rgba(255,255,255,.25)}
body.mk-shop-b .shop-loop-head{border-radius:var(--mk-r,6px)}
body.mk-shop-b .sidebar-container .widget,body.mk-shop-b .wd-sidebar .widget{border-radius:var(--mk-r,6px)}
body.mk-shop-b .widget-title,body.mk-shop-b .widgettitle{font-weight:600!important}
body.mk-shop-b .wd-product .product-wrapper,body.mk-shop-b .product-grid-item .product-wrapper{border-radius:var(--mk-r,6px);border-color:var(--line)}
body.mk-shop-b .wd-product:hover .product-wrapper,body.mk-shop-b .product-grid-item:hover .product-wrapper{border-color:var(--a)}
body.mk-shop-b .wd-product .product-element-top{margin:8px 8px 0;border-radius:var(--mk-r,6px);overflow:hidden;background:#f6f8fb}
body.mk-shop-b .wd-product .wd-product-cats a,body.mk-shop-b .wd-product .wd-product-brands-links a{display:inline-block;background:var(--tint);color:color-mix(in srgb,var(--a) 45%,var(--p));border-radius:var(--mk-r,6px);padding:2px 10px;letter-spacing:.04em;font-size:11px}
body.mk-shop-b .wd-product .price,body.mk-shop-b .product-grid-item .price{font-weight:700!important;font-size:22px!important}
body.mk-shop-b .wd-product .wd-add-btn>a,body.mk-shop-b .wd-product .add_to_cart_button{border-radius:var(--mk-r,6px);background:var(--a)!important;color:var(--on-a,#fff)!important}
body.mk-shop-b .wd-product .wd-add-btn>a:hover{background:var(--p)!important;color:#fff!important}
body.mk-shop-b .woocommerce-pagination .page-numbers li a,body.mk-shop-b .woocommerce-pagination .page-numbers li span{border-radius:var(--mk-r,6px)}
body.mk-shop-b .mk-cathead-chips a{border-radius:var(--mk-r,6px)}
body.mk-shop-b .mk-cathead-chips a em{background:var(--tint);border-radius:var(--mk-r,6px);padding:1px 7px;color:var(--p)}
body.mk-shop-b .mk-cathead-chips a.is-on em,body.mk-shop-b .mk-cathead-chips a:hover em{background:var(--a);color:var(--on-a,#fff)}
/* Fiche produit B */
body.mk-shop-b.single-product .product_title{font-weight:700!important;letter-spacing:-.02em}
body.mk-shop-b.single-product .summary-inner,body.mk-shop-b.single-product .entry-summary{border-radius:var(--mk-r,6px)}
body.mk-shop-b.single-product .woocommerce-product-gallery__image img{border-radius:var(--mk-r,6px)}
body.mk-shop-b.single-product .summary .price,body.mk-shop-b.single-product .entry-summary .price{font-weight:700!important;font-size:40px!important}
body.mk-shop-b.single-product .quantity{border-radius:var(--mk-r,6px);border-width:1px;border-color:var(--line)}
body.mk-shop-b .single_add_to_cart_button{border-radius:var(--mk-r,6px)!important;text-transform:none;letter-spacing:0;font-weight:600!important}
body.mk-shop-b .woocommerce-tabs .tabs,body.mk-shop-b .wd-nav-tabs{border-bottom:0;gap:6px}
body.mk-shop-b .woocommerce-tabs .tabs li a,body.mk-shop-b .wd-nav-tabs li a{border-radius:var(--mk-r,6px)}
body.mk-shop-b .woocommerce-Tabs-panel{border:1px solid var(--line);border-radius:var(--mk-r,6px);margin-top:12px}
body.mk-shop-b .mk-lieferbox{border-radius:var(--mk-r,6px);background:linear-gradient(135deg,var(--p),color-mix(in srgb,var(--p) 80%,var(--a)))}

/* ===== v1.4.2 : cartes du catalogue – tout centré, prix alignés ===== */
.mk-shop-style .wd-product .product-element-bottom,.mk-shop-style .product-grid-item .product-element-bottom{text-align:center!important;display:flex;flex-direction:column;align-items:center;gap:6px}
.mk-shop-style .wd-product .wd-entities-title{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:15px!important}
.mk-specs{list-style:none;margin:2px 0 4px;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.mk-specs li{font-size:12px;line-height:1.3;padding:4px 9px;border-radius:4px;background:#f3f5f8;color:var(--p);font-weight:600;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.mk-specs li span{font-weight:400;color:var(--muted)}
body.mk-shop-b .mk-specs li{border-radius:var(--mk-r,6px);background:#f6f8fb;border:1px solid var(--line)}
/* Prix : ancien prix barré, prix promo, « inkl. MwSt. » – chacun sur sa ligne, centrés */
.mk-shop-style .wd-product .price,.mk-shop-style .product-grid-item .price{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:100%;text-align:center;margin-top:auto;line-height:1.15}
.mk-shop-style .wd-product .price del,.mk-shop-style .product-grid-item .price del{font:500 14px var(--mk-fb,inherit)!important;color:var(--muted)!important;opacity:1}
.mk-shop-style .wd-product .price del *{font:inherit!important;color:inherit!important}
.mk-shop-style .wd-product .price ins,.mk-shop-style .product-grid-item .price ins{text-decoration:none;font-size:24px}
.mk-shop-style .wd-product .price ins .amount{color:#c4122f}
.mk-shop-style .wd-product .price .woocommerce-price-suffix{font:500 12px var(--mk-fb,inherit)!important;color:var(--muted)!important;margin:0!important}
.mk-shop-style .wd-product .product-labels .onsale{background:#c4122f!important;color:#fff!important;border-radius:4px;font-weight:700}
body.mk-shop-b .wd-product .product-labels .onsale{border-radius:var(--mk-r,6px)}

/* ===== v1.4.2 : fiche produit ===== */
/* Une seule carte (pas de double cadre), titre lisible */
.mk-shop-style.single-product .summary-inner{background:transparent!important;border:0!important;padding:0!important;border-radius:0!important}
.mk-shop-style.single-product .entry-summary{padding:28px 32px!important}
.mk-shop-style.single-product .product_title{font-size:clamp(24px,2.2vw,30px)!important;line-height:1.15!important;letter-spacing:-.01em;margin-bottom:12px}
.mk-shop-style.single-product .woocommerce-breadcrumb,.mk-shop-style.single-product .wd-breadcrumbs{font-size:13px}
.mk-shop-style.single-product .woocommerce-breadcrumb .breadcrumb-last{display:none}
/* Galerie qui reste visible au défilement (évite le grand vide à gauche) */
@media (min-width:1025px){.mk-shop-style.single-product .product-images,.mk-shop-style.single-product .woocommerce-product-gallery{position:sticky;top:110px;align-self:flex-start}}
/* Prix */
.mk-shop-style.single-product .summary .price{display:flex!important;flex-wrap:wrap;align-items:baseline;gap:4px 12px;font-size:34px!important;margin:6px 0 14px}
.mk-shop-style.single-product .summary .price del{flex-basis:100%;font:500 16px var(--mk-fb,inherit)!important;color:var(--muted)!important}
.mk-shop-style.single-product .summary .price del *{font:inherit!important;color:inherit!important}
.mk-shop-style.single-product .summary .price ins{text-decoration:none}
.mk-shop-style.single-product .summary .price ins .amount{color:#c4122f}
/* Caractéristiques en tableau 2 colonnes */
.mk-spectable{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:6px 0 18px}
.mk-spectable>div{background:#f6f8fb;border:1px solid var(--line);border-radius:8px;padding:8px 12px;display:flex;flex-direction:column;min-width:0}
.mk-spectable dt{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0}
.mk-spectable dd{margin:0;font-weight:700;font-size:15px;color:var(--p);overflow-wrap:anywhere}
body.mk-shop-b .mk-spectable>div{border-radius:var(--mk-r,6px)}
.mk-shop-style.single-product .woocommerce-product-details__short-description{font-size:15px}
/* Panier, stock */
.mk-shop-style.single-product .stock{font-weight:600;margin:4px 0 12px}
.mk-shop-style.single-product form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch;margin-bottom:6px}
.mk-shop-style.single-product form.cart .single_add_to_cart_button{flex:1 1 220px}
/* Bloc livraison compact + avantages en ligne */
.mk-lieferbox{padding:12px 16px!important;margin:14px 0 10px!important}
.mk-lieferbox strong{font-size:15px}.mk-lieferbox span{font-size:13px!important}
.mk-usp-mini{flex-direction:row!important;flex-wrap:wrap;gap:6px 18px!important;font-size:14px!important}
.mk-shop-style.single-product .wd-wishlist-btn,.mk-shop-style.single-product .wd-compare-btn{margin-top:4px;font-size:14px}
.mk-shop-style.single-product .product_meta{font-size:13px;color:var(--muted);border-top:1px solid var(--line);padding-top:12px}
/* Onglets */
.mk-shop-style .woocommerce-tabs .tabs li a,.mk-shop-style .wd-nav-tabs li a{display:inline-flex!important;align-items:center;height:auto!important;min-height:44px;padding:10px 26px!important;white-space:nowrap;line-height:1.2!important}
.mk-shop-style .wd-nav-tabs li a .nav-link-text{overflow:visible}
.mk-shop-style .woocommerce-Tabs-panel{max-width:100%}
/* Description structurée, 2 colonnes */
.mk-desc{columns:2 340px;column-gap:40px;font-size:15px;line-height:1.6;color:#2c3e55}
.mk-desc-block{break-inside:avoid;margin:0 0 24px;padding:0 0 18px;border-bottom:1px solid var(--line)}
.mk-desc-block:last-child{border-bottom:0}
.mk-desc h3{font:700 17px var(--mk-ft,inherit)!important;text-transform:none!important;font-style:normal!important;color:var(--p);margin:0 0 10px!important;display:flex;align-items:center;gap:8px}
.mk-desc h3::before{content:"";width:8px;height:8px;border-radius:2px;background:var(--a);flex:none}
.mk-desc ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.mk-desc li{position:relative;padding-left:20px}
.mk-desc li::before{content:"✓";position:absolute;left:0;color:var(--a-txt,var(--a));font-weight:700}
.mk-desc p{margin:0}
.mk-desc .mk-spectable{margin:0}
@media (max-width:768px){.mk-spectable{grid-template-columns:1fr 1fr}.mk-shop-style.single-product .entry-summary{padding:20px!important}}

/* v1.4.3 : marque / catégorie décollée du bord de la carte */
.mk-shop-style .wd-product .product-wrapper,.mk-shop-style .product-grid-item .product-wrapper{padding-top:14px}
.mk-shop-style .wd-product .wd-product-cats,.mk-shop-style .wd-product .wd-product-brands-links,.mk-shop-style .wd-product .wd-product-brands{margin:4px 12px 10px!important;line-height:1.6}


/* ===== v1.4.4 ===== */
/* Description et onglets alignés à gauche */
.mk-shop-style .woocommerce-Tabs-panel,.mk-shop-style .woocommerce-Tabs-panel *,.mk-desc{text-align:left!important}
.mk-shop-style .woocommerce-Tabs-panel{padding:28px 32px!important}
/* Avis masqués (sécurité si le thème les affiche ailleurs) */
.mk-no-reviews .woocommerce-product-rating,.mk-no-reviews .wd-product .star-rating,.mk-no-reviews #reviews,.mk-no-reviews .reviews_tab,.mk-no-reviews .wd-single-reviews{display:none!important}

/* ===== MK Taris : fiche produit v2 ===== */
.mk-price-note{font-size:13.5px;color:#5b6678;margin:-6px 0 16px}
.mk-chat-link{display:inline-flex;align-items:center;gap:6px;border:0;background:none;padding:0;margin:6px 0 4px;color:var(--mk-accent,#9E1235);font-weight:700;font-size:14.5px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.mk-ptab h3{font-size:18px;margin:22px 0 8px;color:var(--mk-primary,#071F40)}
.mk-ptab h3:first-child{margin-top:0}
.mk-ptab a{color:var(--mk-accent,#9E1235);font-weight:600}
.mk-shop-style .wd-product .mk-badge-used{display:none}
