/* =========================================================
   TABLE DES MATIÈRES
   1.  RESET & BASE
   2.  WRAPPERS
   3.  HEADER — TOP BAR
   4.  HEADER — LOGO
   5.  HEADER — MAIN
   6.  HEADER — SEARCH, COMPTE, PANIER
   7.  HEADER — MINI PANIER DROPDOWN
   8.  HEADER — NAVIGATION
   9.  HEADER — MEGA MENU
   10. HEADER — MOBILE
   11. STAND PRODUITS (HOME)
   12. FOOTER
   14. OFFCANVAS
   15. SHOP CATEGORIES
   16. UTILITAIRES
   17. PAGE 404
   18. PAGE RECHERCHE
   19. MEDIA QUERIES
========================================================= */


/* =========================================================
   1. RESET & BASE
========================================================= */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: var(--font-primary);
	font-size: var(--text-lg);
	color: var(--color-text);
	background: var(--color-bg);
}

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

a {
	text-decoration: none;
	color: inherit;
}

ul {
	list-style: none;
}

textarea {
	font-family: var(--font-primary);
}

button,
.button {
	background: var(--color-cta);
	color: var(--color-bg);
	padding: 10px 14px;
	border: none;
	cursor: pointer;
}

:focus-visible {
	outline: 2px solid var(--color-border-focus);
	outline-offset: 3px;
	border-radius: 2px;
}

:focus:not(:focus-visible) {
	outline: none;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}


/* =========================================================
   2. WRAPPERS
========================================================= */

.lm-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

.lm-wrapper--wide {
	max-width: 1330px;
	margin: 0 auto;
	padding: 0 15px;
}


/* =========================================================
   3. HEADER — TOP BAR
========================================================= */

.lm-header__top {
	background: var(--color-primary-bg);
	color: var(--color-text);
	font-size: var(--text-sm);
}

.lm-header__top-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	text-align: center;
}

.lm-header__promo { font-weight: 500; }

.lm-header__bottom {
	background-color: var(--color-primary-bg);
	position: relative;
}


/* =========================================================
   4. HEADER — LOGO
========================================================= */

.lm-header__logo,
.lm-header__mobile-logo {
	display: flex;
	align-items: center;
	min-height: 50px;
}

.custom-logo,
.lm-header__logo img,
.lm-header__mobile-logo img {
	max-width: 180px;
	height: 70px;
	width: auto;
	object-fit: contain;
	display: block;
}


/* =========================================================
   5. HEADER — MAIN (MOBILE FIRST)
========================================================= */

.lm-header__main-wrapper {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	padding: 10px 15px;
}

/* Ordre mobile */
.lm-header__logo        { order: 1; width: 100%; }
.lm-header__compte      { order: 2; }
.lm-header__mini-panier { order: 3; }
.lm-header__search      { order: 4; width: 100%; }

.lm-header__logo,
.lm-header__search,
.lm-header__compte,
.lm-header__mini-panier {
	display: flex;
	align-items: center;
	gap: 6px;
}

.lm-header__panier {
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}

.lm-header__logo,
.lm-header__compte { cursor: pointer; }

.lm-home__message {
	font-family: var(--font-heading);
	font-weight: 300;
	font-size: var(--text-lg);
	color: var(--color-text-muted);
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: center;
}


/* =========================================================
   6. HEADER — SEARCH, COMPTE, PANIER
========================================================= */

.lm-header__compte,
.lm-header__panier { font-size: var(--text-md); }

.lm-header__compte-texte,
.lm-header__panier-texte {
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-family: var(--font-primary);
}

.lm-header__compte-img,
.lm-panier__img { width: auto; height: 34px; }

.lm-header__compte-label,
.lm-header__panier-label { font-weight: bold; }

/* Barre de recherche */
.lm-header__search {
	width: 100%;
}

.lm-search-form {
	display: flex;
	align-items: center;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--color-bg);
	width: 100%;
	height: 44px;
	border: 2px solid var(--color-error);
}

.lm-search-input {
	flex: 1;
	width: 100%;
	height: 100%;
	padding: 0 14px;
	border: none;
	outline: none;
	font-size: var(--text-md);
	font-family: var(--font-primary);
	color: var(--color-text);
	background: transparent;
}

.lm-search-input::placeholder {
	color: var(--color-text-placeholder);
	font-style: italic;
}

.lm-search-btn {
	height: 100%;
	padding: 0 18px;
	background: var(--color-error);
	border: none;
	color: var(--color-bg);
	cursor: pointer;
	font-size: var(--text-xl);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background var(--transition-fast);
	flex-shrink: 0;
}

.lm-search-btn:hover { background: var(--color-error-text); }


/* =========================================================
   7. HEADER — MINI PANIER DROPDOWN
========================================================= */

.mini-panier_wrapper { position: relative; }

.lm-panier__dropdown {
	width: 320px;
	background: var(--color-bg);
	padding: 20px;
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: var(--z-overlay);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all var(--transition-base);
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-lg);
	pointer-events: none;
}

.lm-panier--open .lm-panier__dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.lm-panier__dropdown::after {
	content: '';
	position: absolute;
	top: -14px;
	right: 34px;
	border-width: 7px;
	border-style: solid;
	border-color: transparent transparent var(--color-border) transparent;
	z-index: 1;
}

.lm-panier__dropdown::before {
	content: '';
	position: absolute;
	top: -12px;
	right: 35px;
	border-width: 6px;
	border-style: solid;
	border-color: transparent transparent var(--color-bg) transparent;
	z-index: 2;
}

.mini-cart { list-style: none; padding: 0; margin: 0; }

.mini-cart-item {
	padding: 8px 0;
	border-bottom: 1px solid var(--color-border-light);
}

.mini-cart-item:last-child { border-bottom: 0; }

.mini-cart-item .product {
	display: flex;
	gap: 6px;
	align-items: flex-start;
}

.product-img-container { width: 65px; min-width: 65px; }
.product-img-container img { width: 100%; display: block; }
.product-item-details { flex: 1; }

.product-item-name {
	display: block;
	margin-bottom: 6px;
	font-size: var(--text-base);
	line-height: 1.3;
	font-weight: 600;
}

.product-item-name a { text-decoration: none; color: var(--color-text); }

.wrapper-respPanier { display: flex; flex-wrap: wrap; gap: 6px; }
.titleColPanierResp { font-size: var(--text-base); color: var(--color-text-muted); }

.subtotal {
	margin-top: 12px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 18px;
	font-weight: 700;
}

.secondary { margin-top: 12px; }

.action.viewcart {
	width: 100%;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-primary);
	color: var(--color-bg);
	text-decoration: none;
	font-weight: 600;
	transition: var(--transition-fast);
}

.action.viewcart:hover { background: var(--color-primary-hover); }

.minicart-items-wrapper {
	max-height: 450px;
	overflow-y: auto;
	padding-right: 6px;
}

.minicart-items-wrapper::-webkit-scrollbar { width: 6px; }
.minicart-items-wrapper::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, .12);
	border-radius: var(--radius-xl);
}

.woocommerce-remove-coupon img { float: right; }


/* =========================================================
   8. HEADER — NAVIGATION
========================================================= */

.lm-header__nav ul {
	display: flex;
	gap: 25px;
	list-style: none;
	margin: 0;
	padding: 10px 0;
}

.lm-header__nav-right { width: calc(100% - 300px); }

.lm-nav-item {
	font-weight: 700;
	border-left: 1px solid var(--color-bg);
	box-sizing: border-box;
	width: 100%;
	margin: 0;
}

.lm-nav-link {
	background: transparent;
	color: var(--color-primary);
	font-size: var(--text-md);
	min-height: 50px;
	height: 50px;
	box-sizing: border-box;
	font-weight: 700;
	width: 100%;
	text-align: center;
	line-height: normal;
	padding: 0 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lm-header__nav-right .block > .lm-header__nav-menu li {
	font-weight: 700;
	border-left: 1px solid var(--color-bg);
	box-sizing: border-box;
	width: 100%;
	margin: 0;
}

.lm-header__nav-right .block > .lm-header__nav-menu .lm-header__nav-link {
	background: transparent;
	color: var(--color-primary);
	font-size: var(--text-md);
	min-height: 50px;
	height: 50px;
	box-sizing: border-box;
	vertical-align: middle;
	font-weight: 700;
	width: 100%;
	text-align: center;
	line-height: normal;
	padding: 0 10px;
}

.lm-header__nav-item { display: flex; }

.lm-header__nav-link {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 15px;
	width: 100%;
	text-align: center;
}

.lm-header__nav-link:hover { border-bottom: 2px solid var(--color-cta); }

.sections-mega-menu .nav-sections-items {
	max-width: 1320px;
	margin: auto;
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
}

.sections-mega-menu .nav-sections-items .nav-container {
	width: fit-content;
	z-index: var(--z-dropdown);
}

.sections-mega-menu .nav-sections-item-title.active {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	z-index: 2;
	background: var(--color-primary);
	color: var(--color-bg);
	height: 50px;
	font-size: 1.125rem;
	width: 300px;
	font-weight: 700;
	position: relative;
	cursor: pointer;
	user-select: none;
}

.sections-mega-menu .nav-sections-item-title.active::before {
	content: '';
	display: inline-block;
	width: 24px;
	height: 24px;
	background-image: url('/wp-content/themes/louramarket/assets/icons/menu-2.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	vertical-align: middle;
	margin: 0 10px;
	filter: brightness(0) invert(1);
	flex-shrink: 0;
}

.sections-mega-menu .nav-sections-items .nav-container .section-item-content {
	position: relative;
	visibility: hidden;
}


/* =========================================================
   9. HEADER — MEGA MENU
========================================================= */

.lm-mega-menu { position: relative; }

.lm-mega-menu__dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: var(--z-modal);
	background: var(--color-bg);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--color-border);
	padding: 8px 0;
	min-width: 100%;
	width: max-content;
	max-height: 650px;
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

.lm-mega-menu__dropdown.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.lm-mega-menu__grid { display: flex; flex-direction: column; }
.lm-mega-menu__col  { display: flex; flex-direction: column; }
.lm-mega-menu__col-header { padding: 8px 16px; }

.lm-mega-menu__col-title {
	font-family: var(--font-heading);
	font-size: var(--text-base);
	font-weight: 700;
	color: var(--color-primary);
	text-decoration: none;
	display: block;
	padding-bottom: 5px;
	border-bottom: 0.5px solid var(--color-primary);
	white-space: nowrap;
}

.lm-mega-menu__col-title:hover { color: var(--color-primary-light); }

.lm-mega-menu__list { list-style: none; margin: 0; padding: 0; }

.lm-mega-menu__list li a {
	font-family: var(--font-primary);
	font-size: var(--text-base);
	color: var(--color-text-muted);
	text-decoration: none;
	display: block;
	padding: 6px 16px 6px 26px;
	white-space: nowrap;
	transition: color var(--transition-fast), background var(--transition-fast);
}

.lm-mega-menu__list li a:hover {
	color: var(--color-primary);
	background: var(--color-primary-bg-light);
}

.lm-mega-menu__trigger .ph-caret-down {
	position: absolute;
	right: 15px;
	font-size: 24px;
	transition: transform var(--transition-fast);
}

.lm-mega-menu__trigger[aria-expanded="true"] .ph-caret-down {
	transform: rotate(180deg);
}


/* =========================================================
   10. HEADER — MOBILE
========================================================= */

.lm-header__mobile { display: none; }
.screen__mobile    { display: flex; }

.lm-header__mobile-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 15px;
	border-top: 1px solid var(--color-border-light);
	border-bottom: 1px solid var(--color-border);
	background: var(--color-bg);
}

.lm-mobile-account {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: var(--text-md);
	font-weight: 500;
	color: var(--color-text);
}

.lm-mobile-cart {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: var(--text-md);
	font-weight: 600;
	color: var(--color-text);
	position: relative;
}

.lm-mobile-cart span {
	background: var(--color-error);
	color: var(--color-bg);
	font-size: var(--text-xs);
	padding: 2px 6px;
	border-radius: var(--radius-full);
	min-width: 20px;
	text-align: center;
}


/* =========================================================
   11. STAND PRODUITS (HOME)
========================================================= */

.lm-stand-produits {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	align-items: stretch;
}

.lm-stand-produits__bloc { display: flex; flex-direction: column; }

.lm-stand-produits__titre {
	font-family: var(--font-heading);
	font-size: 18px;
	margin-bottom: 15px;
	text-align: center;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--color-text-secondary);
}

.lm-stand-produits__contenu {
	padding: 12px;
	border: 2px solid var(--color-border);
	flex: 1;
}

.products-mini {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

.lm-selection__title,
.lm-marque__title {
	font-size: 25px;
	font-family: var(--font-heading);
	text-align: center;
	font-weight: 600;
}

.box_topvente_title {
	font-size: 22px;
	height: auto;
	margin-bottom: 20px;
	margin-top: 20px;
	text-align: center;
	padding-top: 0;
	padding-bottom: 20px;
}

.box_topvente_title .box_topvente_orange { color: var(--color-cta); }

.lm-shop__categorie { display: grid; gap: 20px; }

.lm-shop__categorie--meilleurs-ventes,
.lm-shop__categorie--produits-grid { grid-template-columns: 1fr; }


/* =========================================================
   12. FOOTER
========================================================= */

.site-footer {
	background: var(--color-bg);
	color: var(--color-text);
	margin-top: 30px;
}

.lm-footer__banniere-wrapper {
	padding: 30px 0;
	background: var(--color-bg);
	box-shadow: var(--shadow-md);
}

.lm-footer__banniere-content {
	display: flex;
	align-items: center;
	gap: 20px;
}

.lm-footer__banniere-content img { height: 120px; width: auto; }
.lm-footer__banniere-title { font-size: 20px; font-weight: bold; }
.lm-footer__banniere-slogan { font-size: var(--text-md); color: var(--color-text-muted); }

.lm-footer__services-wrapper {
	background: var(--color-primary-bg);
	padding: 30px 0;
}

.reassurance_center {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-column-gap: 1%;
	grid-row-gap: 20px;
	justify-items: center;
	align-items: start;
	text-align: center;
}

.reassurance_center img { width: 50px; margin: 0 auto 10px; }

.lm-footer__sitemap-wrapper { padding: 40px 0; }

.lm-footer__sitemap {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.footer-col h4 { font-size: var(--text-lg); margin-bottom: 10px; }
.footer-col ul li { margin-bottom: 8px; }

.site-info {
	text-align: center;
	padding: 15px;
	background: var(--color-primary-bg);
	font-size: var(--text-sm);
}

.site-info__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-content: center;
	align-items: center;
}

.site-info .btnLink {
	font-size: var(--text-md);
	background: transparent;
	color: var(--color-primary);
	margin: auto;
	padding: 2px;
	height: auto;
	min-height: auto;
}


/* =========================================================
   14. OFFCANVAS
========================================================= */

.lm-offcanvas,
.lm-cart-drawer {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	transition: var(--transition-slow);
	z-index: var(--z-overlay);
}

.lm-offcanvas.active,
.lm-cart-drawer.active { opacity: 1; visibility: visible; }

.lm-offcanvas__panel,
.lm-cart-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: 320px;
	height: 100%;
	background: var(--color-bg);
	transform: translateX(100%);
	transition: var(--transition-slow);
	overflow-y: auto;
}

.lm-offcanvas.active .lm-offcanvas__panel,
.lm-cart-drawer.active .lm-cart-drawer__panel { transform: translateX(0); }

.lm-offcanvas__overlay,
.lm-cart-drawer__overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
}


/* =========================================================
   15. SHOP CATEGORIES
========================================================= */

.pageCategorie_wrapperHaut {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.main_gauche_btnBack { display: flex; justify-content: center; margin-bottom: 15px; }

#main_gauche {
	width: 100%;
	padding: 12px;
	border-left: 2px solid var(--color-border);
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
}

#main_gauche h2 { font-size: var(--text-md); width: 100%; margin: 12px 0 4px; }
#main_gauche .filtre_soustitre { font-size: var(--text-sm); width: 100%; margin-left: 0; }


/* =========================================================
   16. UTILITAIRES
========================================================= */

.lm-spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: var(--color-bg);
	border-radius: var(--radius-full);
	animation: lm-spin 0.7s linear infinite;
	flex-shrink: 0;
}

@keyframes lm-spin { to { transform: rotate(360deg); } }

.lm-login-sep {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--color-text-placeholder);
	font-size: var(--text-sm);
}

.lm-login-sep::before,
.lm-login-sep::after {
	content: '';
	flex: 1;
	height: var(--border-base);
	background: var(--color-border);
}

.lm-header__top-messages i         { font-size: var(--text-lg); vertical-align: middle; }
.lm-header__top-messages .ph-fire  { color: var(--color-cta); }
.lm-header__top-messages .ph-truck { color: var(--color-primary); }


/* =========================================================
   17. PAGE 404
========================================================= */

.lm-404 {
	padding: 60px 15px;
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lm-404__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 600px;
	width: 100%;
	gap: 1.5rem;
}

.lm-404__code {
	font-family: var(--font-heading);
	font-size: 8rem;
	font-weight: 700;
	color: var(--color-primary-bg);
	line-height: 1;
	letter-spacing: -4px;
}

.lm-404__icon {
	width: 72px;
	height: 72px;
	background: var(--color-primary-bg);
	border-radius: var(--radius-full);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary);
	margin-top: -3rem;
}

.lm-404__icon i { font-size: 2rem; }

.lm-404__title {
	font-family: var(--font-heading);
	font-size: var(--text-2xl);
	font-weight: 700;
	color: var(--color-primary);
	margin: 0;
}

.lm-404__text {
	font-size: var(--text-md);
	color: var(--color-text-muted);
	line-height: 1.6;
	margin: 0;
}

.lm-404__search { width: 100%; max-width: 480px; }

.lm-404__search form {
	display: flex;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--color-bg);
	height: 44px;
	border: 2px solid var(--color-error);
}

.lm-404__search-input {
	flex: 1;
	height: 100%;
	padding: 0 14px;
	border: none;
	outline: none;
	font-size: var(--text-md);
	font-family: var(--font-primary);
	color: var(--color-text);
	background: transparent;
}

.lm-404__search-input::placeholder {
	color: var(--color-text-placeholder);
	font-style: italic;
}

.lm-404__search-btn {
	height: 100%;
	padding: 0 18px;
	background: var(--color-error);
	border: none;
	color: var(--color-bg);
	cursor: pointer;
	font-size: var(--text-lg);
	display: flex;
	align-items: center;
	transition: background var(--transition-fast);
	flex-shrink: 0;
}

.lm-404__search-btn:hover { background: var(--color-error-text); }

.lm-404__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
}

.lm-404__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: var(--radius-sm);
	font-family: var(--font-heading);
	font-size: var(--text-md);
	font-weight: 600;
	text-decoration: none;
	transition: all var(--transition-fast);
}

.lm-404__btn i { font-size: 1.125rem; }

.lm-404__btn--primary { background: var(--color-primary); color: var(--color-bg); }
.lm-404__btn--primary:hover { background: var(--color-primary-hover); color: var(--color-bg); }

.lm-404__btn--secondary {
	background: transparent;
	color: var(--color-primary);
	border: var(--border-medium) solid var(--color-primary);
}

.lm-404__btn--secondary:hover { background: var(--color-primary); color: var(--color-bg); }


/* =========================================================
   18. PAGE RECHERCHE
========================================================= */

.lm-search-results { padding: 40px 15px 60px; }

.lm-search-results__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: var(--border-base) solid var(--color-border);
}

.lm-search-results__title {
	font-family: var(--font-heading);
	font-size: var(--text-2xl);
	font-weight: 600;
	color: var(--color-primary);
	margin: 0 0 6px;
}

.lm-search-results__title span { color: var(--color-cta); }

.lm-search-results__count {
	font-size: var(--text-md);
	color: var(--color-text-muted);
	margin: 0;
}

.lm-search-results__form form {
	display: flex;
	flex-direction: row;
	align-items: center;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--color-bg);
	height: 44px;
	min-width: 280px;
	border: 2px solid var(--color-error);
}

.lm-search-results__grid.products {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	justify-items: center;
	list-style: none;
	padding: 0;
	margin: 0;
}

.lm-search-results__grid .product-card--normal { width: 300px; }

.lm-search-results__pagination {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 30px;
}

.lm-search-results__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 60px 20px;
	gap: 1rem;
}


/* =========================================================
   19. MEDIA QUERIES
========================================================= */

@media (max-width: 767px) {

	/* Header mobile */
	.lm-header__mobile          { display: flex; flex-direction: column; }
	.lm-header__nav-right       { display: none; }
	.lm-header__nav-left        { display: block; width: 100%; flex: 1; }

	.lm-header__search          { width: 100%; flex: 0 0 100%; order: 4; }

	.sections-mega-menu .nav-sections-item-title.active    { width: 100%; font-size: 1rem; }
	.sections-mega-menu .nav-sections-items                { width: 100%; }
	.sections-mega-menu .nav-sections-items .nav-container { width: 100%; }

	.lm-mega-menu__dropdown {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		width: 100%;
		max-width: 100%;
		max-height: calc(100vh - 100px);
		overflow-y: auto;
	}

	/* Footer */
	.lm-footer__banniere-content { flex-direction: column; text-align: center; }
	.lm-footer__sitemap          { grid-template-columns: 1fr; }
	.reassurance_center          { grid-template-columns: repeat(2, 1fr); }

	/* 404 */
	.lm-404__code    { font-size: 6rem; }
	.lm-404__actions { flex-direction: column; width: 100%; }
	.lm-404__btn     { width: 100%; justify-content: center; }
}

@media (min-width: 768px) {

	.lm-header__main-wrapper,
	.lm-header__bottom-wrapper {
		max-width: 1330px;
		padding-left: 15px;
		padding-right: 15px;
		margin-left: auto;
		margin-right: auto;
		box-sizing: border-box;
	}

	.lm-header__main-wrapper {
		display: flex;
		height: 110px;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 20px;
		padding: 15px;
	}

	.lm-header__bottom-wrapper { display: flex; }

	.lm-header__logo,
	.lm-header__search,
	.lm-header__compte,
	.lm-header__mini-panier {
		display: flex;
		align-items: center;
		width: auto;
		order: unset;
	}

	.lm-header__panier         { display: flex; align-items: center; gap: 8px; }
	.lm-header__logo           { flex: 0 0 auto; }
	.lm-header__search         { flex: 0 0 50%; width: 50%; }

	.lm-header__compte,
	.lm-header__panier         { flex: 0 0 auto; color: var(--color-text-secondary); gap: 8px; }

	.lm-header__compte-texte,
	.lm-header__panier-texte   { display: flex; flex-direction: column; justify-content: center; }

	.lm-header__compte-label,
	.lm-header__panier-label   { font-size: 20px; font-weight: bold; }

	.lm-header__compte-name,
	.lm-header__panier-count   { font-size: var(--text-lg); }

	.custom-logo,
	.lm-header__logo img       { height: 80px; width: auto; object-fit: contain; }

	.lm-header__nav-right .block                { margin-bottom: 0; height: 100%; }
	.lm-header__nav-right .block > ul           { display: flex; }
	.lm-header__nav-right .block :is(ul, li, a) { height: 100%; }

	.lm-header__compte-img,
	.lm-panier__img            { width: auto; height: 43px; }

	.lm-panier__dropdown       { width: 390px; right: 0; left: auto; top: calc(100% + 15px); }

	.lm-stand-produits              { grid-template-columns: repeat(2, 1fr); gap: 15px; }
	.lm-stand-produits__titre       { font-size: 22px; }
	.lm-stand-produits__contenu     { padding: 20px; }
	.products-mini                  { grid-template-columns: repeat(2, 1fr); gap: 20px; }
	.pageCategorie_wrapperHaut      { flex-direction: row; align-items: flex-start; }
	#main_gauche                    { width: 220px; }
	.lm-shop__categorie--meilleurs-ventes { grid-template-columns: 1fr 1fr; }
	.lm-shop__categorie--produits-grid    { grid-template-columns: 1fr 1fr; }

	.reassurance_center { display: flex; justify-content: space-between; gap: 20px; text-align: center; }
	.lm-footer__sitemap { grid-template-columns: repeat(3, 1fr); }

	/* 404 */
	.lm-404__code  { font-size: 10rem; }
	.lm-404__title { font-size: var(--text-3xl); }

	/* Recherche */
	.lm-search-results__grid.products { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {

	.screen__mobile { display: none; }

	.lm-stand-produits          { grid-template-columns: repeat(3, 1fr); gap: 18px; }
	.lm-stand-produits__titre   { font-size: 30px; margin-bottom: 25px; }
	.lm-stand-produits__contenu { padding: 30px 15px; }
	.products-mini              { grid-template-columns: repeat(2, 1fr); gap: 30px; }

	.lm-selection__wrapper { padding-bottom: 15px; padding-top: 15px; }

	.lm-selection_home h2,
	.lm-marque__header h2 {
		color: var(--color-text-secondary);
		font-size: var(--text-4xl);
		font-weight: 600;
		font-family: var(--font-heading);
		text-align: center;
	}

	.related {
		border-bottom: 4px solid var(--color-cta);
		padding-bottom: 52px;
		padding-top: 21px;
	}

	.related h2.lm-related__title,
	.upsells h2.lm-upsells__title {
		font-family: var(--font-heading);
		font-size: var(--text-4xl);
		font-weight: 600;
		color: var(--color-text);
		margin: 0 0 20px 76px;
		display: inline-flex;
		align-items: end;
		gap: 10px;
	}

	#main_gauche                          { width: 250px; }
	.lm-search-results__grid.products     { grid-template-columns: repeat(4, 1fr); }
	.lm-shop__categorie--meilleurs-ventes { grid-template-columns: 1fr 1fr 1fr; }
	.lm-shop__categorie--produits-grid    { grid-template-columns: 1fr 1fr 1fr 1fr; }
	.box_topvente_title                   { font-size: 30px; height: 68px; }

	.lm-footer__banniere-content {
		max-width: 1250px;
		justify-content: space-between;
		gap: 66px;
		padding-top: 12px;
		padding-bottom: 27px;
	}

	.lm-footer__banniere-slogan { font-size: 22px; }

	.lm-footer__banniere-title {
		font-family: var(--font-heading);
		font-size: var(--text-4xl);
		font-weight: 600;
		color: var(--color-primary);
	}
}