/**
 * Ubris Builder WP — Page panier WooCommerce
 *
 * Palette marque : jaune #ffe566, orange #f98700, rouge #ab1a19
 *
 * @author     Complianz System
 * @copyright  2025-2026 Complianz System
 * @license    GPL-2.0-or-later
 */

body.wpcursor-cart-page {
	--wpc-cart-ink: var(--wpcursor-ink, #210000);
	--wpc-cart-muted: #6b5e5a;
	--wpc-cart-cream: var(--wpcursor-cream, #f9f7f5);
	--wpc-cart-yellow: var(--wpcursor-yellow, #ffe566);
	--wpc-cart-orange: var(--wpcursor-orange, #f98700);
	--wpc-cart-peach: var(--wpcursor-peach, #ffb347);
	--wpc-cart-red: var(--wpcursor-red, #ab1a19);
	--wpc-cart-gradient: var(--wpcursor-gradient, linear-gradient(90deg, #f98700 0%, #ab1a19 100%));
	--wpc-cart-pad: max(1.15rem, env(safe-area-inset-left), env(safe-area-inset-right));
	--wpc-cart-font: var(--wpcursor-font-body, "Poppins", system-ui, sans-serif);
	--wpc-cart-title-font: var(--wpcursor-font-title, "Poppins", system-ui, sans-serif);
	--wpc-cart-line: #ebe4df;
	--wpc-cart-max: 80rem;
}

@media (min-width: 1100px) {
	body.wpcursor-cart-page {
		--wpc-cart-pad: clamp(1.5rem, 4vw, 3.5rem);
	}
}

/* —— Conteneur page —— */
body.wpcursor-cart-page .site-content,
body.wpcursor-cart-page #content {
	background: #ffffff;
}

body.wpcursor-cart-page.ast-plain-container.ast-no-sidebar #primary {
	margin-top: 0;
	margin-bottom: 0;
}

body.wpcursor-cart-page .ast-container,
body.wpcursor-cart-page .entry-content {
	max-width: none;
	width: 100%;
}

body.wpcursor-cart-page .ast-article-single,
body.wpcursor-cart-page .entry-content > .woocommerce {
	margin: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}

body.wpcursor-cart-page .entry-content > .woocommerce {
	font-family: var(--wpc-cart-font);
}

/* —— Hero titre —— */
.wpcursor-cart-hero {
	background:
		radial-gradient(circle at 8% 18%, rgb(255 229 102 / 0.45) 0 1.5px, transparent 2px) 0 0 / 18px 18px,
		radial-gradient(circle at 92% 78%, rgb(249 135 0 / 0.28) 0 1.5px, transparent 2px) 0 0 / 18px 18px,
		linear-gradient(180deg, var(--wpc-cart-cream) 0%, #fff 100%);
	border-bottom: 1px solid var(--wpc-cart-line);
	margin: 0 0 2rem;
	padding: 2.75rem var(--wpc-cart-pad) 2.5rem;
	text-align: center;
	width: 100%;
}

.wpcursor-cart-hero__inner {
	margin: 0 auto;
	max-width: var(--wpc-cart-max);
}

.wpcursor-cart-hero__title {
	color: var(--wpc-cart-ink);
	font-family: var(--wpc-cart-title-font);
	font-size: clamp(1.85rem, 3.5vw, 2.65rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
	margin: 0 0 0.55rem;
}

.wpcursor-cart-hero__breadcrumb {
	color: var(--wpc-cart-muted);
	font-size: 0.875rem;
	font-weight: 500;
}

.wpcursor-cart-hero__breadcrumb a {
	color: var(--wpc-cart-orange);
	text-decoration: none;
}

.wpcursor-cart-hero__breadcrumb a:hover,
.wpcursor-cart-hero__breadcrumb a:focus-visible {
	color: var(--wpc-cart-red);
	text-decoration: underline;
}

.wpcursor-cart-hero__sep {
	margin: 0 0.35rem;
	opacity: 0.55;
}

/* —— Layout 2 colonnes —— */
.wpcursor-cart-layout {
	display: grid;
	gap: 1.75rem;
	grid-template-columns: 1fr;
	margin: 0 auto 2.5rem;
	max-width: var(--wpc-cart-max);
	padding: 0 var(--wpc-cart-pad);
	width: 100%;
}

.wpcursor-cart-main {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	min-width: 0;
}

@media (min-width: 980px) {
	.wpcursor-cart-layout {
		align-items: start;
		gap: 2rem;
		grid-template-areas:
			"main side"
			"trust side";
		grid-template-columns: minmax(0, 1.2fr) minmax(22rem, 26rem);
	}

	.wpcursor-cart-main {
		grid-area: main;
	}

	.wpcursor-cart-collaterals {
		grid-area: side;
	}

	.wpcursor-cart-layout > .wpcursor-cart-trust {
		grid-area: trust;
	}
}

/* —— Tableau panier —— */
.wpcursor-cart-form {
	margin: 0;
	min-width: 0;
}

body.wpcursor-cart-page table.wpcursor-cart-table.shop_table {
	background: #fff;
	border: 1px solid var(--wpc-cart-line);
	border-collapse: separate;
	border-radius: 0.85rem;
	border-spacing: 0;
	margin: 0;
	overflow: hidden;
	width: 100%;
}

body.wpcursor-cart-page table.wpcursor-cart-table thead {
	background: var(--wpc-cart-gradient);
}

body.wpcursor-cart-page table.wpcursor-cart-table thead th,
body.wpcursor-cart-page table.wpcursor-cart-table thead th a,
body.wpcursor-cart-page table.wpcursor-cart-table thead th span,
body.wpcursor-cart-page .woocommerce table.wpcursor-cart-table.shop_table thead th,
body.wpcursor-cart-page .woocommerce-page table.wpcursor-cart-table.shop_table thead th {
	border: 0 !important;
	color: #ffffff !important;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 0.95rem 1rem;
	text-align: left;
	text-transform: uppercase;
	-webkit-text-fill-color: #ffffff;
}

body.wpcursor-cart-page table.wpcursor-cart-table thead th.product-remove,
body.wpcursor-cart-page table.wpcursor-cart-table thead th.product-thumbnail {
	width: 1%;
}

body.wpcursor-cart-page table.wpcursor-cart-table tbody td {
	border-bottom: 1px solid var(--wpc-cart-line);
	border-top: 0;
	padding: 1.15rem 1rem;
	vertical-align: middle;
}

body.wpcursor-cart-page table.wpcursor-cart-table tbody tr:last-child td {
	border-bottom: 0;
}

body.wpcursor-cart-page table.wpcursor-cart-table .product-remove .remove {
	align-items: center;
	background: transparent !important;
	border: 1px solid var(--wpc-cart-line);
	border-radius: 999px;
	color: var(--wpc-cart-muted) !important;
	display: inline-flex;
	font-size: 1.15rem;
	height: 1.85rem;
	justify-content: center;
	line-height: 1;
	text-decoration: none !important;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
	width: 1.85rem;
}

body.wpcursor-cart-page table.wpcursor-cart-table .product-remove .remove:hover,
body.wpcursor-cart-page table.wpcursor-cart-table .product-remove .remove:focus-visible {
	background: rgb(171 26 25 / 0.08) !important;
	border-color: var(--wpc-cart-red);
	color: var(--wpc-cart-red) !important;
}

body.wpcursor-cart-page table.wpcursor-cart-table .product-thumbnail img {
	border-radius: 0.55rem;
	box-shadow: 0 0 0 1px var(--wpc-cart-line);
	height: 4.25rem;
	object-fit: cover;
	width: 4.25rem;
}

body.wpcursor-cart-page table.wpcursor-cart-table .product-name a {
	color: var(--wpc-cart-ink);
	font-weight: 700;
	text-decoration: none;
}

body.wpcursor-cart-page table.wpcursor-cart-table .product-name a:hover,
body.wpcursor-cart-page table.wpcursor-cart-table .product-name a:focus-visible {
	color: var(--wpc-cart-orange);
}

.wpcursor-cart-item-cat {
	color: var(--wpc-cart-muted);
	display: block;
	font-size: 0.8rem;
	font-weight: 500;
	margin-top: 0.2rem;
}

body.wpcursor-cart-page table.wpcursor-cart-table .product-price,
body.wpcursor-cart-page table.wpcursor-cart-table .product-subtotal {
	color: var(--wpc-cart-ink);
	font-weight: 700;
	white-space: nowrap;
}

body.wpcursor-cart-page table.wpcursor-cart-table .quantity {
	align-items: center;
	background: #fff;
	border: 1px solid var(--wpc-cart-line);
	border-radius: 0.55rem;
	display: inline-flex;
	gap: 0;
	max-width: 7.5rem;
	overflow: hidden;
}

body.wpcursor-cart-page table.wpcursor-cart-table .quantity .qty {
	appearance: textfield;
	background: transparent;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--wpc-cart-ink);
	font-weight: 600;
	height: 2.4rem !important;
	margin: 0;
	min-width: 2.5rem;
	padding: 0 0.25rem;
	text-align: center;
	width: 2.75rem !important;
}

body.wpcursor-cart-page table.wpcursor-cart-table .quantity .qty::-webkit-outer-spin-button,
body.wpcursor-cart-page table.wpcursor-cart-table .quantity .qty::-webkit-inner-spin-button {
	appearance: none;
	margin: 0;
}

body.wpcursor-cart-page table.wpcursor-cart-table .quantity .ast-qty-plus,
body.wpcursor-cart-page table.wpcursor-cart-table .quantity .ast-qty-minus,
body.wpcursor-cart-page table.wpcursor-cart-table .quantity .plus,
body.wpcursor-cart-page table.wpcursor-cart-table .quantity .minus,
body.wpcursor-cart-page table.wpcursor-cart-table .quantity button {
	align-items: center;
	background: var(--wpc-cart-cream);
	border: 0;
	color: var(--wpc-cart-ink);
	cursor: pointer;
	display: inline-flex;
	font-size: 1rem;
	font-weight: 700;
	height: 2.4rem;
	justify-content: center;
	line-height: 1;
	min-width: 2rem;
	padding: 0;
	width: 2rem;
}

body.wpcursor-cart-page table.wpcursor-cart-table .quantity .ast-qty-plus:hover,
body.wpcursor-cart-page table.wpcursor-cart-table .quantity .ast-qty-minus:hover,
body.wpcursor-cart-page table.wpcursor-cart-table .quantity .plus:hover,
body.wpcursor-cart-page table.wpcursor-cart-table .quantity .minus:hover {
	background: var(--wpc-cart-yellow);
	color: var(--wpc-cart-ink);
}

/* —— Actions coupon / vider —— */
body.wpcursor-cart-page table.wpcursor-cart-table td.actions {
	background: var(--wpc-cart-cream);
	padding: 1rem 1.1rem;
}

.wpcursor-cart-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem 1rem;
	justify-content: space-between;
	width: 100%;
}

.wpcursor-cart-actions .coupon {
	align-items: stretch;
	display: flex;
	flex: 1 1 16rem;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
}

.wpcursor-cart-actions .coupon .input-text {
	background: #fff;
	border: 1px solid var(--wpc-cart-line);
	border-radius: 0.55rem;
	box-shadow: none;
	flex: 1 1 9rem;
	height: 2.75rem;
	margin: 0;
	max-width: 14rem;
	padding: 0 0.9rem;
	width: auto;
}

.wpcursor-cart-actions .coupon .input-text:focus {
	border-color: var(--wpc-cart-orange);
	outline: none;
}

body.wpcursor-cart-page .wpcursor-cart-coupon-btn.button {
	background: var(--wpc-cart-gradient) !important;
	border: 0 !important;
	border-radius: 0.55rem !important;
	box-shadow: none !important;
	color: #fff !important;
	font-weight: 700 !important;
	height: 2.75rem;
	padding: 0 1.15rem !important;
	white-space: nowrap;
}

body.wpcursor-cart-page .wpcursor-cart-coupon-btn.button:hover,
body.wpcursor-cart-page .wpcursor-cart-coupon-btn.button:focus-visible {
	filter: brightness(1.05);
}

.wpcursor-cart-actions__right {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	justify-content: flex-end;
	margin-left: auto;
}

body.wpcursor-cart-page .wpcursor-cart-update.button {
	background: transparent !important;
	border: 1px solid var(--wpc-cart-orange) !important;
	border-radius: 0.55rem !important;
	box-shadow: none !important;
	color: var(--wpc-cart-orange) !important;
	font-weight: 600 !important;
	padding: 0.65rem 1rem !important;
}

body.wpcursor-cart-page .wpcursor-cart-update.button:hover,
body.wpcursor-cart-page .wpcursor-cart-update.button:focus-visible {
	background: rgb(249 135 0 / 0.08) !important;
	color: var(--wpc-cart-red) !important;
	border-color: var(--wpc-cart-red) !important;
}

.wpcursor-cart-clear {
	color: var(--wpc-cart-red);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.wpcursor-cart-clear:hover,
.wpcursor-cart-clear:focus-visible {
	color: var(--wpc-cart-orange);
}

/* —— Récapitulatif —— */
.wpcursor-cart-collaterals {
	margin: 0;
	min-width: 0;
	width: 100%;
}

body.wpcursor-cart-page .wpcursor-cart-collaterals .cart_totals,
body.wpcursor-cart-page .wpcursor-cart-collaterals .wpcursor-cart-summary,
body.wpcursor-cart-page .cart-collaterals .cart_totals {
	float: none !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

body.wpcursor-cart-page .cart-collaterals::after,
body.wpcursor-cart-page .cart-collaterals::before {
	display: none !important;
}

body.wpcursor-cart-page .cart-collaterals {
	display: block !important;
	float: none !important;
	width: 100% !important;
}

/* Express checkout (Stripe / wallets) : pleine largeur du récap */
body.wpcursor-cart-page .wpcursor-cart-collaterals .wc-stripe-payment-request-wrapper,
body.wpcursor-cart-page .wpcursor-cart-collaterals #wc-stripe-payment-request-button,
body.wpcursor-cart-page .wpcursor-cart-collaterals .wc-stripe-express-checkout-element,
body.wpcursor-cart-page .wpcursor-cart-collaterals .express-checkout,
body.wpcursor-cart-page .wpcursor-cart-collaterals [class*="express-checkout"],
body.wpcursor-cart-page .wpcursor-cart-collaterals .ppc-button-wrapper,
body.wpcursor-cart-page .wpcursor-cart-collaterals .paypal-buttons {
	display: block;
	max-width: 100%;
	width: 100% !important;
}

body.wpcursor-cart-page .wpcursor-cart-collaterals .cross-sells {
	display: none;
}

body.wpcursor-cart-page .wpcursor-cart-summary.cart_totals {
	background: #fff;
	border: 1px solid var(--wpc-cart-line);
	border-radius: 0.95rem;
	box-shadow: 0 10px 28px rgb(33 0 0 / 0.06);
	margin: 0;
	padding: 1.35rem 1.35rem 1.5rem;
	position: sticky;
	top: 6rem;
}

.wpcursor-cart-summary__title {
	border: 0;
	color: var(--wpc-cart-ink);
	font-family: var(--wpc-cart-title-font);
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0 0 1rem;
	padding: 0;
}

body.wpcursor-cart-page .wpcursor-cart-summary table.shop_table {
	border: 0;
	margin: 0 0 1.15rem;
}

body.wpcursor-cart-page .wpcursor-cart-summary table.shop_table th,
body.wpcursor-cart-page .wpcursor-cart-summary table.shop_table td {
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--wpc-cart-line);
	color: var(--wpc-cart-muted);
	font-size: 0.92rem;
	font-weight: 500;
	padding: 0.75rem 0;
}

body.wpcursor-cart-page .wpcursor-cart-summary table.shop_table td {
	color: var(--wpc-cart-ink);
	font-weight: 700;
	text-align: right;
}

body.wpcursor-cart-page .wpcursor-cart-summary table.shop_table .cart-discount td,
body.wpcursor-cart-page .wpcursor-cart-summary table.shop_table .cart-discount td .amount {
	color: var(--wpc-cart-red);
}

body.wpcursor-cart-page .wpcursor-cart-summary table.shop_table .order-total th,
body.wpcursor-cart-page .wpcursor-cart-summary table.shop_table .order-total td {
	border-bottom: 0;
	color: var(--wpc-cart-ink);
	font-size: 1.05rem;
	font-weight: 800;
	padding-top: 1rem;
}

body.wpcursor-cart-page .wpcursor-cart-summary .wc-proceed-to-checkout {
	padding: 0;
}

body.wpcursor-cart-page .wpcursor-cart-summary .checkout-button.button {
	align-items: center;
	background: var(--wpc-cart-gradient) !important;
	border: 0 !important;
	border-radius: 999px !important;
	box-shadow: 0 8px 20px rgb(171 26 25 / 0.22) !important;
	color: #fff !important;
	display: flex !important;
	font-size: 0.98rem !important;
	font-weight: 700 !important;
	justify-content: center;
	letter-spacing: -0.01em;
	margin: 0;
	padding: 1rem 1.25rem !important;
	text-align: center;
	text-decoration: none !important;
	transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
}

body.wpcursor-cart-page .wpcursor-cart-summary .checkout-button.button:hover,
body.wpcursor-cart-page .wpcursor-cart-summary .checkout-button.button:focus-visible {
	box-shadow: 0 10px 24px rgb(171 26 25 / 0.3) !important;
	filter: brightness(1.04);
	transform: translateY(-1px);
}

/* —— Réassurances —— */
.wpcursor-cart-layout > .wpcursor-cart-trust {
	background: var(--wpc-cart-cream);
	border: 1px solid var(--wpc-cart-line);
	border-radius: 0.85rem;
	margin: 0;
	padding: 1.25rem 1.15rem;
	width: 100%;
}

.wpcursor-cart-trust {
	background: linear-gradient(180deg, #fff 0%, var(--wpc-cart-cream) 100%);
	border-top: 1px solid var(--wpc-cart-line);
	margin: 2rem 0 0;
	padding: 2rem var(--wpc-cart-pad) 2.5rem;
	width: 100%;
}

.wpcursor-cart-trust__list {
	display: grid;
	gap: 1.1rem;
	grid-template-columns: 1fr;
	list-style: none;
	margin: 0;
	max-width: none;
	padding: 0;
}

@media (min-width: 640px) {
	.wpcursor-cart-layout > .wpcursor-cart-trust .wpcursor-cart-trust__list {
		gap: 1rem;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 760px) {
	.wpcursor-cart-trust__list {
		gap: 1.75rem;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.wpcursor-cart-layout > .wpcursor-cart-trust .wpcursor-cart-trust__list {
		gap: 0.85rem;
	}
}

.wpcursor-cart-layout > .wpcursor-cart-trust .wpcursor-cart-trust__item {
	flex-direction: column;
	gap: 0.55rem;
}

.wpcursor-cart-layout > .wpcursor-cart-trust .wpcursor-cart-trust__title {
	font-size: 0.88rem;
}

.wpcursor-cart-layout > .wpcursor-cart-trust .wpcursor-cart-trust__text {
	font-size: 0.8rem;
}

.wpcursor-cart-trust__item {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	text-align: center;
}

.wpcursor-cart-trust__icon {
	align-items: center;
	background: var(--wpc-cart-gradient);
	background: linear-gradient(135deg, var(--wpc-cart-yellow) 0%, var(--wpc-cart-orange) 45%, var(--wpc-cart-red) 100%);
	border-radius: 0.75rem;
	color: #ffffff;
	display: inline-flex;
	flex: 0 0 auto;
	height: 3.15rem;
	justify-content: center;
	margin-inline: auto;
	width: 3.15rem;
}

.wpcursor-cart-trust__icon svg {
	color: #ffffff;
	stroke: #ffffff;
}

.wpcursor-cart-trust__icon svg path,
.wpcursor-cart-trust__icon svg rect {
	stroke: #ffffff;
}

.wpcursor-cart-trust__copy {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
	text-align: center;
	width: 100%;
}

.wpcursor-cart-trust__title {
	color: var(--wpc-cart-ink);
	font-family: var(--wpc-cart-title-font);
	font-size: 0.98rem;
	font-weight: 800;
	letter-spacing: -0.015em;
	line-height: 1.3;
}

.wpcursor-cart-trust__text {
	color: var(--wpc-cart-muted);
	font-size: 0.875rem;
	line-height: 1.5;
}

/* —— Panier vide —— */
body.wpcursor-cart-page .cart-empty.woocommerce-info,
body.wpcursor-cart-page .woocommerce-info {
	background: var(--wpc-cart-cream);
	border: 1px solid var(--wpc-cart-line);
	border-radius: 0.85rem;
	border-top-color: var(--wpc-cart-orange);
	color: var(--wpc-cart-ink);
	margin: 0 auto 1.25rem;
	max-width: var(--wpc-cart-max);
	padding: 1.25rem 1.35rem;
	width: calc(100% - 2 * var(--wpc-cart-pad));
}

body.wpcursor-cart-page .return-to-shop {
	margin: 0 auto 1rem;
	max-width: var(--wpc-cart-max);
	padding: 0 var(--wpc-cart-pad);
}

body.wpcursor-cart-page .return-to-shop .button {
	background: var(--wpc-cart-gradient) !important;
	border: 0 !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	color: #fff !important;
	font-weight: 700 !important;
	padding: 0.9rem 1.35rem !important;
	text-decoration: none !important;
}

/* —— Responsive table —— */
@media (max-width: 768px) {
	body.wpcursor-cart-page table.wpcursor-cart-table.shop_table_responsive thead {
		display: none;
	}

	body.wpcursor-cart-page table.wpcursor-cart-table.shop_table_responsive tr {
		border-bottom: 1px solid var(--wpc-cart-line);
		display: block;
		padding: 0.85rem 0.25rem;
	}

	body.wpcursor-cart-page table.wpcursor-cart-table.shop_table_responsive td {
		display: flex;
		justify-content: space-between;
		padding: 0.45rem 0.85rem !important;
		text-align: right;
	}

	body.wpcursor-cart-page table.wpcursor-cart-table.shop_table_responsive td::before {
		color: var(--wpc-cart-muted);
		content: attr(data-title);
		font-weight: 600;
		padding-right: 0.75rem;
		text-align: left;
	}

	body.wpcursor-cart-page table.wpcursor-cart-table.shop_table_responsive td.product-remove,
	body.wpcursor-cart-page table.wpcursor-cart-table.shop_table_responsive td.product-thumbnail {
		justify-content: flex-start;
	}

	body.wpcursor-cart-page table.wpcursor-cart-table.shop_table_responsive td.product-remove::before,
	body.wpcursor-cart-page table.wpcursor-cart-table.shop_table_responsive td.product-thumbnail::before,
	body.wpcursor-cart-page table.wpcursor-cart-table.shop_table_responsive td.actions::before {
		display: none;
	}

	body.wpcursor-cart-page table.wpcursor-cart-table.shop_table_responsive td.product-name {
		flex-direction: column;
		gap: 0.25rem;
		text-align: left;
	}

	body.wpcursor-cart-page .wpcursor-cart-summary.cart_totals {
		position: static;
	}

	.wpcursor-cart-actions__right {
		margin-left: 0;
		width: 100%;
	}

	.wpcursor-cart-actions .coupon {
		flex: 1 1 100%;
		min-width: 0;
		width: 100%;
	}

	.wpcursor-cart-actions .coupon .input-text {
		flex: 1 1 0;
		max-width: none;
		min-width: 0;
	}

	body.wpcursor-cart-page .wpcursor-cart-coupon-btn.button {
		flex: 0 1 auto;
		font-size: 0.78rem !important;
		letter-spacing: -0.01em;
		max-width: 100%;
		padding: 0 0.7rem !important;
	}
}

/* —— Motion légère —— */
@media (prefers-reduced-motion: no-preference) {
	.wpcursor-cart-hero {
		animation: wpcursor-cart-fade 0.55s ease both;
	}

	.wpcursor-cart-layout {
		animation: wpcursor-cart-rise 0.6s 0.08s ease both;
	}

	.wpcursor-cart-trust {
		animation: wpcursor-cart-rise 0.65s 0.16s ease both;
	}
}

@keyframes wpcursor-cart-fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes wpcursor-cart-rise {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
