/* Galerie Triangle — bandeau « notification de la boutique » (WooCommerce).
   Le texte se règle dans Apparence → Personnaliser → WooCommerce → Notification de la boutique.
   Ici : mise en forme seulement. Le texte reste d'un seul tenant et passe à la ligne
   normalement sur mobile ; pictogramme à gauche, croix de fermeture à droite. */

.woocommerce-store-notice.demo_store {
	position: fixed;
	top: auto;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100;
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 13px 60px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.45;
	text-align: center;
	color: #fff;
	background: #80326f;
	box-shadow: 0 -2px 14px rgba(0, 0, 0, .14);
}

/* Pictogramme carte bancaire */
.woocommerce-store-notice.demo_store::before {
	content: "";
	display: inline-block;
	width: 24px;
	height: 18px;
	margin: -3px 10px 0 0;
	vertical-align: middle;
	background: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Cpath fill-rule='evenodd' d='M3 0h18a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm-1 7v8a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V7H2Zm20-3V3a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1h20ZM4 11h6v2H4v-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Cpath fill-rule='evenodd' d='M3 0h18a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm-1 7v8a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V7H2Zm20-3V3a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1h20ZM4 11h6v2H4v-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.woocommerce-store-notice.demo_store a,
.woocommerce-store-notice.demo_store a:visited {
	color: #fff;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.woocommerce-store-notice.demo_store a:hover,
.woocommerce-store-notice.demo_store a:focus {
	color: #fff;
	text-decoration: none;
}

/* « Ignorer » devient une croix à droite (le texte reste lu par les lecteurs d'écran) */
.woocommerce-store-notice.demo_store a.woocommerce-store-notice__dismiss-link {
	position: absolute;
	top: 50%;
	right: 8px;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	font-size: 0;
	text-decoration: none;
	transform: translateY(-50%);
}

.woocommerce-store-notice.demo_store a.woocommerce-store-notice__dismiss-link::before {
	content: "\00d7";
	display: block;
	font-size: 28px;
	font-weight: 400;
	line-height: 44px;
	text-align: center;
	color: #fff;
	opacity: .85;
}

.woocommerce-store-notice.demo_store a.woocommerce-store-notice__dismiss-link:hover::before,
.woocommerce-store-notice.demo_store a.woocommerce-store-notice__dismiss-link:focus::before {
	opacity: 1;
}

@media (max-width: 639px) {
	.woocommerce-store-notice.demo_store {
		padding: 11px 52px 11px 16px;
		font-size: 14px;
		line-height: 1.4;
		text-align: left;
	}

	.woocommerce-store-notice.demo_store::before {
		width: 20px;
		height: 15px;
		margin-right: 8px;
	}

	.woocommerce-store-notice.demo_store a.woocommerce-store-notice__dismiss-link {
		right: 4px;
	}
}
