/* Copie retournée (droite à gauche) de assets/css/barre-achat-v1.css — fabriquée par anaaz-langues, ne pas modifier */
/* Barre fixe « Ajouter au panier » de la fiche produit (inc/barre-achat.php), lot 2, 20/10/2026.
   z-index 990 : sous l'en-tête (999 / 1000), le panneau d'ajout (1001), la bannière cookies et les fenêtres plein écran. */

/* Place réservée en bas de la fiche, toujours la même : la barre ne cache jamais la fin de la page et rien ne saute. */
body.anaaz-avec-barre-achat {
	padding-bottom: 76px;
}

.anaaz-barre-achat {
	position: fixed;
	right: 0;
	left: 0;
	bottom: 0;
	z-index: 990;
	background: #fff;
	border-top: 1px solid #e6e6e6;
	box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
	padding-bottom: env(safe-area-inset-bottom, 0px);
	transform: translateY(110%);
	visibility: hidden;
	transition: transform 0.25s ease, visibility 0.25s;
	will-change: transform;
}

.anaaz-barre-achat--visible {
	transform: none;
	visibility: visible;
}

/* Fenêtre des onglets ouverte (content-single-product.php) : pas de barre par-dessus. */
body.popup-open .anaaz-barre-achat {
	display: none;
}

.anaaz-barre-achat__dedans {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	box-sizing: border-box;
	max-width: 1280px;
	min-height: 76px;
	margin: 0 auto;
	padding: 10px 20px;
}

.anaaz-barre-achat p {
	margin: 0;
}

.anaaz-barre-achat__produit {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1 1 auto;
	min-width: 0;
}

.anaaz-barre-achat__photo {
	flex: 0 0 56px;
	width: 56px !important;
	height: 56px !important;
	object-fit: cover;
	border-radius: 4px;
}

.anaaz-barre-achat__nom {
	overflow: hidden;
	color: #111;
	font-size: 14px;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.anaaz-barre-achat__prix {
	flex: 0 0 auto;
	color: #111;
	font-size: 16px;
	font-weight: 600;
	white-space: nowrap;
}

.anaaz-barre-achat__prix del {
	margin-left: 6px;
	color: #666;
	font-weight: 400;
}

.anaaz-barre-achat__prix ins {
	text-decoration: none;
}

.anaaz-barre-achat__coeur {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #2b2b2b;
	cursor: pointer;
}

.anaaz-barre-achat__coeur[hidden] {
	display: none;
}

.anaaz-barre-achat__coeur svg path {
	fill: transparent;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.anaaz-barre-achat__coeur--plein {
	color: #000;
}

.anaaz-barre-achat__coeur--plein svg path {
	fill: #000;
	stroke: #000;
}

.anaaz-barre-achat__bouton {
	flex: 0 0 auto;
	min-height: 48px;
	padding: 0 32px;
	border: 1px solid #1c2b36;
	border-radius: 4px;
	background: #1c2b36;
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
}

.anaaz-barre-achat__bouton:hover {
	background: #2c4152;
}

.anaaz-barre-achat__coeur:focus-visible,
.anaaz-barre-achat__bouton:focus-visible {
	outline: 2px solid #1c2b36;
	outline-offset: 2px;
}

/* Petit message du cœur (« Ajouté aux favoris »), au-dessus de la barre */
.anaaz-barre-achat__annonce {
	position: absolute;
	left: 20px;
	bottom: calc(100% + 8px);
	padding: 2px 8px;
	border-radius: 4px;
	background: #1c2b36;
	color: #fff;
	font-size: 12px;
	line-height: 1.5;
	white-space: nowrap;
	opacity: 0;
	transition: opacity 0.2s ease;
	pointer-events: none;
}

.anaaz-barre-achat__annonce--visible {
	opacity: 1;
}

/* Tablette : photo et nom gardés, plus serrés */
@media (min-width: 768px) and (max-width: 1024px) {
	.anaaz-barre-achat__dedans {
		gap: 12px;
		padding: 10px 16px;
	}

	.anaaz-barre-achat__bouton {
		padding: 0 22px;
	}
}

/* Téléphone : pleine largeur, prix + grand bouton (pas de photo, de nom ni de cœur) */
@media (max-width: 767px) {
	body.anaaz-avec-barre-achat {
		padding-bottom: 72px;
	}

	.anaaz-barre-achat__dedans {
		gap: 12px;
		min-height: 72px;
		padding: 10px 16px;
	}

	.anaaz-barre-achat__produit,
	.anaaz-barre-achat__coeur,
	.anaaz-barre-achat__annonce {
		display: none !important;
	}

	.anaaz-barre-achat__prix {
		flex: 1 1 auto;
		min-width: 0;
		font-size: 17px;
		white-space: normal;
	}

	.anaaz-barre-achat__bouton {
		flex: 0 0 58%;
		min-height: 52px;
		padding: 0 12px;
		font-size: 16px;
	}

	/* Panneau d'ajout du lot 1 : posé au-dessus de la barre quand elle est affichée */
	body.anaaz-barre-visible .anaaz-panneau {
		bottom: var(--anaaz-barre-hauteur, 0px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.anaaz-barre-achat,
	.anaaz-barre-achat__annonce {
		transition: none;
	}
}

/* retouches 6.305 */
.woocommerce-breadcrumb a:after{transform:scaleX(-1)}
/* retouches 6.307 */
html[dir=rtl]{overflow-x:hidden}@supports (overflow:clip){html[dir=rtl],html[dir=rtl] body{overflow-x:clip}}
/* retouches 6.311 */
.anaaz-choix,.anaaz-ar-erreur,.toaster,body #colorbox,.anaaz-var__liste [data-anaaz-bulle]::before,.anaaz-var__liste [data-anaaz-bulle]::after{left:50%!important;right:auto!important}
.anaaz-panneau{left:auto!important;right:16px!important}@media (max-width:767px){.anaaz-panneau{left:0!important;right:0!important}}
/* retouches 6.319 */
.slick-slider{direction:ltr}.slick-slider .slick-slide{float:left!important;direction:rtl}
/* retouches 6.333 : cœur des favoris de la fiche à la FIN du titre (côté gauche), place réservée à gauche, jamais sur le texte */
html[dir=rtl] .single-product .summary .variant-holder>.product_title{padding-right:0!important;padding-left:52px!important}html[dir=rtl] .anaaz-favori{right:auto!important;left:0!important;align-items:flex-start!important}html[dir=rtl] .anaaz-favori__message{right:auto!important;left:0!important}@media (max-width:768px){html[dir=rtl] .single-product .summary .variant-holder>.product_title{padding-right:0!important;padding-left:56px!important}}
/* retouches 6.335 : numéros de téléphone et adresses e-mail toujours écrits de gauche à droite (« +33… » et non « 33…+ »), alignés à droite */
html[dir=rtl] input[type=tel],html[dir=rtl] input[type=email],html[dir=rtl] input#phone,html[dir=rtl] input[name*=phone],html[dir=rtl] input[name*=email],html[dir=rtl] input#user_email{direction:ltr;text-align:right}
/* retouches 6.337 : tiroir du menu (extension Drawer Sliding, réglé « à gauche ») ouvert à DROITE, côté du bouton ; flèches des onglets dans le sens de lecture */
html[dir=rtl] .cs_drawer-left{left:auto!important;right:0!important;border-right:none!important;border-left:1px solid #dfdfdf}html[dir=rtl] .cs_drawer-left .cs_drawer-controls{left:auto!important;right:100%!important}html[dir=rtl] .cs_drawer-left.fold{margin-left:0!important;margin-right:-100%}html[dir=rtl] .cs_drawer-left.folding{transition-property:margin-right}@media (min-width:768px){html[dir=rtl] .cs_drawer-left.fold.dw-sm-6{margin-right:-50%}}@media (min-width:992px){html[dir=rtl] .cs_drawer-left.fold.dw-md-4{margin-right:-33.33333333%}}html[dir=rtl] .cs_drawer-left.fold.open{margin-left:0!important;margin-right:0!important}
html[dir=rtl] .ds-menu-wrap .scroll-arrow.right{transform:rotate(180deg)}html[dir=rtl] .ds-menu-wrap .scroll-arrow.left{transform:none}
