/* Copie retournée (droite à gauche) de assets/css/tablette-v7.css — fabriquée par anaaz-langues, ne pas modifier */
/* Tablette (768-1180 px) = ordinateur adapté à la largeur. Lot 8.957 (règle d'Anaaz du 12/11/2026).
   Chargée par inc/entete-tablette.php (à part, data-no-optimize). Le téléphone (< 768 px) ne change pas.
   Remplace entete-tablette-v1.css (bouton ☰ du téléphone affiché de 768 à 1000 px). */

/* 1. En-tête : ligne du logo et de la recherche, puis ligne du menu, comme sur ordinateur. */
@media (min-width: 768px) and (max-width: 1024px) {
	/* le bouton ☰ du téléphone disparaît (responsive.css plaçait le menu hors de l'écran sous 1000 px) */
	html body #header .mobile-menu-trigger { display: none !important; }
	html body #header .user-area { margin-left: 0 !important; }
	html body #header nav#nav {
		position: static !important; transform: none !important; transition: none !important;
		width: auto !important; height: auto !important; top: auto !important; right: auto !important;
		background: none !important; z-index: auto !important; margin: 0 !important;
	}
	html body #header nav#nav > ul { display: flex !important; flex-direction: row !important; padding-left: 0 !important; padding-right: 0 !important; }
	html body #header nav#nav > ul a { display: inline !important; padding: 7px 8px !important; }
	html body #header .nav-banner-closer { display: none !important; }
}
/* une seule ligne de menu, jamais de retour à la ligne ni de défilement (les rubriques qui ne tiennent pas sont cachées par le script) */
@media (min-width: 768px) and (max-width: 1180px) {
	html body #header .nav-area-bottom { flex-wrap: nowrap !important; }
	html body #header nav#nav { flex-wrap: nowrap !important; align-items: center; min-width: 0; flex: 1 1 auto; overflow: hidden; }
	/* style.css cachait « Catégories » jusqu'à 768 px compris (iPad vertical) */
	html body #header nav#nav > .desktop-menu-opener { display: flex !important; flex: 0 0 auto; }
	/* style.css (768-1024) et une autre règle en arabe (vue à 1180 px) cachaient les rubriques : le script garde celles qui tiennent */
	html body #header nav#nav > ul { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; min-width: 0; overflow: visible; }
	/* « CSS additionnel » de WordPress (menu latéral du téléphone) : 50 px au-dessus de « Mode femme » jusqu'à 768 px */
	html body #header nav#nav > ul > li { flex: 0 0 auto; white-space: nowrap; margin-top: 0 !important; }
}

/* 3. Accueil : blocs de produits (« Ce qu'on aime en ce moment », « Collection Femme », « Collection Homme », « Objets islamiques »,
   « Déco & Maison » : tous .anaaz-favorites-grid) sur UNE ligne. Ordinateur (≥ 1025 px) : 6 ; tablette (768-1024 px) : 4, les suivants cachés. */
@media (min-width: 768px) and (max-width: 1024px) {
	html body.home .anaaz-favorites-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
	html body.home .anaaz-favorites-grid > :nth-child(n+5) { display: none !important; }
}

/* 8. Panier, « Cela pourrait vous intéresser… » : grille de 4 comme sur ordinateur (avant : 2 colonnes, cartes de 372 à 500 px de large). */
@media (min-width: 768px) and (max-width: 1024px) {
	html body .cart-cross-sells ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

/* 9. Pied de page (toutes les pages) : comme sur ordinateur — « Nous suivre » à gauche à sa largeur, les 4 colonnes de liens se partagent le reste
   (avant, 768-1180 px : « Nous suivre » centré sur la moitié de la largeur, colonnes de 74 à 129 px, titres et liens qui se touchaient). */
@media (min-width: 768px) and (max-width: 1180px) {
	html body #footer .footer-holder { gap: 32px; }
	html body #footer .footer-holder > .socials { flex: 0 0 auto !important; width: auto !important; text-align: start !important; }
	html body #footer .footer-holder > .socials ul { justify-content: flex-start !important; }
	html body #footer .footer-holder > .footer-cols { flex: 1 1 auto !important; width: auto !important; max-width: none !important; gap: 24px !important; }
	html body #footer .footer-holder > .footer-cols > .col { flex: 1 1 0 !important; min-width: 0 !important; width: auto !important; margin: 0 !important; }
}

/* 7. Blog (liste des articles) : 3 colonnes égales et même marge à gauche et à droite, comme sur ordinateur
   (avant : 3 colonnes calées à gauche, 56 px de vide à droite ; à 768 px, une seule colonne pleine largeur). */
@media (min-width: 768px) and (max-width: 1180px) {
	html body .about-area > .container { padding-right: 24px !important; padding-left: 24px !important; }
	html body #posts-wrapper { gap: 16px !important; }
	html body #posts-wrapper > .post-col { width: calc((100% - 32px) / 3) !important; flex: 0 0 auto !important; margin-right: 0 !important; margin-left: 0 !important; }
}

/* 5. Pages catégorie : filtres, « Trier par » et « X produits » sur la MÊME ligne (le script règle écarts, puis taille, puis cache « X produits »). */
@media (min-width: 768px) and (max-width: 1180px) {
	html body .anaaz-filtre__barre { flex-wrap: nowrap !important; }
	html body .anaaz-filtre__barre > .anaaz-filtre__form { flex-wrap: nowrap !important; flex: 0 1 auto; min-width: 0; }
	html body .anaaz-filtre__barre > .anaaz-filtre__form > * { flex: 0 0 auto; }
	html body .anaaz-filtre__barre .anaaz-filtre__sections { flex-wrap: nowrap !important; }
	html body .anaaz-filtre__barre > .anaaz-tri { flex: 0 0 auto; }
	html body .anaaz-filtre__barre > .anaaz-filtre__resultat { flex: 0 0 auto; white-space: nowrap; }
}

/* 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}}
.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}
