:root {
	--syro-cream: #f6f1e7;
	--syro-paper: #fbf8f2;
	--syro-ink: #2a2420;
	--syro-olive: #5c6b3a;
	--syro-olive-deep: #3e4a28;
	--syro-bordeaux: #6e2430;
	--syro-bordeaux-deep: #4a1520;
	--syro-gold: #c4a265;
}

.syro-footer-wrapper {
	background-color: var(--syro-bordeaux-deep);
	background-image: url("../images/syro-paisley-footer.svg");
	background-size: 180px 180px;
	color: var(--syro-cream);
	box-shadow: none;
}

.syro-footer-wrapper .syro-footer-col h4 {
	color: var(--syro-gold);
}

.syro-footer-wrapper .syro-footer-col p,
.syro-footer-wrapper .syro-footer-bottom p,
.syro-footer-wrapper .syro-cbd-legal-footer__p {
	color: var(--syro-cream);
	font-size: 15px;
	line-height: 1.55;
}

.syro-footer-wrapper .syro-footer-col ul li a,
.syro-footer-wrapper .syro-footer-bottom a,
.syro-footer-wrapper .syro-cbd-legal-footer a {
	color: var(--syro-cream) !important;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.syro-footer-wrapper .syro-footer-col ul li a:hover,
.syro-footer-wrapper .syro-footer-bottom a:hover {
	color: var(--syro-gold) !important;
}

.syro-footer-wrapper .syro-social-link {
	background: transparent;
	border: 1px solid var(--syro-gold);
	color: var(--syro-cream) !important;
	box-shadow: none;
}

.syro-footer-wrapper .syro-footer-cookies {
	background: transparent;
	border: 0;
	color: var(--syro-cream);
	text-decoration: underline;
	cursor: pointer;
	font: inherit;
	padding: 0;
}

.single_add_to_cart_button,
.checkout-button,
#place_order {
	background: var(--syro-olive-deep) !important;
	color: var(--syro-cream) !important;
	border: 1px solid var(--syro-gold) !important;
	border-radius: 999px !important;
	box-shadow: none !important;
}

.syro-loyalty-bubble {
	position: fixed;
	z-index: 40;
	left: 12px;
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	width: 72px;
	padding: 6px 6px 8px;
	border-radius: 999px;
	background: var(--syro-cream);
	border: 2px solid var(--syro-olive-deep);
	color: var(--syro-olive-deep);
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
}

.syro-loyalty-bubble img {
	display: block;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center 18%;
	background: #1c1c1c;
}

.single-product .syro-weight-step__short {
	display: none;
}

.syro-loyalty-bubble:focus-visible,
.syro-loyalty-panel a:focus-visible,
.syro-loyalty-panel button:focus-visible {
	outline: 3px solid var(--syro-gold);
	outline-offset: 2px;
}

@media (max-width: 921px) {
	body:not(.woocommerce-checkout) .syro-loyalty-bubble {
		z-index: 999900;
		top: 176px;
		right: 10px;
		left: auto;
		bottom: auto;
	}
	.single-product .syro-relances-format-hint,
	.single-product .syro-weight-step__long {
		display: none !important;
	}
	.single-product .syro-weight-step__short {
		display: inline !important;
	}
	.single-product .syro-weight-steps {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		gap: 6px !important;
	}
	.single-product .syro-weight-step {
		flex: 1 1 0 !important;
		width: auto !important;
		max-width: none !important;
		min-width: 0 !important;
		padding: 12px 4px !important;
		font-size: 15px !important;
	}
	.single-product form.cart:has(.syro-weight-buttons-block) table.variations {
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		overflow: hidden !important;
		clip: rect(0, 0, 0, 0) !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	.syro-checkout-progress {
		display: none !important;
	}
	body.woocommerce-cart .syro-mobile-checkout-quick__hint {
		display: none;
	}
	.syro-checkout-progress {
		margin-bottom: 8px !important;
		padding: 8px 4px !important;
	}
	.syro-checkout-progress > div > div:first-child {
		width: 28px !important;
		height: 28px !important;
		margin: 0 auto 4px !important;
		font-size: 13px !important;
	}
}

.syro-loyalty-panel {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	padding: 16px;
	padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	background: rgba(42, 36, 32, 0.45);
}

.syro-loyalty-panel[hidden] {
	display: none;
}

.syro-loyalty-panel__card {
	width: min(420px, 100%);
	margin-left: 4px;
	background: var(--syro-paper);
	color: var(--syro-ink);
	border: 1px solid var(--syro-olive);
	border-radius: 18px;
	padding: 20px 18px 16px;
}

.syro-loyalty-panel__card h2 {
	margin: 0 36px 12px 0;
	font-size: 22px;
	color: var(--syro-bordeaux-deep);
}

.syro-loyalty-panel__close {
	position: absolute;
	margin-top: -4px;
	right: 28px;
	background: transparent;
	border: 0;
	color: var(--syro-ink);
	font-weight: 700;
	cursor: pointer;
}

.syro-loyalty-panel__card {
	position: relative;
}

.syro-loyalty-balances {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
}

.syro-loyalty-balances li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid rgba(92, 107, 58, 0.25);
}

.syro-loyalty-panel__actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 12px;
}

.syro-ui-btn {
	display: inline-block;
	text-align: center;
	text-decoration: none;
	background: var(--syro-olive-deep);
	color: var(--syro-cream);
	border-radius: 999px;
	padding: 12px 16px;
	border: 1px solid var(--syro-gold);
	font-weight: 700;
}

.syro-ui-btn--ghost {
	background: transparent;
	color: var(--syro-olive-deep);
}

/* Parcours : produit visible tout de suite */
.syro-product-buyfirst {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: stretch;
}
.syro-product-buyfirst .product-image,
.syro-product-buyfirst .product-summary {
	width: 100%;
	min-width: 0;
}
.single-product .product-image img,
.single-product .woocommerce-product-gallery__image img {
	max-height: 120px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	margin-inline: auto;
}
@media (min-width: 900px) {
	.syro-product-buyfirst {
		flex-direction: row;
		align-items: flex-start;
		gap: 28px;
	}
	.syro-product-buyfirst .product-image {
		flex: 0 0 42%;
		width: 42%;
	}
	.syro-product-buyfirst .product-summary {
		flex: 1;
	}
	.single-product .product-image img,
	.single-product .woocommerce-product-gallery__image img {
		max-height: 460px;
	}
}

.syro-shop-filters-row {
	flex-direction: row !important;
	align-items: flex-start;
}
.syro-shop-filters-bar .syro-shop-filter {
	padding: 6px 8px !important;
}
.syro-shop-filters-bar .widget-title {
	font-size: 13px !important;
	margin: 0 0 4px !important;
}
.syro-shop-filters-bar .product-categories,
.syro-shop-filters-bar .woocommerce-widget-layered-nav-list {
	flex-wrap: nowrap !important;
	overflow-x: auto;
	max-height: 46px;
	padding-bottom: 2px;
}
.syro-shop-back {
	padding: 6px 12px !important;
	margin-bottom: 6px;
}

@media (max-width: 782px) {
	.syro-fp-hero {
		padding: 8px 0 12px !important;
	}
	.syro-fp-badge {
		margin-bottom: 8px !important;
	}
	.syro-fp-subtitle {
		margin-bottom: 10px !important;
	}
	.syro-fp-features {
		flex-direction: row !important;
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px !important;
		margin-bottom: 12px !important;
	}
	.syro-fp-feature {
		width: auto !important;
		max-width: none !important;
		flex: 1 1 30%;
	}
}

.syro-gc-checkout-notice {
	padding: 8px 12px !important;
	margin-bottom: 8px !important;
	gap: 8px !important;
}
.syro-gc-notice-icon {
	font-size: 18px !important;
}
.syro-gc-notice-content p {
	display: none;
}
body.woocommerce-checkout .woocommerce-form-login-toggle,
body.woocommerce-checkout .woocommerce-form-coupon-toggle {
	margin-bottom: 6px;
}

@media (prefers-reduced-motion: reduce) {
	.syro-loyalty-bubble,
	.syro-loyalty-panel {
		animation: none !important;
		transition: none !important;
	}
}
