/*
Theme Name:   Axal Webshop
Theme URI:    https://axalwebshop.be/
Description:  Thème enfant Hello Elementor pour la boutique en ligne Axalshop (WooCommerce synchronisé avec la caisse NetBee). Reprend la charte graphique d'axalshop.be.
Author:       Axalshop
Author URI:   https://axalshop.be/
Template:     hello-elementor
Version:      1.0.0
Requires PHP: 7.4
Text Domain:  axal-webshop
*/

/* ==========================================================================
   Charte Axalshop (reprise des couleurs globales Elementor d'axalshop.be)
   ========================================================================== */
:root {
	--ax-p100: #E8F1FF;
	--ax-p200: #C5DAFF;
	--ax-p300: #8BBCFF;
	--ax-p500: #2078fd;
	--ax-p600: #1660d4;
	--ax-p700: #0e48ab;
	--ax-p900: #031a59;
	--ax-dark: #060606;
	--ax-d700: #1A1A1A;
	--ax-d300: #929292;
	--ax-text: #4A5568;
	--ax-border: #DDE3ED;
	--ax-light: #F5F7FA;
	--ax-white: #FFFFFF;
	--ax-success: #198754;
	--ax-warning: #FFC107;
	--ax-danger: #DC3545;

	--ax-font-title: "Montserrat", system-ui, sans-serif;
	--ax-font-body: "Inter", system-ui, sans-serif;

	--ax-radius-sm: 6px;
	--ax-radius: 8px;
	--ax-radius-lg: 16px;
	--ax-shadow: 0 1px 2px rgba(6, 6, 6, .04), 0 4px 16px rgba(6, 6, 6, .06);
	--ax-shadow-hover: 0 8px 28px rgba(32, 120, 253, .16);
	--ax-container: 1240px;
}

/* ==========================================================================
   Base
   ========================================================================== */
body {
	margin: 0;
	font-family: var(--ax-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ax-text);
	background: var(--ax-white);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ax-font-title);
	color: var(--ax-dark);
	font-weight: 700;
	line-height: 1.2;
	margin-top: 0;
}
h1 { font-size: clamp(32px, 4.5vw, 52px); letter-spacing: -.5px; }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 600; }

a { color: var(--ax-p500); text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: var(--ax-p700); }

img { max-width: 100%; height: auto; }

.ax-container {
	width: 100%;
	max-width: var(--ax-container);
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.ax-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--ax-p500);
	margin-bottom: 12px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

/* Boutons --------------------------------------------------------------- */
.ax-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button:not(.is-link) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--ax-font-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	padding: 14px 24px;
	border: 2px solid var(--ax-p500);
	border-radius: var(--ax-radius-sm);
	background: var(--ax-p500);
	color: var(--ax-white);
	cursor: pointer;
	box-sizing: border-box;
	text-decoration: none;
	transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.ax-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.ax-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.wc-block-components-button:not(.is-link):hover {
	background: var(--ax-p600);
	border-color: var(--ax-p600);
	color: var(--ax-white);
}
.ax-btn--outline {
	background: transparent;
	color: var(--ax-p500);
}
.ax-btn--outline:hover { background: var(--ax-p500); color: var(--ax-white); }
.ax-btn--white { background: var(--ax-white); border-color: var(--ax-white); color: var(--ax-p500); }
.ax-btn--white:hover { background: var(--ax-p100); border-color: var(--ax-p100); color: var(--ax-p700); }

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: var(--ax-p500);
	border-color: var(--ax-p500);
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover { background: var(--ax-p600); border-color: var(--ax-p600); }
.woocommerce button.button:disabled,
.woocommerce button.button.disabled { opacity: .5; }

/* Formulaires ----------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="password"], input[type="search"], textarea, select,
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
	font-family: var(--ax-font-body);
	font-size: 15px;
	padding: 12px 14px;
	border: 1px solid var(--ax-border);
	border-radius: var(--ax-radius-sm);
	background: var(--ax-white);
	color: var(--ax-dark);
	transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus {
	outline: none;
	border-color: var(--ax-p500);
	box-shadow: 0 0 0 3px var(--ax-p100);
}

/* ==========================================================================
   Bandeau supérieur
   ========================================================================== */
.ax-topbar {
	background: var(--ax-p500);
	color: #e3eeff;
	font-size: 13px;
}
.ax-topbar .ax-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 40px;
}
.ax-topbar__usp { display: flex; gap: 24px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.ax-topbar__usp li { display: flex; align-items: center; gap: 6px; }
.ax-topbar__usp svg { width: 15px; height: 15px; color: var(--ax-white); flex-shrink: 0; }
.ax-topbar a { color: var(--ax-white); }
.ax-topbar a:hover { color: var(--ax-p100); }

/* ==========================================================================
   En-tête
   ========================================================================== */
.ax-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--ax-dark);
	color: #cfd6e2;
}
.admin-bar .ax-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ax-header { top: 0; } }

.ax-header__main {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 78px;
}
.ax-header__logo img,
.ax-header__logo .custom-logo { max-height: 52px; width: auto; display: block; }
.ax-header__logo .ax-logo-text {
	font-family: var(--ax-font-title);
	font-weight: 700;
	font-size: 24px;
	color: var(--ax-white);
}

.ax-search { flex: 1; max-width: 560px; position: relative; }
.ax-search input[type="search"] {
	width: 100%;
	padding: 13px 52px 13px 18px;
	background: #1A1A1A;
	border-color: #2A2A2A;
	color: var(--ax-white);
	border-radius: 999px;
	box-sizing: border-box;
}
.ax-search input[type="search"]::placeholder { color: #929292; }
.ax-search input[type="search"]:focus { background: #1A1A1A; border-color: var(--ax-p500); box-shadow: 0 0 0 3px rgba(32, 120, 253, .25); }
.ax-search button {
	position: absolute;
	right: 5px; top: 50%;
	transform: translateY(-50%);
	width: 40px; height: 40px;
	border: 0;
	border-radius: 50%;
	background: var(--ax-p500);
	color: var(--ax-white);
	display: grid; place-items: center;
	cursor: pointer;
	padding: 0;
}
.ax-search button:hover { background: var(--ax-p600); }
.ax-search button svg { width: 18px; height: 18px; }

.ax-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ax-icon-link {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border-radius: var(--ax-radius);
	color: var(--ax-white);
	font-size: 14px;
	font-weight: 500;
}
.ax-icon-link:hover { background: #1A1A1A; color: var(--ax-p300); }
.ax-icon-link svg { width: 24px; height: 24px; }
.ax-cart-count {
	position: absolute;
	top: 3px; left: 28px;
	min-width: 20px; height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--ax-p500);
	color: var(--ax-white);
	font-size: 11px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
	box-sizing: border-box;
}
.ax-cart-count:empty, .ax-cart-count[data-count="0"] { display: none; }

.ax-menu-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 8px;
	color: var(--ax-white);
	cursor: pointer;
}
.ax-menu-toggle svg { width: 28px; height: 28px; }

/* Navigation catégories */
.ax-nav { border-top: 1px solid #1f1f1f; }
.ax-nav ul {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	flex-wrap: wrap;
}
.ax-nav li { position: relative; }
.ax-nav a {
	display: block;
	padding: 14px 16px;
	font-size: 15px;
	font-weight: 500;
	color: #d3d9e3;
	border-bottom: 2px solid transparent;
}
.ax-nav a:hover,
.ax-nav .current-menu-item > a,
.ax-nav .current-product_cat-ancestor > a { color: var(--ax-white); border-bottom-color: var(--ax-p500); }
.ax-nav .sub-menu a { color: var(--ax-dark); }
.ax-nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%; left: 0;
	min-width: 240px;
	padding: 8px;
	background: var(--ax-white);
	border: 1px solid var(--ax-border);
	border-radius: var(--ax-radius);
	box-shadow: var(--ax-shadow);
	flex-direction: column;
	z-index: 20;
}
.ax-nav .sub-menu a { padding: 10px 12px; border: 0; border-radius: var(--ax-radius-sm); }
.ax-nav .sub-menu a:hover { background: var(--ax-p100); }
.ax-nav li:hover > .sub-menu,
.ax-nav li:focus-within > .sub-menu { display: flex; }
.ax-nav .ax-nav__back { margin-left: auto; }
.ax-nav .ax-nav__back a { color: #929292; font-size: 14px; }

@media (max-width: 960px) {
	.ax-topbar__usp li:nth-child(n+2) { display: none; }
	.ax-header__main { flex-wrap: wrap; gap: 12px; padding: 12px 0; min-height: 0; }
	.ax-search { order: 3; flex-basis: 100%; max-width: none; }
	.ax-icon-link span.ax-label { display: none; }
	.ax-menu-toggle { display: block; }
	.ax-nav { display: none; }
	.ax-nav.is-open { display: block; }
	.ax-nav ul { flex-direction: column; padding: 8px 0; }
	.ax-nav a { border-bottom: 0; padding: 12px 4px; }
	.ax-nav .sub-menu { display: flex; position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; background: none; }
	.ax-nav .sub-menu a { color: #aab2c0; }
	.ax-nav .ax-nav__back { margin-left: 0; }
}

/* ==========================================================================
   Accueil boutique
   ========================================================================== */
.ax-section { padding: 72px 0; }
.ax-section--light { background: var(--ax-light); }
.ax-section__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: 36px;
	flex-wrap: wrap;
}
.ax-section__head h2 { margin: 0; }
.ax-section__head p { margin: 8px 0 0; max-width: 620px; }
.ax-link-arrow { font-weight: 600; white-space: nowrap; }
.ax-link-arrow::after { content: " →"; }

/* Hero */
.ax-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--ax-p900) 0%, var(--ax-p700) 55%, var(--ax-p500) 100%);
	color: #dbe7ff;
}
.ax-hero::after {
	content: "";
	position: absolute;
	right: -120px; top: -120px;
	width: 520px; height: 520px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(139, 188, 255, .35), transparent 70%);
	pointer-events: none;
}
.ax-hero .ax-container {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 48px;
	align-items: center;
	padding-top: 80px;
	padding-bottom: 80px;
}
.ax-hero .ax-eyebrow { color: var(--ax-p300); }
.ax-hero h1 { color: var(--ax-white); margin-bottom: 20px; }
.ax-hero p.ax-hero__lead { font-size: 18px; max-width: 540px; margin: 0 0 32px; }
.ax-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.ax-hero .ax-btn--outline { border-color: rgba(255, 255, 255, .5); color: var(--ax-white); }
.ax-hero .ax-btn--outline:hover { background: var(--ax-white); border-color: var(--ax-white); color: var(--ax-p700); }
.ax-hero__media {
	border-radius: var(--ax-radius-lg);
	overflow: hidden;
	aspect-ratio: 1 / 1;
	max-height: 460px;
	background: rgba(255, 255, 255, .08);
}
.ax-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ax-hero__stats {
	display: flex;
	gap: 36px;
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, .15);
	flex-wrap: wrap;
}
.ax-hero__stats strong {
	display: block;
	font-family: var(--ax-font-title);
	font-size: 28px;
	color: var(--ax-white);
	line-height: 1.1;
}
.ax-hero__stats span { font-size: 14px; }

@media (max-width: 900px) {
	.ax-hero .ax-container { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; }
	.ax-hero__media { display: none; }
}

/* Réassurance */
.ax-trust { border-bottom: 1px solid var(--ax-border); }
.ax-trust ul {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: 0;
	padding: 0;
	list-style: none;
}
.ax-trust li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 24px 20px;
	border-right: 1px solid var(--ax-border);
}
.ax-trust li:last-child { border-right: 0; }
.ax-trust__icon {
	flex-shrink: 0;
	width: 46px; height: 46px;
	border-radius: var(--ax-radius);
	background: var(--ax-p100);
	color: var(--ax-p500);
	display: grid; place-items: center;
}
.ax-trust__icon svg { width: 24px; height: 24px; }
.ax-trust strong { display: block; color: var(--ax-dark); font-size: 15px; }
.ax-trust span { font-size: 13px; }
@media (max-width: 900px) {
	.ax-trust ul { grid-template-columns: 1fr 1fr; }
	.ax-trust li:nth-child(2) { border-right: 0; }
	.ax-trust li:nth-child(-n+2) { border-bottom: 1px solid var(--ax-border); }
}
@media (max-width: 520px) {
	.ax-trust ul { grid-template-columns: 1fr; }
	.ax-trust li { border-right: 0; border-bottom: 1px solid var(--ax-border); }
}

/* Cartes catégories */
.ax-cats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.ax-cat {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--ax-white);
	border: 1px solid var(--ax-border);
	border-radius: var(--ax-radius-lg);
	overflow: hidden;
	color: var(--ax-text);
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
.ax-cat:hover { transform: translateY(-4px); box-shadow: var(--ax-shadow-hover); border-color: var(--ax-p200); color: var(--ax-text); }
.ax-cat__img {
	aspect-ratio: 4 / 3;
	background: var(--ax-p100);
	display: grid;
	place-items: center;
	overflow: hidden;
}
.ax-cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ax-cat:hover .ax-cat__img img { transform: scale(1.05); }
.ax-cat__img svg { width: 64px; height: 64px; color: var(--ax-p500); }
.ax-cat__body { padding: 20px 22px 24px; }
.ax-cat__body h3 { font-size: 20px; margin-bottom: 6px; }
.ax-cat__body p { font-size: 14px; margin: 0 0 14px; }
.ax-cat__count { font-size: 13px; font-weight: 600; color: var(--ax-p500); }
@media (max-width: 1024px) { .ax-cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ax-cats { grid-template-columns: 1fr; } }

/* Bandeau pro / Click & Collect */
.ax-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.ax-promo {
	border-radius: var(--ax-radius-lg);
	padding: 44px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}
.ax-promo h3 { font-size: clamp(22px, 2.4vw, 30px); margin: 0; }
.ax-promo p { margin: 0 0 10px; max-width: 460px; }
.ax-promo--blue { background: var(--ax-p500); color: #e3eeff; }
.ax-promo--blue h3 { color: var(--ax-white); }
.ax-promo--blue .ax-eyebrow { color: var(--ax-p200); }
.ax-promo--dark { background: var(--ax-dark); color: #c5cbd6; }
.ax-promo--dark h3 { color: var(--ax-white); }
.ax-promo--dark .ax-eyebrow { color: var(--ax-p300); }
@media (max-width: 860px) {
	.ax-split { grid-template-columns: 1fr; }
	.ax-promo { padding: 32px 24px; }
}

/* Marques */
.ax-brands {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ax-brands li {
	padding: 12px 22px;
	border: 1px solid var(--ax-border);
	border-radius: 999px;
	font-family: var(--ax-font-title);
	font-weight: 600;
	color: var(--ax-d700);
	background: var(--ax-white);
}

/* ==========================================================================
   WooCommerce — mise en page
   ========================================================================== */
.ax-shop-main { padding: 40px 0 80px; }

.woocommerce .woocommerce-breadcrumb {
	font-size: 13px;
	color: var(--ax-d300);
	margin: 0 0 20px;
}
.woocommerce .woocommerce-breadcrumb a { color: var(--ax-text); }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--ax-p500); }

.woocommerce-products-header { margin-bottom: 28px; }
.woocommerce-products-header__title.page-title { margin-bottom: 8px; }
.term-description { max-width: 760px; }

.woocommerce .woocommerce-result-count { font-size: 14px; margin: 10px 0 24px; }
.woocommerce .woocommerce-ordering select { padding: 10px 36px 10px 14px; font-size: 14px; }

/* Sous-catégories affichées en tête de catégorie */
.woocommerce ul.products li.product-category a {
	display: block;
	background: var(--ax-light);
	border-radius: var(--ax-radius);
	padding: 12px;
	text-align: center;
}
.woocommerce ul.products li.product-category h2.woocommerce-loop-category__title {
	font-size: 16px;
	padding: 12px 0 4px;
}
.woocommerce ul.products li.product-category mark { background: none; color: var(--ax-p500); }

/* Grille produits */
.woocommerce ul.products {
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin: 0 0 32px;
}
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	display: flex;
	flex-direction: column;
	padding: 14px 14px 18px;
	background: var(--ax-white);
	border: 1px solid var(--ax-border);
	border-radius: var(--ax-radius-lg);
	transition: box-shadow .25s, border-color .25s, transform .25s;
	position: relative;
}
.woocommerce ul.products li.product:hover {
	box-shadow: var(--ax-shadow-hover);
	border-color: var(--ax-p200);
	transform: translateY(-3px);
}
.woocommerce ul.products li.product a img {
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: var(--ax-light);
	border-radius: var(--ax-radius);
	margin: 0 0 14px;
	padding: 10px;
	box-sizing: border-box;
}
.woocommerce ul.products li.product .ax-loop-brand {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--ax-d300);
	margin-bottom: 4px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--ax-font-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ax-dark);
	padding: 0;
	margin: 0 0 10px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.8em;
}
.woocommerce ul.products li.product .price {
	font-family: var(--ax-font-title);
	font-size: 19px;
	font-weight: 700;
	color: var(--ax-dark);
	margin: auto 0 4px;
}
.woocommerce ul.products li.product .price del { color: var(--ax-d300); font-size: 14px; font-weight: 500; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--ax-danger); }
.woocommerce ul.products li.product .price small,
.woocommerce div.product .price small { font-family: var(--ax-font-body); font-size: 12px; font-weight: 500; color: var(--ax-d300); }
.woocommerce ul.products li.product .button {
	margin-top: 14px;
	width: 100%;
	padding: 12px 16px;
	font-size: 14px;
}
.woocommerce ul.products li.product .added_to_cart { display: block; text-align: center; font-size: 13px; margin-top: 8px; }
.woocommerce ul.products li.product .star-rating { font-size: 12px; margin-bottom: 8px; }

/* Stock (temps réel via NetBee) */
.ax-stock {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
}
.ax-stock::before {
	content: "";
	width: 8px; height: 8px;
	border-radius: 50%;
	background: currentColor;
}
.ax-stock--in { color: var(--ax-success); }
.ax-stock--low { color: #b7791f; }
.ax-stock--out { color: var(--ax-danger); }
.ax-stock--backorder { color: var(--ax-p600); }

/* Badges */
.woocommerce span.onsale {
	position: absolute;
	z-index: 2;
	top: 22px !important;
	left: 22px !important;
	right: auto !important;
	min-width: 0;
	min-height: 0;
	padding: 5px 10px;
	line-height: 1.2;
	border-radius: var(--ax-radius-sm);
	background: var(--ax-danger);
	color: var(--ax-white);
	font-size: 12px;
	font-weight: 700;
	margin: 0 !important;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; justify-content: center; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	min-width: 42px;
	padding: 11px 12px;
	border: 1px solid var(--ax-border);
	border-radius: var(--ax-radius-sm);
	color: var(--ax-dark);
	font-weight: 600;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--ax-p500); border-color: var(--ax-p500); color: var(--ax-white); }

@media (max-width: 1024px) {
	.woocommerce ul.products,
	.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
	.woocommerce ul.products,
	.woocommerce ul.products.columns-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.woocommerce ul.products li.product { padding: 10px 10px 14px; }
	.woocommerce ul.products li.product .price { font-size: 17px; }
	.woocommerce ul.products li.product .button { padding: 11px 8px; font-size: 13px; }
}

/* Archive avec barre latérale de filtres */
.ax-shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.ax-shop-layout--full { grid-template-columns: 1fr; }
.ax-shop-sidebar .widget {
	padding: 20px;
	margin-bottom: 16px;
	border: 1px solid var(--ax-border);
	border-radius: var(--ax-radius);
}
.ax-shop-sidebar .widget-title,
.ax-shop-sidebar h2 { font-size: 16px; margin-bottom: 14px; }
.ax-shop-sidebar ul { list-style: none; margin: 0; padding: 0; }
.ax-shop-sidebar li { padding: 5px 0; font-size: 14px; }
.ax-shop-sidebar li a { color: var(--ax-text); }
.ax-shop-sidebar li a:hover, .ax-shop-sidebar .current-cat > a { color: var(--ax-p500); font-weight: 600; }
.ax-shop-sidebar .children { padding-left: 12px; }
@media (max-width: 960px) {
	.ax-shop-layout { grid-template-columns: 1fr; }
	.ax-shop-sidebar { order: 2; }
}

/* ==========================================================================
   Fiche produit
   ========================================================================== */
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.woocommerce div.product > * { grid-column: 1 / -1; }
.woocommerce div.product div.images,
.woocommerce div.product div.summary { grid-column: auto; width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
.woocommerce div.product div.images .flex-viewport {
	background: var(--ax-light);
	border-radius: var(--ax-radius-lg);
	overflow: hidden;
}
.woocommerce div.product div.images img { mix-blend-mode: multiply; }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 76px !important; float: none !important; }
.woocommerce div.product div.images .flex-control-thumbs li img {
	border: 1px solid var(--ax-border);
	border-radius: var(--ax-radius-sm);
	background: var(--ax-light);
	opacity: .7;
}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover { opacity: 1; border-color: var(--ax-p500); }

.woocommerce div.product .product_title { font-size: clamp(26px, 3vw, 36px); margin-bottom: 12px; }
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	font-family: var(--ax-font-title);
	font-size: 32px;
	font-weight: 700;
	color: var(--ax-dark);
	margin: 16px 0;
}
.woocommerce div.product p.price ins { text-decoration: none; color: var(--ax-danger); }
.woocommerce div.product p.price del { font-size: 20px; color: var(--ax-d300); }
.woocommerce div.product .woocommerce-product-details__short-description { margin-bottom: 20px; }
.woocommerce div.product .stock { margin: 0 0 16px; }

.woocommerce div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: stretch;
	padding: 20px 0;
	border-top: 1px solid var(--ax-border);
	border-bottom: 1px solid var(--ax-border);
	margin-bottom: 20px;
}
.woocommerce div.product form.cart::before,
.woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart .variations { width: 100%; margin-bottom: 8px; }
.woocommerce div.product form.cart .variations select { min-width: 220px; }
.woocommerce .quantity .qty {
	width: 84px;
	height: 100%;
	min-height: 50px;
	text-align: center;
	font-weight: 600;
}
.woocommerce div.product form.cart .button { flex: 1; min-height: 50px; font-size: 16px; }

.ax-product-trust {
	display: grid;
	gap: 10px;
	margin: 0 0 20px;
	padding: 18px 20px;
	list-style: none;
	background: var(--ax-light);
	border-radius: var(--ax-radius);
	font-size: 14px;
}
.ax-product-trust li { display: flex; gap: 10px; align-items: flex-start; }
.ax-product-trust svg { width: 20px; height: 20px; color: var(--ax-p500); flex-shrink: 0; margin-top: 1px; }
.ax-product-trust strong { color: var(--ax-dark); }

.woocommerce div.product .product_meta { font-size: 13px; color: var(--ax-d300); display: grid; gap: 4px; }
.woocommerce div.product .product_meta a { color: var(--ax-text); }

/* Onglets */
.woocommerce div.product .woocommerce-tabs { margin-top: 24px; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0;
	margin: 0 0 24px;
	display: flex;
	gap: 4px;
	border-bottom: 1px solid var(--ax-border);
	overflow-x: auto;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: none;
	border: 0;
	border-radius: 0;
	margin: 0;
	padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 14px 18px;
	font-weight: 600;
	color: var(--ax-text);
	border-bottom: 2px solid transparent;
	white-space: nowrap;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ax-p500); border-bottom-color: var(--ax-p500); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 860px; }
.woocommerce div.product .woocommerce-tabs .panel h2:first-of-type { font-size: 22px; }
.woocommerce table.shop_attributes { border: 0; }
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td { border: 0; border-bottom: 1px solid var(--ax-border); padding: 12px 14px; font-style: normal; }
.woocommerce table.shop_attributes th { width: 220px; color: var(--ax-dark); text-align: left; }
.woocommerce table.shop_attributes tr:nth-child(even) td,
.woocommerce table.shop_attributes tr:nth-child(even) th { background: var(--ax-light); }

.woocommerce div.product .related > h2,
.woocommerce div.product .upsells > h2 { font-size: 26px; margin: 40px 0 24px; }

@media (max-width: 860px) {
	.woocommerce div.product { grid-template-columns: 1fr; gap: 28px; }
}

/* ==========================================================================
   Panier, commande, compte
   ========================================================================== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
	border: 0 !important;
	border-left: 4px solid var(--ax-p500) !important;
	border-radius: var(--ax-radius-sm);
	background: var(--ax-p100) !important;
	color: var(--ax-dark) !important;
	font-size: 15px;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--ax-p500); }
.woocommerce-error { border-left-color: var(--ax-danger) !important; background: #fdecee !important; }
.woocommerce-error::before { color: var(--ax-danger); }

.woocommerce table.shop_table {
	border: 1px solid var(--ax-border);
	border-radius: var(--ax-radius);
	border-collapse: separate;
	overflow: hidden;
}
.woocommerce table.shop_table th { background: var(--ax-light); color: var(--ax-dark); font-weight: 600; }
.woocommerce table.shop_table td,
.woocommerce table.shop_table th { border-top-color: var(--ax-border); padding: 14px 16px; }
.woocommerce-cart table.cart img { width: 72px; border-radius: var(--ax-radius-sm); background: var(--ax-light); }

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review,
.wc-block-components-sidebar .wc-block-components-panel,
.wc-block-cart__sidebar,
.wc-block-checkout__sidebar {
	background: var(--ax-light);
	border-radius: var(--ax-radius-lg);
	padding: 24px;
}
.woocommerce .cart-collaterals .cart_totals h2,
.woocommerce-checkout h3 { font-size: 22px; }
.woocommerce-checkout #payment { background: var(--ax-white); border-radius: var(--ax-radius); }
.woocommerce-checkout #payment div.payment_box { background: var(--ax-p100); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--ax-p100); }

.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 12px 16px;
	border-radius: var(--ax-radius-sm);
	color: var(--ax-dark);
	font-weight: 500;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--ax-p100); color: var(--ax-p600); }

/* Pages simples (CGV, contact…) */
.ax-page { padding: 48px 0 80px; }
.ax-page .entry-content { max-width: 860px; }
.woocommerce-cart .ax-page .entry-content,
.woocommerce-checkout .ax-page .entry-content,
.woocommerce-account .ax-page .entry-content { max-width: none; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.ax-footer-cta { background: var(--ax-p500); color: #e3eeff; }
.ax-footer-cta .ax-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	padding-top: 40px;
	padding-bottom: 40px;
	flex-wrap: wrap;
}
.ax-footer-cta h2 { color: var(--ax-white); font-size: clamp(22px, 2.5vw, 30px); margin: 0 0 6px; }
.ax-footer-cta p { margin: 0; }

.ax-footer { background: var(--ax-dark); color: #aab2c0; font-size: 14px; }
.ax-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 40px;
	padding: 64px 0 48px;
}
.ax-footer h4 {
	color: var(--ax-white);
	font-family: var(--ax-font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin-bottom: 18px;
}
.ax-footer ul { list-style: none; margin: 0; padding: 0; }
.ax-footer li { padding: 4px 0; }
.ax-footer a { color: #d3d9e3; }
.ax-footer a:hover { color: var(--ax-p300); }
.ax-footer__logo img { max-height: 46px; width: auto; margin-bottom: 16px; }
.ax-footer__hours li { display: flex; justify-content: space-between; gap: 12px; }
.ax-footer__pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.ax-footer__pay span {
	padding: 5px 10px;
	border: 1px solid #2a2a2a;
	border-radius: var(--ax-radius-sm);
	font-size: 12px;
	font-weight: 600;
	color: #d3d9e3;
}
.ax-footer__bottom { border-top: 1px solid #1f1f1f; }
.ax-footer__bottom .ax-container {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-top: 20px;
	padding-bottom: 20px;
	font-size: 13px;
}
.ax-footer__bottom ul { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 960px) { .ax-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ax-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; } }

.ax-footer__hours { margin-top: 14px !important; }
