/* ===== KUSTOM3D – BOUTIQUE ===== */
:root { --k3s-red: #C62828; --k3s-ink: #1C1C1E; --k3s-cream: #F6F4F1; --k3s-muted: #6B6863; }

/* Fond crème sur les pages de la boutique */
body.k3s-shop, body.k3s-shop #wrapper, body.k3s-shop #main, body.k3s-shop .site-content { background-color: var(--k3s-cream) !important; }

.k3s { font-family: "Barlow", system-ui, sans-serif; color: var(--k3s-ink); box-sizing: border-box; }
.k3s *, .k3s *::before, .k3s *::after { box-sizing: border-box; }
.k3s a { text-decoration: none !important; }
.k3s-wrap { max-width: 1320px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.k3s-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- En-tête ---------- */
.k3s-hero { position: relative; width: 100%; background-color: var(--k3s-ink); color: #FFFFFF;
  background-image: radial-gradient(rgba(255,255,255,.2) 1.6px, transparent 1.8px); background-size: 16px 16px; }
.k3s-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 80px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,50 C260,100 520,0 760,40 C1000,80 1220,90 1440,30 L1440,90 L0,90 Z' fill='%23F6F4F1'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%; }
.k3s-hero-in { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 44px; padding-bottom: 116px; }
.k3s-hero-txt { flex: 999 1 520px; min-width: 0; }
.k3s .k3s-h1 { margin: 0 !important; padding: 0; font-family: "Barlow Condensed", sans-serif !important; font-weight: 800 !important; font-size: 76px !important; line-height: .95 !important; text-transform: uppercase !important; letter-spacing: 0 !important; color: #FFFFFF !important; }
.k3s .k3s-h1 span { color: var(--k3s-red); }
.k3s .k3s-lead { margin: 14px 0 0 !important; max-width: 560px; font-size: 18px; line-height: 1.55; color: #C9C6C1; }
.k3s-search { flex: 1 1 360px; min-width: 0; max-width: 460px; height: 56px; margin: 0 !important; border-radius: 999px; background: #FFFFFF; display: flex; align-items: center; gap: 10px; padding: 0 7px 0 22px; }
.k3s-search::before { content: ""; flex: none; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6863' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat center / contain; }
.k3s-search input[type=search] { flex: 1; min-width: 0; height: 44px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; outline: none; background: transparent !important; font-family: "Barlow", sans-serif; font-size: 16px; color: var(--k3s-ink); }
.k3s-search button { flex: none; height: 42px; min-height: 0; margin: 0 !important; padding: 0 20px !important; border: 0; border-radius: 999px !important; background: var(--k3s-red) !important; color: #FFFFFF !important; font: 700 14px "Barlow", sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; line-height: 42px !important; cursor: pointer; box-shadow: none; }
.k3s-search button:hover { background: #A61F1F !important; }

/* ---------- Catégories rondes ---------- */
.k3s-cats { position: relative; z-index: 2; margin-top: -46px; margin-bottom: 8px; }
.k3s-cats-row { display: flex; gap: 20px; overflow-x: auto; padding: 8px 4px 16px; scrollbar-width: thin; }
.k3s-cat { flex: none; width: 118px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--k3s-ink) !important; transition: transform .2s ease; }
.k3s-cat:hover { transform: translateY(-4px); }
.k3s-cat-img { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 4px solid #FFFFFF; background: #ECE7E0; box-shadow: 0 8px 20px rgba(0,0,0,.08); display: flex; align-items: center; justify-content: center; }
.k3s-cat-img img { width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important; }
.k3s-cat-img b { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 36px; color: var(--k3s-red); }
.k3s-cat-img.k3s-all { background: var(--k3s-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Crect x='4' y='4' width='7' height='7' rx='2'/%3E%3Crect x='13' y='4' width='7' height='7' rx='2'/%3E%3Crect x='4' y='13' width='7' height='7' rx='2'/%3E%3Crect x='13' y='13' width='7' height='7' rx='2'/%3E%3C/svg%3E") no-repeat center / 34px; }
.k3s-cat-name { font-size: 14px; font-weight: 500; line-height: 1.2; text-align: center; }
.k3s-cat.on .k3s-cat-img { border-color: var(--k3s-red); }
.k3s-cat.on .k3s-cat-name { color: var(--k3s-red); font-weight: 700; }

/* ---------- Barre de titre / tri ---------- */
body.k3s-shop .shop-page-title, body.k3s-shop .category-page-title { background: transparent !important; border: 0 !important; }
body.k3s-shop .woocommerce-result-count { color: var(--k3s-muted); font-size: 14px; }
body.k3s-shop .woocommerce-ordering select { height: 42px; margin: 0; padding: 0 38px 0 16px; border: 0 !important; border-radius: 999px !important; box-shadow: none !important; font: 600 14px "Barlow", sans-serif; color: #FFFFFF !important; -webkit-appearance: none; appearance: none;
  background: var(--k3s-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 14px !important; }
body.k3s-shop .woocommerce-ordering select option { color: var(--k3s-ink); background: #FFFFFF; }

/* ---------- Cartes produits ---------- */
/* Flatsome : le cadre autour de la carte (col-inner) ne doit plus avoir ni fond, ni ombre, ni angles droits */
body.k3s-shop .products .product-small.col, body.k3s-shop .products .product-small.col:hover { background: transparent !important; box-shadow: none !important; }
body.k3s-shop .products .product-small > .col-inner, body.k3s-shop .products .product-small > .col-inner:hover,
body.k3s-shop .products .product-small:hover > .col-inner { background: transparent !important; box-shadow: none !important; border: 0 !important; border-radius: 24px !important; }
body.k3s-shop .products .product-small [class*="box-shadow"], body.k3s-shop .products .product-small [class*="box-shadow"]:hover { box-shadow: none !important; }
body.k3s-shop .products .product-small.box .box-text { background: transparent !important; box-shadow: none !important; }
/* Flatsome */
body.k3s-shop .products .product-small.box { position: relative; height: 100%; background: #FFFFFF; border-radius: 24px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
body.k3s-shop .products .product-small.box:hover, body.k3s-shop .products .product-small:hover .product-small.box { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(28,28,30,.12) !important; }
body.k3s-shop .products .product-small .box-image { position: relative; margin: 10px 10px 0; border-radius: 18px; overflow: hidden; }
body.k3s-shop .products .product-small .box-text { padding: 16px 20px 20px !important; text-align: left !important; }
body.k3s-shop .products .product-small .box-text .category { margin: 0 0 4px; font-size: 12px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #B71C1C; opacity: 1 !important; }
body.k3s-shop .products .product-small .product-title, body.k3s-shop .products .product-small .name { font-family: "Barlow", sans-serif; font-size: 18px !important; line-height: 1.25; font-weight: 700; }
body.k3s-shop .products .product-small .product-title a, body.k3s-shop .products .product-small .name a { color: var(--k3s-ink) !important; }
body.k3s-shop .products .product-small .price-wrapper { margin-top: 8px; }
body.k3s-shop .products .product-small .price-wrapper .price { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 28px; color: var(--k3s-ink); line-height: 1; }
body.k3s-shop .products .product-small .price del { font-size: 18px; opacity: .45; }
body.k3s-shop .products .product-small .price ins { text-decoration: none; color: var(--k3s-red); }
/* Boutons au survol de la photo (Aperçu rapide, Ajouter au panier) : pilule noire en bas de la photo */
/* Zone vide (aperçu rapide désactivé) : on la masque complètement */
body.k3s-shop .products .box-image .grid-tools:not(:has(a, button)) { display: none !important; }
body.k3s-shop .products .box-image .grid-tools { left: 12px !important; right: 12px !important; bottom: 12px !important; width: auto !important; min-height: 0 !important; padding: 0 !important; display: flex; gap: 1px; border-radius: 999px !important; overflow: hidden; background: transparent !important; box-shadow: none !important;
  opacity: 0 !important; transform: translateY(12px) !important; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s; }
body.k3s-shop .products .product-small:hover .box-image .grid-tools, body.k3s-shop .products .product-small .box-image .grid-tools:focus-within { opacity: 1 !important; transform: none !important; visibility: visible; box-shadow: 0 8px 20px rgba(0,0,0,.18) !important; }
body.k3s-shop .products .box-image .grid-tools a, body.k3s-shop .products .box-image .grid-tools .quick-view { flex: 1 1 0; display: flex !important; align-items: center; justify-content: center; gap: 6px; min-height: 44px; margin: 0 !important; padding: 0 12px !important; border: 0 !important; border-radius: 0 !important; background: var(--k3s-ink) !important; color: #FFFFFF !important; opacity: 1 !important; font: 700 14px/1 "Barlow", sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; text-decoration: none !important; white-space: nowrap; }
body.k3s-shop .products .box-image .grid-tools a:hover { background: var(--k3s-red) !important; }
body.k3s-shop .products .box-image .grid-tools .add-to-cart-grid { position: static !important; width: auto !important; }
body.k3s-shop .products .product-small .box-image .add-to-cart-grid .cart-icon, body.k3s-shop .products .product-small .box-image .add-to-cart-grid strong { color: #FFFFFF; }
body.k3s-shop .products .product-small .box-text .button, body.k3s-shop .products .product-small .box-text .add_to_cart_button { border-radius: 999px !important; background: var(--k3s-ink) !important; border-color: var(--k3s-ink) !important; color: #FFFFFF !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 700; }
/* Pastille promo de Flatsome : en haut à droite de la photo, en forme de pilule */
body.k3s-shop .products .badge-container { left: auto !important; right: 22px !important; top: 22px !important; margin: 0 !important; }
body.k3s-shop .products .badge-container .badge { width: auto !important; height: auto !important; margin: 0 !important; }
body.k3s-shop .products .badge-container .badge-inner { width: auto !important; height: auto !important; min-width: 0 !important; padding: 5px 11px !important; border-radius: 999px !important; background: var(--k3s-ink) !important; color: #FFFFFF !important; border: 0 !important; font: 700 12px/1.2 "Barlow", sans-serif !important; }
body.k3s-shop .products .badge-container .badge-inner .onsale { display: inline !important; position: static !important; min-width: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important; background: none !important; color: inherit !important; font-size: 12px !important; line-height: 1.2 !important; }

/* Thème WooCommerce classique (secours) */
body.k3s-shop ul.products li.product { position: relative; background: #FFFFFF; border-radius: 24px; padding: 10px 10px 20px !important; text-align: left !important; transition: transform .25s ease, box-shadow .25s ease; }
body.k3s-shop ul.products li.product:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(28,28,30,.12); }
body.k3s-shop ul.products li.product img { border-radius: 18px; margin: 0 0 14px !important; }
body.k3s-shop ul.products li.product .woocommerce-loop-product__title { padding: 0 10px !important; font-family: "Barlow", sans-serif; font-size: 18px !important; font-weight: 700; color: var(--k3s-ink); }
body.k3s-shop ul.products li.product .price { display: block; padding: 0 10px; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 26px !important; color: var(--k3s-ink) !important; }
body.k3s-shop ul.products li.product .button { margin: 10px 10px 0 !important; border-radius: 999px; background: var(--k3s-ink); color: #FFFFFF; }
body.k3s-shop ul.products li.product .onsale { border-radius: 999px; background: var(--k3s-red); color: #FFFFFF; border: 0; }

/* Pastilles « Nouveau » et « Personnalisable » */
body.k3s-shop .k3s-new .box-image::before, body.k3s-shop li.product.k3s-new::before,
body.k3s-shop .k3s-perso .box-image::after, body.k3s-shop li.product.k3s-perso::after {
  position: absolute; left: 12px; top: 12px; z-index: 5; pointer-events: none; border-radius: 999px; padding: 5px 11px;
  font: 700 12px/1.2 "Barlow", sans-serif; letter-spacing: .04em; white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,.1); }
body.k3s-shop .k3s-new .box-image::before, body.k3s-shop li.product.k3s-new::before { content: "NOUVEAU"; background: var(--k3s-red); color: #FFFFFF; }
body.k3s-shop li.product.k3s-new::before { left: 22px; top: 22px; }
body.k3s-shop .k3s-perso .box-image::after, body.k3s-shop li.product.k3s-perso::after { content: "✎ Personnalisable"; background: #FFFFFF; color: var(--k3s-ink); }
body.k3s-shop li.product.k3s-perso::after { left: 22px; top: 22px; }
body.k3s-shop .k3s-new.k3s-perso .box-image::after { top: 44px; }
body.k3s-shop li.product.k3s-new.k3s-perso::after { top: 54px; }

/* ---------- Bandeau « sur mesure » dans la grille ---------- */
.k3s-promo-cell { width: 100% !important; max-width: 100% !important; flex-basis: 100% !important; float: none !important; clear: both; padding-bottom: 20px; list-style: none; margin-left: 0 !important; margin-right: 0 !important; }
.k3s-promo { position: relative; overflow: hidden; background: var(--k3s-ink); color: #FFFFFF; border-radius: 28px; padding: 30px 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.k3s-promo::before { content: ""; position: absolute; right: 180px; top: -50px; width: 140px; height: 140px; border-radius: 50%; background: var(--k3s-red); }
.k3s-promo::after { content: ""; position: absolute; right: 120px; bottom: -40px; width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,.08); }
.k3s-promo-txt { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.k3s-promo-txt b { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 34px; line-height: 1; text-transform: uppercase; }
.k3s-promo-txt span { font-size: 16px; color: #C9C6C1; }
.k3s-promo a { position: relative; z-index: 1; flex: none; background: var(--k3s-red); color: #FFFFFF !important; padding: 15px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; }
.k3s-promo a:hover { background: #A61F1F; }

/* ---------- Barre latérale ---------- */
body.k3s-shop #shop-sidebar .widget, body.k3s-shop .shop-sidebar .widget, body.k3s-shop #secondary .widget { background: #FFFFFF; border-radius: 22px; padding: 22px !important; margin-bottom: 18px !important; }
body.k3s-shop #shop-sidebar .widget-title, body.k3s-shop #shop-sidebar .widgettitle, body.k3s-shop #secondary .widget-title, body.k3s-shop #secondary .widgettitle, body.k3s-shop #secondary h2 { display: block; margin: 0 0 12px !important; font-family: "Barlow Condensed", sans-serif !important; font-weight: 700 !important; font-size: 20px !important; text-transform: uppercase; letter-spacing: 0 !important; color: var(--k3s-ink); }
body.k3s-shop #shop-sidebar .widget .is-divider { display: none; }
body.k3s-shop .widget_product_categories ul { margin: 0; padding: 0; list-style: none; }
body.k3s-shop .widget_product_categories li { margin: 0 !important; padding: 0 !important; border: 0 !important; list-style: none; }
body.k3s-shop .widget_product_categories li > a { display: inline-block; padding: 8px 12px; border-radius: 12px; font-size: 15px; color: var(--k3s-ink) !important; }
body.k3s-shop .widget_product_categories li.current-cat > a { background: #FBE9E7; font-weight: 700; }
body.k3s-shop .widget_product_categories .count { float: right; margin-top: 8px; padding: 2px 9px; border-radius: 999px; background: var(--k3s-cream); font-size: 12px; color: var(--k3s-muted); opacity: 1; }
body.k3s-shop .widget_product_categories .children { padding-left: 12px !important; }
body.k3s-shop .price_slider_wrapper .ui-slider { height: 6px; margin: 10px 4px 18px; border-radius: 999px; background: #ECE7E0; border: 0; }
body.k3s-shop .price_slider_wrapper .ui-slider .ui-slider-range { background: var(--k3s-red) !important; border-radius: 999px; }
body.k3s-shop .price_slider_wrapper .ui-slider .ui-slider-handle { width: 20px !important; height: 20px !important; top: -7px !important; border-radius: 50% !important; background: #FFFFFF !important; border: 3px solid var(--k3s-red) !important; box-shadow: none !important; }
body.k3s-shop .price_slider_amount .button { border-radius: 999px !important; background: var(--k3s-ink) !important; color: #FFFFFF !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 700; }
body.k3s-shop .price_slider_amount .price_label { font-size: 14px; font-weight: 600; }

.k3s-options { display: flex; flex-wrap: wrap; gap: 8px; }
.k3s-opt { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #DCD7D0; background: #FFFFFF; display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--k3s-ink) !important; transition: background .2s ease, color .2s ease; }
.k3s-opt:hover, .k3s-opt.on { background: var(--k3s-ink); border-color: var(--k3s-ink); color: #FFFFFF !important; }

body.k3s-shop .widget:has(.k3s-surmesure) { background: var(--k3s-red) !important; position: relative; overflow: hidden; }
body.k3s-shop .widget:has(.k3s-surmesure) .widget-title, body.k3s-shop .widget:has(.k3s-surmesure) .widgettitle { display: none !important; }
.k3s-surmesure { position: relative; display: flex; flex-direction: column; gap: 10px; color: #FFFFFF; }
.k3s-surmesure::before { content: ""; position: absolute; right: -52px; top: -52px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.15); }
.k3s-surmesure b { position: relative; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 26px; line-height: 1; text-transform: uppercase; }
.k3s-surmesure span { position: relative; font-size: 14px; line-height: 1.5; color: #FFE5E1; }
.k3s-surmesure a { position: relative; align-self: flex-start; margin-top: 4px; background: #FFFFFF; color: var(--k3s-red) !important; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; }

/* ---------- Pagination ---------- */
body.k3s-shop .woocommerce-pagination ul.page-numbers { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; border: 0 !important; margin-top: 30px; }
body.k3s-shop .woocommerce-pagination ul.page-numbers li { border: 0 !important; float: none; margin: 0 !important; }
body.k3s-shop .woocommerce-pagination .page-numbers a, body.k3s-shop .woocommerce-pagination .page-numbers span { min-width: 44px; height: 44px; padding: 0 14px !important; border: 0 !important; border-radius: 999px !important; background: #FFFFFF !important; color: var(--k3s-ink) !important; display: inline-flex !important; align-items: center; justify-content: center; font-weight: 700; line-height: 1 !important; }
body.k3s-shop .woocommerce-pagination .page-numbers .current { background: var(--k3s-ink) !important; color: #FFFFFF !important; }

/* ---------- Réassurance ---------- */
.k3s-reassur { width: 100%; background: #FFFFFF; margin-top: 40px; }
.k3s-reassur-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-top: 32px; padding-bottom: 32px; }
.k3s-perk { display: flex; align-items: center; gap: 12px; }
.k3s-perk-ico { flex: none; width: 50px; height: 50px; border-radius: 50%; background: #FBE9E7; color: var(--k3s-red); display: flex; align-items: center; justify-content: center; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 17px; }
.k3s-perk strong { display: block; font-size: 15px; color: var(--k3s-ink); }
.k3s-perk small { display: block; font-size: 13px; color: var(--k3s-muted); }

/* ---------- Tablette et mobile ---------- */
@media (max-width: 849px) {
  .k3s .k3s-h1 { font-size: 56px !important; }
  .k3s-reassur-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .k3s-promo { flex-direction: column; align-items: flex-start; padding: 26px 24px; }
}
@media (max-width: 549px) {
  .k3s-wrap { padding-left: 16px; padding-right: 16px; }
  .k3s .k3s-h1 { font-size: 44px !important; }
  .k3s-hero-in { padding-top: 32px; padding-bottom: 96px; }
  .k3s-cat { width: 92px; }
  .k3s-cat-img { width: 76px; height: 76px; }
  .k3s-promo-txt b { font-size: 28px; }
  .k3s-search { flex: 1 1 100%; max-width: 100%; }
  .k3s-promo::before, .k3s-promo::after { display: none; }
  body.k3s-shop .k3s-new .box-image::before, body.k3s-shop .k3s-perso .box-image::after, body.k3s-shop li.product.k3s-new::before, body.k3s-shop li.product.k3s-perso::after { left: 8px; top: 8px; padding: 4px 8px; font-size: 10px; }
  body.k3s-shop .k3s-new.k3s-perso .box-image::after { top: 32px; }
  body.k3s-shop .products .badge-container { right: 16px !important; top: 16px !important; }
  body.k3s-shop .products .badge-container .badge-inner, body.k3s-shop .products .badge-container .badge-inner .onsale { font-size: 10px !important; padding: 4px 8px !important; }
  body.k3s-shop .products .product-small .price-wrapper .price { font-size: 22px; }
  body.k3s-shop .products .product-small .box-text { padding: 12px 14px 16px !important; }
  body.k3s-shop .products .product-small .product-title, body.k3s-shop .products .product-small .name { font-size: 15px !important; }
}

/* ===== ESPACE PRO ===== */
.k3p-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #FFFFFF; }
.k3p-kicker::before { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6E5E' stroke-width='2.4'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 018 0v4'/%3E%3C/svg%3E") no-repeat center / contain; }
.k3p-kicker.red { background: #FBE9E7; color: var(--k3s-red); }
.k3p-kicker.red::before { display: none; }
.k3p-hero .k3s-hero-in { align-items: center; }
.k3p-logout { position: relative; z-index: 1; align-self: flex-start; color: #FFFFFF !important; border: 1px solid #4A4A50; border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 700; }
.k3p-logout:hover { background: #FFFFFF; color: var(--k3s-ink) !important; }
.k3p-gate { position: relative; z-index: 2; margin-top: -40px; margin-bottom: 80px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.k3p-card { background: #FFFFFF; border-radius: 28px; padding: 34px; box-shadow: 0 18px 40px rgba(28,28,30,.08); }
.k3p-card.dark { background: var(--k3s-ink); color: #FFFFFF; background-image: radial-gradient(rgba(255,255,255,.12) 1.4px, transparent 1.6px); background-size: 16px 16px; }
.k3s .k3p-h2 { margin: 0 0 18px !important; font-family: "Barlow Condensed", sans-serif !important; font-weight: 800 !important; font-size: 34px !important; line-height: 1 !important; text-transform: uppercase !important; letter-spacing: 0 !important; color: inherit !important; }
.k3p-card #k3p-login p { margin: 0 0 14px !important; }
.k3p-card #k3p-login label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 600; color: #4A4743; }
.k3p-card #k3p-login input[type=text], .k3p-card #k3p-login input[type=password] { width: 100%; height: 50px; margin: 0; padding: 0 16px; border: 1px solid #DCD7D0; border-radius: 14px; background: #FAF8F6; box-shadow: none; font: 600 16px "Barlow", sans-serif; }
.k3p-card #k3p-login .login-remember label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.k3p-card #k3p-login .login-remember input { width: 18px; height: 18px; margin: 0; accent-color: var(--k3s-red); }
.k3p-card #k3p-login .button-primary, .k3p-btn { display: inline-flex !important; align-items: center; justify-content: center; height: 54px; margin: 4px 0 0 !important; padding: 0 28px !important; border: 0 !important; border-radius: 999px !important; background: var(--k3s-red) !important; color: #FFFFFF !important; font: 700 16px "Barlow", sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer; box-shadow: none !important; }
.k3p-card #k3p-login .button-primary { width: 100%; }
.k3p-card #k3p-login .button-primary:hover, .k3p-btn:hover { background: #A61F1F !important; }
.k3p-btn.ghost { background: transparent !important; color: var(--k3s-ink) !important; border: 1px solid #DCD7D0 !important; }
.k3p-lost { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--k3s-red) !important; }
.k3p-alert { margin: 0 0 18px !important; padding: 12px 14px; border-radius: 14px; background: #FFF6E8; border: 1px solid #F3D7A8; color: #6b4e1f; font-size: 14px; line-height: 1.5; }
.k3p-list { margin: 0 0 24px !important; padding: 0 !important; list-style: none !important; }
.k3p-list li { position: relative; margin: 0 0 12px !important; padding-left: 30px; font-size: 16px; line-height: 1.45; color: #E7E4DF; list-style: none !important; }
.k3p-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--k3s-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") no-repeat center / 12px; }
.k3p-card.dark small { display: block; margin-top: 14px; font-size: 13px; color: #A3A09B; }
.k3p-offers { position: relative; z-index: 2; margin-top: -40px; margin-bottom: 20px; }
.k3p-offers-body { background: #FFFFFF; border-radius: 24px; padding: 24px 28px; border-left: 0; box-shadow: 0 18px 40px rgba(28,28,30,.08); font-size: 16px; line-height: 1.6; }
.k3p-offers-body p { margin: 0 0 8px !important; }
.k3p-offers-body p:last-child { margin: 0 !important; }
.k3p-section { padding-top: 34px; padding-bottom: 10px; }
.k3p-section:last-child { padding-bottom: 70px; }
.k3p-note { padding: 14px 18px; border-radius: 16px; background: #FFFFFF; font-size: 15px; }
.k3p-note a { color: var(--k3s-red) !important; font-weight: 700; }
.k3p-label { display: inline-block; vertical-align: middle; margin-right: 6px; padding: 3px 9px; border-radius: 999px; background: var(--k3s-red); color: #FFFFFF; font: 700 11px/1.2 "Barlow", sans-serif; letter-spacing: .06em; text-transform: uppercase; }
body.k3s-shop .price .k3p-label { font-size: 11px; }
.k3p-page .k3s-hero::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,50 C260,100 520,0 760,40 C1000,80 1220,90 1440,30 L1440,90 L0,90 Z' fill='%23F6F4F1'/%3E%3C/svg%3E"); }
@media (max-width: 849px) {
  .k3p-gate { grid-template-columns: 1fr; }
  .k3p-card { padding: 26px 22px; }
}
/* Grille des produits de l'Espace Pro (quand le thème affiche une liste classique) */
.k3p-section ul.products { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.k3p-section ul.products::before, .k3p-section ul.products::after { display: none !important; }
.k3p-section ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
@media (max-width: 849px) { .k3p-section ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* ===== Espace Pro : boutique pro (1.3.0) ===== */
.k3p-hero-act { position: relative; z-index: 1; align-self: flex-start; display: flex; flex-wrap: wrap; gap: 10px; }
.k3p-hero-act .k3p-logout { align-self: auto; }
.k3p-cart { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 10px 10px 10px 18px; background: var(--k3s-red); color: #FFFFFF !important; font-size: 14px; font-weight: 700; }
.k3p-cart b { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: #FFFFFF; color: var(--k3s-red); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.k3p-notices { position: relative; z-index: 2; margin-top: -40px; margin-bottom: 16px; }
.k3p-notices .woocommerce-message, .k3p-notices .woocommerce-error, .k3p-notices .woocommerce-info { margin: 0 !important; border-radius: 18px; background: #FFFFFF; box-shadow: 0 14px 30px rgba(28,28,30,.08); }
.k3p-shop { position: relative; z-index: 2; margin-top: -40px; padding-bottom: 70px; }
.k3p-notices + .k3p-shop, .k3p-offers + .k3p-shop, .k3p-notices + .k3p-offers { margin-top: 0; }
.k3p-offers + .k3p-shop { padding-top: 10px; }

.k3p-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: #FFFFFF; border-radius: 26px; box-shadow: 0 18px 40px rgba(28,28,30,.08); overflow: hidden; }
.k3p-how > div { position: relative; padding: 22px 24px 22px 76px; font-size: 14.5px; line-height: 1.5; color: #5E5B57; }
.k3p-how > div + div { border-left: 1px solid #EEE9E3; }
.k3p-how i { position: absolute; left: 22px; top: 22px; width: 40px; height: 40px; border-radius: 50%; background: var(--k3s-ink); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font: 800 18px "Barlow Condensed", sans-serif; font-style: normal; }
.k3p-how > div:first-child i { background: var(--k3s-red); }
.k3p-how strong { display: block; margin-bottom: 3px; font-size: 16px; color: var(--k3s-ink); }
.k3p-how a { color: var(--k3s-red) !important; font-weight: 700; }

.k3p-bar { margin: 34px 0 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; }
.k3s .k3p-bar .k3p-h2 { margin: 0 !important; }
.k3p-bar .k3p-h2 small { margin-left: 8px; font: 600 15px "Barlow", sans-serif; text-transform: none; color: #6B6863; }
.k3p-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.k3p-chips button { height: 40px; margin: 0; padding: 0 16px; min-height: 0; border-radius: 999px; border: 1.5px solid #E2DDD6; background: #FFFFFF; color: var(--k3s-ink); font: 600 14.5px "Barlow", sans-serif; text-transform: none; letter-spacing: 0; cursor: pointer; box-shadow: none; }
.k3p-chips button:hover { border-color: var(--k3s-ink); }
.k3p-chips button.on { background: var(--k3s-ink); border-color: var(--k3s-ink); color: #FFFFFF; }

.k3p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.k3p-p { display: flex; flex-direction: column; min-width: 0; background: #FFFFFF; border-radius: 24px; overflow: hidden; box-shadow: 0 1px 0 rgba(28,28,30,.04); transition: box-shadow .2s ease, transform .2s ease; }
.k3p-p[hidden] { display: none; }
.k3p-p:hover { box-shadow: 0 18px 36px rgba(28,28,30,.1); transform: translateY(-3px); }
.k3p-pimg { position: relative; display: block; aspect-ratio: var(--k3s-img-ratio, 4 / 5); background: #FFFFFF; overflow: hidden; }
.k3p-pimg img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: contain; margin: 0 !important; transition: transform .35s ease; }
.k3p-p:hover .k3p-pimg img { transform: scale(1.04); }
.k3p-badges { position: absolute; left: 12px; top: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.k3p-badges b { border-radius: 999px; padding: 5px 11px; background: var(--k3s-ink); color: #FFFFFF; font-size: 12px; font-weight: 700; line-height: 1.2; }
.k3p-badges b.t { background: #FFFFFF; color: var(--k3s-red); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.k3p-pbody { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; }
.k3p-pcat { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8A857E; }
.k3s .k3p-pt { margin: -4px 0 0 !important; font: 700 18px/1.25 "Barlow", sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; }
.k3p-pt a { color: var(--k3s-ink) !important; }
.k3p-pprice { margin: 0 !important; font-size: 18px; font-weight: 700; color: var(--k3s-ink); }
.k3p-pprice del { color: #9A948C; font-weight: 500; font-size: 15px; }
.k3p-pprice ins { text-decoration: none; }
.k3p-buy { margin: auto 0 0 !important; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
.k3p-qty { display: flex; align-items: center; height: 46px; border: 1.5px solid #DCD7D0; border-radius: 999px; overflow: hidden; background: #FFFFFF; }
.k3p-qty button { width: 36px; height: 100%; margin: 0; padding: 0; min-height: 0; border: 0; background: transparent; color: var(--k3s-ink); font-size: 20px; font-weight: 600; cursor: pointer; box-shadow: none; }
.k3p-qty button:hover { background: #F6F4F1; }
.k3p-qty input { width: 44px !important; height: 100% !important; margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; background: transparent !important; text-align: center; font: 700 16px "Barlow", sans-serif; -moz-appearance: textfield; }
.k3p-qty input::-webkit-outer-spin-button, .k3p-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.k3p-add { display: inline-flex !important; align-items: center; justify-content: center; height: 46px; margin: 0 !important; padding: 0 16px !important; min-height: 0; border: 0 !important; border-radius: 999px !important; background: var(--k3s-red) !important; color: #FFFFFF !important; font: 700 15px "Barlow", sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer; box-shadow: none !important; }
.k3p-add:hover { background: #A61F1F !important; }
.k3p-add.ghost { margin-top: auto !important; background: transparent !important; color: var(--k3s-ink) !important; border: 1.5px solid var(--k3s-ink) !important; }
.k3p-add.ghost:hover { background: var(--k3s-ink) !important; color: #FFFFFF !important; }
.k3p-total { grid-column: 1 / -1; margin: 2px 0 0 !important; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 14px; color: #5E5B57; }
.k3p-total:empty { display: none; }
.k3p-total b, .k3t-live b { font-size: 17px; color: var(--k3s-ink); }
.k3p-total em, .k3t-live em { flex-basis: 100%; font-style: normal; font-size: 13px; font-weight: 600; color: var(--k3s-red); }
.k3p-total em.best, .k3t-live em.best { color: #1E7B3A; }

/* Tableau des prix dégressifs (cartes pro et fiche produit) */
.k3t { background: #F6F4F1; border-radius: 16px; padding: 10px 12px 6px; }
.k3t-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; margin-bottom: 4px; }
.k3t-h span { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--k3s-red, #C62828); }
.k3t-h small { font-size: 12.5px; color: #6B6863; }
.k3t .k3t-t { width: 100%; margin: 0 !important; border: 0 !important; border-collapse: collapse; font: 500 13.5px/1.3 "Barlow", sans-serif; }
.k3t .k3t-t th { padding: 4px 6px !important; border: 0 !important; background: none !important; font-size: 11.5px; font-weight: 600; text-transform: none; letter-spacing: 0; color: #8A857E; text-align: left; }
.k3t .k3t-t td { padding: 6px !important; border: 0 !important; border-top: 1px solid #E7E2DB !important; color: var(--k3s-ink, #1C1C1E); text-align: left; vertical-align: middle; }
.k3t .k3t-t th:not(:first-child), .k3t .k3t-t td:not(:first-child) { text-align: right; }
.k3t .k3t-t td .amount { font-weight: 700; }
.k3t .k3t-t tr.on td { background: #FFFFFF; font-weight: 700; }
.k3t .k3t-t tr.on td:first-child { border-radius: 10px 0 0 10px; box-shadow: inset 3px 0 0 var(--k3s-red, #C62828); }
.k3t .k3t-t tr.on td:last-child { border-radius: 0 10px 10px 0; }
.k3t-save { display: inline-block; padding: 1px 6px; border-radius: 999px; background: #E7F6EC; color: #1E5B32; font-size: 11.5px; font-weight: 700; }
.k3t-sm .k3t-save { margin-left: 4px; }
.k3t-dim { color: #B5AFA7; }
.k3t-single { margin: 18px 0; max-width: 460px; }
.k3t-single .k3t { padding: 14px 16px 10px; }
.k3t-single .k3t .k3t-t { font-size: 15px; }
.k3t-live { margin: 10px 0 0 !important; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 14.5px; color: #5E5B57; }
.k3t-hint { margin: 2px 0 0 !important; font-size: 13px; font-weight: 700; color: var(--k3s-red, #C62828); }

@media (max-width: 849px) {
  .k3p-how { grid-template-columns: 1fr; }
  .k3p-how > div + div { border-left: 0; border-top: 1px solid #EEE9E3; }
}
@media (max-width: 600px) {
  .k3p-hero-act { width: 100%; }
  .k3p-how > div { padding: 16px 16px 16px 66px; }
  .k3p-how i { left: 16px; top: 16px; width: 36px; height: 36px; font-size: 16px; }
  .k3p-bar { margin: 26px 0 14px; }
  .k3p-chips { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 32px); margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .k3p-chips::-webkit-scrollbar { display: none; }
  .k3p-chips button { flex: none; }
  .k3p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .k3p-p { border-radius: 18px; }
  .k3p-badges { left: 8px; top: 8px; right: 8px; }
  .k3p-badges b { font-size: 10.5px; padding: 4px 8px; }
  .k3p-pbody { padding: 12px; gap: 8px; }
  .k3s .k3p-pt { font-size: 15px !important; }
  .k3p-pprice { font-size: 15.5px; }
  .k3p-pprice .k3p-label { display: none; }
  .k3t { padding: 8px 8px 4px; border-radius: 12px; }
  .k3t .k3t-t { font-size: 12px; }
  .k3t .k3t-t th { padding: 3px 4px !important; font-size: 10.5px; }
  .k3t .k3t-t td { padding: 5px 4px !important; }
  .k3t-sm .k3t-save { display: none; }
  .k3p-buy { grid-template-columns: 1fr; }
  .k3p-qty { height: 42px; justify-content: space-between; }
  .k3p-qty input { flex: 1; }
  .k3p-add { height: 42px; font-size: 14px !important; }
  .k3p-total { font-size: 12.5px; }
  .k3p-total b { font-size: 15px; }
}


/* 1.4.0 : bouton Personnaliser dans l'Espace Pro */
.k3p-add.k3p-perso { margin-top: auto !important; width: 100%; }
.k3p-add.k3p-perso::before { content: ""; width: 18px; height: 18px; margin-right: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16v4z'/%3E%3C/svg%3E") no-repeat center / contain; }
.k3p-total .k3t-ht, .k3t-live .k3t-ht { flex-basis: 100%; font-size: 13px; font-weight: 600; color: var(--k3s-ink); opacity: .75; }
.k3t-t td .k3ht-sub { margin-top: 1px; }
