/* Panier « pré-checkout » O Barbershop — ordinateur uniquement. Sous 1025 px, rien ne change. */
.obk-cart-hero,
.obk-cart-sum-title,
.obk-cart-trust,
.obk-cart-pay,
.obk-qty-btn { display: none; }

@media (min-width: 1025px) {
	body.obk-cart-page {
		--obk-gold: #c9a96e;
		--obk-gold-2: #e3c48d;
		--obk-surface: #111111;
		--obk-surface-2: #161616;
		--obk-line: #262626;
		--obk-text: #a0a0a0;
		--obk-ink: #ffffff;
	}
	body.obk-cart-page .entry-hero,
	body.obk-cart-page .entry-header,
	body.obk-cart-page .cart-summary { display: none !important; }
	body.obk-cart-page .content-container.site-container,
	body.obk-cart-page .entry-content-wrap { max-width: 1240px !important; margin: 0 auto; }
	body.obk-cart-page .content-area { margin-top: 0; }
	body.obk-cart-page .entry-content-wrap { padding: 72px 32px 96px; }

	/* En-tête */
	.obk-cart-hero { display: block; margin-bottom: 36px; }
	.obk-cart-steps { display: flex; align-items: center; gap: 0; margin: 0 0 40px; padding: 0; list-style: none; }
	.obk-cart-steps li { display: flex; align-items: center; gap: 10px; color: #5c5c5c; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
	.obk-cart-steps li:not(:last-child)::after { content: ""; width: 72px; height: 1px; margin: 0 18px; background: linear-gradient(90deg, var(--obk-line), transparent); }
	.obk-cart-steps li span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #333; border-radius: 50%; font-size: 12px; letter-spacing: 0; }
	.obk-cart-steps li.is-active { color: var(--obk-ink); }
	.obk-cart-steps li.is-active span { border-color: transparent; background: linear-gradient(135deg, var(--obk-gold), var(--obk-gold-2)); color: #111; font-weight: 700; box-shadow: 0 0 0 6px rgba(201,169,110,.12); }

	.obk-cart-titlebar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
	.obk-cart-kicker { margin: 0 0 8px; color: var(--obk-gold); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; }
	.obk-cart-title { display: flex; align-items: baseline; gap: 16px; margin: 0; font-size: 48px; line-height: 1.1; }
	.obk-cart-count { padding: 6px 14px; border: 1px solid var(--obk-line); border-radius: 999px; background: var(--obk-surface); color: var(--obk-text); font-family: var(--global-body-font-family); font-size: 13px; font-weight: 500; letter-spacing: .02em; vertical-align: middle; }
	.obk-cart-continue { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 1px solid var(--obk-line); border-radius: 999px; color: var(--obk-text); font-size: 13px; text-decoration: none; transition: all .25s; }
	.obk-cart-continue:hover { border-color: var(--obk-gold); color: var(--obk-gold); transform: translateX(-3px); }

	.obk-cart-ship { padding: 20px 24px; border: 1px solid var(--obk-line); border-radius: 18px; background: linear-gradient(135deg, rgba(201,169,110,.08), rgba(17,17,17,.6) 55%); }
	.obk-cart-ship-text { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: #d4d4d4; font-size: 15px; }
	.obk-cart-ship-text svg { flex-shrink: 0; color: var(--obk-gold); }
	.obk-cart-ship-text strong { color: var(--obk-ink); font-weight: 600; }
	.obk-cart-ship-text .woocommerce-Price-amount { color: var(--obk-gold); }
	.obk-cart-ship-bar { position: relative; height: 6px; overflow: hidden; border-radius: 999px; background: #222; }
	.obk-cart-ship-bar span { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, #b8944d, var(--obk-gold), var(--obk-gold-2)); box-shadow: 0 0 18px rgba(201,169,110,.55); transition: width .6s cubic-bezier(.2,.8,.2,1); }
	.obk-cart-ship.is-free { border-color: rgba(74,222,128,.25); background: linear-gradient(135deg, rgba(74,222,128,.08), rgba(17,17,17,.6) 55%); }
	.obk-cart-ship.is-free .obk-cart-ship-text svg { color: #4ade80; }
	.obk-cart-ship.is-free .obk-cart-ship-bar span { background: linear-gradient(90deg, #22c55e, #4ade80); box-shadow: 0 0 18px rgba(74,222,128,.45); }

	/* Grille : articles | récapitulatif */
	body.obk-cart-page .kadence-woo-cart-form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
	body.obk-cart-page .woocommerce-cart-form,
	body.obk-cart-page .cart-collaterals { width: auto !important; min-width: 0; float: none !important; margin: 0 !important; padding: 0 !important; }
	body.obk-cart-page .woocommerce-cart-form { grid-column: 1; grid-row: 1; }
	body.obk-cart-page .cart-collaterals { grid-column: 2; grid-row: 1; }

	/* Articles en cartes */
	body.obk-cart-page table.shop_table.cart { display: block; border: 0 !important; background: none !important; margin: 0; }
	body.obk-cart-page table.shop_table.cart thead { display: none; }
	body.obk-cart-page table.shop_table.cart tbody { display: flex; flex-direction: column; gap: 16px; }
	body.obk-cart-page table.shop_table.cart tr.cart_item {
		position: relative;
		display: grid;
		grid-template-columns: 120px minmax(0, 1fr) auto 120px;
		grid-template-areas: "thumb name qty sub" "thumb price qty sub";
		align-items: center; column-gap: 28px; row-gap: 6px;
		padding: 20px 64px 20px 20px;
		border: 1px solid var(--obk-line); border-radius: 20px;
		background: linear-gradient(180deg, var(--obk-surface-2), var(--obk-surface));
		transition: border-color .3s, transform .3s, box-shadow .3s;
	}
	body.obk-cart-page table.shop_table.cart tr.cart_item:hover { border-color: rgba(201,169,110,.45); transform: translateY(-2px); box-shadow: 0 18px 40px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(201,169,110,.08); }
	body.obk-cart-page table.shop_table.cart td { display: block; padding: 0 !important; border: 0 !important; background: none !important; text-align: left !important; }
	body.obk-cart-page table.shop_table.cart td::before { display: none !important; }
	body.obk-cart-page td.product-thumbnail { grid-area: thumb; }
	body.obk-cart-page td.product-thumbnail a,
	body.obk-cart-page td.product-thumbnail img { display: block; width: 120px !important; height: 120px; max-width: none; }
	body.obk-cart-page td.product-thumbnail img { object-fit: contain; padding: 10px; border-radius: 14px; background: #fff; }
	body.obk-cart-page td.product-name { grid-area: name; align-self: end; font-size: 16px; font-weight: 500; line-height: 1.4; }
	body.obk-cart-page td.product-name a { color: var(--obk-ink); text-decoration: none; transition: color .2s; }
	body.obk-cart-page td.product-name a:hover { color: var(--obk-gold); }
	body.obk-cart-page td.product-name .variation,
	body.obk-cart-page td.product-name .backorder_notification { margin-top: 6px; color: var(--obk-text); font-size: 13px; }
	body.obk-cart-page td.product-price { grid-area: price; align-self: start; color: var(--obk-text); font-size: 14px; }
	body.obk-cart-page td.product-price::after { content: " / unité"; color: #5c5c5c; font-size: 12px; }
	body.obk-cart-page td.product-quantity { grid-area: qty; }
	body.obk-cart-page td.product-subtotal { grid-area: sub; text-align: right !important; color: var(--obk-gold); font-family: var(--global-heading-font-family); font-size: 22px; font-weight: 700; }
	body.obk-cart-page td.product-remove { position: absolute; top: 50%; right: 18px; transform: translateY(-50%); }
	body.obk-cart-page td.product-remove a.remove {
		display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--obk-line); border-radius: 50%;
		background: transparent !important; color: #6b6b6b !important; font-size: 18px; line-height: 1; text-decoration: none; transition: all .2s;
	}
	body.obk-cart-page td.product-remove a.remove:hover { border-color: #ef4444; background: rgba(239,68,68,.12) !important; color: #ef4444 !important; }

	/* Quantité : pilule − / + */
	body.obk-cart-page td.product-quantity .quantity { display: inline-flex; align-items: center; height: 46px; padding: 4px; border: 1px solid var(--obk-line); border-radius: 999px; background: #0c0c0c; }
	body.obk-cart-page .obk-qty-btn { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--obk-ink); font-size: 18px; line-height: 1; cursor: pointer; transition: background .2s, color .2s; box-shadow: none; }
	body.obk-cart-page .obk-qty-btn:hover { background: rgba(201,169,110,.15); color: var(--obk-gold); transform: none; }
	body.obk-cart-page td.product-quantity input.qty { width: 44px; height: 36px; padding: 0; border: 0 !important; background: transparent !important; color: var(--obk-ink); font-size: 15px; font-weight: 600; text-align: center; -moz-appearance: textfield; }
	body.obk-cart-page td.product-quantity input.qty::-webkit-outer-spin-button,
	body.obk-cart-page td.product-quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

	/* Ligne code promo / mise à jour */
	body.obk-cart-page table.shop_table.cart tr:not(.cart_item) { display: block; }
	body.obk-cart-page td.actions { display: flex !important; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; padding: 16px !important; border: 1px dashed #2f2f2f !important; border-radius: 20px; }
	body.obk-cart-page td.actions .coupon { display: flex; flex: 1; gap: 8px; float: none; max-width: 460px; }
	body.obk-cart-page td.actions .coupon label { display: none; }
	body.obk-cart-page td.actions .coupon input#coupon_code { flex: 1; width: auto; height: 48px; padding: 0 18px; border: 1px solid var(--obk-line); border-radius: 999px; background: #0c0c0c; color: var(--obk-ink); font-size: 14px; }
	body.obk-cart-page td.actions .coupon input#coupon_code:focus { border-color: var(--obk-gold); }
	body.obk-cart-page td.actions .button { height: 48px; padding: 0 22px; border: 1px solid var(--obk-line); border-radius: 999px; background: transparent !important; color: var(--obk-ink) !important; font-size: 12px; letter-spacing: .1em; }
	body.obk-cart-page td.actions .button:hover:not(:disabled) { border-color: var(--obk-gold); color: var(--obk-gold) !important; }
	body.obk-cart-page td.actions button[name="update_cart"] { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

	/* Récapitulatif collant */
	body.obk-cart-page .cart-collaterals { position: sticky; top: 110px; }
	body.obk-cart-page .cart_totals {
		width: 100% !important; float: none; padding: 28px !important;
		border: 1px solid rgba(201,169,110,.25) !important; border-radius: 24px;
		background: radial-gradient(120% 80% at 100% 0%, rgba(201,169,110,.10), transparent 60%), linear-gradient(180deg, #151515, #0f0f0f) !important;
		box-shadow: 0 30px 60px -30px rgba(0,0,0,.9);
	}
	body.obk-cart-page .cart_totals > h2 { display: none; }
	.obk-cart-sum-title { display: block; margin: 0 0 20px; color: var(--obk-ink); font-family: var(--global-heading-font-family); font-size: 26px; font-weight: 700; }
	body.obk-cart-page .cart_totals table.shop_table { width: 100%; margin: 0 0 8px; border: 0 !important; background: none !important; }
	body.obk-cart-page .cart_totals table.shop_table tr { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--obk-line); }
	body.obk-cart-page .cart_totals table.shop_table th,
	body.obk-cart-page .cart_totals table.shop_table td { display: block; padding: 0 !important; border: 0 !important; background: none !important; color: var(--obk-text); font-size: 14px; font-weight: 400; text-align: right; }
	body.obk-cart-page .cart_totals table.shop_table th { text-align: left; white-space: nowrap; }
	body.obk-cart-page .cart_totals table.shop_table td::before { display: none; }
	body.obk-cart-page .cart_totals table.shop_table tr.cart-subtotal td { color: var(--obk-ink); }
	body.obk-cart-page .cart_totals .woocommerce-shipping-methods { margin: 0; padding: 0; list-style: none; }
	body.obk-cart-page .cart_totals .woocommerce-shipping-methods li { margin: 0; color: var(--obk-ink); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
	body.obk-cart-page .cart_totals .woocommerce-shipping-destination { margin: 6px 0 0; font-size: 12px; line-height: 1.5; }
	body.obk-cart-page .cart_totals .woocommerce-shipping-destination strong { font-weight: 400; color: var(--obk-text); }
	body.obk-cart-page .cart_totals .shipping-calculator-button { color: var(--obk-gold); font-size: 12px; }
	body.obk-cart-page .cart_totals table.shop_table tr.order-total { align-items: baseline; padding-top: 20px !important; border-bottom: 0 !important; }
	body.obk-cart-page .cart_totals table.shop_table tr.order-total th { color: var(--obk-ink); font-size: 15px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
	body.obk-cart-page .cart_totals table.shop_table tr.order-total td,
	body.obk-cart-page .cart_totals table.shop_table tr.order-total td strong { color: var(--obk-gold); font-family: var(--global-heading-font-family); font-size: 34px; font-weight: 700; line-height: 1; }
	body.obk-cart-page .cart_totals table.shop_table tr.order-total td small { display: block; margin-top: 6px; color: #6b6b6b; font-family: var(--global-body-font-family); font-size: 11px; }
	body.obk-cart-page .wc-proceed-to-checkout { padding: 8px 0 0; }
	body.obk-cart-page .wc-proceed-to-checkout a.checkout-button {
		position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin: 0;
		padding: 20px 24px; overflow: hidden; border-radius: 16px;
		background: linear-gradient(135deg, #b8944d, var(--obk-gold) 45%, var(--obk-gold-2)) !important; color: #111 !important;
		font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
		box-shadow: 0 14px 30px -12px rgba(201,169,110,.55); transition: transform .25s, box-shadow .25s;
	}
	body.obk-cart-page .wc-proceed-to-checkout a.checkout-button::after { content: "→"; font-size: 18px; letter-spacing: 0; transition: transform .25s; }
	body.obk-cart-page .wc-proceed-to-checkout a.checkout-button::before {
		content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
		transform: translateX(-120%); transition: transform .8s;
	}
	body.obk-cart-page .wc-proceed-to-checkout a.checkout-button:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(201,169,110,.7); }
	body.obk-cart-page .wc-proceed-to-checkout a.checkout-button:hover::before { transform: translateX(120%); }
	body.obk-cart-page .wc-proceed-to-checkout a.checkout-button:hover::after { transform: translateX(4px); }

	.obk-cart-trust { display: grid; gap: 14px; margin: 24px 0 0 !important; padding: 20px 0 0 !important; border-top: 1px solid var(--obk-line); list-style: none; }
	.obk-cart-trust li { display: flex; align-items: flex-start; gap: 12px; margin: 0; }
	.obk-cart-trust svg { flex-shrink: 0; margin-top: 2px; color: var(--obk-gold); }
	.obk-cart-trust span { color: #6b6b6b; font-size: 12px; line-height: 1.5; }
	.obk-cart-trust strong { display: block; color: #e5e5e5; font-size: 13px; font-weight: 600; }
	.obk-cart-pay { display: flex; gap: 8px; margin-top: 18px; }
	.obk-cart-pay span { padding: 6px 10px; border: 1px solid var(--obk-line); border-radius: 8px; background: #0c0c0c; color: #8a8a8a; font-size: 11px; font-weight: 700; letter-spacing: .06em; }

	/* Ventes croisées */
	body.obk-cart-page .cross-sells { margin-top: 32px; }

	/* Chargement (mise à jour AJAX) */
	body.obk-cart-page .woocommerce .blockUI.blockOverlay { border-radius: 20px; background: rgba(10,10,10,.6) !important; }
}
