/*
Theme Name:   Phonelab Skinis
Theme URI:    https://phonelabstore.ch
Description:  Thème enfant Astra pour la boutique WooCommerce de Phonelab Store — structure du démo Skinis (hero, catégories, promos, essentiels, meilleures ventes) avec l'identité Phonelab (police système, bleu accent, boutons pilule). Ne touche que les pages boutique.
Author:       Phonelab Store
Template:     astra
Version:      2.0.2
Requires PHP: 7.4
Text Domain:  phonelab-skinis
*/

/* ===================================================================
   0. Jetons — alignés sur phonelabstore.ch (phl-global-chrome)
   =================================================================== */
body.pl-shop {
	--pl-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
	--pl-blue: #1c5ed9;
	--pl-blue: oklch(50% .21 258);
	--pl-blue-dk: #1a50b8;
	--pl-blue-dk: oklch(44% .185 258);
	--pl-blue-pale: #eef3fd;
	--pl-blue-pale: oklch(96% .02 258);
	--pl-ink: #0d1117;
	--pl-ink: oklch(10% .018 258);
	--pl-body: #3f4650;
	--pl-muted: #5b6470;
	--pl-muted: oklch(44% .014 258);
	--pl-light: #8a919b;
	--pl-border: #e3e6ea;
	--pl-border: oklch(90% .008 258);
	--pl-surface: #f4f5f7;
	--pl-surface: oklch(96.5% .006 258);
	--pl-white: #fff;
	--pl-r: 18px;
	--pl-r-sm: 12px;
	--pl-pill: 980px;
	--pl-container: 1280px;
	--pl-shadow: 0 6px 24px rgba(13, 17, 23, .06);
	--pl-shadow-blue: 0 4px 24px oklch(50% .21 258 / .14);
	--pl-ease: cubic-bezier(.22, 1, .36, 1);
	--pl-t: .22s;
}

/* ===================================================================
   1. Base — uniquement dans la boutique
   =================================================================== */
body.pl-shop #pl-main,
body.pl-shop #pl-main * {
	box-sizing: border-box;
}
body.pl-shop #pl-main {
	font-family: var(--pl-font);
	font-size: 15px;
	line-height: 1.6;
	color: var(--pl-body);
	-webkit-font-smoothing: antialiased;
}
body.pl-shop #pl-main a { text-decoration: none; color: inherit; }
body.pl-shop #pl-main img { max-width: 100%; height: auto; display: block; }
body.pl-shop #pl-main h1,
body.pl-shop #pl-main h2,
body.pl-shop #pl-main h3 {
	font-family: var(--pl-font);
	color: var(--pl-ink);
	letter-spacing: -.015em;
	line-height: 1.15;
	margin: 0;
}
body.pl-shop #pl-main ul { list-style: none; margin: 0; padding: 0; }

/* Astra : pleine largeur, sans marges de conteneur (le thème gère les siens). */
body.pl-shop #content > .ast-container,
body.pl-shop .site-content > .ast-container,
body.pl-shop.ast-page-builder-template .site-content > .ast-container {
	max-width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
body.pl-shop #content { padding-top: 0; }
body.pl-shop #pl-main { flex: 1 1 100%; width: 100%; max-width: 100%; min-width: 0; }
body.pl-shop.ast-separate-container #primary,
body.pl-shop #primary { padding: 0; margin: 0; }

.pl-container { max-width: var(--pl-container); margin: 0 auto; padding: 0 24px; }
.pl-section { padding: 56px 0; }
.pl-section--tight-b { padding-bottom: 24px; }
.pl-section--tight-t { padding-top: 24px; }
.pl-section--surface { background: var(--pl-surface); }
.pl-section-head { text-align: center; margin-bottom: 34px; }
.pl-section-head h2 { font-size: 30px; font-weight: 700; }
.pl-section-head p { color: var(--pl-light); font-size: 15px; margin: 6px 0 0; }
.pl-center { text-align: center; margin: 28px 0 0; }

.pl-icon {
	width: 20px; height: 20px;
	stroke: currentColor; stroke-width: 1.6; fill: none;
	stroke-linecap: round; stroke-linejoin: round;
	flex: none;
}

/* Boutons pilule (comme « Réparer mon appareil ») */
.pl-btn,
body.pl-shop #pl-main .button,
body.pl-shop #pl-main button.button,
body.pl-shop #pl-main .single_add_to_cart_button,
body.pl-shop #pl-main .wc-block-components-button,
body.pl-shop #pl-main .wp-block-button__link {
	font-family: var(--pl-font);
	font-size: 14px; font-weight: 600;
	padding: 12px 26px;
	border: 0; border-radius: var(--pl-pill);
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	cursor: pointer; line-height: 1.2;
	transition: background var(--pl-t) var(--pl-ease), color var(--pl-t) var(--pl-ease), transform var(--pl-t) var(--pl-ease), box-shadow var(--pl-t) var(--pl-ease);
	background: var(--pl-blue); color: #fff;
}
.pl-btn:hover,
body.pl-shop #pl-main .button:hover,
body.pl-shop #pl-main .single_add_to_cart_button:hover,
body.pl-shop #pl-main .wc-block-components-button:hover,
body.pl-shop #pl-main .wp-block-button__link:hover {
	background: var(--pl-blue-dk); color: #fff;
	box-shadow: var(--pl-shadow-blue);
	transform: translateY(-1px);
}
.pl-btn .pl-icon { width: 16px; height: 16px; }
.pl-btn-light { background: #fff; color: var(--pl-ink); box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
.pl-btn-light:hover { background: var(--pl-blue); color: #fff; }
.pl-btn-blue { background: var(--pl-blue); color: #fff; }
.pl-btn-dark { background: var(--pl-ink); color: #fff; }
.pl-btn-dark:hover { background: var(--pl-blue); }

/* ===================================================================
   2. Accueil boutique — hero
   =================================================================== */
.pl-hero { position: relative; overflow: hidden; background: #0c0e10; }
.pl-slides { display: flex; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.pl-slide { min-width: 100%; position: relative; }
.pl-slide img { width: 100%; height: auto; display: block; }
.pl-hero-overlay {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; justify-content: center;
	padding-left: 9%; color: #fff;
}
.pl-hero-overlay h1 {
	font-size: clamp(30px, 4vw, 52px); font-weight: 700; line-height: 1.05;
	max-width: 560px; color: #fff;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}
.pl-hero-overlay p { margin: 14px 0 22px; font-size: clamp(13px, 1.3vw, 17px); color: #eaeaea; max-width: 460px; }
.pl-hero-overlay .pl-btn { align-self: flex-start; }

/* Fix lisibilité hero : le thème Astra écrasait les couleurs (titre sombre +
   bouton blanc sur blanc = texte invisible). Scrim sombre à gauche pour lire
   le texte quelle que soit la clarté de l'image, + couleurs hero forcées. */
.pl-hero .pl-hero-overlay {
	background: linear-gradient(to top, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .18) 26%, rgba(0, 0, 0, 0) 46%);
}
.pl-hero .pl-hero-overlay h1 { color: #fff !important; }
.pl-hero .pl-hero-overlay p { color: #f0f0f0 !important; }
.pl-hero .pl-hero-overlay .pl-btn-light { color: var(--pl-ink) !important; background: #fff !important; }
.pl-hero .pl-hero-overlay .pl-btn-light:hover { color: #fff !important; background: var(--pl-blue) !important; }

.pl-dots {
	position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
	display: flex; gap: 9px; z-index: 5;
}
.pl-dots button {
	width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0;
	background: rgba(255, 255, 255, .5); cursor: pointer;
	transition: width var(--pl-t) var(--pl-ease), background var(--pl-t);
}
.pl-dots button.is-active { background: #fff; width: 24px; border-radius: 6px; }
.pl-hero-arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px);
	border: 0; color: #fff; width: 42px; height: 42px; border-radius: 50%;
	cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 5;
	padding: 0;
}
.pl-hero-arrow:hover { background: rgba(255, 255, 255, .32); }
.pl-hero-arrow.prev { left: 18px; }
.pl-hero-arrow.next { right: 18px; }

/* ===================================================================
   3. Bandeau de catégories
   =================================================================== */
.pl-cat-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; padding: 8px 0; }
.pl-cat-item {
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	width: 96px; text-align: center; color: var(--pl-muted);
	transition: color var(--pl-t);
}
.pl-cat-item:hover, .pl-cat-item.is-active { color: var(--pl-blue); }
.pl-puck {
	width: 54px; height: 54px; border-radius: 50%;
	background: var(--pl-surface);
	display: flex; align-items: center; justify-content: center;
	transition: background var(--pl-t), transform var(--pl-t) var(--pl-ease);
}
.pl-cat-item:hover .pl-puck, .pl-cat-item.is-active .pl-puck { background: var(--pl-blue-pale); transform: translateY(-2px); }
.pl-puck .pl-icon { width: 24px; height: 24px; }
.pl-cat-item span:last-child { font-size: 12px; color: inherit; line-height: 1.3; }

/* ===================================================================
   4. Promos, rangées produits, mise en avant, chiffres
   =================================================================== */
.pl-promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pl-promo {
	position: relative; border-radius: var(--pl-r); overflow: hidden;
	aspect-ratio: 21 / 9; background: var(--pl-surface); display: block;
}
.pl-promo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--pl-ease); }
.pl-promo:hover img { transform: scale(1.04); }
.pl-promo .pl-pc { position: absolute; left: 32px; top: 50%; transform: translateY(-50%); color: var(--pl-ink); }
.pl-promo .pl-pc h3 { font-size: 22px; font-weight: 700; }
.pl-promo .pl-more { color: var(--pl-blue); font-weight: 600; font-size: 14px; margin-top: 6px; display: inline-block; }

.pl-prow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.pl-pcard {
	display: flex; flex-direction: column; text-align: center;
	background: #fff; border: 1px solid transparent; border-radius: var(--pl-r-sm); padding: 10px;
	transition: border-color var(--pl-t), box-shadow var(--pl-t), transform var(--pl-t) var(--pl-ease);
}
.pl-pcard:hover { border-color: var(--pl-border); box-shadow: var(--pl-shadow); transform: translateY(-2px); }
.pl-pcard .pl-ph {
	aspect-ratio: 1; border-radius: var(--pl-r-sm); overflow: hidden; background: #fff;
	display: flex; align-items: center; justify-content: center;
}
.pl-pcard .pl-ph img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s var(--pl-ease); }
.pl-pcard:hover .pl-ph img { transform: scale(1.05); }
.pl-pcard .pl-pt {
	font-size: 13px; color: var(--pl-ink); margin: 12px 6px 4px; min-height: 36px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pl-pcard:hover .pl-pt { color: var(--pl-blue); }
.pl-price { font-size: 13px; color: var(--pl-muted); font-weight: 500; }
.pl-price .amount { color: var(--pl-ink); font-weight: 700; }
.pl-price del { color: var(--pl-light); font-weight: 400; }
.pl-price del .amount { color: var(--pl-light); font-weight: 400; }
.pl-price ins { text-decoration: none; }

.pl-feature {
	display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px;
	background: var(--pl-surface); border-radius: var(--pl-r); overflow: hidden;
}
.pl-ftxt { padding: 48px; }
.pl-ftxt h2 { font-size: 30px; font-weight: 700; margin-bottom: 14px; }
.pl-ftxt p { color: var(--pl-muted); margin: 0 0 22px; max-width: 440px; }
.pl-fimg { height: 100%; }
.pl-fimg img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }

.pl-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.pl-stat .n { font-size: 38px; font-weight: 700; color: var(--pl-ink); letter-spacing: -.02em; }
.pl-stat .l { color: var(--pl-muted); font-size: 14px; margin-top: 4px; }

/* Bandeau réassurance (retrait / envoi / paiement / garantie) */
.pl-reassure { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pl-reassure-item { display: flex; align-items: center; gap: 13px; padding: 16px 18px; background: var(--pl-surface); border: 1px solid var(--pl-border); border-radius: var(--pl-r-sm); }
.pl-reassure-ic { flex: 0 0 42px; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--pl-blue-pale); color: var(--pl-blue); }
.pl-reassure-ic .pl-icon { width: 21px; height: 21px; }
.pl-reassure-txt { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.pl-reassure-txt strong { font-size: 14px; font-weight: 600; color: var(--pl-ink); }
.pl-reassure-txt span { font-size: 12.5px; color: var(--pl-muted); margin-top: 2px; }
@media (max-width: 900px) { .pl-reassure { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pl-reassure { grid-template-columns: 1fr; } }

.pl-prose { max-width: 800px; }

/* ===================================================================
   5. Catalogue / catégories
   =================================================================== */
.pl-archive-head { text-align: center; padding: 40px 0 8px; }
.pl-page-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; margin: 0 0 20px; }
.pl-page-desc { color: var(--pl-muted); max-width: 60ch; margin: -8px auto 20px; }

.pl-toolbar {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	border-top: 1px solid var(--pl-border); border-bottom: 1px solid var(--pl-border);
	padding: 12px 0; margin-top: 16px;
}
.pl-toolbar-left { font-size: 13px; color: var(--pl-light); display: flex; align-items: center; gap: 8px; }
.pl-toolbar-left b { color: var(--pl-ink); font-weight: 500; }
.pl-toolbar-left .woocommerce-result-count { margin: 0; font-size: 13px; color: var(--pl-light); }
.pl-toolbar-right { display: flex; align-items: center; gap: 16px; }
.pl-view-toggle { display: flex; gap: 6px; color: #b8bec6; }
.pl-view-toggle button { background: none; border: 0; cursor: pointer; color: inherit; padding: 2px; display: flex; }
.pl-view-toggle button.is-active { color: var(--pl-ink); }
.pl-view-toggle .pl-icon { width: 18px; height: 18px; stroke-width: 1.4; }
body.pl-shop .woocommerce-ordering { margin: 0; }
body.pl-shop .woocommerce-ordering select {
	font-family: var(--pl-font); font-size: 13px; color: var(--pl-ink);
	border: 1px solid var(--pl-border); border-radius: var(--pl-pill);
	padding: 7px 34px 7px 14px; background: #fff; cursor: pointer;
	-webkit-appearance: none; appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23444' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center; background-size: 12px;
}

.pl-body { display: grid; grid-template-columns: 248px 1fr; gap: 36px; padding: 28px 0 56px; align-items: start; }
.pl-sidebar h3 { font-size: 15px; font-weight: 700; padding-bottom: 12px; border-bottom: 1px solid var(--pl-border); margin-bottom: 10px; }
.pl-acc > a { display: flex; justify-content: space-between; align-items: center; font-weight: 500; color: var(--pl-ink); padding: 8px 0; }
.pl-acc > a .pl-icon { width: 12px; height: 12px; }
.pl-sub { padding: 2px 0 8px 4px; }
.pl-sub li a { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: var(--pl-muted); }
.pl-sub li a small { color: var(--pl-light); font-size: 12px; }
.pl-sub li a:hover, .pl-sub li a.is-active { color: var(--pl-blue); }
.pl-sub li a.is-active { font-weight: 500; }

/* Grille WooCommerce */
body.pl-shop .pl-results ul.products,
body.pl-shop .pl-results ul.products.columns-3 {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0;
}
body.pl-shop .pl-results ul.products.pl-cols-2 { grid-template-columns: repeat(2, 1fr); }
body.pl-shop .pl-results ul.products.pl-cols-4 { grid-template-columns: repeat(4, 1fr); }
body.pl-shop .pl-results ul.products.pl-list { grid-template-columns: 1fr; }
body.pl-shop .pl-results ul.products.pl-list li.pl-card { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; }
body.pl-shop .pl-results ul.products.pl-list .pl-ptitle { min-height: 0; font-size: 16px; }
body.pl-shop .pl-results ul.products.pl-list .pl-swatches, body.pl-shop .pl-results ul.products.pl-list .pl-price { grid-column: 2; }
body.pl-shop .pl-results ul.products.pl-list .pl-thumb { grid-row: 1 / 4; }

body.pl-shop ul.products li.pl-card,
body.pl-shop ul.products li.product.pl-card {
	position: relative; float: none; width: auto; margin: 0;
	background: #fff; border: 1px solid transparent; border-radius: var(--pl-r-sm); padding: 8px;
	transition: border-color var(--pl-t), box-shadow var(--pl-t);
}
body.pl-shop ul.products li.pl-card:hover { border-color: var(--pl-border); box-shadow: var(--pl-shadow); }
.pl-thumb {
	position: relative; aspect-ratio: 1 / 1; border-radius: var(--pl-r-sm); overflow: hidden; background: #fff;
	display: flex; align-items: center; justify-content: center;
}
.pl-thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s var(--pl-ease); margin: 0; }
li.pl-card:hover .pl-thumb img { transform: scale(1.04); }
.pl-tag {
	position: absolute; top: 10px; left: 10px; z-index: 2;
	background: var(--pl-ink); color: #fff; font-size: 11px; font-weight: 500;
	padding: 3px 9px; border-radius: var(--pl-pill);
}
.pl-tag--sale { background: var(--pl-blue); }
.pl-card-actions {
	position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2;
	display: flex; justify-content: center;
	opacity: 0; transform: translateY(8px);
	transition: opacity var(--pl-t) var(--pl-ease), transform var(--pl-t) var(--pl-ease);
}
li.pl-card:hover .pl-card-actions, li.pl-card:focus-within .pl-card-actions { opacity: 1; transform: none; }
body.pl-shop .pl-card-actions .button { padding: 9px 20px; font-size: 13px; box-shadow: 0 6px 18px rgba(0, 0, 0, .14); margin: 0; }
body.pl-shop .pl-card-actions .added_to_cart { display: none; }
.pl-ptitle {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	font-size: 14px; color: var(--pl-ink); margin: 12px 4px 8px; min-height: 40px; line-height: 1.4;
}
.pl-ptitle:hover { color: var(--pl-blue); }
.pl-swatches { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 4px 6px; }
.pl-sw { width: 14px; height: 14px; border-radius: 50%; border: 1px solid #d9dde2; display: block; }
li.pl-card .pl-price { padding: 0 4px 4px; }
@media (hover: none) { .pl-card-actions { opacity: 1; transform: none; } }

/* Pagination */
body.pl-shop .woocommerce-pagination { margin-top: 40px; text-align: center; }
body.pl-shop .woocommerce-pagination ul.page-numbers { display: inline-flex; gap: 8px; border: 0; margin: 0; }
body.pl-shop .woocommerce-pagination ul.page-numbers li { border: 0; margin: 0; }
body.pl-shop .woocommerce-pagination .page-numbers {
	width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	font-size: 14px; color: var(--pl-muted); border: 1px solid var(--pl-border); background: #fff; line-height: 1;
}
body.pl-shop .woocommerce-pagination .page-numbers.current { background: var(--pl-ink); color: #fff; border-color: var(--pl-ink); }
body.pl-shop .woocommerce-pagination a.page-numbers:hover { border-color: var(--pl-ink); color: var(--pl-ink); }
body.pl-shop .woocommerce-pagination .next, body.pl-shop .woocommerce-pagination .prev { width: auto; padding: 0 16px; border-radius: var(--pl-pill); }

body.pl-shop .woocommerce-no-products-found, body.pl-shop .woocommerce-info { border-radius: var(--pl-r-sm); }

/* ===================================================================
   6. Fiche produit, panier, commande — polissage léger
   =================================================================== */
body.pl-shop.single-product #pl-main { }
body.pl-shop.single-product .product_title { font-family: var(--pl-font); letter-spacing: -.015em; }
body.pl-shop.single-product .woocommerce-product-gallery__image img { border-radius: var(--pl-r-sm); }
body.pl-shop.single-product .price { color: var(--pl-ink); font-weight: 700; }
body.pl-shop.single-product .single_add_to_cart_button { padding: 14px 32px; }
body.pl-shop.single-product .woocommerce-tabs ul.tabs li { border-radius: var(--pl-pill) var(--pl-pill) 0 0; }
body.pl-shop.single-product .woocommerce-product-attributes th { color: var(--pl-ink); }
body.pl-shop.single-product span.onsale { background: var(--pl-blue); border-radius: var(--pl-pill); min-height: 0; min-width: 0; padding: 4px 12px; line-height: 1.4; font-size: 12px; }
body.pl-shop.single-product .related.products > h2 { text-align: center; font-family: var(--pl-font); }
body.pl-shop.single-product .related ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Fiche produit : la galerie (flexslider + zoom au survol) pose des largeurs
   fixes en px via JS (jusqu'à 800px) qui débordent sur mobile. On borne la
   galerie à son conteneur et on clippe/neutralise le zoom (inutile au tactile). */
body.pl-shop.single-product .woocommerce-product-gallery { max-width: 100% !important; overflow: hidden; }
body.pl-shop.single-product .woocommerce-product-gallery img.zoomImg { display: none !important; }
body.pl-shop #pl-main,
body.pl-shop.single-product .site-content { overflow-x: clip; }

/* Sur mobile/tablette : galerie et résumé passent en colonne unique pleine
   largeur (WooCommerce leur met width:48% pour la vue 2 colonnes desktop qui
   ne se réinitialise pas). Breakpoint large (820px) pour couvrir aussi les cas
   où le viewport est gonflé par le contenu produit. */
@media (max-width: 820px) {
	body.pl-shop.single-product .woocommerce-product-gallery,
	body.pl-shop.single-product .entry-summary {
		width: 100% !important; float: none !important;
		margin-left: 0 !important; margin-right: 0 !important;
	}
	body.pl-shop.single-product .woocommerce-product-gallery { margin-bottom: 24px !important; }
}

body.pl-shop .wc-block-components-product-name,
body.pl-shop .wc-block-cart__submit-container,
body.pl-shop .wc-block-components-sidebar-layout { font-family: var(--pl-font); }
body.pl-shop .wc-block-components-totals-item { font-family: var(--pl-font); }
body.pl-shop .wc-block-components-button { border-radius: var(--pl-pill) !important; }

/* ===================================================================
   7. Réactif
   =================================================================== */
@media (max-width: 1024px) {
	.pl-prow { grid-template-columns: repeat(3, 1fr); }
	body.pl-shop .pl-results ul.products, body.pl-shop .pl-results ul.products.pl-cols-4 { grid-template-columns: repeat(3, 1fr); }
	body.pl-shop.single-product .related ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
	.pl-body { grid-template-columns: 1fr; }
	.pl-sidebar { display: none; }
	.pl-view-toggle { display: none; }
}
@media (max-width: 760px) {
	.pl-section { padding: 40px 0; }
	.pl-section-head h2 { font-size: 24px; }
	.pl-promo-grid, .pl-feature { grid-template-columns: 1fr; }
	.pl-ftxt { padding: 28px 24px; }
	.pl-fimg img { min-height: 240px; }
	.pl-prow { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.pl-stats { grid-template-columns: repeat(2, 1fr); }
	.pl-stat .n { font-size: 30px; }
	.pl-hero-overlay { padding-left: 6%; }
	.pl-hero-overlay p { display: none; }
	.pl-hero-overlay .pl-btn { padding: 9px 18px; font-size: 13px; }
	.pl-hero-arrow { display: none; }
	.pl-cat-strip { gap: 14px; }
	.pl-cat-item { width: 84px; }
	body.pl-shop .pl-results ul.products,
	body.pl-shop .pl-results ul.products.columns-3,
	body.pl-shop .pl-results ul.products.columns-4,
	body.pl-shop .pl-results ul.products.pl-cols-3,
	body.pl-shop .pl-results ul.products.pl-cols-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	body.pl-shop .pl-results ul.products.pl-list li.pl-card { grid-template-columns: 1fr; }
	.pl-toolbar { justify-content: center; }
	/* Fiche produit : galerie + résumé en colonne unique, image bornée. */
	body.pl-shop.single-product div.product > .woocommerce-product-gallery,
	body.pl-shop.single-product div.product > .summary {
		width: 100% !important; float: none !important; margin-left: 0 !important; margin-right: 0 !important;
	}
	body.pl-shop.single-product div.product > .woocommerce-product-gallery { margin-bottom: 24px !important; }
	body.pl-shop.single-product .woocommerce-product-gallery img { max-width: 100%; height: auto; }
	body.pl-shop.single-product .related ul.products { grid-template-columns: repeat(2, 1fr); }
}
/* Sécurité globale : aucune image de la boutique ne dépasse la largeur. */
body.pl-shop img { max-width: 100%; height: auto; }
@media (max-width: 480px) {
	.pl-container { padding: 0 16px; }
	.pl-hero-overlay h1 { font-size: 22px; max-width: 70%; }
	.pl-promo .pl-pc { left: 18px; }
	.pl-promo .pl-pc h3 { font-size: 17px; }
}
