/*
 * Réglages d'affichage valables sur tout le site.
 */

/* ------------------------------------------------ Bandeau promotionnel
 * Il annonçait un code jamais utilisé et prenait 110 px du premier écran
 * sur téléphone. Masqué plutôt que supprimé du gabarit : le rallumer tient
 * en une option, le jour où une promotion le mérite. */
body.dyrsan-sans-bandeau #header-info,
body.dyrsan-sans-bandeau .a-scrolling-text,
body.dyrsan-sans-bandeau .elementor-widget-neuron-scrolling-text { display:none !important; }

/* ------------------------------------------------------ Avis, hors onglet
 * Sortis de « Avis (0) », ils ouvrent leur propre section sous la fiche.
 * Ce qui reste caché derrière un onglet ne se remplit jamais. */
.dyrs-avis-section {
	max-width:1180px; margin:48px auto 0; padding:36px 20px 0;
	border-top:1px solid rgba(0,0,0,.12);
}
.dyrs-avis-section #reviews { display:block !important; }
.dyrs-avis-section #comments > h2,
.dyrs-avis-section #review_form_wrapper .comment-reply-title {
	font-family:"Outfit", "Helvetica Neue", Arial, sans-serif;
	font-size:12px; font-weight:500; letter-spacing:.16em; text-transform:uppercase;
	color:#1A1A1A; margin:0 0 20px;
}
.dyrs-avis-section .woocommerce-noreviews {
	font-size:14px; color:#1A1A1A; opacity:.7; margin:0 0 26px;
}
.dyrs-avis-section .comment-form { max-width:640px; }
.dyrs-avis-section .comment-form input[type=text],
.dyrs-avis-section .comment-form input[type=email],
.dyrs-avis-section .comment-form textarea {
	width:100%; border:1px solid rgba(0,0,0,.2); border-radius:0;
	padding:12px 14px; font-size:16px; background:#fff;
}
.dyrs-avis-section .comment-form label { font-size:12px; letter-spacing:.06em; }
.dyrs-avis-section .comment-form .form-submit input[type=submit] {
	background:#1A1A1A; color:#fff; border:1px solid #1A1A1A; border-radius:0;
	font-family:"Outfit", "Helvetica Neue", Arial, sans-serif;
	font-size:11px; letter-spacing:.18em; text-transform:uppercase;
	padding:16px 28px; cursor:pointer;
}
.dyrs-avis-section .comment-form .form-submit input[type=submit]:hover {
	background:#fff; color:#1A1A1A;
}
.dyrs-avis-section .stars a { color:#1A1A1A; }

@media (max-width:900px) {
	.dyrs-avis-section { margin-top:32px; padding:28px 16px 0; }
}


/* ============================================================
 * Passerelle vers la mercerie, au bas des pages de services
 * ========================================================== */
.dyrs-passerelle {
	max-width:1180px; margin:0 auto; padding:72px 20px;
	border-top:1px solid rgba(0,0,0,.12);
	font-family:"Jost", "Helvetica Neue", Arial, sans-serif; color:#1A1A1A;
}
.dyrs-passerelle__intro { max-width:56ch; margin:0 0 40px; }
.dyrs-passerelle__sur {
	font-family:"Outfit", "Helvetica Neue", Arial, sans-serif;
	font-size:10px; letter-spacing:.26em; text-transform:uppercase;
	opacity:.55; margin:0 0 14px; }
.dyrs-passerelle__titre {
	font-family:"Outfit", "Helvetica Neue", Arial, sans-serif;
	font-size:30px; font-weight:300; line-height:1.15; letter-spacing:-.01em;
	margin:0 0 16px; color:#1A1A1A; }
.dyrs-passerelle__texte { font-size:15px; line-height:1.65; margin:0; opacity:.82; }

.dyrs-passerelle__grille {
	display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:24px; margin:0 0 36px; }
.dyrs-passerelle__article {
	display:flex; flex-direction:column; gap:10px;
	text-decoration:none; color:inherit; }
.dyrs-passerelle__image { display:block; overflow:hidden; background:rgba(0,0,0,.04); aspect-ratio:4/5; }
.dyrs-passerelle__image img {
	width:100%; height:100%; object-fit:cover; display:block;
	transition:transform .5s ease; }
.dyrs-passerelle__article:hover .dyrs-passerelle__image img { transform:scale(1.04); }
.dyrs-passerelle__nom {
	font-family:"Outfit", "Helvetica Neue", Arial, sans-serif;
	font-size:12px; letter-spacing:.06em; line-height:1.4; }
.dyrs-passerelle__prix { font-size:13px; font-weight:500; }
.dyrs-passerelle__prix .woocommerce-price-suffix { font-size:10px; opacity:.6; }

.dyrs-passerelle__pied { text-align:center; }
.dyrs-passerelle__bouton {
	display:inline-block; padding:18px 40px;
	background:#1A1A1A; color:#fff !important; text-decoration:none;
	border:1px solid #1A1A1A;
	font-family:"Outfit", "Helvetica Neue", Arial, sans-serif;
	font-size:11px; letter-spacing:.20em; text-transform:uppercase;
	transition:background .2s ease, color .2s ease; }
.dyrs-passerelle__bouton:hover { background:#fff; color:#1A1A1A !important; }

@media (max-width:900px) {
	.dyrs-passerelle { padding:48px 16px; }
	.dyrs-passerelle__titre { font-size:24px; }
	.dyrs-passerelle__grille { grid-template-columns:repeat(2, minmax(0,1fr)); gap:16px; margin-bottom:28px; }
	.dyrs-passerelle__bouton { display:block; padding:17px 20px; }
}

/* ============================================================
 * Les avis, enfin visibles sur la fiche produit
 *
 * Le thème rend la description dans sa propre colonne et masque tout le bloc
 * d'onglets de WooCommerce — « display:none » sur .wc-tabs-wrapper. Le
 * formulaire d'avis était donc présent dans la page, mais invisible : personne
 * ne pouvait en laisser un, et le lien des e-mails de demande d'avis tombait
 * dans le vide.
 *
 * On rouvre ce bloc pour n'y garder que les avis : la description est déjà
 * affichée plus haut, et les informations complémentaires aussi.
 * ========================================================== */
body.single-product .woocommerce-tabs.wc-tabs-wrapper {
	display:block !important;
	max-width:1180px; margin:48px auto 0; padding:36px 20px 0;
	border-top:1px solid rgba(0,0,0,.12);
}
body.single-product .woocommerce-tabs .wc-tabs,
body.single-product .woocommerce-tabs #tab-description,
body.single-product .woocommerce-tabs #tab-additional_information { display:none !important; }
body.single-product .woocommerce-tabs #tab-reviews { display:block !important; }

body.single-product #tab-reviews #comments > h2,
body.single-product #tab-reviews .comment-reply-title {
	font-family:"Outfit", "Helvetica Neue", Arial, sans-serif;
	font-size:12px; font-weight:500; letter-spacing:.16em; text-transform:uppercase;
	color:#1A1A1A; margin:0 0 20px; }
body.single-product #tab-reviews .woocommerce-noreviews {
	font-size:14px; color:#1A1A1A; opacity:.7; margin:0 0 26px; }
body.single-product #tab-reviews .comment-form { max-width:640px; }
body.single-product #tab-reviews .comment-form input[type=text],
body.single-product #tab-reviews .comment-form input[type=email],
body.single-product #tab-reviews .comment-form textarea {
	width:100%; border:1px solid rgba(0,0,0,.2); border-radius:0;
	padding:12px 14px; font-size:16px; background:#fff; }
body.single-product #tab-reviews .comment-form label { font-size:12px; letter-spacing:.06em; }
body.single-product #tab-reviews .comment-form .form-submit input[type=submit] {
	background:#1A1A1A; color:#fff; border:1px solid #1A1A1A; border-radius:0;
	font-family:"Outfit", "Helvetica Neue", Arial, sans-serif;
	font-size:11px; letter-spacing:.18em; text-transform:uppercase;
	padding:16px 28px; cursor:pointer; }
body.single-product #tab-reviews .comment-form .form-submit input[type=submit]:hover {
	background:#fff; color:#1A1A1A; }
body.single-product #tab-reviews .stars a { color:#1A1A1A; }

@media (max-width:900px) {
	body.single-product .woocommerce-tabs.wc-tabs-wrapper { margin-top:32px; padding:28px 16px 0; }
}
