/*
 * Contrast fixes for the 2027 site (axe + light-mode sweep, 2026-11-27). Loaded on every front-end page.
 * Dark mode: small red / grey labels lifted to at least 4.5:1.
 * Light mode (body.fft-light): text and outline buttons that stayed white on light backgrounds turned dark,
 * and the checkout order summary (dark-theme styles) made readable.
 */

/* ---------- Dark mode ---------- */
body:not(.fft-light) .fft-tickets .section-tag,
body:not(.fft-light) .fft-tickets .section-tag .elementor-heading-title,
body:not(.fft-light) .fft-tickets .game-card-week { color: #ef5350 !important; }
body:not(.fft-light) .fft-tickets .game-card-week .home-badge { color: #fff !important; }
body:not(.fft-light) .fft-tickets .game-card-venue,
body:not(.fft-light) .fft-tickets .game-card-venue span { color: #a3a3a3 !important; }
body:not(.fft-light) .elementor-widget-container .credits,
body:not(.fft-light) .credits,
body:not(.fft-light) .credits a,
body:not(.fft-light) .elementor-widget:has(.credits),
body:not(.fft-light) .elementor-widget:has(.credits) a.legal { color: #9e9e9e !important; }

/* Emphasised words in homepage copy (was an inline color:#fff !important that light mode could not override) */
body:not(.fft-light) .fft-strong-white { color: #fff !important; }
body.fft-light .fft-strong-white { color: #111118 !important; -webkit-text-fill-color: #111118 !important; }

/* Active season banner: hover turns the check into a red X with a "Click again to cancel" tip (wizard JS
   adds .fft-season-cancelable and a click that cancels the season ticket). */
.fft-season-cancelable .season-promo-arrow { position: relative; }
.fft-season-cancelable .fft-sc-x { display: none; }
.fft-season-cancelable:hover .fft-sc-check { display: none; }
.fft-season-cancelable:hover .fft-sc-x { display: block; }
.fft-season-cancelable:hover .season-promo-arrow { border-color: #ef5350 !important; background: rgba(239, 83, 80, .12); }
.fft-season-cancelable .season-promo-arrow::after {
	content: "Click again to cancel";
	position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%);
	white-space: nowrap; padding: 5px 9px; border-radius: 4px;
	background: #111; color: #fff; border: 1px solid #ef5350;
	font: 600 11px/1.2 "Barlow", sans-serif; letter-spacing: .02em;
	opacity: 0; pointer-events: none; transition: opacity .15s;
}
.fft-season-cancelable:hover .season-promo-arrow::after { opacity: 1; }

/* ---------- Light mode ---------- */
body.fft-light .hero strong,
body.fft-light .fft-tickets .hero strong,
body.fft-light [class*="hero"] strong,
body.fft-light .hero-sub strong,
body.fft-light .hero-content strong { color: #111118 !important; }

body.fft-light .fft-btn-outline .elementor-button,
body.fft-light .fft-btn-outline.elementor-button,
body.fft-light .fft-inquiry-btn .elementor-button {
	color: #111118 !important;
	border-color: rgba(17, 17, 24, .45) !important;
	background-color: transparent !important;
}
body.fft-light .fft-btn-outline .elementor-button:hover,
body.fft-light .fft-inquiry-btn .elementor-button:hover {
	color: #fff !important;
	background-color: #c62828 !important;
	border-color: #c62828 !important;
}
body.fft-light .fft-btn-outline .elementor-button .elementor-button-text { color: inherit !important; }

body.fft-light .fft-tickets .ticket-step.completed { color: #2e7d32 !important; }

/* Red "Get Tickets" menu button keeps white text in light mode */
body.fft-light .nav-cta-btn > a,
body.fft-light .nav-cta-btn > .elementor-item-anchor,
body.fft-light #toros-navbar .nav-cta-btn > a,
body.fft-light #toros-navbar .nav-cta-btn > .elementor-item-anchor { color: #fff !important; -webkit-text-fill-color: #fff !important; }

body.fft-light .credits,
body.fft-light .credits a { color: #4a4a4a !important; }

/* Checkout + cart order summary and totals */
body.fft-light .wc-block-components-order-summary,
body.fft-light .wc-block-components-order-summary-item,
body.fft-light .wc-block-components-totals-wrapper,
body.fft-light .wc-block-components-totals-item,
body.fft-light .wc-block-components-totals-item__label,
body.fft-light .wc-block-components-totals-item__value,
body.fft-light .wc-block-components-totals-footer-item,
body.fft-light .wc-block-components-formatted-money-amount,
body.fft-light .wc-block-formatted-money-amount,
body.fft-light .wc-block-components-product-name,
body.fft-light .wc-block-components-product-price,
body.fft-light .wc-block-components-product-details__name,
body.fft-light .wc-block-components-order-summary bdi,
body.fft-light .wc-block-components-totals-wrapper bdi,
body.fft-light .wc-block-checkout__sidebar bdi,
html body.fft-light .wc-block-components-order-summary .wc-block-formatted-money-amount,
html body.fft-light .wc-block-components-totals-wrapper .wc-block-formatted-money-amount,
html body.fft-light .wc-block-components-order-summary .wc-block-components-formatted-money-amount { color: #111118 !important; }
body.fft-light .wc-block-components-product-details__value { color: #444 !important; }
body.fft-light .fft-checkout-when { color: #3a3a44 !important; }
body.fft-light .fft-checkout-matchup-team,
body.fft-light .wc-block-components-order-summary-item .fft-checkout-matchup-text { color: #111118 !important; }
body.fft-light .wc-block-cart-item__remove-link { color: #3a3a44 !important; }
html body.fft-light .wc-block-components-totals-coupon input,
html body.fft-light .wc-block-components-totals-coupon__input input {
	background-color: #fff !important;
	color: #111118 !important;
	-webkit-text-fill-color: #111118 !important;
	border: 1px solid rgba(17, 17, 24, .35) !important;
}
