/* Panier : bloc Panier de WooCommerce par défaut, avec les tailles et les polices du site ; la ligne produit centre son total verticalement. */

/* Mobile et tablette (ligne en grille) : le total se centre sur la hauteur de la ligne. */
.wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
	align-self: center;
	align-items: center;
}

/* Desktop (ligne en tableau) : le total devient une vraie cellule, centrée verticalement. */
.wc-block-cart.is-large table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
	display: table-cell;
	vertical-align: middle;
}

/* En-têtes « Produit », « Total », « Total panier » : petites capitales espacées, comme les titres des filtres. */
body .wc-block-cart .wc-block-cart-items .wc-block-cart-items__header th,
body .wc-block-cart .wc-block-cart__totals-title {
	color: var(--wp--preset--color--texte);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* Ligne produit. */
body .wc-block-cart .wc-block-cart-items .wc-block-components-product-name {
	color: var(--wp--preset--color--texte);
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 20px;
	font-weight: 420;
	font-variation-settings: "SOFT" 50;
	line-height: 1.2;
	text-decoration: none;
	/* Zone tactile de 44 px autour du nom, sans changer l'affichage. */
	display: inline-block;
	margin-block: -10px;
	padding-block: 10px;
}

body .wc-block-cart .wc-block-cart-items .wc-block-components-product-name:hover {
	text-decoration: underline;
}

body .wc-block-cart .wc-block-cart-items .wc-block-cart-item__prices {
	font-size: var(--wp--preset--font-size--moyen);
}

body .wc-block-cart .wc-block-cart-items .wc-block-components-product-metadata,
body .wc-block-cart .wc-block-cart-items .wc-block-components-product-metadata p,
body .wc-block-cart .wc-block-cart-items .wc-block-components-product-details {
	color: var(--wp--preset--color--texte-secondaire);
	font-size: var(--wp--preset--font-size--discret);
}

body .wc-block-cart .wc-block-cart-items .wc-block-cart-item__total {
	font-size: var(--wp--preset--font-size--moyen);
	font-weight: 600;
}

/* Quantité et suppression : cibles de 44 px. */
body .wc-block-cart .wc-block-cart-items .wc-block-components-quantity-selector {
	width: 132px;
	height: 44px;
	border-color: var(--wp--custom--couleur--bordure);
	border-radius: var(--wp--preset--border-radius--pilule);
}

body .wc-block-cart .wc-block-cart-items .wc-block-components-quantity-selector::after {
	border-radius: var(--wp--preset--border-radius--pilule);
}

body .wc-block-cart .wc-block-cart-items .wc-block-components-quantity-selector__input {
	height: 100%;
	min-height: 0;
	padding: 0;
	font-size: var(--wp--preset--font-size--moyen);
	font-weight: 600;
	line-height: 42px;
}

body .wc-block-cart .wc-block-cart-items .wc-block-components-quantity-selector__button {
	min-width: 44px;
	height: 100%;
	min-height: 0;
	font-size: 18px;
}

body .wc-block-cart .wc-block-cart-items .wc-block-cart-item__remove-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
}

/* Colonne des totaux. */
body .wc-block-cart .wc-block-components-totals-coupon .wc-block-components-panel__button {
	font-size: var(--wp--preset--font-size--moyen);
}

body .wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 22px;
	font-weight: 420;
	font-variation-settings: "SOFT" 50;
}

body .wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 22px;
	font-weight: 700;
}

body .wc-block-cart .wc-block-components-totals-item__description,
body .wc-block-cart .wc-block-components-totals-footer-item-tax,
body .wc-block-cart .wc-block-components-totals-footer-item-shipping {
	color: var(--wp--preset--color--texte-secondaire);
	font-size: var(--wp--preset--font-size--discret);
	line-height: 1.45;
}

body .wc-block-cart .wc-block-components-express-payment-continue-rule {
	font-size: var(--wp--preset--font-size--petit);
}

body .wc-block-cart .wc-block-cart__submit-button {
	font-size: var(--wp--preset--font-size--moyen);
}

/* Mobile : le nom un peu moins grand et la quantité plus étroite, pour que le total de la ligne tienne à côté. */
@media (max-width: 767px) {
	body .wc-block-cart .wc-block-cart-items .wc-block-components-product-name {
		font-size: 18px;
	}

	body .wc-block-cart .wc-block-cart-items .wc-block-components-quantity-selector {
		width: 120px;
	}

	body .wc-block-cart .wc-block-cart-items .wc-block-cart-item__product {
		min-width: 0;
	}
}
