/*!
Theme Name: Showheel Theme
Author: JPTWF
Description: Theme e-commerce sur-mesure pour Showheel (WooCommerce), base Underscores.
Version: 1.1.6
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: showheeltheme
Domain Path: /languages
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Showheeltheme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
.wpcf7-submit,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
	clear: both;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: var(--sp-link);
}

a:visited {
	color: var(--sp-link);
}

a:hover,
a:focus,
a:active {
	color: var(--sp-link-hover);
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
	width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Post thumbnail (archive/blog cards)
--------------------------------------------- */
.post-thumbnail {
	position: relative;
	display: block;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

.post-thumbnail img.wp-post-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-thumbnail::after {
	content: "\f002";
	font-family: FontAwesome;
	position: absolute;
	top: 10px;
	right: 10px;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	font-size: 14px;
	color: #333;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

/*--------------------------------------------------------------
# Grille de catégories (shortcode liste_categories_produits)
--------------------------------------------------------------*/
ul.sp-cat-grid {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
	position: static;
	height: auto;
	overflow: visible;
}

@media (min-width: 768px) {
	ul.sp-cat-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 24px;
	}
}

@media (min-width: 1000px) {
	ul.sp-cat-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 28px;
	}
}

ul.sp-cat-grid li.product-category {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}

ul.sp-cat-grid li.product-category img {
	width: 100%;
	height: auto;
	display: block;
	box-shadow: 2px 2px 5px #333;
	transition: all 0.3s ease;
}
ul.sp-cat-grid li.product-category:hover img {
	transform:translateY(-5px);
	box-shadow: 2px 2px 7px #333;
}
ul.sp-cat-grid li.product-category a{
	color: var(--sp_color_link);
	text-decoration: none;
}
ul.sp-cat-grid li.product-category a:hover{
	color: var( --sp_color_link_hover);
	text-decoration: underline;
}
.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Showheel custom design
--------------------------------------------------------------*/

/*
 * Fallback values only: the Customizer (Apparence > Personnaliser >
 * Couleurs Showheel) injects the real values -- and derived shades --
 * as an inline <style> in wp_head, which overrides these defaults.
 * See inc/colors.php.
 */
:root {
	--sp-bg: #FFFFFF;
	--sp-bg-alt: #F2F2F2;
	--sp-ink: #333333;
	--sp-ink-muted: #6B6B6B;
	--sp-accent: #0D1B2B;
	--sp-accent-dark: #060D15;
	--sp-accent-ink: #FFFFFF;
	--sp-link: #0D1B2B;
	--sp-link-dark: #060D15;
	--sp-border: #DDDDDD;
	--sp-radius: 10px;
	--sp-font-heading: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--sp-font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
	background-color: var(--sp-bg);
	color: var(--sp-ink);
	font-family: var(--sp-font-body);
	line-height: 1.65;
}

h1, h2, h3, h4, h5, h6,
.site-title a {
	font-family: var(--sp-font-heading);
	color: var(--sp-ink);
	font-weight: 600;
	line-height: 1.2;
}

a {
	color: var(--sp-link);
}

a:hover,
a:focus {
	color: var(--sp-link-dark);
}

.sp-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Announcement bar */
.sp-announcement-bar {
	background: var(--sp-accent);
	color: var(--sp-accent-ink);
}

.sp-announcement-bar p {
	margin: 0;
	text-align: center;
	font-size: 0.8rem;
	letter-spacing: 0.02em;
	padding: 8px 16px;
}

@media (max-width: 1023px) {
	.sp-announcement-bar {
		display: none;
	}
}

/* Tricolor bar */
.sp-tricolor-bar {
	display: flex;
	height: 5px;
}

.sp-tricolor-bar span {
	flex: 1;
}

.sp-tricolor-bar span:nth-child(1) {
	background: #0055A4;
}

.sp-tricolor-bar span:nth-child(2) {
	background: #FFFFFF;
}

.sp-tricolor-bar span:nth-child(3) {
	background: #ff1101;
}

/* Header */
.site-header {
	background: var(--sp-bg);
	border-bottom: 1px solid var(--sp-border);
	position: sticky;
	top: 0;
	z-index: 200;
	transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.sp-header-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 20px 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	transition: padding 0.2s ease;
}

.site-header.is-scrolled .sp-header-inner {
	padding-top: 10px;
	padding-bottom: 10px;
}

.site-branding .custom-logo-link {
	display: inline-block;
}

.site-branding .custom-logo {
	max-height: 56px;
	width: auto;
	height: auto;
	transition: max-height 0.2s ease;
}

.site-header.is-scrolled .custom-logo {
	max-height: 38px;
}

.site-branding .site-title a {
	font-size: 1.6rem;
	text-decoration: none;
	letter-spacing: 0.01em;
	transition: font-size 0.2s ease;
}

.site-header.is-scrolled .site-title a {
	font-size: 1.3rem;
}

.site-header.is-scrolled .site-description {
	display: none;
}

.site-description {
	color: var(--sp-ink-muted);
	font-size: 0.85rem;
	margin: 0;
}

.main-navigation {
	flex-basis: auto;
	width: auto;
	order: 4;
}

@media (min-width: 1024px) {
	.main-navigation {
		order: 2;
	}
}

.main-navigation a {
	color: var(--sp-link);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
}
.main-navigation .pro a,
.main-navigation a:hover {
	color: var(--sp-link-hover);
}

.sp-header-actions {
	order: 2;
	display: flex;
	align-items: center;
	gap: 10px;
}

@media (min-width: 1024px) {
	.sp-header-actions {
		order: 3;
	}
}

/* Hamburger button */
.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--sp-border);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	flex-shrink: 0;
}

.menu-toggle:hover {
	border-color: var(--sp-accent);
}

.menu-toggle span:not(.screen-reader-text) {
	position: absolute;
	left: 11px;
	right: 11px;
	height: 2px;
	border-radius: 2px;
	background: var(--sp-ink);
	transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.menu-toggle span:nth-child(1) {
	top: 15px;
}

.menu-toggle span:nth-child(2) {
	top: 20px;
}

.menu-toggle span:nth-child(3) {
	top: 25px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
	top: 20px;
	transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
	top: 20px;
	transform: rotate(-45deg);
}

@media (min-width: 1024px) {
	.menu-toggle {
		display: none;
	}
}

/* Off-canvas slide-in menu (mobile/tablet) */
#primary-menu {
	position: fixed;
	top: 0;
	right: -320px;
	bottom: 0;
	width: min(320px, 85vw);
	margin: 0;
	padding: 80px 28px 28px;
	background: var(--sp-bg);
	list-style: none;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	overflow-y: auto;
	box-shadow: -12px 0 34px rgba(0, 0, 0, 0.18);
	transition: right 0.3s ease;
	z-index: 400;
}

#site-navigation.toggled #primary-menu {
	right: 0;
}

/* Close button: fixed at the top of the panel, only relevant while open */
.sp-nav-close {
	display: none;
}

@media (max-width: 1023px) {
	.sp-nav-close {
		display: flex;
		padding: 0;
		align-items: center;
		justify-content: center;
		position: fixed;
		top: 32px;
		right: 24px;
		width: 42px;
		height: 42px;
		border: 1px solid var(--sp-border);
		border-radius: 50%;
		background: var(--sp-bg);
		color: var(--sp-ink);
		cursor: pointer;
		z-index: 401;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.2s ease, visibility 0.2s;
	}

	.sp-nav-close svg {
		width: 18px;
		height: 18px;
	}

	#site-navigation.toggled .sp-nav-close {
		opacity: 1;
		visibility: visible;
	}
}

#primary-menu li {
	width: 100%;
	position: static;
}

#primary-menu a {
	display: block;
	padding: 13px 2px;
	border-bottom: 1px solid var(--sp-border);
}

/* Submenus: closed by default, opened via the toggle button below */
#primary-menu ul {
	position: static;
	float: none;
	box-shadow: none;
	border: none;
	list-style: none;
	margin: 0;
	padding: 0 0 8px 16px;
	display: none;
	flex-direction: column;
	gap: 0;
}

#primary-menu li.sp-submenu-open > ul {
	display: flex;
}

#primary-menu ul a {
	padding: 10px 2px;
	font-size: 0.9rem;
	color: var(--sp-ink-muted);
	border-bottom: none;
}
#primary-menu ul a:hover{
	color: var(--sp-link-hover);
}
/* Accordion indicator: clicking the parent item itself opens/closes
   the submenu on mobile (see navigation.js); this chevron is a visual
   cue only, inline within the link so the whole row stays clickable. */
.sp-submenu-indicator {
	display: none;
}

@media (max-width: 1023px) {
	#primary-menu li.menu-item-has-children > a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
	}

	.sp-submenu-indicator {
		display: inline-flex;
		flex-shrink: 0;
		color: var(--sp-ink-muted);
	}

	.sp-submenu-indicator svg {
		width: 18px;
		height: 18px;
		transition: transform 0.2s ease;
	}

	#primary-menu li.sp-submenu-open > a .sp-submenu-indicator svg {
		transform: rotate(180deg);
	}
}

.sp-nav-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(20, 20, 20, 0.5);
	z-index: 350;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s;
}

#site-navigation.toggled .sp-nav-backdrop {
	opacity: 1;
	visibility: visible;
}

body.sp-nav-open {
	overflow: hidden;
}

@media (min-width: 1024px) {
	#primary-menu {
		position: static;
		width: auto;
		height: auto;
		flex-direction: row;
		align-items: center;
		gap: 4px 28px;
		padding: 0;
		margin: 0;
		background: transparent;
		box-shadow: none;
		overflow: visible;
	}

	#primary-menu li {
		width: auto;
		position: relative;
	}

	#primary-menu > li > a {
		padding: 0;
		border-bottom: none;
	}

	#primary-menu ul {
		position: absolute;
		top: 100%;
		left: -999em;
		display: flex;
		padding: 12px 16px;
		background: var(--sp-bg);
		border: 1px solid var(--sp-border);
		border-radius: var(--sp-radius);
		box-shadow: 0 8px 20px rgba(59, 46, 39, 0.08);
		z-index: 99999;
	}

	#primary-menu li:hover > ul,
	#primary-menu li.focus > ul {
		left: auto;
	}

	#primary-menu ul a {
		padding: 6px 2px;
		font-size: 0.9rem;
	}

	.sp-nav-backdrop {
		display: none;
	}
}

.sp-icon-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid var(--sp-border);
	color: var(--sp-ink);
	text-decoration: none;
	flex-shrink: 0;
}

.sp-icon-link svg {
	width: 20px;
	height: 20px;
}

.sp-icon-link:hover {
	border-color: var(--sp-accent);
	color: var(--sp-accent);
}

.sp-icon-label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.sp-cart-count {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--sp-accent);
	color: var(--sp-accent-ink);
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

/* Buttons */
.sp-btn,
.button{
	display: inline-block;
	padding: 14px 30px;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	font-size: 0.95rem;
	transition: transform 0.15s ease, background-color 0.15s ease;
}

.sp-btn-primary,
.button{
	background: var(--sp-accent);
	color: var(--sp-accent-ink);
	border: 1px solid var(--sp-accent-ink);
}

.sp-btn-primary:hover,
.button:hover {
	background: var(--sp-accent-dark);
	color: var(--sp-accent-ink);
	transform: translateY(-1px);
}
.button,
.button:visited {color:var(--sp-accent-ink)}

.sp-btn-ghost {
	background: transparent;
	color: var(--sp-ink);
	border: 1px solid var(--sp-ink);
}

.sp-btn-ghost:hover {
	border-color: var(--sp-accent);
	color: var(--sp-accent);
}

.sp-btn-lg {
	padding: 18px 42px;
	font-size: 1.1rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.sp-btn-lg:hover {
	transform: translateY(-2px);
}

input[type="submit"].wpcf7-submit {
	display: inline-block;
	padding: 14px 30px;
	border: none;
	border-radius: 999px;
	background: var(--sp-accent);
	color: var(--sp-accent-ink);
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1;
	transition: transform 0.15s ease, background-color 0.15s ease;
	border:1PX solid #fff
}

input[type="submit"].wpcf7-submit:hover {
	background: var(--sp-accent-dark);
	color: var(--sp-accent-ink);
	transform: translateY(-1px);
}

input[type="submit"].wpcf7-submit:active,
input[type="submit"].wpcf7-submit:focus {
	background: var(--sp-accent-dark);
	color: var(--sp-accent-ink);
}

/* Hero */
.sp-hero {
	padding: 80px 0 70px;
	background: linear-gradient(180deg, var(--sp-bg-alt) 0%, var(--sp-bg) 100%);
	text-align: center;
}

.sp-hero-inner {
	max-width: 760px;
}

.sp-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--sp-accent-dark);
	margin-bottom: 14px;
}

.sp-hero h1 {
	font-size: clamp(2rem, 4vw, 3rem);
	margin: 0 0 20px;
}

.sp-hero-lead {
	font-size: 1.1rem;
	color: var(--sp-ink-muted);
	margin-bottom: 32px;
}

.sp-hero-actions {
	display: flex;
	gap: 16px;
	justify-content: flex-start;
	flex-wrap: wrap;
}

/* Sections */
.sp-section {
	padding: 70px 0;
}

.sp-section-title {
	text-align: center;
	font-size: 1.8rem;
	margin-bottom: 40px;
}

/* Category grid */
.sp-category-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

@media (min-width: 700px) {
	.sp-category-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1000px) {
	.sp-category-grid {
		grid-template-columns: repeat(6, 1fr);
	}
}

.sp-category-card {
	display: block;
	text-decoration: none;
	border-radius: var(--sp-radius);
	overflow: hidden;
	background: var(--sp-bg);
	border: 1px solid var(--sp-border);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sp-category-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(59, 46, 39, 0.1);
}

.sp-category-image {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	background-size: cover;
	background-position: center;
	background-color: var(--sp-bg-alt);
}

.sp-category-name {
	display: block;
	text-align: center;
	padding: 12px 8px;
	font-weight: 600;
	color: var(--sp-ink);
	font-size: 0.9rem;
}

/* Process */
.sp-process {
	background: var(--sp-bg);
}

.sp-process-grid {
	display: grid;
	gap: 32px;
	grid-template-columns: 1fr;
	text-align: center;
}

@media (min-width: 800px) {
	.sp-process-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.sp-process-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--sp-accent);
	color: var(--sp-accent-ink);
	font-weight: 700;
	margin-bottom: 16px;
}

.sp-process-step h3 {
	margin: 0 0 10px;
	font-size: 1.15rem;
}

.sp-process-step p {
	color: var(--sp-ink-muted);
	margin: 0;
}

/* Custom teaser */
.sp-custom-teaser,
.sp-home-section.sp-section-dark {
	background: var(--sp-accent);
	color: var(--sp-accent-ink);
}

.sp-custom-teaser-inner {
	max-width: 640px;
	text-align: center;
}

.sp-custom-teaser h2,
.sp-home-section.sp-section-dark h2 {
	color: var(--sp-accent-ink);
	margin: 0 0 20px;
}

.sp-eyebrow-light {
	color: color-mix(in srgb, var(--sp-accent-ink) 70%, transparent);
}

.sp-check-list {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
	display: inline-block;
	text-align: left;
}

.sp-check-list li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 10px;
	color: color-mix(in srgb, var(--sp-accent-ink) 88%, transparent);
}

.sp-check-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--sp-accent-ink);
	font-weight: 700;
}

/* Audiences */
.sp-audiences-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;
}

@media (min-width: 800px) {
	.sp-audiences-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.sp-audience-card {
	background: var(--sp-bg);
	border: 1px solid var(--sp-border);
	border-radius: var(--sp-radius);
	padding: 36px;
}

.sp-audience-card h3 {
	margin-top: 0;
}

.sp-link {
	font-weight: 600;
	text-decoration: none;
}

/* Final CTA */
.sp-final-cta {
	background: var(--sp-bg-alt);
	text-align: center;
}

.sp-final-cta h2 {
	margin-bottom: 24px;
}

/* Footer */
.site-footer {
	background: var(--sp-accent);
	color: color-mix(in srgb, var(--sp-accent-ink) 85%, transparent);
	padding-top: 56px;
}

.sp-footer-grid {
	display: grid;
	gap: 32px;
	grid-template-columns: 1fr;
	padding-bottom: 32px;
}

@media (min-width: 800px) {
	.sp-footer-grid {
		grid-template-columns: 2fr 1fr 1fr;
	}
}

.sp-footer-brand .widget,
.sp-footer-links .widget,
.sp-footer-contact .widget {
	margin: 0 0 20px;
}

.sp-footer-brand .widget:last-child,
.sp-footer-links .widget:last-child,
.sp-footer-contact .widget:last-child {
	margin-bottom: 0;
}

.sp-footer-brand p,
.sp-footer-contact p {
	margin: 0 0 1em;
	font-size: 0.9rem;
	color: color-mix(in srgb, var(--sp-accent-ink) 85%, transparent);
}

.sp-footer-title {
	font-family: var(--sp-font-heading);
	font-size: 1.3rem;
	color: var(--sp-accent-ink);
	margin-bottom: 10px;
}

.sp-footer-heading {
	color: var(--sp-accent-ink);
	font-weight: 600;
	margin: 0 0 12px;
}

.sp-footer-links ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sp-footer-links li {
	margin-bottom: 8px;
}

.sp-footer-links a,
.sp-footer-contact a {
	color: color-mix(in srgb, var(--sp-accent-ink) 85%, transparent);
	text-decoration: none;
	font-size: 0.9rem;
}

.sp-footer-links a:hover,
.sp-footer-contact a:hover {
	color: var(--sp-accent-ink);
	text-decoration: underline;
}

.site-footer .site-info {
	border-top: 1px solid color-mix(in srgb, var(--sp-accent-ink) 15%, transparent);
	padding: 20px 24px;
	text-align: center;
	font-size: 0.8rem;
	color: color-mix(in srgb, var(--sp-accent-ink) 65%, transparent);
}

/* ----------------------------------------------------------------
 * Editable homepage sections (home_section CPT)
 * ---------------------------------------------------------------- */

.sp-home-section-centre {
	
	text-align: center;
	margin: 0 auto;
}

.sp-home-section-first {
	padding: 80px 0 70px;
	background: linear-gradient(180deg, var(--sp-bg-alt) 0%, var(--sp-bg) 100%);
}

.sp-home-section-first h1 {
	font-size: clamp(2rem, 4vw, 3rem);
	margin: 0 0 20px;
}

.sp-home-section-first .sp-home-section-content {
	font-size: 1.1rem;
	margin-bottom: 8px;
}

.sp-home-section-split {
	display: grid;
	gap: 40px;
	align-items: center;
	grid-template-columns: 1fr;
}

@media (min-width: 800px) {
	.sp-home-section-split {
		grid-template-columns: 1fr 1fr;
	}

	.sp-home-section-split-reverse .sp-home-section-media {
		order: 2;
	}
}

.sp-home-section-media img {
	width: 100%;
	height: auto;
	border-radius: var(--sp-radius);
	display: block;
}

.sp-home-section-content {
	color: var(--sp-ink-muted);
	line-height: 1.7;
}

.sp-section-dark .sp-home-section-content {
	color: color-mix(in srgb, var(--sp-accent-ink) 85%, transparent);
}

.sp-home-section-content p {
	margin: 0 0 1em;
	text-align: center;
}

.sp-home-section-content ul {
	text-align: left;
	
	margin: 0 auto 1em;
	padding-left: 1.2em;
}

.sp-home-section-split .sp-home-section-content ul {
	margin-left: 0;
}

.sp-home-section-content ol {
	counter-reset: sp-step;
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 28px;
	text-align: left;
}

@media (min-width: 800px) {
	.sp-home-section-content ol {
		grid-template-columns: repeat(3, 1fr);
	}
}

.sp-home-section-content ol li {
	counter-increment: sp-step;
	padding-left: 0;
	display: flex;
	flex-direction: column;
	align-items: center;

}

.sp-home-section-content ol li::before {
	content: counter(sp-step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--sp-accent);
	color: var(--sp-accent-ink);
	font-weight: 700;
	margin: 12px auto;
}

.sp-home-section-actions {
	margin-top: 28px;
}

.sp-home-section-centre .sp-home-section-actions,
.sp-home-section-centre .sp-eyebrow {
	justify-content: center;
}

.sp-eyebrow-centered {
	text-align: center;
}

.sp-section-intro {
	max-width: 640px;
	margin: 0 auto 30px;
	text-align: center;
	color: var(--sp-ink-muted);
}

/* Hero slideshow (diaporama layout) */
.sp-hero-slideshow {
	padding: 0;
}

.sp-slideshow {
	position: relative;
	min-height: 560px;
}

@media (min-width: 800px) {
	.sp-slideshow {
		min-height: 640px;
	}
}

.sp-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1.2s ease;
	z-index: 1;
}

.sp-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

.sp-slide-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-color: var(--sp-bg-alt);
}

.sp-slide-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 13, 21, 0.35) 0%, rgba(6, 13, 21, 0.6) 100%);
}

.sp-slide-content {
	position: relative;
	z-index: 1;
	max-width: 680px;
	margin: 0 auto;
	padding: 60px 24px;
	text-align: center;
	color: #ffffff;
}

.sp-slide-content h1,
.sp-slide-content .sp-slide-title {
	color: #ffffff;
	font-size: clamp(2.1rem, 4.5vw, 3.3rem);
	margin: 0 0 18px;
}

.sp-slide-subtitle {
	font-size: 1.15rem;
	color: rgba(255, 255, 255, 0.92);
	margin: 0 0 32px;
}

.sp-slide-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	color: #ffffff;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.15s ease;
}

.sp-slide-arrow:hover {
	background: rgba(255, 255, 255, 0.35);
}

.sp-slide-arrow-prev {
	left: 16px;
}

.sp-slide-arrow-next {
	right: 16px;
}

@media (min-width: 800px) {
	.sp-slide-arrow {
		width: 52px;
		height: 52px;
	}

	.sp-slide-arrow-prev {
		left: 32px;
	}

	.sp-slide-arrow-next {
		right: 32px;
	}
}

/* ----------------------------------------------------------------
 * Default page/post/archive container (the homepage manages its
 * own spacing via .sp-container inside each section, so it's excluded).
 * ---------------------------------------------------------------- */
.site-main:not(.sp-front) {
	max-width: 1180px;
	margin: 0 auto;
	padding: 60px 24px;
}

.site-main:not(.sp-front) .entry-title {
	margin-top: 0;
}

.site-main:not(.sp-front) .entry-content > *:last-child {
	margin-bottom: 0;
}

/* Back to top button */
.sp-back-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--sp-accent);
	color: var(--sp-accent-ink);
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s, background-color 0.15s ease;
	z-index: 150;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.sp-back-to-top:hover {
	background: var(--sp-accent-dark);
}

.sp-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.sp-back-to-top svg {
	width: 20px;
	height: 20px;
}

/* Guard against :visited overriding button/icon text colors */
a.sp-btn-primary:visited {
	color: var(--sp-accent-ink);
}

a.sp-btn-ghost:visited {
	color: var(--sp-ink);
}

a.sp-icon-link:visited {
	color: var(--sp-ink);
}

a.sp-footer-title:visited,
.sp-footer-links a:visited,
.sp-footer-contact a:visited {
	color: color-mix(in srgb, var(--sp-accent-ink) 85%, transparent);
}


/* Keep the sticky header below the WP admin bar when logged in */
body.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}


/* Colonnes flex pour shortcodes */
.sp-flex-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 0;
}

.sp-flex-row > br {
    display: none;
}

.sp-flex-row > .sp-col-50,
.sp-flex-row > .sp-col-33,
.sp-flex-row > .sp-col-66 {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    padding: 0 12px;
}

@media (min-width: 700px) {
    .sp-flex-row > .sp-col-50 {
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }

    .sp-flex-row > .sp-col-33 {
        flex: 0 0 calc(33.3333% - 16px);
        max-width: calc(33.3333% - 16px);
    }

    .sp-flex-row > .sp-col-66 {
        flex: 0 0 calc(66.6667% - 16px);
        max-width: calc(66.6667% - 16px);
    }
}

.divborder-vert{
	border:1px solid #7CDA24;
	border-radius: 10px;
	padding: 20px 10px 10px;
	text-align: center;
	margin-bottom: 20px;
}

.divborder-bleu{
	border:1px solid #5598d6;
	border-radius: 10px;
	padding: 20px 10px 10px;
	text-align: center;
}

/* Fiche produit : galerie + description en 2 colonnes */
.sp-product-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	margin: 24px 0;
}

.sp-product-col {
	flex: 1 1 100%;
	min-width: 0;
}

@media (min-width: 800px) {
	.sp-product-col {
		flex: 1 1 calc(50% - 20px);
		max-width: calc(50% - 20px);
	}
}

.sp-product-wcct {
	margin-bottom: 24px;
}

/* Galerie produit : miniatures à gauche, image carrée sur l'espace restant */
.woocommerce-product-gallery {
	position: relative;
	display: flex;
	flex-direction: row;
	gap: 12px;
}

/* Loupe (zoom) positionnée en haut à droite de l'image */
.woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 12px;
	right: 12px;
	left: auto;
	z-index: 20;
	margin: 0;
}

.woocommerce-product-gallery .flex-control-nav {
	order: -1;
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 76px;
	flex: 0 0 auto;
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce-product-gallery .flex-control-nav li {
	width: 100%;
}

.woocommerce-product-gallery .flex-control-nav img {
	width: 100%;
	border-radius: 4px;
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.15s ease;
}

.woocommerce-product-gallery .flex-control-nav img.flex-active {
	opacity: 1;
	outline: 2px solid var(--sp-ink);
}

/* Image principale : occupe tout l'espace restant après les vignettes.
   Largeur EXPLICITE (et non flex-grow) : FlexSlider est un slider JS qui
   lit la largeur du viewport au chargement pour fixer en dur la largeur
   de chaque image. Une largeur explicite est lue de façon identique par
   Chrome et Firefox ; avec flex-grow, Firefox lit souvent la largeur
   avant résolution du flex et dimensionne mal les slides.
   88px = 76px (colonne vignettes) + 12px (gap).

   Le carré est garanti côté serveur : WooCommerce sert une image 480x480
   (voir le filtre woocommerce_get_image_size_single dans inc/woocommerce.php).
   On affiche donc l'image telle quelle, sans rognage CSS. */
.woocommerce-product-gallery .flex-viewport {
	flex: 0 0 auto;
	width: calc(100% - 88px);
	min-width: 0;
}

.woocommerce-product-gallery__wrapper {
	flex: 1 1 auto;
	min-width: 0;
}

.woocommerce-product-gallery__image img,
.woocommerce-product-gallery__wrapper img.wp-post-image {
	width: 100%;
	height: auto;
	display: block;
}

/* Onglets de langue (FR/EN/DE) */
.sp-lang-tabs__nav {
	display: flex;
	gap: 4px;
	border-bottom: 1px solid var(--sp-border);
	margin-bottom: 16px;
}

.sp-lang-tabs__btn {
	appearance: none;
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	padding: 10px 16px;
	font-weight: 600;
	color: var(--sp-ink);
	opacity: 0.55;
	cursor: pointer;
}

.sp-lang-tabs__btn.is-active {
	opacity: 1;
	border-bottom-color: var(--sp-ink);
}

.sp-lang-tabs__panel {
	display: none;
}

.sp-lang-tabs__panel.is-active {
	display: block;
}

/* --------------------------------------------------------------
# Panier (WooCommerce cart)
-------------------------------------------------------------- */

/* Mise en page 2 colonnes : articles à gauche, totaux à droite. */
@media (min-width: 900px) {
	.woocommerce-cart .entry-content > .woocommerce {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 340px;
		align-items: start;
		gap: 40px;
	}

	.woocommerce-cart .woocommerce-notices-wrapper {
		grid-column: 1 / -1;
	}

	.woocommerce-cart .cart-collaterals {
		position: sticky;
		top: 24px;
		width: auto;
	}
}

/* Tableau des articles.
   table-layout:fixed + largeurs sur les th : sans ça, la ligne "actions"
   (colspan) fait fuiter la largeur de ses boutons dans les colonnes. */
.woocommerce-cart table.cart {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	margin: 0 0 24px;
}

.woocommerce-cart table.cart thead th {
	padding: 0 12px 12px;
	border-bottom: 1px solid var(--sp-border);
	color: var(--sp-ink-muted);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-align: left;
	text-transform: uppercase;
	white-space: nowrap;
}

.woocommerce-cart table.cart th.product-remove {
	width: 44px;
}

.woocommerce-cart table.cart th.product-thumbnail {
	width: 96px;
}

.woocommerce-cart table.cart th.product-price,
.woocommerce-cart table.cart th.product-quantity {
	width: 92px;
}

.woocommerce-cart table.cart th.product-subtotal {
	width: 112px;
}

.woocommerce-cart table.cart td {
	padding: 20px 12px;
	border-bottom: 1px solid var(--sp-border);
	vertical-align: middle;
}

/* Bouton supprimer : pastille ronde discrète */
.woocommerce-cart table.cart td.product-remove {
	padding-right: 0;
	padding-left: 0;
}

.woocommerce-cart table.cart td.product-remove a.remove {
	display: flex;
	width: 26px;
	height: 26px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--sp-bg-alt);
	color: var(--sp-ink-muted) !important;
	font-size: 18px;
	line-height: 1;
	text-decoration: none;
}

.woocommerce-cart table.cart td.product-remove a.remove:hover {
	background: #d64545;
	color: #fff !important;
}

/* Vignette compacte */
.woocommerce-cart table.cart td.product-thumbnail img {
	display: block;
	width: 80px;
	height: 80px;
	border-radius: var(--sp-radius);
	object-fit: cover;
}

/* Nom du produit */
.woocommerce-cart table.cart td.product-name > a {
	color: var(--sp-ink);
	font-weight: 600;
	text-decoration: none;
}

.woocommerce-cart table.cart td.product-name > a:hover {
	text-decoration: underline;
}

/* Métadonnées (motif, SKU…) sur une ligne compacte */
.woocommerce-cart table.cart td.product-name dl.variation {
	overflow: hidden;
	margin: 6px 0 0;
	color: var(--sp-ink-muted);
	font-size: 0.82rem;
	line-height: 1.5;
}

.woocommerce-cart table.cart td.product-name dl.variation dt {
	clear: left;
	float: left;
	margin: 0 5px 0 0;
	font-weight: 600;
}

.woocommerce-cart table.cart td.product-name dl.variation dd,
.woocommerce-cart table.cart td.product-name dl.variation dd p {
	margin: 0;
}

/* Quantité compacte */
.woocommerce-cart table.cart td.product-quantity .quantity {
	display: inline-flex;
}

.woocommerce-cart table.cart td.product-quantity input.qty {
	width: 68px;
	padding: 9px 6px;
	border: 1px solid var(--sp-border);
	border-radius: 8px;
	text-align: center;
}

/* Prix */
.woocommerce-cart table.cart td.product-price,
.woocommerce-cart table.cart td.product-subtotal {
	white-space: nowrap;
}

.woocommerce-cart table.cart td.product-subtotal {
	font-weight: 700;
}

/* Ligne d'actions : code promo à gauche, mise à jour à droite.
   Reste une vraie cellule de tableau (pas de display:flex, cf. plus haut). */
.woocommerce-cart table.cart td.actions {
	padding: 20px 0;
	border-bottom: 0;
	text-align: left;
}

.woocommerce-cart table.cart td.actions .coupon {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	vertical-align: middle;
}

.woocommerce-cart table.cart td.actions .coupon input.input-text {
	width: 190px;
	margin: 0;
	padding: 12px 16px;
	border: 1px solid var(--sp-border);
	border-radius: 999px;
}

.woocommerce-cart table.cart td.actions .button,
.woocommerce-cart table.cart td.actions button {
	display: inline-block;
	width: auto;
	margin: 0;
	padding: 12px 22px;
	font-size: 0.88rem;
}

.woocommerce-cart table.cart td.actions > button[name="update_cart"] {
	float: right;
}

/* Encart des totaux */
.woocommerce-cart .cart_totals {
	width: auto;
	padding: 24px;
	border: 1px solid var(--sp-border);
	border-radius: var(--sp-radius);
	background: var(--sp-bg-alt);
	float: none;
}

.woocommerce-cart .cart_totals h2 {
	margin: 0 0 16px;
	font-size: 1.15rem;
}

/* Le tableau des totaux sort du modèle "table" : chaque ligne devient une
   ligne flex (libellé à gauche / montant à droite). Nécessaire car un th/td
   en display:block reste contraint par la largeur de sa colonne, ce qui
   écrasait les méthodes de livraison sur 3 lignes. */
.woocommerce-cart .cart_totals table,
.woocommerce-cart .cart_totals table tbody {
	display: block;
	width: 100%;
	margin: 0;
}

.woocommerce-cart .cart_totals table tr {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--sp-border);
}

.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
	display: block;
	width: auto;
	padding: 0;
	border: 0;
	font-size: 0.95rem;
}

.woocommerce-cart .cart_totals table th {
	text-align: left;
}

.woocommerce-cart .cart_totals table td {
	text-align: right;
}

/* Ligne "Expédition" : empilée pour laisser toute la largeur aux méthodes. */
.woocommerce-cart .cart_totals table tr.woocommerce-shipping-totals {
	display: block;
}

.woocommerce-cart .cart_totals table tr.woocommerce-shipping-totals th {
	margin-bottom: 10px;
}

.woocommerce-cart .cart_totals table tr.woocommerce-shipping-totals td {
	text-align: left;
}

.woocommerce-cart .cart_totals table tr.order-total {
	border-bottom: 0;
}

.woocommerce-cart .cart_totals table tr.order-total th,
.woocommerce-cart .cart_totals table tr.order-total td {
	font-size: 1.1rem;
	font-weight: 700;
}

/* Méthodes de livraison : pas de puces, radio et libellé alignés. */
.woocommerce-cart .cart_totals ul#shipping_method {
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-cart .cart_totals ul#shipping_method li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 8px;
	padding: 0;
	list-style: none;
}

.woocommerce-cart .cart_totals ul#shipping_method li:last-child {
	margin-bottom: 0;
}

.woocommerce-cart .cart_totals ul#shipping_method li input.shipping_method {
	flex: 0 0 auto;
	margin: 3px 0 0;
}

/* Le libellé reste en flux normal : en flex, chaque bout de texte
   deviendrait un élément séparé et se casserait sur plusieurs lignes. */
.woocommerce-cart .cart_totals ul#shipping_method li label {
	display: block;
	flex: 1 1 auto;
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.45;
}

.woocommerce-cart .cart_totals ul#shipping_method li label img {
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-right: 4px;
	vertical-align: -4px;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-destination {
	margin: 10px 0 0;
	color: var(--sp-ink-muted);
	font-size: 0.82rem;
	line-height: 1.45;
}

/* Boutons de paiement */
.woocommerce-cart .wc-proceed-to-checkout {
	padding: 16px 0 0;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	display: block;
	width: 100%;
	margin: 0 0 12px;
	text-align: center;
}

/* Encart de vente croisée ("Option disponible") */
.woocommerce-cart form.woocommerce-cart-form > div img {
	max-width: 140px;
	height: auto;
	border-radius: var(--sp-radius);
}

/* Mobile : le tableau passe en cartes empilées */
@media (max-width: 767px) {
	.woocommerce-cart table.cart {
		table-layout: auto;
	}

	.woocommerce-cart table.cart thead {
		display: none;
	}

	.woocommerce-cart table.cart tr.cart_item {
		position: relative;
		display: block;
		padding: 16px 0;
		border-bottom: 1px solid var(--sp-border);
	}

	/* Chaque cellule devient une ligne "libellé à gauche / valeur à droite". */
	.woocommerce-cart table.cart tr.cart_item td {
		display: block;
		width: auto !important;
		padding: 4px 0;
		border: 0;
		text-align: right;
	}

	.woocommerce-cart table.cart tr.cart_item td::before {
		float: left;
		color: var(--sp-ink-muted);
		content: attr(data-title);
		font-size: 0.85rem;
		font-weight: 600;
	}

	/* Vignette, nom et bouton supprimer n'ont pas de libellé. */
	.woocommerce-cart table.cart tr.cart_item td.product-remove::before,
	.woocommerce-cart table.cart tr.cart_item td.product-thumbnail::before,
	.woocommerce-cart table.cart tr.cart_item td.product-name::before {
		content: none !important;
	}

	.woocommerce-cart table.cart tr.cart_item td.product-thumbnail {
		text-align: left;
	}

	.woocommerce-cart table.cart tr.cart_item td.product-name {
		padding-right: 36px;
		text-align: left;
	}

	.woocommerce-cart table.cart tr.cart_item td.product-remove {
		position: absolute;
		top: 16px;
		right: 0;
		width: auto !important;
		padding: 0;
	}

	.woocommerce-cart table.cart tr.cart_item td.product-quantity .quantity {
		display: inline-flex;
	}

	.woocommerce-cart table.cart td.actions .coupon,
	.woocommerce-cart table.cart td.actions .coupon input.input-text,
	.woocommerce-cart table.cart td.actions .button,
	.woocommerce-cart table.cart td.actions button {
		width: 100%;
	}

	.woocommerce-cart table.cart td.actions > button[name="update_cart"] {
		float: none;
		margin-top: 10px;
	}
}

/* --------------------------------------------------------------
# Commande (WooCommerce checkout)
-------------------------------------------------------------- */

/* Mise en page 2 colonnes : formulaire à gauche, récapitulatif à droite. */
@media (min-width: 900px) {
	.woocommerce-checkout form.checkout.woocommerce-checkout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 380px;
		align-items: start;
		gap: 0 40px;
	}

	.woocommerce-checkout form.checkout > #customer_details {
		grid-column: 1;
		grid-row: 1 / span 2;
	}

	.woocommerce-checkout form.checkout > h3#order_review_heading {
		grid-column: 2;
		grid-row: 1;
		margin-top: 0;
	}

	.woocommerce-checkout form.checkout > #order_review {
		grid-column: 2;
		grid-row: 2;
	}
}

/* Facturation et livraison empilées dans la colonne de gauche. */
.woocommerce-checkout .col2-set,
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
	width: 100%;
	float: none;
}

.woocommerce-checkout .col2-set .col-2 {
	margin-top: 24px;
}

/* Champs : le max-width global de 480px (woocommerce.css) est levé ici,
   sinon les champs ne remplissent pas la colonne du checkout. */
.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row textarea,
.woocommerce-checkout form .form-row select,
.woocommerce-checkout form span.password-input {
	max-width: none;
}

.woocommerce-checkout form .form-row {
	margin: 0 0 16px;
	padding: 0;
}

.woocommerce-checkout form .form-row label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.9rem;
	font-weight: 600;
}

.woocommerce-checkout form .form-row textarea {
	min-height: 100px;
}

/* Select2 (pays / région) aligné sur le style des autres champs. */
.woocommerce-checkout .select2-container .select2-selection--single {
	height: 44px;
	border: 1px solid var(--sp-border);
	border-radius: 8px;
}

.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
	padding-left: 14px;
	line-height: 42px;
}

.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow {
	height: 42px;
}

/* Récapitulatif de commande */
.woocommerce-checkout #order_review_heading {
	margin-bottom: 12px;
	font-size: 1.15rem;
}

.woocommerce-checkout #order_review {
	padding: 20px;
	border: 1px solid var(--sp-border);
	border-radius: var(--sp-radius);
	background: var(--sp-bg-alt);
}

/* Même principe que le panier : on sort la table du modèle "table"
   pour que chaque ligne soit une ligne flex (libellé / montant). */
.woocommerce-checkout table.woocommerce-checkout-review-order-table,
.woocommerce-checkout table.woocommerce-checkout-review-order-table thead,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tbody,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot {
	display: block;
	width: 100%;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table {
	margin: 0 0 16px;
	border-collapse: collapse;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tr {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid var(--sp-border);
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td {
	display: block;
	width: auto;
	padding: 0;
	border: 0;
	font-size: 0.9rem;
	text-align: left;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table thead th {
	color: var(--sp-ink-muted);
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table th.product-total,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-total {
	text-align: right;
	white-space: nowrap;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals {
	display: block;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th {
	margin-bottom: 10px;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total {
	border-bottom: 0;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td {
	font-size: 1.1rem;
	font-weight: 700;
}

/* Méthodes de livraison (mêmes règles que le panier) */
.woocommerce-checkout ul#shipping_method {
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-checkout ul#shipping_method li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 8px;
	padding: 0;
	list-style: none;
}

.woocommerce-checkout ul#shipping_method li:last-child {
	margin-bottom: 0;
}

.woocommerce-checkout ul#shipping_method li input {
	flex: 0 0 auto;
	margin: 3px 0 0;
}

.woocommerce-checkout ul#shipping_method li label {
	display: block;
	flex: 1 1 auto;
	margin: 0;
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1.45;
}

/* Moyens de paiement */
.woocommerce-checkout #payment {
	padding: 16px;
	border: 1px solid var(--sp-border);
	border-radius: var(--sp-radius);
	background: var(--sp-bg);
}

.woocommerce-checkout #payment ul.payment_methods {
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

.woocommerce-checkout #payment ul.payment_methods li {
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
}

.woocommerce-checkout #payment ul.payment_methods li label {
	display: inline;
	font-size: 0.92rem;
	font-weight: 600;
}

.woocommerce-checkout #payment div.payment_box {
	margin: 8px 0 0;
	padding: 12px;
	border-radius: 8px;
	background: var(--sp-bg-alt);
	font-size: 0.85rem;
}

.woocommerce-checkout #payment div.payment_box::before {
	display: none;
}

.woocommerce-checkout #payment div.form-row.place-order {
	margin: 16px 0 0;
	padding: 0;
}

.woocommerce-checkout #place_order {
	width: 100%;
	padding: 16px 20px;
}

/* Les boutons PayPal ne doivent pas déborder de la colonne. */
.woocommerce-checkout #order_review .ppc-button-wrapper,
.woocommerce-checkout #order_review .ppcp-messages {
	max-width: 100%;
	overflow: hidden;
}

/* Les formulaires "code promo" et "connexion" du checkout ne referment pas
   leurs flottants (.form-row-first / .form-row-last). Ces flottants
   débordaient et, form.checkout étant désormais en grid (donc contexte de
   formatage indépendant), celui-ci se plaçait À CÔTÉ du flottant et se
   réduisait à ~45px : d'où le chevauchement à l'ouverture du code promo. */
.woocommerce-checkout form.checkout_coupon::after,
.woocommerce-checkout form.woocommerce-form-login::after {
	display: table;
	clear: both;
	content: "";
}

.woocommerce-checkout form.checkout.woocommerce-checkout {
	clear: both;
}

/* Champ code promo compact : input et bouton côte à côte.
   On ne peut pas passer le formulaire en flex : jQuery lui applique
   display:block en inline lors du slideDown, ce qui écraserait la règle
   (et un !important le rendrait visible en permanence). D'où inline-block
   sur les enfants. */
.woocommerce-checkout form.checkout_coupon {
	margin-bottom: 28px;
}

.woocommerce-checkout form.checkout_coupon > p {
	display: inline-block;
	width: auto !important;
	margin: 0 10px 0 0;
	float: none !important;
	vertical-align: middle;
}

.woocommerce-checkout form.checkout_coupon p.form-row-first {
	width: 240px !important;
}

.woocommerce-checkout form.checkout_coupon p.form-row-first input.input-text {
	width: 100%;
}

.woocommerce-checkout form.checkout_coupon button {
	white-space: nowrap;
}
