/* ============================================================
   Panier / Checkout WooCommerce — ajustements à l'identité du site
   (bloc Cart / Checkout). Chargé uniquement sur /cart/ et /checkout/.
   ============================================================ */

/* --- Récapitulatif : « Producto » → « Partidos » (ce sont des matchs) --- */
.wc-block-cart-items__header-image {
	font-size: 0 !important;
}
.wc-block-cart-items__header-image::after {
	content: "Partidos";
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: inherit;
}

/* --- Bouton principal « Finalizar compra » / « Realizar el pedido » --- */
.wc-block-cart__submit-button.contained,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	background: var(--nt-color-accent) !important;
	color: #08203a !important;
	border: 0 !important;
	border-radius: 12px !important;
	font-weight: 800 !important;
	font-size: 1.05rem !important;
	line-height: 1.2 !important;
	min-height: 52px !important;
	padding: 0.9rem 1.6rem !important;
	box-shadow: 0 10px 24px rgba(87, 196, 244, 0.28) !important;
	transition: filter 200ms ease, transform 200ms ease, box-shadow 200ms ease !important;
}
.wc-block-cart__submit-button .wc-block-components-button__text,
.wc-block-components-checkout-place-order-button .wc-block-components-button__text {
	color: #08203a !important;
}
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
	filter: brightness(1.06) !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 14px 30px rgba(87, 196, 244, 0.34) !important;
}
.wc-block-cart__submit-button:active,
.wc-block-components-checkout-place-order-button:active {
	transform: translateY(0) !important;
	filter: brightness(0.98) !important;
}
.wc-block-cart__submit-button:focus-visible,
.wc-block-components-checkout-place-order-button:focus-visible {
	outline: 3px solid var(--nt-color-text) !important;
	outline-offset: 2px !important;
}

/* ============================================================
   CHECKOUT — libellés des champs en noir dans les cases blanches
   ============================================================ */
.wc-block-checkout .wc-block-components-text-input label,
.wc-block-checkout .wc-block-components-combobox label,
.wc-block-checkout .wc-block-components-select label,
.wc-block-checkout .wc-block-components-address-form label {
	color: #1a2233 !important;
}
.wc-block-checkout .wc-block-components-text-input input,
.wc-block-checkout .wc-block-components-text-input textarea,
.wc-block-checkout .wc-block-components-combobox input,
.wc-block-checkout .wc-block-components-select select,
.wc-block-checkout .wc-block-components-address-form input,
.wc-block-checkout select.wc-blocks-components-select__select,
.wc-block-checkout .components-form-token-field__input {
	color: #12233f !important;
}
/* Placeholder éventuel dans les cases blanches : gris foncé lisible */
.wc-block-checkout .wc-block-components-text-input input::placeholder,
.wc-block-checkout .wc-block-components-address-form input::placeholder {
	color: #55617a !important;
}

/* ============================================================
   CHECKOUT — éléments personnalisés (injectés par woo-checkout.js)
   ============================================================ */

/* Note sous l'email */
.nt-co-note {
	margin: 0.55rem 0 0 !important;
	color: var(--nt-color-muted);
	font-size: 0.92rem;
	line-height: 1.4;
}

/* Badge « E-Billete por email » — style capture 2, en bleu accent */
.nt-co-eticket {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin: 0.5rem 0 1.4rem;
	padding: 0.9rem 1.1rem;
	background: var(--nt-color-surface);
	border: 1px solid var(--nt-color-border);
	border-radius: 14px;
}
.nt-co-eticket__icon {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(87, 196, 244, 0.16);
	color: var(--nt-color-accent);
}
.nt-co-eticket__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.nt-co-eticket__title { font-weight: 700; font-size: 1rem; color: var(--nt-color-text); line-height: 1.25; }
.nt-co-eticket__sub { color: var(--nt-color-muted); font-size: 0.85rem; }
.nt-co-eticket__free { flex: 0 0 auto; color: var(--nt-color-accent); font-weight: 800; font-size: 1.05rem; white-space: nowrap; }

/* Badge Trustpilot — style capture 3, identité sombre, étoiles vertes */
.nt-co-trust {
	margin: 1.4rem 0;
	padding: 1rem 1.1rem;
	background: var(--nt-color-surface);
	border: 1px solid var(--nt-color-border);
	border-radius: 14px;
	text-align: center;
}
.nt-co-trust__top { display: flex; align-items: center; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.nt-co-trust__stars { display: inline-flex; align-items: center; gap: 3px; line-height: 0; }
.nt-co-trust__score { font-weight: 800; color: var(--nt-color-text); font-size: 1.05rem; }
.nt-co-trust__brand { color: var(--nt-color-muted); font-size: 1.05rem; }
.nt-co-trust__sub { margin-top: 0.4rem; color: var(--nt-color-muted); font-size: 0.92rem; }


/* --- En-tête panier/checkout : logo à la place du nom du site « UEFA » ---
   Remplace le bloc Site Title par le logo du header, mêmes dimensions
   (height clamp 34-40px, max-width 104px, contain). Chargé sur panier + checkout.
   Générique : valable pour tous les pays / tous les sites. */
.wp-block-site-title { margin: 0; }
.wp-block-site-title a {
	display: block;
	height: clamp(34px, 9vw, 40px);
	width: 104px;
	max-width: 104px;
	padding: 0;
	background-image: url("../img/uefa-nations-league.png");
	background-repeat: no-repeat;
	background-position: left center;
	background-size: contain;
	color: transparent !important;
	font-size: 0 !important;
	line-height: 0 !important;
	white-space: nowrap;
	overflow: hidden;
}