/* ==========================================================================
   Vice Pads — Panier (chargé uniquement sur la page panier)
   Cartes blanches, violet #7D4CC7, accents rose/orange discrets.
   ========================================================================== */

.woocommerce-cart .vc-page { padding-top: clamp(24px, 4vw, 48px); }
.vc-cart-root { position: relative; --cart-radius: 22px; }
.vc-cart-root svg:not(.vc-empty__art svg) { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- En-tête ---------- */
.vc-cart-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(22px, 3.5vw, 36px); }
.vc-cart-head .vc-kicker { margin-bottom: 10px; }
.vc-cart-head__title {
	margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
	font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1; letter-spacing: .005em;
	display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.vc-cart-head__count {
	font-family: var(--font); font-size: .82rem; font-weight: 650; text-transform: none; letter-spacing: 0;
	color: var(--violet); background: var(--violet-050); padding: 6px 12px; border-radius: 999px; line-height: 1;
}
.vc-steps { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: .8rem; font-weight: 600; color: var(--ink-3); }
.vc-steps li { display: flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.vc-steps span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--cream-2); font-size: .72rem; }
.vc-steps .is-current { color: var(--ink); border-color: transparent; box-shadow: inset 0 0 0 1.5px var(--violet); }
.vc-steps .is-current span { background: var(--violet); color: #fff; }

/* ---------- Mise en page 2 colonnes ---------- */
.vc-cart { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 390px); gap: clamp(20px, 3vw, 36px); align-items: start; }
.vc-cart__list { display: grid; gap: 14px; }
.vc-cart__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.vc-cart__continue { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; text-decoration: none; }
.vc-cart__continue:hover svg { transform: translateX(-3px); }
.vc-cart__continue svg { transition: transform .25s var(--ease); }
.js .vc-cart__update { display: none; } /* sans JS, le bouton reste disponible */
.vc-calc-form { display: none; }
.vc-link { color: var(--violet); font-weight: 600; text-decoration: none; cursor: pointer; }
.vc-link:hover { text-decoration: underline; }
.vc-link--muted { color: var(--ink-3); font-weight: 500; font-size: .82rem; }

/* ---------- Carte article ---------- */
.vc-ci {
	position: relative;
	display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; grid-template-rows: 1fr auto;
	grid-template-areas: "media body price" "media actions actions";
	column-gap: 22px; row-gap: 14px;
	padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--cart-radius);
	box-shadow: var(--shadow-sm);
	transition: box-shadow .35s var(--ease), border-color .35s var(--ease), opacity .3s var(--ease), transform .35s var(--ease);
	animation: vc-ci-in .45s var(--ease) both;
}
.vc-ci:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.vc-ci--gift { background: linear-gradient(0deg, #fff, #fff) padding-box; border-style: dashed; border-color: #EBC9DC; }
.vc-ci__media { grid-area: media; position: relative; align-self: start; }
.vc-ci__media a { display: block; }
.vc-ci__img, .vc-ci__media img {
	width: 140px; height: 140px; aspect-ratio: 1; object-fit: contain; display: block;
	background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 6px;
	transition: transform .5s var(--ease);
}
.vc-ci:hover .vc-ci__img { transform: scale(1.03); }
.vc-ci__badge {
	position: absolute; left: 8px; top: 8px; font-size: .66rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase;
	background: var(--pink); color: #fff; padding: 4px 9px; border-radius: 999px;
}
.vc-ci__body { grid-area: body; min-width: 0; padding-top: 2px; }
.vc-ci__kicker { margin: 0 0 4px; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.vc-ci__name { margin: 0 0 8px; font-size: 1.04rem; font-weight: 650; line-height: 1.35; }
.vc-ci__name a { color: var(--ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.vc-ci__name a:hover { background-size: 100% 1px; }
.vc-ci__meta { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vc-ci__meta li { font-size: .78rem; line-height: 1.35; color: var(--ink-2); background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: 4px 9px; }
.vc-ci__meta li span { color: var(--ink-3); }
.vc-ci--gift .vc-ci__meta li { background: var(--pink-050); border-color: #F7D3E4; }
.vc-ci__stock { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: .8rem; font-weight: 600; color: #1F8A5B; }
.vc-ci__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent); }
.vc-ci__stock.is-low, .vc-ci__stock.is-back { color: #C46A1C; }
.vc-ci__stock.is-out { color: #C9375B; }
.vc-ci__stock.is-gift { color: #C24C86; }
.vc-ci__note { display: flex; align-items: flex-start; gap: 7px; margin: 6px 0 0; font-size: .78rem; line-height: 1.45; color: var(--ink-3); }
.vc-ci__note svg { margin-top: 2px; }

.vc-ci__price { grid-area: price; text-align: right; display: grid; align-content: start; gap: 2px; padding-top: 2px; }
.vc-ci__subtotal { font-size: 1.16rem; font-weight: 750; white-space: nowrap; }
.vc-ci__subtotal del { opacity: .45; font-weight: 500; font-size: .85em; }
.vc-ci__subtotal ins { text-decoration: none; }
.vc-ci__unit { font-size: .78rem; color: var(--ink-3); white-space: nowrap; }
.vc-ci__free { color: #C24C86; }
.vc-ci__subtotal.is-updated, [data-vc-flash].is-updated { animation: vc-flash .9s var(--ease); }

.vc-ci__actions { grid-area: actions; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* Sélecteur de quantité [-] 1 [+] */
.vc-qty { display: inline-flex; align-items: center; height: 44px; padding: 3px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); }
.vc-qty__btn {
	display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
	background: #fff; color: var(--ink); box-shadow: var(--shadow-sm);
	transition: background .2s, color .2s, transform .15s var(--ease), opacity .2s;
}
.vc-qty__btn:hover:not(:disabled) { background: var(--violet); color: #fff; }
.vc-qty__btn:active:not(:disabled) { transform: scale(.92); }
.vc-qty__btn:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; }
.vc-qty .vc-qty__input {
	min-height: 0; border-radius: 0; width: 44px; height: 36px; padding: 0; border: 0; background: transparent; text-align: center;
	font-weight: 700; font-size: 1rem; color: var(--ink); -moz-appearance: textfield; appearance: textfield; box-shadow: none !important;
}
.vc-qty__input::-webkit-inner-spin-button, .vc-qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.vc-qty__input:focus { outline: none; }
.vc-qty:focus-within { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(125, 76, 199, .1); }
.vc-qty.is-bump .vc-qty__input { animation: vc-bump .3s var(--ease); }
.vc-qty--static { padding: 0 16px; font-size: .86rem; font-weight: 650; color: var(--ink-2); }

.vc-ci__remove {
	display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px 0 12px; border-radius: 999px;
	font-size: .84rem; font-weight: 600; color: var(--ink-3); text-decoration: none;
	transition: background .2s, color .2s;
}
.vc-ci__remove:hover, .vc-ci__remove:focus-visible { background: #FDEEF2; color: #C9375B; }

/* États de chargement */
.vc-ci__spinner { position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--violet-050); border-top-color: var(--violet); opacity: 0; pointer-events: none; }
.vc-ci.is-busy .vc-ci__spinner { opacity: 1; animation: vc-spin .7s linear infinite; }
.vc-ci.is-busy .vc-ci__price { opacity: .35; }
.vc-ci.is-removing { opacity: .35; transform: scale(.985); pointer-events: none; }
.vc-cart-root.is-loading .vc-ci__actions, .vc-cart-root.is-loading .vc-cship__options, .vc-cart-root.is-loading .vc-coupon__form { pointer-events: none; }
.vc-cart-root.is-loading [data-vc-flash], .vc-cart-root.is-loading .vc-cartbar__total strong { opacity: .4; transition: opacity .2s; }

/* ---------- Récapitulatif ---------- */
.vc-cart__side { position: sticky; top: calc(var(--header-h) + 24px); }
.vc-sum {
	background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow);
	padding: 26px 26px 22px;
}
.vc-sum__title { margin: 0 0 16px; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.55rem; letter-spacing: .01em; line-height: 1; }
.vc-sum__row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .94rem; }
.vc-sum__row > span { color: var(--ink-2); }
.vc-sum__row small { color: var(--ink-3); font-size: .82em; }
.vc-sum__row strong { font-weight: 700; white-space: nowrap; }
.vc-sum__muted { color: var(--ink-3); font-size: .86rem; text-align: right; }
.vc-sum__row--coupon > span { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vc-sum__discount { color: #1F8A5B; }
.vc-chip { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 750; letter-spacing: .06em; color: var(--violet); background: var(--violet-050); padding: 5px 10px; border-radius: 999px; }

.vc-cship { border-top: 1px solid var(--line); padding-bottom: 12px; }
.vc-cship .vc-sum__row { border-top: 0; padding-bottom: 6px; }
.vc-cship__method { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .86rem; color: var(--ink-2); }
.vc-cship__method svg { color: var(--violet); }
.vc-cship__empty { margin: 0; font-size: .86rem; color: #B4334F; }
.vc-cship__options { border: 0; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.vc-cship__opt {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
	padding: 11px 14px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer; font-weight: 500; font-size: .88rem;
	transition: border-color .2s, box-shadow .2s, background .2s;
}
.vc-cship__opt:hover { border-color: var(--line-2); background: var(--cream); }
.vc-cship__opt:has(input:checked) { border-color: var(--violet); box-shadow: inset 0 0 0 1px var(--violet); background: var(--violet-050); }
.vc-cship__opt input { accent-color: var(--violet); width: 18px; height: 18px; margin: 0; }
.vc-cship__opt-price { font-weight: 700; }
.vc-cship__eta { margin: 8px 0 0; font-size: .78rem; line-height: 1.5; color: var(--ink-3); }

.vc-free { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--peach-050); }
.vc-free p { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: .84rem; color: var(--ink-2); }
.vc-free p svg { color: var(--violet); }
.vc-free__bar { display: block; height: 6px; border-radius: 99px; background: rgba(125, 76, 199, .12); overflow: hidden; }
.vc-free__bar span { display: block; height: 100%; border-radius: inherit; background: var(--sunset); transition: width .6s var(--ease); }
.vc-free.is-unlocked { background: #EEF8F2; }
.vc-free.is-unlocked p { color: #1F7A51; margin: 0; font-weight: 600; }
.vc-free.is-unlocked p svg { color: #1F8A5B; }
.vc-free.is-unlocked .vc-free__bar { display: none; }

.vc-cship__calc { margin-top: 10px; font-size: .84rem; }
.vc-cship__calc summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; color: var(--ink-2); padding: 4px 0; }
.vc-cship__calc summary::-webkit-details-marker { display: none; }
.vc-cship__calc[open] summary .vc-link { visibility: hidden; }
.vc-cship__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; animation: vc-fade .3s var(--ease); }
.vc-cship__fields .vc-btn { grid-column: 1 / -1; }
.vc-field { display: grid; gap: 4px; font-size: .74rem; font-weight: 600; color: var(--ink-3); }
.vc-field select, .vc-field input { min-height: 0; height: 44px; padding: 0 12px; border-radius: 12px; font-size: 16px; }

.vc-sum__total { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 16px 0 2px; border-top: 1px solid var(--line-2); }
.vc-sum__total > span { font-weight: 700; font-size: 1.05rem; }
.vc-sum__total strong { font-size: 1.65rem; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.vc-sum__tax { margin: 0; text-align: right; font-size: .78rem; color: var(--ink-3); }
.vc-sum__cta-wrap { margin-top: 18px; display: grid; gap: 10px; }
.vc-sum__cta { width: 100%; min-height: 60px; font-size: 1.04rem; border-radius: 999px; }
.vc-sum__cta:hover .vc-icon { transform: translateX(3px); }
.vc-sum__secure { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 12px 0 0; font-size: .8rem; color: var(--ink-3); }

/* Code promo */
.vc-coupon { margin-top: 16px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); }
.vc-coupon summary { display: flex; align-items: center; gap: 10px; padding: 13px 16px; cursor: pointer; list-style: none; font-weight: 600; font-size: .9rem; }
.vc-coupon summary::-webkit-details-marker { display: none; }
.vc-coupon summary > svg:first-child { color: var(--pink); }
.vc-coupon summary span { flex: 1; }
.vc-coupon__chev { transition: transform .3s var(--ease); color: var(--ink-3); }
.vc-coupon[open] .vc-coupon__chev { transform: rotate(180deg); }
.vc-coupon__form { display: flex; gap: 8px; padding: 0 12px 12px; animation: vc-fade .3s var(--ease); }
.vc-coupon__form input { min-height: 0; flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 12px; background: #fff; text-transform: uppercase; letter-spacing: .04em; font-size: 16px; }
.vc-coupon__form input::placeholder { text-transform: none; letter-spacing: 0; }
.vc-coupon__form .vc-btn { min-height: 46px; flex-shrink: 0; }
.vc-coupon.is-invalid input { border-color: #C9375B; animation: vc-shake .35s; }

.vc-sum__trust { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line-2); display: grid; gap: 8px; font-size: .8rem; color: var(--ink-2); }
.vc-sum__trust li { display: flex; align-items: center; gap: 9px; }
.vc-sum__trust svg { color: var(--violet); }

/* ---------- Toasts (notices WooCommerce) ---------- */
.vc-toasts { display: grid; gap: 10px; margin-bottom: 18px; }
.vc-toasts:empty { display: none; }
.vc-toast {
	display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px 13px 14px;
	background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
	font-size: .9rem; line-height: 1.45; color: var(--ink);
	animation: vc-toast-in .4s var(--ease) both;
}
.vc-toast.is-leaving { animation: vc-toast-out .3s var(--ease) both; }
.vc-toast__icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; background: var(--violet-050); color: var(--violet); }
.vc-toast--success .vc-toast__icon { background: #E6F5EC; color: #1F8A5B; }
.vc-toast--error .vc-toast__icon { background: #FDEEF2; color: #C9375B; }
.vc-toast--error { border-color: #F3C7D3; }
.vc-toast__msg { flex: 1; min-width: 0; padding-top: 2px; }
.vc-toast__msg a { font-weight: 700; }
.vc-toast__msg .restore-item {
	display: inline-flex; align-items: center; margin-left: 6px; padding: 3px 11px; border-radius: 999px;
	background: var(--violet); color: #fff; text-decoration: none; font-size: .8rem;
}
.vc-toast__msg .restore-item:hover { background: var(--violet-600); color: #fff; }
.vc-toast__close { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-3); cursor: pointer; flex-shrink: 0; }
.vc-toast__close:hover { background: var(--cream-2); color: var(--ink); }
/* Avec JS : flottants (en haut à droite sur ordinateur, au-dessus de la barre de commande sur mobile) */
.js .vc-toasts {
	position: fixed; z-index: 120; right: max(16px, env(safe-area-inset-right)); top: calc(var(--header-h) + 16px);
	width: min(400px, calc(100vw - 32px)); margin: 0; pointer-events: none;
}
.js .vc-toast { pointer-events: auto; }

/* ---------- Barre mobile ---------- */
.vc-cartbar { display: none; }

/* ---------- Panier vide ---------- */
.vc-cart-root--empty { padding: clamp(8px, 3vw, 32px) 0; }
.vc-empty {
	position: relative; overflow: hidden; max-width: 720px; margin: 0 auto; text-align: center;
	padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 56px);
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
	animation: vc-ci-in .6s var(--ease) both;
}
.vc-empty::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--sunset); opacity: .8; }
.vc-empty__art { display: grid; place-items: center; margin: 0 auto 10px; }
.vc-empty__art svg { width: min(240px, 70%); height: auto; animation: vc-float 6s ease-in-out infinite; }
.vc-empty .vc-kicker { justify-content: center; }
.vc-empty__title { margin: 6px auto 12px; max-width: 19ch; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.9rem, 4.4vw, 2.9rem); line-height: 1.04; }
.vc-empty__text { margin: 0 auto 26px; max-width: 42ch; color: var(--ink-2); font-size: 1.04rem; }

/* ---------- Animations ---------- */
@keyframes vc-ci-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes vc-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes vc-flash { 0% { color: var(--violet); } 100% { color: inherit; } }
@keyframes vc-bump { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes vc-spin { to { transform: rotate(360deg); } }
@keyframes vc-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@keyframes vc-toast-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes vc-toast-out { to { opacity: 0; transform: translateY(-6px) scale(.98); } }
@keyframes vc-float { 50% { transform: translateY(-6px); } }

/* ---------- Tablette ---------- */
@media (max-width: 1000px) {
	.vc-cart { grid-template-columns: minmax(0, 1fr) 330px; }
	.vc-ci { grid-template-columns: 112px minmax(0, 1fr) auto; column-gap: 16px; }
	.vc-ci__img, .vc-ci__media img { width: 112px; height: 112px; }
	.vc-steps li:not(.is-current) { display: none; }
}
@media (max-width: 900px) {
	.vc-cart { grid-template-columns: minmax(0, 1fr); }
	.vc-cart__side { position: static; }
	.vc-sum { padding: 22px 20px 18px; }

	/* Barre fixe : total réel + accès au paiement, au-dessus de la zone de sécurité iPhone */
	.vc-cartbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
		display: flex; align-items: center; justify-content: space-between; gap: 14px;
		padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
		background: rgba(255, 255, 255, .95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
		border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -18px rgba(27, 25, 52, .25);
		transition: transform .35s var(--ease), opacity .35s var(--ease);
	}
	.vc-cartbar.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
	.vc-cartbar__total { display: grid; line-height: 1.15; }
	.vc-cartbar__total > span { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
	.vc-cartbar__total strong { font-size: 1.2rem; font-weight: 800; }
	.vc-cartbar .vc-btn { min-height: 50px; padding: 0 1.5em; flex-shrink: 0; }
	body.woocommerce-cart:has(.vc-cartbar) { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
	body.nav-open .vc-cartbar { transform: translateY(110%); }

	.js .vc-toasts { top: auto; bottom: calc(86px + env(safe-area-inset-bottom)); left: 16px; right: 16px; width: auto; }
	.js .vc-cart-root--empty .vc-toasts { bottom: calc(16px + env(safe-area-inset-bottom)); }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
	.vc-cart-head { margin-bottom: 18px; gap: 12px; }
	.vc-cart-head__title { font-size: 2.2rem; gap: 10px; }
	.vc-steps { display: none; }
	.vc-cart__list { gap: 12px; }
	.vc-ci {
		grid-template-columns: 92px minmax(0, 1fr); grid-template-rows: auto auto;
		grid-template-areas: "media body" "actions actions";
		column-gap: 14px; row-gap: 12px; padding: 14px; border-radius: 20px;
	}
	.vc-ci__img, .vc-ci__media img { width: 92px; height: 92px; border-radius: 14px; padding: 4px; }
	.vc-ci__name { font-size: .95rem; margin-bottom: 6px; }
	.vc-ci__kicker { font-size: .64rem; }
	.vc-ci__meta li { font-size: .74rem; }
	.vc-ci__note { font-size: .74rem; }
	.vc-ci__price { grid-area: actions; justify-self: end; align-self: center; text-align: right; padding: 0; }
	.vc-ci__subtotal { font-size: 1.06rem; }
	.vc-ci__actions { grid-area: actions; justify-content: flex-start; gap: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
	.vc-ci__price { padding-top: 12px; }
	.vc-ci__remove { width: 44px; height: 44px; padding: 0; justify-content: center; }
	.vc-ci__remove span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.vc-ci__spinner { top: 10px; right: 10px; }
	.vc-cart__foot { justify-content: center; }
	.vc-sum__title { font-size: 1.4rem; }
	.vc-sum__total strong { font-size: 1.5rem; }
	.vc-cship__fields { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
	.vc-ci { grid-template-columns: 76px minmax(0, 1fr); padding: 12px; }
	.vc-ci__img, .vc-ci__media img { width: 76px; height: 76px; }
	.vc-qty__btn { width: 34px; height: 34px; }
	.vc-qty .vc-qty__input { width: 36px; }
	.vc-cartbar .vc-btn { padding: 0 1.1em; }
}

/* ==========================================================================
   Style PlayStation (même langage que la fiche produit, assets/css/product.css) :
   fond blanc, surfaces gris clair, bleu PlayStation pour les actions,
   typographie fine, liste à filets plutôt que cartes, aucune ombre.
   ========================================================================== */
body.woocommerce-cart {
	--ps-blue: #0070CC;
	--ps-blue-hover: #0064B7;
	--ps-blue-050: #EAF3FC;
	--ps-blue-100: #D3E6F8;
	--ps-black: #000;
	--ps-text: #1F1F1F;
	--ps-muted: #6B6B6B;
	--ps-line: #E3E3E3;
	--ps-line-2: #D6D6D6;
	--ps-surface: #F5F5F5;
	--ps-green: #1D7A3F;
	--ps-red: #C8102E;
	--ps-radius: 12px;
	background: #fff;
	color: var(--ps-text);
}
body.woocommerce-cart :focus-visible { outline-color: var(--ps-blue); }
body.woocommerce-cart .vc-link { color: var(--ps-blue); font-weight: 500; }
body.woocommerce-cart .vc-link--muted { color: var(--ps-muted); }

/* En-tête */
body.woocommerce-cart .vc-cart-head { align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--ps-line); }
body.woocommerce-cart .vc-cart-head .vc-kicker { display: none; }
body.woocommerce-cart .vc-cart-head__title {
	font-family: var(--font); font-weight: 400; text-transform: none; letter-spacing: -.015em;
	font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.15; color: var(--ps-black);
}
body.woocommerce-cart .vc-cart-head__count { background: var(--ps-surface); color: var(--ps-muted); font-weight: 500; font-size: .8rem; padding: 7px 12px; }
body.woocommerce-cart .vc-steps { gap: 0; font-weight: 500; color: var(--ps-muted); }
body.woocommerce-cart .vc-steps li { background: none; border: 0; border-radius: 0; padding: 6px 0; }
body.woocommerce-cart .vc-steps li + li::before { content: ""; width: 28px; height: 1px; background: var(--ps-line-2); margin: 0 12px; }
body.woocommerce-cart .vc-steps span { background: var(--ps-surface); color: var(--ps-muted); font-weight: 600; }
body.woocommerce-cart .vc-steps .is-current { box-shadow: none; color: var(--ps-black); }
body.woocommerce-cart .vc-steps .is-current span { background: var(--ps-blue); color: #fff; }

/* Liste des articles : filets fins, pas de cartes */
body.woocommerce-cart .vc-cart { gap: clamp(24px, 4vw, 56px); }
body.woocommerce-cart .vc-cart__list { gap: 0; }
body.woocommerce-cart .vc-ci {
	background: none; border: 0; border-bottom: 1px solid var(--ps-line); border-radius: 0; box-shadow: none;
	padding: 24px 0; column-gap: 24px;
}
body.woocommerce-cart .vc-ci:hover { box-shadow: none; }
body.woocommerce-cart .vc-ci--gift { border-style: solid; border-color: var(--ps-line); }
body.woocommerce-cart .vc-ci__img,
body.woocommerce-cart .vc-ci__media img { background: var(--ps-surface); border: 0; border-radius: var(--ps-radius); padding: 10px; mix-blend-mode: multiply; }
body.woocommerce-cart .vc-ci:hover .vc-ci__img { transform: none; }
body.woocommerce-cart .vc-ci__badge { background: var(--ps-blue); border-radius: 6px; letter-spacing: .06em; }
body.woocommerce-cart .vc-ci__kicker { color: var(--ps-muted); font-weight: 600; letter-spacing: .1em; }
body.woocommerce-cart .vc-ci__name { font-weight: 500; font-size: 1.08rem; color: var(--ps-black); }
body.woocommerce-cart .vc-ci__name a { color: var(--ps-black); }
body.woocommerce-cart .vc-ci__name a:hover { color: var(--ps-blue); }
body.woocommerce-cart .vc-ci__meta li,
body.woocommerce-cart .vc-ci--gift .vc-ci__meta li { background: var(--ps-surface); border: 0; border-radius: 6px; color: var(--ps-text); }
body.woocommerce-cart .vc-ci__meta li span { color: var(--ps-muted); }
body.woocommerce-cart .vc-ci__stock { color: var(--ps-green); font-weight: 500; }
body.woocommerce-cart .vc-ci__dot { box-shadow: none; }
body.woocommerce-cart .vc-ci__stock.is-out { color: var(--ps-red); }
body.woocommerce-cart .vc-ci__note { color: var(--ps-muted); }
body.woocommerce-cart .vc-ci__note svg { color: var(--ps-blue); }
body.woocommerce-cart .vc-ci__subtotal { color: var(--ps-black); font-weight: 700; font-size: 1.12rem; }
body.woocommerce-cart .vc-ci__unit { color: var(--ps-muted); }
body.woocommerce-cart .vc-ci__free { color: var(--ps-blue); }
body.woocommerce-cart .vc-ci__spinner { border-color: var(--ps-blue-100); border-top-color: var(--ps-blue); top: 24px; right: 0; }

/* Quantité : pilule à contour gris, comme sur la fiche produit */
body.woocommerce-cart .vc-qty { background: #fff; border: 1px solid #C9C9C9; height: 44px; }
body.woocommerce-cart .vc-qty__btn { background: transparent; box-shadow: none; color: var(--ps-black); }
body.woocommerce-cart .vc-qty__btn:hover:not(:disabled) { background: var(--ps-surface); color: var(--ps-blue); }
body.woocommerce-cart .vc-qty:focus-within { border-color: var(--ps-blue); box-shadow: 0 0 0 3px var(--ps-blue-050); }
body.woocommerce-cart .vc-qty .vc-qty__input { background: transparent; color: var(--ps-black); font-weight: 600; }
body.woocommerce-cart .vc-qty--static { background: var(--ps-surface); border: 0; color: var(--ps-text); font-weight: 500; }
body.woocommerce-cart .vc-ci__remove { color: var(--ps-blue); font-weight: 500; padding: 0 4px; height: 36px; }
body.woocommerce-cart .vc-ci__remove:hover,
body.woocommerce-cart .vc-ci__remove:focus-visible { background: none; color: var(--ps-blue-hover); text-decoration: underline; }

body.woocommerce-cart .vc-cart__foot { margin-top: 20px; }
body.woocommerce-cart .vc-cart__continue { color: var(--ps-blue); font-weight: 500; }

/* Récapitulatif : bloc gris clair, sans ombre */
body.woocommerce-cart .vc-sum { background: var(--ps-surface); border: 0; border-radius: var(--ps-radius); box-shadow: none; padding: 28px 26px 24px; }
body.woocommerce-cart .vc-sum__title { font-family: var(--font); font-weight: 400; text-transform: none; letter-spacing: -.01em; font-size: 1.5rem; color: var(--ps-black); margin-bottom: 18px; }
body.woocommerce-cart .vc-sum__row { border-top-color: var(--ps-line-2); }
body.woocommerce-cart .vc-sum__row > span { color: var(--ps-text); }
body.woocommerce-cart .vc-sum__row small { color: var(--ps-muted); }
body.woocommerce-cart .vc-sum__row strong { color: var(--ps-black); font-weight: 600; }
body.woocommerce-cart .vc-sum__row strong.vc-sum__discount { color: var(--ps-green); }
body.woocommerce-cart .vc-chip { background: var(--ps-blue-050); color: var(--ps-blue); border-radius: 6px; }
body.woocommerce-cart .vc-cship { border-top-color: var(--ps-line-2); }
body.woocommerce-cart .vc-cship__method { color: var(--ps-muted); }
body.woocommerce-cart .vc-cship__method svg,
body.woocommerce-cart .vc-free p svg,
body.woocommerce-cart .vc-sum__trust svg,
body.woocommerce-cart .vc-sum__secure svg { color: var(--ps-blue); }
body.woocommerce-cart .vc-cship__opt { background: #fff; border-color: var(--ps-line-2); border-radius: 10px; }
body.woocommerce-cart .vc-cship__opt:hover { background: #fff; border-color: var(--ps-muted); }
body.woocommerce-cart .vc-cship__opt:has(input:checked) { background: #fff; border-color: var(--ps-blue); box-shadow: inset 0 0 0 1px var(--ps-blue); }
body.woocommerce-cart .vc-cship__opt input { accent-color: var(--ps-blue); }
body.woocommerce-cart .vc-free,
body.woocommerce-cart .vc-free.is-unlocked { background: #fff; border-radius: 10px; }
body.woocommerce-cart .vc-free p { color: var(--ps-text); }
body.woocommerce-cart .vc-free.is-unlocked p { color: var(--ps-green); font-weight: 500; }
body.woocommerce-cart .vc-free.is-unlocked p svg { color: var(--ps-green); }
body.woocommerce-cart .vc-free__bar { background: var(--ps-line); }
body.woocommerce-cart .vc-free__bar span { background: var(--ps-blue); }
body.woocommerce-cart .vc-cship__eta { color: var(--ps-muted); }
body.woocommerce-cart .vc-cship__calc summary { color: var(--ps-text); }
body.woocommerce-cart .vc-field { color: var(--ps-muted); }
body.woocommerce-cart .vc-field select,
body.woocommerce-cart .vc-field input,
body.woocommerce-cart .vc-coupon__form input { border-color: #C9C9C9; border-radius: 8px; }
body.woocommerce-cart .vc-field select:focus,
body.woocommerce-cart .vc-field input:focus,
body.woocommerce-cart .vc-coupon__form input:focus { border-color: var(--ps-blue); box-shadow: 0 0 0 3px var(--ps-blue-050); }

body.woocommerce-cart .vc-sum__total { border-top-color: var(--ps-line-2); }
body.woocommerce-cart .vc-sum__total > span { font-weight: 600; color: var(--ps-black); }
body.woocommerce-cart .vc-sum__total strong { font-weight: 700; color: var(--ps-black); font-size: 1.6rem; }
body.woocommerce-cart .vc-sum__tax { color: var(--ps-muted); }

/* Boutons : bleu PlayStation, contour noir pour le secondaire */
body.woocommerce-cart .vc-cart-root .vc-btn--primary {
	background: var(--ps-blue); color: #fff; border-radius: 999px; box-shadow: none; font-weight: 600; letter-spacing: .01em;
	transition: background-color .2s, transform .2s, box-shadow .2s;
}
body.woocommerce-cart .vc-cart-root .vc-btn--primary:hover {
	background: var(--ps-blue-hover); color: #fff; transform: scale(1.02);
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ps-blue);
}
body.woocommerce-cart .vc-sum .vc-btn--primary:hover { box-shadow: 0 0 0 2px var(--ps-surface), 0 0 0 4px var(--ps-blue); }
body.woocommerce-cart .vc-cart-root .vc-btn--ghost { background: #fff; color: var(--ps-black); border-radius: 999px; box-shadow: inset 0 0 0 2px var(--ps-black); }
body.woocommerce-cart .vc-cart-root .vc-btn--ghost:hover { background: var(--ps-black); color: #fff; }
body.woocommerce-cart .vc-sum__cta { min-height: 56px; font-size: 1rem; }

/* Code promo */
body.woocommerce-cart .vc-coupon { background: #fff; border: 1px solid var(--ps-line-2); border-radius: 10px; }
body.woocommerce-cart .vc-coupon summary { font-weight: 500; color: var(--ps-black); }
body.woocommerce-cart .vc-coupon summary > svg:first-child { color: var(--ps-blue); }
body.woocommerce-cart .vc-coupon.is-invalid input { border-color: var(--ps-red); }

body.woocommerce-cart .vc-sum__trust { border-top: 1px solid var(--ps-line-2); color: var(--ps-muted); }

/* Messages */
body.woocommerce-cart .vc-toast { border-radius: 10px; border-color: var(--ps-line); box-shadow: 0 6px 24px rgba(0, 0, 0, .12); color: var(--ps-text); }
body.woocommerce-cart .vc-toast__icon { background: var(--ps-blue-050); color: var(--ps-blue); }
body.woocommerce-cart .vc-toast--success .vc-toast__icon { background: #E5F3EA; color: var(--ps-green); }
body.woocommerce-cart .vc-toast--error { border-color: #F0C2CA; }
body.woocommerce-cart .vc-toast--error .vc-toast__icon { background: #FBE9EC; color: var(--ps-red); }
body.woocommerce-cart .vc-toast__msg .restore-item { background: var(--ps-blue); }
body.woocommerce-cart .vc-toast__msg .restore-item:hover { background: var(--ps-blue-hover); }
body.woocommerce-cart .vc-toast__close:hover { background: var(--ps-surface); }

/* Barre mobile */
body.woocommerce-cart .vc-cartbar { border-top-color: var(--ps-line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .06); }
body.woocommerce-cart .vc-cartbar__total > span { color: var(--ps-muted); }
body.woocommerce-cart .vc-cartbar__total strong { color: var(--ps-black); font-weight: 700; }

/* Panier vide */
body.woocommerce-cart .vc-empty { background: none; border: 0; box-shadow: none; border-radius: 0; }
body.woocommerce-cart .vc-empty::before { display: none; }
body.woocommerce-cart .vc-empty .vc-kicker { display: none; }
body.woocommerce-cart .vc-empty__title {
	font-family: var(--font); font-weight: 400; text-transform: none; letter-spacing: -.015em;
	font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.2; color: var(--ps-black); max-width: 22ch;
}
body.woocommerce-cart .vc-empty__text { color: var(--ps-muted); }
body.woocommerce-cart .vc-empty__art svg { animation: none; }

@media (max-width: 640px) {
	body.woocommerce-cart .vc-cart-head { padding-bottom: 14px; margin-bottom: 4px; }
	body.woocommerce-cart .vc-cart-head__title { font-size: 1.75rem; }
	body.woocommerce-cart .vc-ci { padding: 18px 0; column-gap: 14px; }
	body.woocommerce-cart .vc-ci__actions { border-top: 0; padding-top: 4px; }
	body.woocommerce-cart .vc-ci__price { padding-top: 4px; }
	body.woocommerce-cart .vc-ci__remove { width: 44px; height: 44px; justify-content: center; }
	body.woocommerce-cart .vc-sum { padding: 22px 18px 18px; }
	body.woocommerce-cart .vc-sum__title { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
	.vc-cart-root *, .vc-cart-root *::before, .vc-cart-root *::after { animation: none !important; transition: none !important; }
}
