/**
 * Cart & Checkout — La Verrerie de Biot
 * Styles custom pour /panier/ et /paiement/
 * Scope : body.woocommerce-cart, body.woocommerce-checkout
 */

/* =========================================================================
   Variables (scope local : ne fuit pas sur le reste du site)
   ========================================================================= */
body.woocommerce-cart,
body.woocommerce-checkout {
	--vdb-bordeaux:        #8B1A2B;
	--vdb-bordeaux-dark:   #6B1F2C;
	--vdb-bordeaux-light:  #8a3d4c;
	--vdb-beige:           #FAF6F1;
	--vdb-beige-2:         #F8F3EC;
	--vdb-border:          #E5E0DA;
	--vdb-border-strong:   #C9C2B8;
	--vdb-text:            #1a1a1a;
	--vdb-text-muted:      #6a6a6a;
	--vdb-font-serif:      'Baskervville', Georgia, serif;
	--vdb-font-ui:         'Montserrat', sans-serif;
}

/* =========================================================================
   Stepper — composant réutilisable (cart + checkout)
   ========================================================================= */
.vdb-stepper {
	margin: 0 0 48px;
	padding: 0;
}

.vdb-stepper__list {
	display: flex;
	align-items: center;
	gap: 0;
	list-style: none !important;
	list-style-type: none !important;
	list-style-image: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.vdb-stepper__item {
	display: flex;
	align-items: center;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	list-style-type: none !important;
	background: none !important;
}

.vdb-stepper__item::before,
.vdb-stepper__item::marker {
	content: none !important;
	display: none !important;
}

.vdb-stepper__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 4px;
	font-family: var(--vdb-font-ui);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-decoration: none;
	color: var(--vdb-text-muted);
	transition: color 0.2s ease;
}

.vdb-stepper__link:hover {
	color: var(--vdb-bordeaux);
	text-decoration: none;
}

/* Numéro dans un cercle */
.vdb-stepper__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1.5px solid currentColor;
	font-family: var(--vdb-font-ui);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	background: transparent;
	color: inherit;
}

.vdb-stepper__label {
	display: inline-block;
	white-space: nowrap;
}

/* Séparateur entre étapes */
.vdb-stepper__separator {
	display: inline-block;
	width: 40px;
	height: 1px;
	margin: 0 14px;
	background: var(--vdb-border-strong);
}

/* État DONE — étape validée */
.vdb-stepper__item--done .vdb-stepper__link {
	color: var(--vdb-bordeaux);
}

.vdb-stepper__item--done .vdb-stepper__num {
	background: var(--vdb-bordeaux);
	border-color: var(--vdb-bordeaux);
	color: #fff;
}

/* État ACTIVE — étape courante */
.vdb-stepper__item--active .vdb-stepper__link {
	color: var(--vdb-bordeaux);
	font-weight: 600;
}

.vdb-stepper__item--active .vdb-stepper__num {
	background: var(--vdb-bordeaux);
	border-color: var(--vdb-bordeaux);
	color: #fff;
}

/* État PENDING — étape future (span, non-cliquable) */
.vdb-stepper__item--pending .vdb-stepper__link {
	color: var(--vdb-text-muted);
	opacity: 0.5;
	cursor: default;
}

.vdb-stepper__item--pending .vdb-stepper__num {
	background: transparent;
	border-color: currentColor;
}

/* =========================================================================
   Page wrappers — neutralise Divi sidebar et contraintes width
   Fond aligné sur la navbar (#FEFDFD)
   ========================================================================= */
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-cart #page-container,
body.woocommerce-checkout #page-container,
body.woocommerce-cart #main-content,
body.woocommerce-checkout #main-content,
body.woocommerce-cart #et-main-area,
body.woocommerce-checkout #et-main-area {
	background-color: #FEFDFD !important;
}

/* Autorise position:sticky sur la cart-summary — Divi met overflow-y:hidden
   sur #page-container par défaut, ce qui casse le sticky. */
body.woocommerce-cart,
body.woocommerce-checkout {
	overflow-x: hidden !important;
	overflow-y: visible !important;
}

body.woocommerce-cart #page-container,
body.woocommerce-checkout #page-container,
body.woocommerce-cart #et-main-area,
body.woocommerce-checkout #et-main-area,
body.woocommerce-cart #main-content,
body.woocommerce-checkout #main-content {
	overflow: visible !important;
}

/* Désactive le pseudo-élément Divi qui dessine la ligne verticale du sidebar layout */
body.woocommerce-cart.et_right_sidebar #main-content .container:before,
body.woocommerce-cart.et_left_sidebar #main-content .container:before,
body.woocommerce-cart #main-content .container:before,
body.woocommerce-checkout.et_right_sidebar #main-content .container:before,
body.woocommerce-checkout.et_left_sidebar #main-content .container:before,
body.woocommerce-checkout #main-content .container:before,
body.woocommerce-cart #main-content .container:after,
body.woocommerce-checkout #main-content .container:after {
	display: none !important;
	content: none !important;
	background: none !important;
	border: none !important;
	width: 0 !important;
	right: auto !important;
	left: auto !important;
}

/* Masque le titre WP de la page (doublon avec notre h1 "Mon panier" custom) */
body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title,
body.woocommerce-cart article .post-meta,
body.woocommerce-checkout article .post-meta,
body.woocommerce-cart .et_pb_title_container,
body.woocommerce-checkout .et_pb_title_container {
	display: none !important;
}

body.woocommerce-cart #left-area,
body.woocommerce-checkout #left-area {
	width: 100% !important;
	float: none !important;
	padding: 0;
	background: transparent;
}

body.woocommerce-cart #sidebar,
body.woocommerce-checkout #sidebar {
	display: none !important;
}

body.woocommerce-cart #main-content .container,
body.woocommerce-checkout #main-content .container {
	max-width: 1280px;
	padding: 60px 24px 100px;
	background-color: #FEFDFD;
}

/* Mobile : neutralise les marges 10% que Divi applique via width:80% sur .container.
   Sinon on perd ~75px de largeur sur un viewport de 375px. */
@media (max-width: 768px) {
	body.woocommerce-cart #main-content .container,
	body.woocommerce-checkout #main-content .container {
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding: 40px 16px 60px;
	}
}

/* Article wrapper sans background blanc qui pourrait causer une bande */
body.woocommerce-cart article.post,
body.woocommerce-checkout article.post,
body.woocommerce-cart #content-area,
body.woocommerce-checkout #content-area {
	background: transparent !important;
	box-shadow: none !important;
	border: none !important;
}

/* =========================================================================
   Titres communs
   ========================================================================= */
.vdb-cart-page,
.vdb-checkout-page {
	color: var(--vdb-text);
	font-family: var(--vdb-font-ui);
	font-size: 14px;
	line-height: 1.5;
}

.vdb-page-title {
	font-family: var(--vdb-font-serif);
	font-weight: 400;
	font-size: 44px;
	line-height: 1.1;
	margin: 0 0 32px;
	color: var(--vdb-text);
}

.vdb-section-title {
	font-family: var(--vdb-font-serif);
	font-weight: 400;
	font-size: 26px;
	line-height: 1.2;
	margin: 0 0 24px;
	color: var(--vdb-text);
}

/* =========================================================================
   CART — Layout grid 2 colonnes
   ========================================================================= */
.vdb-cart-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 64px;
	align-items: start;
}

/* Liste produits (colonne gauche) */
.vdb-cart-items {
	min-width: 0;
}

.vdb-cart-items__list {
	border-top: 1px solid var(--vdb-border);
}

/* Cart item */
.vdb-cart-item {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 24px;
	padding: 24px 0;
	border-bottom: 1px solid var(--vdb-border);
	align-items: start;
}

.vdb-cart-item__image {
	background: var(--vdb-beige);
}

.vdb-cart-item__image a,
.vdb-cart-item__image img {
	display: block;
	width: 110px;
	height: 110px;
	object-fit: cover;
	margin: 0;
}

.vdb-cart-item__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.vdb-cart-item__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
}

.vdb-cart-item__name {
	font-family: var(--vdb-font-ui);
	font-size: 14px;
	font-weight: 500;
	margin: 0;
	color: var(--vdb-text);
	line-height: 1.4;
}

.vdb-cart-item__name a {
	color: inherit;
	text-decoration: none;
	border: none;
}

.vdb-cart-item__name a:hover {
	color: var(--vdb-bordeaux);
}

/* Variations (couleur) affichées par wc_get_formatted_cart_item_data */
.vdb-cart-item__name .wc-item-meta,
.vdb-cart-item__name dl.variation {
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--vdb-text-muted);
	font-weight: 400;
	list-style: none;
	padding: 0;
}

.vdb-cart-item__name .wc-item-meta li,
.vdb-cart-item__name dl.variation dd {
	margin: 0;
	display: inline;
}

.vdb-cart-item__name .wc-item-meta .wc-item-meta-label,
.vdb-cart-item__name dl.variation dt {
	display: none;
}

.vdb-cart-item__name dl.variation dd p {
	margin: 0;
	display: inline;
}

.vdb-cart-item__price {
	font-family: var(--vdb-font-ui);
	font-size: 14px;
	font-weight: 500;
	color: var(--vdb-text);
	white-space: nowrap;
}

.vdb-cart-item__price .amount {
	color: inherit;
}

.vdb-cart-item__footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-top: auto;
	flex-wrap: wrap;
}

.vdb-cart-item__qty {
	display: flex;
	align-items: center;
	gap: 12px;
}

.vdb-cart-item__qty-label {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--vdb-text-muted);
}

/* Stepper +/− pour la quantité — calé proprement (boutons et input même hauteur) */
.vdb-qty-stepper {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--vdb-border);
	border-radius: 2px;
	overflow: hidden;
	background: #fff;
	width: auto;
	flex-shrink: 0;
	align-self: center;
	height: 32px;
	box-sizing: border-box;
	line-height: 1;
}

/* Wrapper WC `.quantity` autour de l'input : ne doit pas créer d'espace */
.vdb-qty-stepper .quantity {
	display: flex !important;
	align-items: stretch;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
	height: 100%;
	width: 36px !important;
	max-width: 36px !important;
	min-width: 36px !important;
	flex: 0 0 36px !important;
	box-sizing: border-box;
}

.vdb-qty-stepper__btn {
	background: transparent !important;
	border: none !important;
	width: 30px;
	height: 30px;
	min-height: 30px;
	padding: 0 !important;
	margin: 0 !important;
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	color: var(--vdb-text);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease;
	font-family: var(--vdb-font-ui);
	border-radius: 0 !important;
	box-shadow: none !important;
	flex: 0 0 30px;
	box-sizing: border-box;
}

.vdb-qty-stepper__btn:hover {
	background: var(--vdb-beige) !important;
	color: var(--vdb-bordeaux);
}

.vdb-qty-stepper__btn:focus-visible {
	outline: 2px solid var(--vdb-bordeaux);
	outline-offset: -2px;
}

.vdb-qty-stepper__btn::after {
	display: none !important;
	content: none !important;
}

.vdb-cart-item__qty input.qty,
.vdb-qty-stepper input.qty,
.vdb-qty-stepper__input {
	width: 36px;
	min-width: 36px;
	padding: 0 !important;
	height: 30px !important;
	min-height: 30px;
	border: none !important;
	background: transparent !important;
	text-align: center;
	font-size: 14px;
	font-weight: 500;
	color: var(--vdb-text);
	-moz-appearance: textfield;
	border-left: 1px solid var(--vdb-border) !important;
	border-right: 1px solid var(--vdb-border) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	line-height: 30px;
	box-sizing: border-box;
	display: block;
	flex: 0 0 36px;
}

.vdb-cart-item__qty input.qty::-webkit-outer-spin-button,
.vdb-cart-item__qty input.qty::-webkit-inner-spin-button,
.vdb-qty-stepper input.qty::-webkit-outer-spin-button,
.vdb-qty-stepper input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.vdb-cart-item__qty input.qty:focus,
.vdb-qty-stepper input.qty:focus {
	outline: none;
	background: var(--vdb-beige) !important;
}

body.woocommerce-cart .vdb-cart-item__remove,
body.woocommerce-cart a.vdb-cart-item__remove,
body.woocommerce-cart a.remove.vdb-cart-item__remove {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	font-size: 11px !important;
	font-weight: 500 !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--vdb-text-muted) !important;
	text-decoration: none !important;
	border: none !important;
	background: none !important;
	width: auto;
	height: auto;
	padding: 0;
	line-height: 1.4;
	cursor: pointer;
	transition: color 0.2s ease;
	white-space: nowrap;
	flex-shrink: 0;
}

body.woocommerce-cart .vdb-cart-item__remove:hover,
body.woocommerce-cart a.vdb-cart-item__remove:hover {
	color: var(--vdb-bordeaux) !important;
	background: none !important;
}

.vdb-cart-item__remove-x {
	font-size: 16px;
	line-height: 1;
	display: inline-block;
}

/* Cart actions sous la liste produits */
.vdb-cart-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-top: 24px;
}

.vdb-continue-shopping {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--vdb-text);
	text-decoration: none;
	border: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.vdb-continue-shopping:hover {
	color: var(--vdb-bordeaux);
}

.vdb-update-cart {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

/* =========================================================================
   CART — Récap droite (cart-totals.php)
   ========================================================================= */
.vdb-cart-summary {
	background: var(--vdb-beige);
	padding: 28px 24px;
	border-radius: 0;
	position: sticky;
	top: 100px;
	align-self: start;
}

.vdb-cart-totals {
	font-family: var(--vdb-font-ui);
}

/* Coupon */
.vdb-coupon {
	border-bottom: 1px solid var(--vdb-border);
	padding-bottom: 16px;
	margin-bottom: 20px;
}

.vdb-coupon-toggle {
	background: transparent;
	border: none;
	padding: 0;
	cursor: pointer;
	font-family: var(--vdb-font-ui);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--vdb-text);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.vdb-coupon-toggle::after {
	content: '+';
	font-size: 16px;
	line-height: 1;
	color: var(--vdb-bordeaux);
}

.vdb-coupon-toggle.is-open::after {
	content: '−';
}

.vdb-coupon-form {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

.vdb-coupon-input {
	flex: 1;
	padding: 10px 12px;
	border: 1px solid var(--vdb-border);
	background: #fff;
	font-size: 13px;
	font-family: var(--vdb-font-ui);
	color: var(--vdb-text);
	border-radius: 0;
}

.vdb-coupon-apply {
	padding: 10px 14px;
	background: var(--vdb-text);
	color: #fff;
	border: none;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	border-radius: 0;
}

.vdb-coupon-apply:hover {
	background: var(--vdb-bordeaux);
}

/* Totals lines */
.vdb-totals {
	margin: 0 0 20px;
}

.vdb-totals__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: 12px 0;
	margin: 0;
	border-bottom: 1px solid var(--vdb-border);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.vdb-totals__row dt {
	color: var(--vdb-text);
	margin: 0;
}

.vdb-totals__row dd {
	color: var(--vdb-text);
	margin: 0;
	font-weight: 500;
	text-align: right;
}

.vdb-totals__row dd .amount {
	color: inherit;
	font-weight: 500;
}

.vdb-totals__row--shipping {
	flex-wrap: wrap;
	align-items: flex-start;
}

.vdb-totals__row--shipping dd {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	min-width: 0;
	flex: 1;
}

.vdb-totals__row--shipping ul.woocommerce-shipping-methods,
.vdb-totals__row--shipping .shipping-calculator-button {
	display: none;
}

.vdb-totals__row--shipping .woocommerce-shipping-destination {
	font-size: 10px;
	color: var(--vdb-text-muted);
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	margin: 0;
}

.vdb-totals__row--total {
	border-bottom: none;
	font-size: 12px;
	padding-top: 16px;
}

.vdb-totals__row--total dd,
.vdb-totals__row--total dd .amount {
	font-weight: 600;
	color: var(--vdb-bordeaux);
}

.vdb-totals__row--total dd .includes_tax {
	display: block;
	font-size: 10px;
	font-weight: 400;
	color: var(--vdb-text-muted);
	text-transform: none;
	letter-spacing: 0;
	margin-top: 2px;
}

.vdb-totals__note {
	font-size: 10px;
	color: var(--vdb-text-muted);
	margin: 4px 0 16px;
	font-style: italic;
	text-transform: none;
	letter-spacing: 0;
}

/* Bouton "Valider mon panier" — paddings stables au hover, neutralise l'effet Divi ::after arrow */
.vdb-proceed-wrap {
	margin: 20px 0 20px;
}

.vdb-proceed-button,
body.woocommerce-cart a.checkout-button.vdb-proceed-button,
body.woocommerce-cart .vdb-proceed-wrap a.button.vdb-proceed-button {
	display: block;
	width: 100%;
	padding: 16px 24px !important;
	background: var(--vdb-bordeaux-light) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 0 !important;
	font-family: var(--vdb-font-ui) !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase !important;
	text-align: center !important;
	text-decoration: none !important;
	cursor: pointer;
	transition: background 0.2s ease;
	box-shadow: none !important;
	line-height: 1.4 !important;
	white-space: normal;
}

.vdb-proceed-button:hover,
body.woocommerce-cart a.checkout-button.vdb-proceed-button:hover,
body.woocommerce-cart .vdb-proceed-wrap a.button.vdb-proceed-button:hover {
	background: var(--vdb-bordeaux) !important;
	color: #fff !important;
	/* Garde les MÊMES paddings au hover pour ne pas modifier la forme */
	padding: 16px 24px !important;
	border: none !important;
}

/* Désactive la flèche Divi ::after qui apparaît au hover */
.vdb-proceed-button::after,
body.woocommerce-cart a.checkout-button.vdb-proceed-button::after,
body.woocommerce-cart .vdb-proceed-wrap a.button.vdb-proceed-button::after {
	display: none !important;
	content: none !important;
	opacity: 0 !important;
}

/* Logos paiement + garanties */
.vdb-cart-guarantees {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--vdb-border);
}

body.woocommerce-cart .vdb-payment-logos,
body.woocommerce-checkout .vdb-payment-logos {
	display: flex !important;
	gap: 8px;
	list-style: none !important;
	list-style-type: none !important;
	list-style-image: none !important;
	margin: 0 0 16px !important;
	padding: 0 !important;
	justify-content: center;
}

body.woocommerce-cart .vdb-payment-logos li,
body.woocommerce-checkout .vdb-payment-logos li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	list-style-type: none !important;
	list-style-image: none !important;
	background: none !important;
}

body.woocommerce-cart .vdb-payment-logos li::before,
body.woocommerce-cart .vdb-payment-logos li::marker,
body.woocommerce-checkout .vdb-payment-logos li::before,
body.woocommerce-checkout .vdb-payment-logos li::marker {
	content: none !important;
	display: none !important;
}

.vdb-payment-logos img {
	display: block;
	height: 22px;
	width: auto;
}

body.woocommerce-cart .vdb-guarantees,
body.woocommerce-checkout .vdb-guarantees {
	list-style: none !important;
	list-style-type: none !important;
	list-style-image: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

body.woocommerce-cart .vdb-guarantees li,
body.woocommerce-checkout .vdb-guarantees li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	list-style-type: none !important;
	background: none !important;
}

body.woocommerce-cart .vdb-guarantees li::before,
body.woocommerce-cart .vdb-guarantees li::marker,
body.woocommerce-checkout .vdb-guarantees li::before,
body.woocommerce-checkout .vdb-guarantees li::marker {
	content: none !important;
	display: none !important;
}

.vdb-guarantee {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--vdb-text);
}

.vdb-guarantee img {
	flex-shrink: 0;
}

/* =========================================================================
   Cross-sells sous le grid
   ========================================================================= */
.vdb-cart-crosssells {
	margin-top: 96px;
}

.vdb-cart-crosssells .cross-sells > h2 {
	font-family: var(--vdb-font-serif);
	font-weight: 400;
	font-size: 32px;
	margin: 0 0 32px;
}

/* =========================================================================
   Masquages WC natif qu'on ne veut pas voir
   ========================================================================= */
body.woocommerce-cart .cart-collaterals .cart_totals h2,
body.woocommerce-cart .cart_totals h2:not(.vdb-section-title) {
	display: none;
}

/* =========================================================================
   Responsive — mobile single column, stepper compact
   ========================================================================= */
@media (max-width: 900px) {
	.vdb-cart-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.vdb-cart-grid > .vdb-cart-items,
	.vdb-cart-grid > .vdb-cart-summary {
		min-width: 0;
	}

	.vdb-cart-summary {
		position: static;
	}

	.vdb-cart-crosssells {
		margin-top: 64px;
	}

	/* Cart item : image plus petite, contenu compact pour mobile */
	.vdb-cart-item {
		grid-template-columns: 90px 1fr;
		gap: 16px;
		padding: 20px 0;
	}

	.vdb-cart-item__image,
	.vdb-cart-item__image a,
	.vdb-cart-item__image img {
		width: 90px;
		height: 90px;
	}

	.vdb-cart-item__head {
		flex-wrap: wrap;
		gap: 8px;
	}

	/* Sur mobile étroit, le bouton SUPPRIMER passe à la ligne pour ne pas déborder */
	.vdb-cart-item__footer {
		gap: 12px 16px;
		row-gap: 12px;
	}

	.vdb-cart-item__remove {
		flex-basis: 100%;
		justify-content: flex-start;
	}
}

@media (max-width: 480px) {
	.vdb-cart-item {
		grid-template-columns: 76px 1fr;
		gap: 14px;
	}

	.vdb-cart-item__image,
	.vdb-cart-item__image a,
	.vdb-cart-item__image img {
		width: 76px;
		height: 76px;
	}

	.vdb-page-title {
		font-size: 34px;
	}

	.vdb-section-title {
		font-size: 22px;
	}
}

@media (max-width: 768px) {
	.vdb-stepper {
		margin-bottom: 32px;
	}

	.vdb-stepper__list {
		gap: 0;
		justify-content: space-between;
	}

	.vdb-stepper__label {
		display: none;
	}

	.vdb-stepper__item--active .vdb-stepper__label {
		display: inline-block;
	}

	.vdb-stepper__separator {
		flex: 1;
		width: auto;
		min-width: 16px;
		margin: 0 8px;
	}
}

/* =========================================================================
   CHECKOUT — Layout, sections, formulaires, paiements, récap sticky
   ========================================================================= */

body.woocommerce-checkout .vdb-page-title {
	font-family: var(--vdb-font-serif);
	font-size: 38px;
	font-weight: 400;
	letter-spacing: 0.01em;
	color: var(--vdb-text);
	margin: 0 0 32px;
	padding: 0;
	text-align: left;
}

body.woocommerce-checkout .vdb-checkout-page {
	font-family: var(--vdb-font-ui);
	color: var(--vdb-text);
}

/* Grid principale */
.vdb-checkout-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 48px;
	align-items: start;
}

/* Notices d'erreur AJAX (place_order, update_order_review) : pleine largeur
   au-dessus, sinon WC les prepend dans la grid et casse le layout 2 colonnes. */
.vdb-checkout-grid > .woocommerce-NoticeGroup,
.vdb-checkout-grid > .woocommerce-error,
.vdb-checkout-grid > .woocommerce-message,
.vdb-checkout-grid > .woocommerce-info {
	grid-column: 1 / -1;
	margin: 0 0 8px;
}

body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error,
body.woocommerce-checkout form.checkout .woocommerce-error {
	background: #FCEBEC !important;
	border: none !important;
	border-left: 3px solid var(--vdb-bordeaux) !important;
	border-top: none !important;
	color: var(--vdb-bordeaux-dark) !important;
	padding: 14px 18px !important;
	margin: 0 !important;
	border-radius: 0 !important;
	font-family: var(--vdb-font-ui) !important;
	font-size: 13px !important;
	list-style: none !important;
}

body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error li,
body.woocommerce-checkout form.checkout .woocommerce-error li {
	list-style: none !important;
	margin: 0 !important;
	padding: 3px 0 !important;
	line-height: 1.5;
	color: var(--vdb-bordeaux-dark) !important;
	background: none !important;
}

body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error li::before,
body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error li::marker {
	content: none !important;
	display: none !important;
}

body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error a,
body.woocommerce-checkout form.checkout .woocommerce-error a {
	color: var(--vdb-bordeaux-dark) !important;
	text-decoration: none;
}

body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error a:hover,
body.woocommerce-checkout form.checkout .woocommerce-error a:hover {
	text-decoration: underline;
}

body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error strong,
body.woocommerce-checkout form.checkout .woocommerce-error strong {
	color: var(--vdb-bordeaux) !important;
	font-weight: 600;
}

.vdb-checkout-main {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

/* Sections du formulaire */
.vdb-checkout-section {
	background: #fff;
	border: 1px solid var(--vdb-border);
	border-radius: 0;
	padding: 28px 28px 24px;
}

.vdb-checkout-section .vdb-section-title {
	font-family: var(--vdb-font-serif);
	font-size: 22px;
	font-weight: 400;
	letter-spacing: 0.01em;
	color: var(--vdb-text);
	margin: 0 0 20px;
	padding: 0 0 14px;
	border-bottom: 1px solid var(--vdb-border);
}

.vdb-checkout-section .vdb-section-title--inline {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* Champs grid 2 colonnes */
.vdb-fields-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 20px;
}

.vdb-fields-grid .form-row {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	padding: 0;
}

.vdb-fields-grid .form-row-wide,
.vdb-fields-grid #billing_address_1_field,
.vdb-fields-grid #billing_address_2_field,
.vdb-fields-grid #billing_country_field,
.vdb-fields-grid #shipping_address_1_field,
.vdb-fields-grid #shipping_address_2_field,
.vdb-fields-grid #shipping_country_field,
.vdb-fields-grid #order_comments_field {
	grid-column: 1 / -1;
}

.vdb-fields-grid .form-row-first { grid-column: 1; }
.vdb-fields-grid .form-row-last  { grid-column: 2; }

/* Labels */
.vdb-checkout-section label,
.vdb-checkout-section .woocommerce-input-wrapper {
	font-family: var(--vdb-font-ui);
	font-size: 13px;
	color: var(--vdb-text);
}

.vdb-checkout-section .form-row > label {
	display: block;
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--vdb-text-muted);
}

.vdb-checkout-section .form-row .required {
	color: var(--vdb-bordeaux);
	text-decoration: none;
	border-bottom: none;
}

/* Inputs */
.vdb-checkout-section input[type="text"],
.vdb-checkout-section input[type="email"],
.vdb-checkout-section input[type="tel"],
.vdb-checkout-section input[type="password"],
.vdb-checkout-section input[type="number"],
.vdb-checkout-section textarea,
.vdb-checkout-section .select2-container .select2-selection--single,
.vdb-checkout-section .select2-container--default .select2-selection--single {
	width: 100% !important;
	height: 44px !important;
	padding: 10px 14px !important;
	border: none !important;
	border-radius: 0 !important;
	background: rgba(12, 12, 12, 0.05) !important;
	color: var(--vdb-text) !important;
	font-family: var(--vdb-font-ui) !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
	transition: background-color 0.2s ease;
}

.vdb-checkout-section textarea {
	height: auto !important;
	min-height: 88px;
	padding: 12px 14px !important;
	resize: vertical;
}

.vdb-checkout-section input[type="text"]:focus,
.vdb-checkout-section input[type="email"]:focus,
.vdb-checkout-section input[type="tel"]:focus,
.vdb-checkout-section input[type="password"]:focus,
.vdb-checkout-section input[type="number"]:focus,
.vdb-checkout-section textarea:focus {
	outline: 2px solid var(--vdb-bordeaux-light) !important;
	outline-offset: -2px;
	background: rgba(12, 12, 12, 0.09) !important;
}

/* Select2 cohérent */
.vdb-checkout-section .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 22px !important;
	padding: 0 !important;
	color: var(--vdb-text);
	font-family: var(--vdb-font-ui);
	font-size: 14px;
}

.vdb-checkout-section .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 42px !important;
	right: 8px;
}

.vdb-checkout-section .select2-container--default.select2-container--open .select2-selection--single {
	outline: 2px solid var(--vdb-bordeaux-light) !important;
	outline-offset: -2px;
}

/* Ship-to-different-address checkbox */
.vdb-ship-different {
	font-family: var(--vdb-font-ui);
	font-size: 14px;
	font-weight: 500;
	color: var(--vdb-text-muted);
	cursor: pointer;
	margin: 0 !important;
}

.vdb-ship-different input[type="checkbox"] {
	margin-right: 8px;
	accent-color: var(--vdb-bordeaux);
}

.vdb-shipping-fields .shipping_address {
	margin-top: 20px;
}

/* Account fields */
.vdb-account-fields {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px dashed var(--vdb-border);
}

.vdb-account-fields label.checkbox {
	font-family: var(--vdb-font-ui);
	font-size: 14px;
	font-weight: 500;
	color: var(--vdb-text);
	cursor: pointer;
}

.vdb-account-fields input[type="checkbox"] {
	margin-right: 8px;
	accent-color: var(--vdb-bordeaux);
}

/* =========================================================================
   Expédition — radios FedEx
   ========================================================================= */
.vdb-shipping-methods__list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.vdb-shipping-methods__list li {
	list-style: none !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
	background: none !important;
}

.vdb-shipping-methods__list li::before,
.vdb-shipping-methods__list li::marker {
	content: none !important;
	display: none !important;
}

.vdb-shipping-method {
	position: relative;
	background: rgba(12, 12, 12, 0.05);
	border: none;
	border-radius: 0;
	transition: background-color 0.2s ease;
}

.vdb-shipping-method:hover {
	background: rgba(12, 12, 12, 0.09);
}

.vdb-shipping-method.is-chosen {
	background: rgba(12, 12, 12, 0.09);
	box-shadow: inset 3px 0 0 var(--vdb-bordeaux-light);
}

.vdb-shipping-method input[type="radio"] {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
	width: 16px;
	height: 16px;
	accent-color: var(--vdb-bordeaux);
}

.vdb-shipping-method__label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px 14px 44px;
	cursor: pointer;
	font-family: var(--vdb-font-ui);
	font-size: 14px;
	color: var(--vdb-text);
}

.vdb-shipping-method__name {
	font-weight: 500;
}

.vdb-shipping-method__price {
	font-weight: 600;
	color: var(--vdb-bordeaux);
}

.vdb-shipping-empty {
	margin: 0;
	padding: 14px 16px;
	background: var(--vdb-beige);
	border-radius: 0;
	font-family: var(--vdb-font-ui);
	font-size: 14px;
	color: var(--vdb-text-muted);
}

/* =========================================================================
   Paiements — logos + radios + CGV + bouton
   ========================================================================= */
.vdb-payment {
	background: transparent !important;
	padding: 0 !important;
}

.vdb-payment > .vdb-payment-logos {
	display: flex !important;
	align-items: center;
	gap: 10px;
	list-style: none !important;
	margin: 0 0 20px !important;
	padding: 0 !important;
}

.vdb-payment > .vdb-payment-logos li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
}

.vdb-payment > .vdb-payment-logos li::before,
.vdb-payment > .vdb-payment-logos li::marker {
	content: none !important;
	display: none !important;
}

.vdb-payment > .vdb-payment-logos img {
	display: block;
	width: 46px;
	height: 28px;
	border-radius: 0;
	border: 1px solid var(--vdb-border);
	background: #fff;
	padding: 2px;
	box-sizing: content-box;
}

/* Radios gateways */
.vdb-payment-methods {
	list-style: none !important;
	margin: 0 0 20px !important;
	padding: 0 !important;
}

.vdb-payment-methods li.vdb-payment-method {
	list-style: none !important;
	margin: 0 0 10px !important;
	padding: 14px 18px;
	border: none;
	border-radius: 0;
	background: rgba(12, 12, 12, 0.05);
	transition: background-color 0.2s ease;
}

.vdb-payment-methods li.vdb-payment-method::before,
.vdb-payment-methods li.vdb-payment-method::marker {
	content: none !important;
	display: none !important;
}

.vdb-payment-methods li.vdb-payment-method:hover {
	background: rgba(12, 12, 12, 0.09);
}

.vdb-payment-methods li.vdb-payment-method:has(input:checked) {
	background: rgba(12, 12, 12, 0.09);
	box-shadow: inset 3px 0 0 var(--vdb-bordeaux-light);
}

.vdb-payment-methods li.vdb-payment-method input[type="radio"] {
	margin-right: 12px;
	accent-color: var(--vdb-bordeaux);
	vertical-align: middle;
}

.vdb-payment-method__label {
	font-family: var(--vdb-font-ui);
	font-size: 14px;
	font-weight: 500;
	color: var(--vdb-text);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.vdb-payment-method__label img {
	max-height: 24px;
	width: auto;
	margin-left: 6px;
	vertical-align: middle;
}

.vdb-payment-method__box {
	margin-top: 12px;
	padding: 14px 16px;
	background: var(--vdb-beige);
	border-radius: 0;
	font-family: var(--vdb-font-ui);
	font-size: 13px;
	color: var(--vdb-text-muted);
}

/* CGV */
.vdb-terms-wrapper {
	margin: 18px 0 18px;
	padding: 14px 16px;
	background: var(--vdb-beige);
	border-radius: 0;
	font-family: var(--vdb-font-ui);
	font-size: 13px;
	color: var(--vdb-text-muted);
}

.vdb-terms-wrapper a {
	color: var(--vdb-bordeaux);
	text-decoration: underline;
}

.vdb-terms-row {
	margin: 12px 0 0 !important;
	padding: 0 !important;
}

.vdb-terms-label {
	display: flex !important;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	font-size: 13px;
	color: var(--vdb-text);
	font-family: var(--vdb-font-ui);
}

.vdb-terms-label input[type="checkbox"] {
	margin: 3px 0 0 !important;
	accent-color: var(--vdb-bordeaux);
	flex-shrink: 0;
}

.vdb-terms-label .woocommerce-terms-and-conditions-checkbox-text {
	flex: 1;
}

.vdb-terms-label .required {
	color: var(--vdb-bordeaux);
	text-decoration: none;
	border-bottom: none;
}

/* Bouton Valider ma commande */
.vdb-place-order {
	margin: 0 !important;
	padding: 0 !important;
}

.vdb-submit-order,
button#place_order.vdb-submit-order {
	display: block;
	width: 100%;
	margin: 0 !important;
	padding: 16px 24px !important;
	background: var(--vdb-bordeaux-light) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 0 !important;
	font-family: var(--vdb-font-ui) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
	box-shadow: none !important;
}

.vdb-submit-order:hover,
button#place_order.vdb-submit-order:hover {
	background: var(--vdb-bordeaux) !important;
	color: #fff !important;
	padding: 16px 24px !important;
	border: none !important;
}

.vdb-submit-order::after,
.vdb-submit-order::before,
button#place_order.vdb-submit-order::after,
button#place_order.vdb-submit-order::before {
	content: none !important;
	display: none !important;
}

/* =========================================================================
   Sticky récap droit — "Mon panier"
   ========================================================================= */
.vdb-checkout-summary {
	position: sticky;
	top: 100px;
	align-self: start;
	background: var(--vdb-beige);
	border: none;
	border-radius: 0;
	padding: 24px 22px;
}

.vdb-summary-title {
	font-family: var(--vdb-font-serif);
	font-size: 22px;
	font-weight: 400;
	letter-spacing: 0.01em;
	color: var(--vdb-text);
	margin: 0 0 18px;
	padding: 0 0 14px;
	border-bottom: 1px solid var(--vdb-border);
}

.vdb-summary-items {
	list-style: none !important;
	margin: 0 0 16px !important;
	padding: 0 !important;
}

.vdb-summary-items li {
	list-style: none !important;
	background: none !important;
}

.vdb-summary-items li::before,
.vdb-summary-items li::marker {
	content: none !important;
	display: none !important;
}

.vdb-summary-item {
	display: grid;
	grid-template-columns: 56px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid var(--vdb-border);
}

.vdb-summary-item:last-child {
	border-bottom: none;
}

.vdb-summary-item__thumb {
	position: relative;
	width: 56px;
	height: 56px;
	background: #fff;
	border-radius: 0;
	overflow: visible;
}

.vdb-summary-item__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

.vdb-summary-item__qty {
	position: absolute;
	top: -8px;
	right: -8px;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	background: var(--vdb-bordeaux);
	color: #fff;
	border-radius: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--vdb-font-ui);
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
}

.vdb-summary-item__info {
	min-width: 0;
}

.vdb-summary-item__name {
	display: block;
	font-family: var(--vdb-font-ui);
	font-size: 13px;
	font-weight: 500;
	color: var(--vdb-text);
	line-height: 1.35;
}

.vdb-summary-item__info .variation,
.vdb-summary-item__info dl {
	margin: 4px 0 0;
	font-family: var(--vdb-font-ui);
	font-size: 11px;
	color: var(--vdb-text-muted);
}

.vdb-summary-item__info .variation dt,
.vdb-summary-item__info .variation dd,
.vdb-summary-item__info dl dt,
.vdb-summary-item__info dl dd {
	display: inline;
	margin: 0;
	padding: 0;
	font-size: 11px;
}

.vdb-summary-item__price {
	font-family: var(--vdb-font-ui);
	font-size: 13px;
	font-weight: 600;
	color: var(--vdb-text);
	white-space: nowrap;
}

.vdb-summary-item__price .amount {
	font-weight: 600;
}

/* Totaux */
.vdb-summary-totals {
	margin: 0;
	padding: 16px 0 0;
	border-top: 1px solid var(--vdb-border);
}

.vdb-summary-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 6px 0;
	font-family: var(--vdb-font-ui);
	font-size: 13px;
	color: var(--vdb-text);
}

.vdb-summary-row dt {
	margin: 0;
	padding: 0;
	font-weight: 500;
	color: var(--vdb-text-muted);
	letter-spacing: 0.02em;
}

.vdb-summary-row dd {
	margin: 0;
	padding: 0;
	font-weight: 600;
	color: var(--vdb-text);
}

.vdb-summary-row--shipping dd small {
	display: block;
	font-size: 11px;
	color: var(--vdb-text-muted);
	font-weight: 400;
}

.vdb-summary-row--total {
	margin-top: 8px;
	padding-top: 14px;
	border-top: 1px solid var(--vdb-border);
	font-size: 15px;
}

.vdb-summary-row--total dt {
	font-family: var(--vdb-font-serif);
	font-size: 18px;
	font-weight: 400;
	color: var(--vdb-text);
	text-transform: none;
	letter-spacing: 0;
}

.vdb-summary-row--total dd {
	font-family: var(--vdb-font-ui);
	font-size: 16px;
	font-weight: 700;
	color: var(--vdb-bordeaux);
}

/* Notices WC dans checkout (notice "Déjà client?" + erreurs + messages) */
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message {
	font-family: var(--vdb-font-ui);
	font-size: 13px;
	padding: 14px 18px;
	border-radius: 0;
	margin: 0 0 24px;
	list-style: none !important;
}

body.woocommerce-checkout .woocommerce-info {
	background: var(--vdb-beige) !important;
	border: none !important;
	border-left: 3px solid var(--vdb-bordeaux-light) !important;
	border-top: none !important;
	color: var(--vdb-text) !important;
	padding: 14px 18px 14px 18px !important;
}

body.woocommerce-checkout .woocommerce-info a {
	color: var(--vdb-bordeaux-light) !important;
}

body.woocommerce-checkout .woocommerce-info::before {
	content: none !important;
}

body.woocommerce-checkout .woocommerce-info a.showlogin,
body.woocommerce-checkout .woocommerce-info a.showcoupon {
	color: var(--vdb-bordeaux-light);
	font-weight: 600;
	text-decoration: underline;
	letter-spacing: 0.02em;
}

body.woocommerce-checkout .woocommerce-info a.showlogin:hover,
body.woocommerce-checkout .woocommerce-info a.showcoupon:hover {
	color: var(--vdb-bordeaux);
}

/* =========================================================================
   Formulaire de login déroulé sous "Déjà client ?"
   ========================================================================= */
body.woocommerce-checkout .woocommerce-form-login {
	background: #fff;
	border: 1px solid var(--vdb-border);
	border-radius: 0;
	padding: 24px 24px 20px;
	margin: 0 0 32px;
	font-family: var(--vdb-font-ui);
	color: var(--vdb-text);
}

body.woocommerce-checkout .woocommerce-form-login > p:first-child {
	font-size: 13px;
	color: var(--vdb-text-muted);
	line-height: 1.5;
	margin: 0 0 18px;
}

body.woocommerce-checkout .woocommerce-form-login .form-row {
	margin-bottom: 16px;
}

body.woocommerce-checkout .woocommerce-form-login .form-row-first {
	width: 48%;
	float: left;
}

body.woocommerce-checkout .woocommerce-form-login .form-row-last {
	width: 48%;
	float: right;
}

body.woocommerce-checkout .woocommerce-form-login .clear {
	clear: both;
}

body.woocommerce-checkout .woocommerce-form-login label {
	display: block;
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--vdb-text-muted);
}

body.woocommerce-checkout .woocommerce-form-login label .required {
	color: var(--vdb-bordeaux-light);
	text-decoration: none;
	border-bottom: none;
}

body.woocommerce-checkout .woocommerce-form-login input.input-text,
body.woocommerce-checkout .woocommerce-form-login input.woocommerce-Input--text,
body.woocommerce-checkout .woocommerce-form-login input[type="text"],
body.woocommerce-checkout .woocommerce-form-login input[type="password"],
body.woocommerce-checkout .woocommerce-form-login input[type="email"] {
	width: 100% !important;
	height: 44px !important;
	padding: 10px 14px !important;
	border: none !important;
	border-radius: 0 !important;
	background: rgba(12, 12, 12, 0.05) !important;
	color: var(--vdb-text) !important;
	font-family: var(--vdb-font-ui) !important;
	font-size: 14px !important;
	box-shadow: none !important;
	transition: background-color 0.2s ease;
}

body.woocommerce-checkout .woocommerce-form-login input.input-text:focus,
body.woocommerce-checkout .woocommerce-form-login input[type="password"]:focus {
	outline: 2px solid var(--vdb-bordeaux-light) !important;
	outline-offset: -2px;
	background: rgba(12, 12, 12, 0.09) !important;
}

/* Annule l'autofill bleu Chrome */
body.woocommerce-checkout .woocommerce-form-login input:-webkit-autofill,
body.woocommerce-checkout .woocommerce-form-login input:-webkit-autofill:hover,
body.woocommerce-checkout .woocommerce-form-login input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0 1000px #F2EFEC inset !important;
	-webkit-text-fill-color: var(--vdb-text) !important;
	caret-color: var(--vdb-text);
	transition: background-color 9999s ease-in-out 0s;
}

body.woocommerce-checkout .woocommerce-form-login__submit,
body.woocommerce-checkout button.woocommerce-form-login__submit {
	display: inline-block;
	width: auto;
	margin: 0 16px 0 0 !important;
	padding: 12px 28px !important;
	background: var(--vdb-bordeaux-light) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 0 !important;
	font-family: var(--vdb-font-ui) !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0.10em !important;
	text-transform: uppercase !important;
	cursor: pointer;
	transition: background-color 0.2s ease;
	box-shadow: none !important;
	float: none;
}

body.woocommerce-checkout .woocommerce-form-login__submit:hover,
body.woocommerce-checkout button.woocommerce-form-login__submit:hover {
	background: var(--vdb-bordeaux) !important;
	color: #fff !important;
	padding: 12px 28px !important;
	border: none !important;
}

body.woocommerce-checkout .woocommerce-form-login__submit::after,
body.woocommerce-checkout .woocommerce-form-login__submit::before {
	display: none !important;
	content: none !important;
}

body.woocommerce-checkout .woocommerce-form-login__rememberme {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	margin: 0 !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	color: var(--vdb-text-muted) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
}

body.woocommerce-checkout .woocommerce-form-login__rememberme span {
	text-transform: none !important;
	letter-spacing: 0 !important;
}

/* Ligne checkbox "Se souvenir de moi" + bouton "Se connecter" côte à côte */
body.woocommerce-checkout .woocommerce-form-login p.form-row:has(.woocommerce-form-login__submit) {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 8px;
}

body.woocommerce-checkout .woocommerce-form-login__rememberme input[type="checkbox"] {
	margin: 0 !important;
	accent-color: var(--vdb-bordeaux-light);
}

body.woocommerce-checkout .woocommerce-form-login .lost_password {
	margin: 14px 0 0;
}

body.woocommerce-checkout .woocommerce-form-login .lost_password a {
	color: var(--vdb-bordeaux-light);
	font-size: 13px;
	text-decoration: underline;
	font-weight: 500;
}

body.woocommerce-checkout .woocommerce-form-login .lost_password a:hover {
	color: var(--vdb-bordeaux);
}

@media (max-width: 600px) {
	body.woocommerce-checkout .woocommerce-form-login .form-row-first,
	body.woocommerce-checkout .woocommerce-form-login .form-row-last {
		width: 100%;
		float: none;
	}

	body.woocommerce-checkout .woocommerce-form-login__rememberme {
		display: flex !important;
		margin: 12px 0 0 !important;
	}
}

.vdb-checkout-page .woocommerce-error {
	background: #fce8eb;
	border-left: 3px solid var(--vdb-bordeaux);
	color: var(--vdb-bordeaux-dark);
	list-style: none !important;
}

.vdb-checkout-page .woocommerce-error li {
	list-style: none !important;
	margin: 0;
	padding: 0;
}

.vdb-checkout-page .woocommerce-info {
	background: var(--vdb-beige);
	border-left: 3px solid var(--vdb-text-muted);
	color: var(--vdb-text);
}

/* =========================================================================
   Checkout responsive
   ========================================================================= */
@media (max-width: 980px) {
	body.woocommerce-checkout .vdb-page-title {
		font-size: 30px;
		margin-bottom: 24px;
	}

	.vdb-checkout-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.vdb-checkout-summary {
		position: static;
		top: auto;
		order: -1;
	}

	.vdb-checkout-section {
		padding: 22px 20px 18px;
	}

	.vdb-checkout-section .vdb-section-title {
		font-size: 20px;
	}

	.vdb-fields-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.vdb-fields-grid .form-row-first,
	.vdb-fields-grid .form-row-last {
		grid-column: 1;
	}

	.vdb-shipping-method__label {
		padding: 12px 14px 12px 40px;
		font-size: 13px;
	}
}

@media (max-width: 600px) {
	body.woocommerce-checkout .vdb-page-title {
		font-size: 26px;
	}

	.vdb-checkout-section {
		padding: 18px 16px 14px;
	}

	.vdb-payment > .vdb-payment-logos {
		flex-wrap: wrap;
	}

	.vdb-submit-order,
	button#place_order.vdb-submit-order {
		padding: 14px 18px !important;
		font-size: 13px !important;
	}
}
