/**
 * Woo Gamified Hunts — Campaign Theme Styles
 *
 * Subtle site-wide visual accents applied when an active campaign
 * has the "Apply Site-Wide Theme Styling" option enabled.
 * Uses body class selectors to scope styles safely.
 *
 * @package WooGamifiedHunts
 */

/* ── Easter theme ───────────────────────────────────────────────── */

.wgh-site-theme-easter {
	--wgh-primary: #e91e63;
	--wgh-primary-light: #fce4ec;
	--wgh-accent: #ab47bc;
}

.wgh-site-theme-easter .site-header,
.wgh-site-theme-easter .woocommerce-breadcrumb {
	border-bottom: 2px solid var(--wgh-primary-light);
}

.wgh-site-theme-easter .woocommerce ul.products li.product .woocommerce-loop-product__link {
	border-radius: 8px;
	transition: box-shadow 0.3s ease;
}

.wgh-site-theme-easter .woocommerce ul.products li.product .woocommerce-loop-product__link:hover {
	box-shadow: 0 4px 16px rgba(233, 30, 99, 0.12);
}

.wgh-site-theme-easter .woocommerce .button,
.wgh-site-theme-easter .woocommerce a.button {
	border-color: var(--wgh-primary);
}

/* ── Christmas theme ────────────────────────────────────────────── */

.wgh-site-theme-christmas {
	--wgh-primary: #c62828;
	--wgh-primary-light: #ffebee;
	--wgh-accent: #2e7d32;
}

.wgh-site-theme-christmas .site-header,
.wgh-site-theme-christmas .woocommerce-breadcrumb {
	border-bottom: 2px solid var(--wgh-primary-light);
}

.wgh-site-theme-christmas .woocommerce ul.products li.product .woocommerce-loop-product__link {
	border-radius: 8px;
	transition: box-shadow 0.3s ease;
}

.wgh-site-theme-christmas .woocommerce ul.products li.product .woocommerce-loop-product__link:hover {
	box-shadow: 0 4px 16px rgba(198, 40, 40, 0.12);
}

.wgh-site-theme-christmas .woocommerce .button,
.wgh-site-theme-christmas .woocommerce a.button {
	border-color: var(--wgh-primary);
}

/* ── Black Friday theme ─────────────────────────────────────────── */

.wgh-site-theme-black_friday {
	--wgh-primary: #fdd835;
	--wgh-primary-light: #fffde7;
	--wgh-accent: #212121;
}

.wgh-site-theme-black_friday .site-header,
.wgh-site-theme-black_friday .woocommerce-breadcrumb {
	border-bottom: 2px solid var(--wgh-accent);
}

.wgh-site-theme-black_friday .woocommerce ul.products li.product .woocommerce-loop-product__link {
	border-radius: 8px;
	transition: box-shadow 0.3s ease;
}

.wgh-site-theme-black_friday .woocommerce ul.products li.product .woocommerce-loop-product__link:hover {
	box-shadow: 0 4px 16px rgba(253, 216, 53, 0.18);
}

.wgh-site-theme-black_friday .woocommerce span.onsale {
	background: var(--wgh-accent);
	color: var(--wgh-primary);
}

/* ── Custom theme (fallback) ────────────────────────────────────── */

.wgh-site-theme-custom {
	--wgh-primary: #7c4dff;
	--wgh-primary-light: #ede7f6;
	--wgh-accent: #651fff;
}

.wgh-site-theme-custom .site-header,
.wgh-site-theme-custom .woocommerce-breadcrumb {
	border-bottom: 2px solid var(--wgh-primary-light);
}

.wgh-site-theme-custom .woocommerce ul.products li.product .woocommerce-loop-product__link {
	border-radius: 8px;
	transition: box-shadow 0.3s ease;
}

.wgh-site-theme-custom .woocommerce ul.products li.product .woocommerce-loop-product__link:hover {
	box-shadow: 0 4px 16px rgba(124, 77, 255, 0.12);
}
