/* =====================================================================
   Réglages communs à tout le site — La Main sur la Tête
   Bouton de la newsletter identique aux boutons de la page Le Pianographe
   (bouton Enfold « petit », couleur du thème, icône enveloppe).
   04/10/2026 — Johnny Lo
   ===================================================================== */

/* ---------- Formulaire d'inscription à la newsletter (The Newsletter Plugin) ---------- */
/* Aligné à gauche comme le texte de la colonne (l'extension le centre par défaut) */
#top .tnp-subscription { max-width: 500px; margin: 24px 0 20px; }
#top .tnp-subscription .tnp-field label {
	font-family: oswald, Helvetica, Arial, sans-serif;
	font-size: 17px; line-height: 1.4; font-weight: 400; color: #222;
	margin: 0 0 8px;
}
#top .tnp-subscription input.tnp-email {
	box-sizing: border-box; height: 50px; margin: 0 0 20px; padding: 10px 14px;
	font-family: oswald, Helvetica, Arial, sans-serif; font-size: 18px; color: #444;
	background: #fcfcfc; border: 1px solid #e1e1e1; border-radius: 3px; box-shadow: none;
	transition: border-color .25s ease, background-color .25s ease;
}
#top .tnp-subscription input.tnp-email:focus { border-color: #de8f83; background: #fff; outline: 0; }

/* Bouton « S'abonner » : mêmes mesures que .avia-button.avia-size-small.avia-color-theme-color */
#top .tnp-subscription input.tnp-submit {
	-webkit-appearance: none; appearance: none;
	display: inline-block; width: auto; min-width: 80px; height: auto; margin: 0;
	padding: 15px 15px 15px 33px;
	font-family: oswald, Helvetica, Arial, sans-serif;
	font-size: 18px; line-height: 21.6px; font-weight: 400; letter-spacing: normal; text-transform: none;
	color: #fff;
	background: #de8f83 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29 32' width='18' height='18'%3E%3Cpath fill='%23fff' d='M0.96 8.448q-1.024-0.576-0.896-1.28 0.064-0.448 0.832-0.448h27.072q1.216 0 0.64 1.024-0.256 0.448-0.768 0.704-0.448 0.192-6.144 3.264t-5.824 3.136q-0.512 0.32-1.472 0.32-0.896 0-1.472-0.32-0.128-0.064-5.824-3.136t-6.144-3.264zM28.16 11.648q0.64-0.32 0.64 0.32v11.776q0 0.512-0.544 1.024t-1.056 0.512h-25.6q-0.512 0-1.056-0.512t-0.544-1.024v-11.776q0-0.64 0.64-0.32l12.288 6.4q0.576 0.32 1.472 0.32t1.472-0.32z'/%3E%3C/svg%3E") no-repeat 10px center / 18px 18px;
	border: 0; border-bottom: 1px solid #bc6d61; border-radius: 3px; box-shadow: none;
	cursor: pointer; transition: all .4s ease-in-out;
}
/* Survol : même effet que les boutons Enfold (légère transparence) */
#top .tnp-subscription input.tnp-submit:hover,
#top .tnp-subscription input.tnp-submit:focus { opacity: .9; background-color: #de8f83; color: #fff; }

/* ---------- Avis WooCommerce (« ajouté au panier », erreurs…) sur toutes les pages ----------
   Hors panier / commande / compte, ils s'affichaient avec le vert d'Enfold, un énorme bourrage à droite (152 px) et un
   texte écrasé à côté du bouton : même style que sur les pages d'achat (css/woocommerce-pages.css). */
#top .woocommerce-info,
#top .woocommerce-message,
#top .woocommerce-error {
	font-family: oswald, Helvetica, Arial, sans-serif;
	font-size: 16px; line-height: 1.6; color: #444;
	background: #fbf3f1 !important; border: 0 !important; border-left: 3px solid #de8f83 !important;
	border-radius: 3px; box-shadow: none; padding: 16px 20px !important; margin: 0 0 26px;
}
#top .woocommerce-error { border-left-color: #c0392b !important; background: #fdf2f1 !important; }
#top .woocommerce-info::before, #top .woocommerce-message::before { color: #de8f83; }
#top .woocommerce-info .button, #top .woocommerce-message .button { float: right; margin: -6px 0 0 16px; padding: 10px 22px; font-size: 14px !important; }
@media only screen and (max-width: 767px) {
	#top .woocommerce-info .button, #top .woocommerce-message .button { float: none; display: block; margin: 12px 0 0; text-align: center; }
}

/* ---------- Icône du panier de l'en-tête (Enfold > Boutique > icône du panier) ----------
   Par défaut : carré de 46 px, pictogramme de 15 px et pastille de 11 px, trop petits.
   Depuis le 05/10/2026 elle n'apparaît que lorsque le panier contient au moins un article (functions.php : classe html_visible_cart
   retirée tant que le panier est vide ; la règle ci-dessous garantit qu'elle reste masquée dans ce cas). */

/* Panier vide : pas d'icône (Enfold remet la classe html_visible_cart dès qu'un article est ajouté) */
html:not(.html_visible_cart) #top .cart_dropdown { display: none !important; }

/* Pictogramme et pastille, sur tous les écrans */
#top .cart_dropdown .cart_dropdown_link { font-size: 24px; }
#top .cart_dropdown .cart_dropdown_link svg:first-child { height: 1em; width: auto; transition: fill .2s ease, stroke .2s ease; }
#top #wrap_all .header_color .cart_dropdown_first .cart_dropdown_link.avia-svg-icon:hover svg:first-child,
#top #wrap_all .header_color .cart_dropdown_first .cart_dropdown_link.avia-svg-icon:focus svg:first-child { fill: #de8f83; stroke: #de8f83; }
#top .cart_dropdown .av-cart-counter {
	box-sizing: border-box; height: 21px; min-width: 21px; padding: 0 6px;
	line-height: 21px; font-size: 13px; font-weight: 400;
	margin: -27px 0 0 4px;
}

/* Ordinateur et tablette (menu latéral) : carré de 64 px en bas à droite du logo */
@media only screen and (min-width: 768px) {
	.html_header_sidebar #top .cart_dropdown { width: 64px; height: 64px; line-height: 64px; top: -64px; }
	.html_header_sidebar #top .cart_dropdown .cart_dropdown_link { line-height: 62px; }
	/* Mini-panier au survol : recalé sous le carré agrandi */
	.html_header_sidebar #top .cart_dropdown .dropdown_widget { padding-top: 72px; }
	.html_header_sidebar #top .cart_dropdown .dropdown_widget .avia-arrow { top: 67px; }
}

/* Mini-panier qui s'ouvre au survol de l'icône : articles lisibles (Enfold les écrivait en 11 px) */
@media only screen and (min-width: 990px) {
	.html_header_sidebar #top .cart_dropdown .dropdown_widget { width: 292px; right: 4px; }
}
#top .cart_dropdown .dropdown_widget .widget_shopping_cart_content {
	font-family: oswald, Helvetica, Arial, sans-serif; border-radius: 3px; border-color: #e1e1e1;
	box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .28);
}
#top .cart_dropdown .dropdown_widget li.mini_cart_item {
	position: relative; min-height: 94px; padding: 16px 16px 16px 16px; font-size: 17px; line-height: 1.35;
	border-bottom: 1px solid #ececec;
}
#top .cart_dropdown .dropdown_widget li.mini_cart_item > a:not(.remove) {
	display: block; font-size: 17px; line-height: 1.3; font-weight: 400; color: #222; padding: 0 0 0 76px; min-height: 64px;
}
#top .cart_dropdown .dropdown_widget li.mini_cart_item > a:not(.remove) img {
	position: absolute; left: 16px; top: 16px; width: 60px; height: auto; padding: 0; margin: 0; border-radius: 3px; border: 1px solid #ececec;
}
#top .cart_dropdown .dropdown_widget li.mini_cart_item .quantity {
	display: block; margin: 6px 0 0 76px; font-size: 16px; color: #666;
}
#top .cart_dropdown .dropdown_widget li.mini_cart_item .quantity .amount { font-size: 16px; color: #de8f83; }
#top .cart_dropdown .dropdown_widget li.mini_cart_item a.remove {
	position: absolute; right: 12px; top: 10px; left: auto; width: 24px; height: 24px; line-height: 22px; font-size: 20px; color: #999 !important; border: 0; background: none;
}
#top .cart_dropdown .dropdown_widget li.mini_cart_item a.remove:hover { color: #de8f83 !important; background: none; }
#top .cart_dropdown .dropdown_widget p.total {
	margin: 0; padding: 16px; font-size: 19px; line-height: 1.3; color: #222; border-top: 0; background: none;
}
#top .cart_dropdown .dropdown_widget p.total strong { font-weight: 400; color: #666; }
#top .cart_dropdown .dropdown_widget p.total .amount { font-size: 19px; color: #de8f83; }
#top .cart_dropdown .dropdown_widget p.buttons {
	display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0 16px 16px; font-size: 15px; background: none; border: 0;
}
#top .cart_dropdown .dropdown_widget p.buttons .button {
	flex: 0 0 auto; width: 100%; box-sizing: border-box; float: none; margin: 0; padding: 13px 8px; text-align: center; font-family: oswald, Helvetica, Arial, sans-serif;
	font-size: 15px; line-height: 1.1; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; border-radius: 3px; border: 1px solid #de8f83;
	color: #de8f83; background: #fff; transition: background-color .25s ease, color .25s ease;
}
#top .cart_dropdown .dropdown_widget p.buttons .button.checkout { color: #fff; background: #de8f83; }
#top .cart_dropdown .dropdown_widget p.buttons .button:hover { color: #fff; background: #222; border-color: #222; }

/* Tablette et mobile : écrans tactiles, pas de survol. Le volet latéral est trop étroit pour un mini-panier lisible :
   un seul geste, le clic sur l'icône, qui ouvre la page « Votre panier ». */
@media only screen and (max-width: 989px) {
	#top .cart_dropdown .dropdown_widget { display: none !important; }
}

/* Tablette (768 à 989 px) : le logo rétrécit et le carré de l'icône (64 px) recouvrait le « e » de « Tête » :
   on laisse sous le logo la place de l'icône. */
@media only screen and (min-width: 768px) and (max-width: 989px) {
	.html_header_sidebar #top .logo { padding-bottom: 70px; }
}

/* Mobile : à gauche du bouton de menu, sans cadre (Enfold le collait au menu et le coupait au bord de l'écran).
   Pictogramme de 27 × 30 px (surface équivalente aux trois barres du menu, 35 × 23 px), centré sur le même axe horizontal que
   les barres (centre à 47,5 px du haut) et à 18 px à gauche de celles-ci (bords du menu à 24 px de l'écran, comme panier vide) ; zone de clic de 44 px. */
@media only screen and (max-width: 767px) {
	.responsive.html_header_sidebar #top .cart_dropdown {
		right: 50.4px; width: 44px; height: 44px; line-height: 44px; margin-top: -15.7px;
		border: 0; background: transparent;
	}
	/* Enfold décale le bouton de menu de 25 px quand l'icône du panier apparaît : on le garde en place (il ne « saute » plus
	   d'une page à l'autre) puisque l'icône se place à sa gauche. */
	.responsive.html_visible_cart #top .av-burger-menu-main { padding-right: 0; }
	.responsive.html_header_sidebar #top .cart_dropdown .cart_dropdown_link { font-size: 30px; line-height: 44px; background: transparent; }
}

/* ---------- Oswald hébergé sur le site (05/10/2026) ----------
   Remplace Google Fonts (famille Oswald, graisse 400, sous-ensembles latin et latin étendu : mêmes fichiers que Google, v57) :
   plus de domaine tiers ni de chaîne JavaScript > CSS > police, texte affiché tout de suite (font-display: swap). */
@font-face {
	font-family: 'Oswald'; font-style: normal; font-weight: 400; font-display: swap;
	src: url('../fonts/oswald-v57-latin-ext-400.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Oswald'; font-style: normal; font-weight: 400; font-display: swap;
	src: url('../fonts/oswald-v57-latin-400.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Icônes (05/10/2026) : cinq icônes Font Awesome Free 6.7.2 en masques SVG ----------
   Icônes © Fonticons, Inc., licence CC BY 4.0 (https://fontawesome.com/license/free). Remplacent le plugin Font Awesome
   (feuille de style externe + 277 Ko de polices sur ordinateur) pour les menus Instagram / Espace client et les fiches produits. */
i.fa-solid, i.fa-brands {
	display: inline-block; width: 1em; height: 1em; font-style: normal; line-height: 1; vertical-align: -.125em;
	background-color: currentColor;
	-webkit-mask: var(--lmslt-icone) no-repeat center / contain; mask: var(--lmslt-icone) no-repeat center / contain;
}
i.fa-instagram { width: .875em; --lmslt-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z'/%3E%3C/svg%3E"); }
i.fa-user { width: .875em; --lmslt-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304l-91.4 0z'/%3E%3C/svg%3E"); }
i.fa-truck-fast { width: 1.25em; --lmslt-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath d='M112 0C85.5 0 64 21.5 64 48l0 48L16 96c-8.8 0-16 7.2-16 16s7.2 16 16 16l48 0 208 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L64 160l-16 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l16 0 176 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L64 224l-48 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l48 0 144 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L64 288l0 128c0 53 43 96 96 96s96-43 96-96l128 0c0 53 43 96 96 96s96-43 96-96l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l0-64 0-32 0-18.7c0-17-6.7-33.3-18.7-45.3L512 114.7c-12-12-28.3-18.7-45.3-18.7L416 96l0-48c0-26.5-21.5-48-48-48L112 0zM544 237.3l0 18.7-128 0 0-96 50.7 0L544 237.3zM160 368a48 48 0 1 1 0 96 48 48 0 1 1 0-96zm272 48a48 48 0 1 1 96 0 48 48 0 1 1 -96 0z'/%3E%3C/svg%3E"); }
i.fa-paypal { width: .75em; --lmslt-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M111.4 295.9c-3.5 19.2-17.4 108.7-21.5 134-.3 1.8-1 2.5-3 2.5H12.3c-7.6 0-13.1-6.6-12.1-13.9L58.8 46.6c1.5-9.6 10.1-16.9 20-16.9 152.3 0 165.1-3.7 204 11.4 60.1 23.3 65.6 79.5 44 140.3-21.5 62.6-72.5 89.5-140.1 90.3-43.4.7-69.5-7-75.3 24.2zM357.1 152c-1.8-1.3-2.5-1.8-3 1.3-2 11.4-5.1 22.5-8.8 33.6-39.9 113.8-150.5 103.9-204.5 103.9-6.1 0-10.1 3.3-10.9 9.4-22.6 140.4-27.1 169.7-27.1 169.7-1 7.1 3.5 12.9 10.6 12.9h63.5c8.6 0 15.7-6.3 17.4-14.9.7-5.4-1.1 6.1 14.4-91.3 4.6-22 14.3-19.7 29.3-19.7 71 0 126.4-28.8 142.9-112.3 6.5-34.8 4.6-71.4-23.8-92.6z'/%3E%3C/svg%3E"); }
i.fa-file-arrow-down { width: .75em; --lmslt-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM216 232l0 102.1 31-31c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-72 72c-9.4 9.4-24.6 9.4-33.9 0l-72-72c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l31 31L168 232c0-13.3 10.7-24 24-24s24 10.7 24 24z'/%3E%3C/svg%3E"); }

/* =====================================================================
   Finitions du 07/10/2026 (audit du site, demande de Johnny Lo)
   ===================================================================== */

/* 1. Page Contact : l'adresse e-mail n'est plus coupée sur petit écran */
#top .avia-icon-list .iconlist_content_wrap { overflow: visible; }
#top .avia-icon-list .iconlist_content a { overflow-wrap: anywhere; font-size: clamp(15px, 4.6vw, 20px); }

/* 2. Boutique (2 produits seulement) : le tri « Trier par / Afficher x produits par page » est masqué.
      À retirer le jour où le catalogue grandit. */
#top .product-sorting { display: none; }

/* 3. Texte justifié (réglage de l'éditeur) : aligné à gauche en mise en page mobile ou tablette (< 1100 px),
      sinon de gros blancs apparaissent entre les mots sur les colonnes étroites. */
@media only screen and (max-width: 1099.98px) {
	#top .avia_textblock [style*="text-align: justify"] { text-align: left !important; }
}

/* 4. Navigation au clavier : contour de focus visible */
#top a:focus-visible, #top button:focus-visible, #top input:focus-visible,
#top textarea:focus-visible, #top select:focus-visible, #top [tabindex]:focus-visible {
	outline: 3px solid #9a4b40; outline-offset: 2px;
}

/* 5. Bandeau de cookies (Complianz) : en bas à droite sur ordinateur, pour ne plus cacher le bas du menu de gauche */
@media only screen and (min-width: 1100px) {
	.cmplz-cookiebanner.cmplz-bottom-left { left: auto !important; right: 10px !important; }
}

/* =====================================================================
   Contrôle accessible du 07/10/2026 : bouton de la musique d'accueil (le bouton Pause du diaporama a été retiré le soir même, à la demande de Johnny)
   ===================================================================== */
.lmslt-controle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0; margin: 0; border: 0; border-radius: 50%;
	background: rgba(34, 34, 34, .9); color: #fff; cursor: pointer; line-height: 1;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}
.lmslt-controle svg { width: 24px; height: 24px; fill: currentColor; pointer-events: none; }
.lmslt-controle:hover { background: #000; }
/* Musique d'accueil : en bas à gauche de la zone de contenu (à droite du menu latéral de 300 px) */
.lmslt-musique { position: fixed; left: 316px; bottom: 16px; z-index: 9990; }
@media only screen and (max-width: 1099.98px) {
	.lmslt-musique { left: 16px; }
}
