/* 420GR Boutique – front */

/* ---------- Barre promo ---------- */
.gr420b-promobar {
	background: #07070a;
	color: #fff;
	font-family: Poppins, system-ui, sans-serif;
	font-size: 13px;
	line-height: 1.3;
	position: relative;
	z-index: 401;
}
.gr420b-promobar__inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 9px 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px 12px;
	text-align: center;
}
.gr420b-promobar__tag {
	background: #ff2ebf;
	color: #fff;
	font-weight: 800;
	font-size: 11px;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: 999px;
}
.gr420b-promobar__text {
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .03em;
}
.gr420b-promobar__hl {
	color: #c7fd54;
	font-weight: 800;
	text-transform: uppercase;
}
.gr420b-countdown {
	font-variant-numeric: tabular-nums;
	color: rgba(255, 255, 255, .8);
	white-space: nowrap;
}
.gr420b-countdown b {
	display: inline-block;
	min-width: 1.6em;
	padding: 2px 4px;
	border-radius: 6px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-weight: 800;
	text-align: center;
}
.gr420b-promobar__cta {
	color: #07070a !important;
	background: #c7fd54;
	font-weight: 800;
	text-decoration: none !important;
	padding: 5px 12px;
	border-radius: 999px;
	white-space: nowrap;
}
.gr420b-promobar__cta:hover {
	background: #fff;
}

/* ---------- Bandeau défilant ---------- */
.gr420b-ticker {
	background: #c7fd54;
	color: #07070a;
	overflow: hidden;
	font-family: Poppins, system-ui, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	position: relative;
	z-index: 400;
}
.gr420b-ticker__track {
	display: flex;
	width: max-content;
	animation: gr420b-ticker 40s linear infinite;
}
.gr420b-ticker:hover .gr420b-ticker__track {
	animation-play-state: paused;
}
.gr420b-ticker__group {
	display: flex;
	flex-shrink: 0;
}
.gr420b-ticker__item {
	padding: 8px 28px;
	white-space: nowrap;
	position: relative;
}
.gr420b-ticker__item::after {
	content: "•";
	position: absolute;
	right: -4px;
	opacity: .5;
}
@keyframes gr420b-ticker {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.gr420b-ticker__track { animation: none; }
	.gr420b-ticker__group[aria-hidden="true"] { display: none; }
	.gr420b-ticker__group { flex-wrap: wrap; justify-content: center; }
}

/* ---------- Badges de prix ---------- */
.gr420b-badge {
	display: inline-block;
	vertical-align: middle;
	margin-left: 6px;
	padding: 3px 9px;
	border-radius: 999px;
	background: #0b704c;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1.4;
	white-space: nowrap;
}
.gr420b-badge--soft {
	background: rgba(199, 253, 84, .16);
	color: #c7fd54;
	border: 1px solid rgba(199, 253, 84, .45);
}
.price del + ins,
.price ins {
	text-decoration: none;
}

/* ---------- Progression panier ---------- */
.gr420b-goals {
	margin: 0 0 18px;
	padding: 14px 16px;
	border-radius: 14px;
	background: rgba(11, 112, 76, .12);
	border: 1px solid rgba(11, 112, 76, .45);
	font-size: 14px;
}
.gr420b-goals p {
	margin: 0 0 8px;
}
.gr420b-goals__bar {
	height: 8px;
	border-radius: 999px;
	background: rgba(127, 127, 127, .25);
	overflow: hidden;
	margin: 0 0 8px;
}
.gr420b-goals__bar span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #0b704c, #c7fd54);
	transition: width .4s ease;
}
.gr420b-goals__done {
	color: #3fbf7f;
	font-weight: 600;
}
.widget_shopping_cart .gr420b-goals,
.wd-cart-content .gr420b-goals {
	margin: 0 0 12px;
	font-size: 13px;
}

/* ---------- Cadeaux ---------- */
.gr420b-gift-tag {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #c7fd54;
	color: #07070a;
	font-size: 11px;
	font-weight: 800;
}
.gr420b-free {
	color: #3fbf7f;
	font-weight: 800;
	text-transform: uppercase;
	font-size: 12px;
}
.gr420b-giftchoice {
	margin: 18px 0;
	padding: 14px 16px;
	border-radius: 14px;
	border: 1px dashed rgba(199, 253, 84, .6);
}
.gr420b-giftchoice__title {
	margin: 0 0 10px;
	font-weight: 700;
}
.gr420b-giftchoice__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.gr420b-giftchoice__opt {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px 8px 8px;
	border-radius: 12px;
	border: 2px solid rgba(127, 127, 127, .3);
	text-decoration: none !important;
	color: inherit !important;
	font-weight: 600;
	font-size: 13px;
}
.gr420b-giftchoice__opt img {
	width: 44px !important;
	height: 44px !important;
	object-fit: cover;
	border-radius: 8px;
	margin: 0 !important;
}
.gr420b-giftchoice__opt.is-active {
	border-color: #c7fd54;
	background: rgba(199, 253, 84, .08);
}

/* ---------- Fidélité ---------- */
.gr420b-earn {
	margin: 6px 0 14px;
	font-size: 13px;
	opacity: .9;
}
.gr420b-loyalty-box {
	margin: 18px 0;
	padding: 14px 16px;
	border-radius: 14px;
	background: rgba(127, 127, 127, .08);
	font-size: 14px;
}
.gr420b-loyalty-box p {
	margin: 0 0 8px;
}
.gr420b-redeem {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.gr420b-redeem select {
	max-width: 260px;
}
.gr420b-account__cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
	margin: 0 0 24px;
}
.gr420b-account__card {
	padding: 18px;
	border-radius: 16px;
	background: rgba(11, 112, 76, .14);
	border: 1px solid rgba(11, 112, 76, .45);
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.gr420b-account__card span {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .08em;
	opacity: .75;
}
.gr420b-account__card strong {
	font-size: 28px;
	line-height: 1.1;
}
.gr420b-account__card em {
	font-style: normal;
	font-size: 13px;
	opacity: .85;
	margin-bottom: 6px;
}
.gr420b-account__rules li {
	margin-bottom: 4px;
}
.gr420b-ref {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.gr420b-ref input {
	flex: 1 1 260px;
}
.gr420b-log .is-plus {
	color: #3fbf7f;
	font-weight: 700;
}
.gr420b-log .is-minus {
	color: #ff6b6b;
	font-weight: 700;
}

/* Montants lisibles sur fond sombre (panier, commande, mini-panier) */
.cart_totals .amount,
.cart_totals .woocommerce-Price-amount,
.cart_totals small,
.woocommerce-checkout-review-order-table .amount,
.shop_table .product-subtotal .amount,
.shop_table .product-price .amount {
	color: inherit !important;
	opacity: 1 !important;
}
.cart_totals .cart-discount .amount {
	color: #3fbf7f !important;
}

/* ---------- Roue de la chance ---------- */
.gr420b-wheel-open { overflow: hidden; }
.gr420b-wheel {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	font-family: Poppins, system-ui, sans-serif;
}
.gr420b-wheel[hidden] { display: none; }
.gr420b-wheel__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .72);
	backdrop-filter: blur(3px);
}
.gr420b-wheel__dialog {
	position: relative;
	width: min(820px, 100%);
	max-height: calc(100vh - 32px);
	overflow: auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	padding: 28px 22px 22px;
	border-radius: 24px;
	background: radial-gradient(circle at 20% 0%, rgba(11, 112, 76, .45), transparent 60%), #07070a;
	color: #fff;
	border: 1px solid rgba(199, 253, 84, .35);
	box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
@media (min-width: 720px) {
	.gr420b-wheel__dialog { grid-template-columns: 1fr 1fr; align-items: center; padding: 34px; }
}
.gr420b-wheel__close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}
.gr420b-wheel__visual {
	position: relative;
	width: min(320px, 72vw);
	margin: 0 auto;
	aspect-ratio: 1;
}
.gr420b-wheel__svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 10px 30px rgba(199, 253, 84, .25)); }
.gr420b-wheel__rot { transform-origin: 0 0; transform-box: view-box; }
.gr420b-wheel__pointer {
	position: absolute;
	top: -6px;
	left: 50%;
	z-index: 2;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 14px solid transparent;
	border-right: 14px solid transparent;
	border-top: 26px solid #fff;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5));
}
.gr420b-wheel__eyebrow {
	margin: 0 0 6px;
	color: #c7fd54;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.gr420b-wheel__title {
	margin: 0 0 8px;
	color: #fff !important;
	font-size: clamp(22px, 3vw, 30px);
	line-height: 1.15;
	font-weight: 800;
	text-transform: uppercase;
}
.gr420b-wheel__text { margin: 0 0 16px; color: rgba(255, 255, 255, .8); font-size: 14px; }
.gr420b-wheel__form input[type=email] {
	width: 100%;
	height: 48px;
	padding: 0 16px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .25);
	background: rgba(255, 255, 255, .06);
	color: #fff;
	font-size: 15px;
}
.gr420b-wheel__consent {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin: 10px 0 14px;
	font-size: 12px;
	color: rgba(255, 255, 255, .75);
	line-height: 1.4;
}
.gr420b-wheel__consent input { margin-top: 2px; flex: 0 0 auto; }
.gr420b-wheel__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 50px;
	border: 0;
	border-radius: 999px;
	background: #c7fd54;
	color: #07070a !important;
	font-weight: 800;
	font-size: 14px;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none !important;
	cursor: pointer;
}
.gr420b-wheel__btn:disabled { opacity: .6; cursor: wait; }
.gr420b-wheel__msg { min-height: 1.2em; margin: 10px 0 0; color: #ff8fa3; font-size: 13px; }
.gr420b-wheel__won { margin: 0 0 12px; font-size: 20px; font-weight: 800; color: #c7fd54; }
.gr420b-wheel__code {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 8px;
	padding: 10px 10px 10px 18px;
	border: 2px dashed #c7fd54;
	border-radius: 14px;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: .06em;
}
.gr420b-wheel__copy {
	border: 0;
	border-radius: 999px;
	padding: 8px 14px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}
.gr420b-wheel__small { margin: 0 0 16px; font-size: 12px; color: rgba(255, 255, 255, .7); }
.gr420b-wheel__legal { margin: 14px 0 0; font-size: 11px; color: rgba(255, 255, 255, .5); }
.gr420b-wheel-tab {
	position: fixed;
	left: 14px;
	bottom: 14px;
	z-index: 9990;
	padding: 10px 14px;
	border: 0;
	border-radius: 999px;
	background: #c7fd54;
	color: #07070a;
	font-weight: 800;
	font-size: 13px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
	cursor: pointer;
}
.gr420b-wheel-tab[hidden] { display: none; }

/* Panier et validation : conteneur élargi sur ordinateur */
@media (min-width:1025px){
	body.woocommerce-cart .wd-page-content > .container,
	body.woocommerce-checkout .wd-page-content > .container,
	body.woocommerce-cart main.wd-content-layout,
	body.woocommerce-checkout main.wd-content-layout{max-width:min(1760px,calc(100vw - 64px))!important;width:100%}
}
