/*
Theme Name: Ugly Christmas Jumpers
Theme URI: https://ugly-christmas-jumpers.com
Description: Full-on Christmas child theme for Hello Elementor, built for an Amazon affiliate catalogue of external products. Festive year-round, cart-free, and tuned for browsing and clicking through to Amazon.
Author: Ugly Christmas Jumpers
Template: hello-elementor
Version: 1.0.0
Text Domain: ucj
*/

/* =========================================================================
   1. Design tokens
   ====================================================================== */

:root {
	--ucj-green-900: #07281D;
	--ucj-green-800: #0B3D2E;
	--ucj-green-700: #14543E;
	--ucj-green-600: #1D6B4F;

	--ucj-red-700: #8E0C15;
	--ucj-red-600: #A00E19;
	--ucj-red-500: #C1121F;
	--ucj-red-400: #DC2F3B;

	--ucj-gold-500: #E8B04B;
	--ucj-gold-300: #F5D68A;

	--ucj-snow: #FFF9F0;
	--ucj-cream: #FDF3E3;
	--ucj-ink: #1C1917;
	--ucj-ink-soft: #4A4340;
	--ucj-line: rgba(11, 61, 46, 0.14);

	/* Bitter: slab serif with a baseline-sitting J. See the note in
	   functions.php — the display face and the enqueued family must match. */
	--ucj-font-display: 'Bitter', Georgia, 'Times New Roman', serif;
	--ucj-font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

	--ucj-radius: 14px;
	--ucj-radius-sm: 8px;
	--ucj-shadow: 0 2px 4px rgba(7, 40, 29, 0.06), 0 12px 28px rgba(7, 40, 29, 0.10);
	--ucj-shadow-lift: 0 6px 12px rgba(7, 40, 29, 0.10), 0 22px 48px rgba(7, 40, 29, 0.16);

	--ucj-wrap: 1240px;
}

/* =========================================================================
   2. Base
   ====================================================================== */

body {
	font-family: var(--ucj-font-body);
	color: var(--ucj-ink);
	background-color: var(--ucj-snow);
	/* Faint tartan wash so plain areas still read as festive. */
	background-image:
		repeating-linear-gradient(90deg, rgba(193, 18, 31, 0.028) 0 2px, transparent 2px 46px),
		repeating-linear-gradient(0deg, rgba(11, 61, 46, 0.028) 0 2px, transparent 2px 46px);
	line-height: 1.65;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.site-title {
	font-family: var(--ucj-font-display);
	color: var(--ucj-green-800);
	line-height: 1.15;
	letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem); font-weight: 700; }

a { color: var(--ucj-red-600); text-underline-offset: 0.15em; }
a:hover, a:focus { color: var(--ucj-red-700); }

:where(a, button, input, select, textarea):focus-visible {
	outline: 3px solid var(--ucj-gold-500);
	outline-offset: 2px;
	border-radius: 3px;
}

.site-main,
.ucj-guides,
.ucj-cats {
	max-width: var(--ucj-wrap);
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 2rem);
}

/* =========================================================================
   3. Announcement bar
   ====================================================================== */

.ucj-announce {
	background: linear-gradient(90deg, var(--ucj-red-600), var(--ucj-red-500) 45%, var(--ucj-red-600));
	border-bottom: 2px solid var(--ucj-gold-500);
	text-align: center;
	font-size: 0.9rem;
	font-weight: 700;
	position: relative;
	z-index: 30;
}

.ucj-announce a {
	display: block;
	padding: 0.7rem 1rem;
	color: #fff;
	text-decoration: none;
}

.ucj-announce a:hover { color: var(--ucj-gold-300); }
.ucj-announce__arrow { transition: transform 0.18s ease; display: inline-block; }
.ucj-announce a:hover .ucj-announce__arrow { transform: translateX(4px); }

/* =========================================================================
   4. Header and navigation
   ====================================================================== */

.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	max-width: var(--ucj-wrap);
	margin-inline: auto;
	padding: 1.1rem clamp(1rem, 4vw, 2rem);
	position: relative;
	z-index: 20;
}

/* Snow-capped rule under the header. */
.site-header::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--ucj-green-700), var(--ucj-gold-500), var(--ucj-red-500), var(--ucj-gold-500), var(--ucj-green-700));
}

.site-title { margin: 0; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 900; }
.site-title a { color: var(--ucj-green-800); text-decoration: none; }
.site-title a::before { content: "\1F384"; margin-right: 0.4rem; }
.site-title a:hover { color: var(--ucj-red-600); }
.site-description { margin: 0.15rem 0 0; font-size: 0.85rem; color: var(--ucj-ink-soft); }

.site-navigation ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-navigation li { position: relative; }

.site-navigation a {
	display: block;
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	color: var(--ucj-green-800);
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.site-navigation a:hover,
.site-navigation .current-menu-item > a,
.site-navigation .current_page_item > a {
	background: var(--ucj-green-800);
	color: var(--ucj-snow);
}

/* Submenus */
.site-navigation ul ul {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 250px;
	flex-direction: column;
	gap: 0;
	background: #fff;
	border: 1px solid var(--ucj-line);
	border-top: 3px solid var(--ucj-red-500);
	border-radius: var(--ucj-radius-sm);
	box-shadow: var(--ucj-shadow);
	padding: 0.4rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
	z-index: 40;
}

.site-navigation li:hover > ul,
.site-navigation li:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.site-navigation ul ul a { border-radius: var(--ucj-radius-sm); font-size: 0.9rem; }

.site-navigation .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	margin-left: 0.4rem;
	border: 4px solid transparent;
	border-top-color: currentColor;
	transform: translateY(2px);
}

/* --- Hello's "dynamic" header variant -----------------------------------
   This layout nests everything in .header-inner and adds a mobile toggle
   plus a separate dropdown nav, so the spacing lives on the inner wrapper
   and the toggle/dropdown need theming to match the palette. Hello's own
   CSS still owns the show/hide breakpoint logic. */

.site-header.dynamic-header {
	display: block;
	padding: 0;
}

.site-header.dynamic-header .header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	max-width: var(--ucj-wrap);
	margin-inline: auto;
	padding: 1.1rem clamp(1rem, 4vw, 2rem);
}

/* Hamburger */
.site-navigation-toggle {
	background: var(--ucj-green-800);
	color: var(--ucj-snow);
	border: 0;
	border-radius: var(--ucj-radius-sm);
	padding: 0.6rem 0.7rem;
	cursor: pointer;
	line-height: 1;
	transition: background-color 0.15s ease;
}

.site-navigation-toggle:hover { background: var(--ucj-red-500); }

.site-navigation-toggle-icon,
.site-navigation-toggle-icon::before,
.site-navigation-toggle-icon::after {
	display: block;
	width: 22px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	content: "";
	transition: transform 0.18s ease;
}

.site-navigation-toggle-icon { position: relative; }
.site-navigation-toggle-icon::before { position: absolute; top: -7px; }
.site-navigation-toggle-icon::after { position: absolute; top: 7px; }

/* Mobile dropdown panel */
.site-navigation-dropdown {
	background: var(--ucj-green-800);
	border-top: 3px solid var(--ucj-gold-500);
	box-shadow: var(--ucj-shadow);
	z-index: 50;
}

.site-navigation-dropdown ul { display: block; padding: 0.5rem; margin: 0; list-style: none; }
.site-navigation-dropdown li { display: block; }

.site-navigation-dropdown a {
	display: block;
	padding: 0.75rem 1rem;
	border-radius: var(--ucj-radius-sm);
	color: var(--ucj-snow);
	font-weight: 700;
	text-decoration: none;
}

.site-navigation-dropdown a:hover,
.site-navigation-dropdown .current-menu-item > a {
	background: var(--ucj-red-500);
	color: #fff;
}

.site-navigation-dropdown ul ul { padding-left: 0.75rem; }
.site-navigation-dropdown ul ul a { font-size: 0.9rem; opacity: 0.9; }

/* Visibility of the dropdown is deliberately left to Hello's own CSS/JS —
   overriding it here would fight the toggle. We only theme the panel. */

/* --- Elementor Theme Builder header/footer ------------------------------
   When the Elementor header/footer templates are active they replace Hello's
   markup entirely, so the widgets need their own theming. Both are styled so
   the site looks identical whichever header is serving. */

.elementor-location-header {
	position: relative;
	z-index: 20;
}

/* Site title widget. The dynamic site-url tag may or may not wrap the text in
   an anchor, so style the heading element and any inner link together. */
.elementor-widget-theme-site-title .elementor-heading-title,
.elementor-widget-theme-site-title .elementor-heading-title a {
	font-family: var(--ucj-font-display);
	font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
	font-weight: 900;
	line-height: 1.15;
	color: var(--ucj-green-800);
	text-decoration: none;
}

.elementor-widget-theme-site-title .elementor-heading-title::before {
	content: "\1F384";
	margin-right: 0.4rem;
}

.elementor-widget-theme-site-title .elementor-heading-title a:hover { color: var(--ucj-red-600); }

/* Nav menu widget */
.elementor-nav-menu .elementor-item {
	font-family: var(--ucj-font-body);
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--ucj-green-800);
	padding: 0.55rem 0.9rem !important;
	border-radius: 999px;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.elementor-nav-menu .elementor-item:hover,
.elementor-nav-menu .elementor-item.elementor-item-active,
.elementor-nav-menu .elementor-item.highlighted {
	background: var(--ucj-green-800);
	color: var(--ucj-snow);
}

/* Dropdown panel */
.elementor-nav-menu--dropdown,
.elementor-nav-menu__container.elementor-nav-menu--dropdown {
	background: #fff;
	border-top: 3px solid var(--ucj-red-500);
	border-radius: var(--ucj-radius-sm);
	box-shadow: var(--ucj-shadow);
}

.elementor-nav-menu--dropdown .elementor-item {
	color: var(--ucj-green-800);
	border-radius: var(--ucj-radius-sm);
}

.elementor-nav-menu--dropdown .elementor-item:hover {
	background: var(--ucj-red-500);
	color: #fff;
}

/* Burger */
.elementor-menu-toggle {
	background: var(--ucj-green-800) !important;
	color: var(--ucj-snow) !important;
	border-radius: var(--ucj-radius-sm);
	padding: 0.55rem;
}

.elementor-menu-toggle:hover { background: var(--ucj-red-500) !important; }

/* Search form widget */
.elementor-location-header .elementor-search-form__input {
	border: 1px solid var(--ucj-line);
	border-radius: 999px;
	padding: 0.55rem 1rem;
	font-family: var(--ucj-font-body);
	font-size: 0.9rem;
	background: #fff;
}

.elementor-location-header .elementor-search-form__input:focus {
	border-color: var(--ucj-gold-500);
	outline: none;
}

/* Footer widgets */
.elementor-location-footer h1,
.elementor-location-footer h2,
.elementor-location-footer h3 { font-family: var(--ucj-font-display); }

.elementor-location-footer .elementor-icon-list-item a,
.elementor-location-footer .elementor-icon-list-text {
	font-family: var(--ucj-font-body);
	font-size: 0.92rem;
	color: var(--ucj-snow);
	text-decoration: none;
}

.elementor-location-footer .elementor-icon-list-item a:hover .elementor-icon-list-text,
.elementor-location-footer .elementor-icon-list-item a:hover { color: var(--ucj-gold-300); }

.elementor-location-footer .elementor-icon-list-item { margin-bottom: 0.35rem; }

/* The mu-plugin disclosure prints after the footer; keep the band continuous. */
.elementor-location-footer + .ucj-affiliate-disclosure,
.ucj-affiliate-disclosure { background: var(--ucj-green-900); }

/* =========================================================================
   5. Decorative snowfall
   ====================================================================== */

.ucj-snow {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 1;
	opacity: 0.55;
	background-image:
		radial-gradient(3px 3px at 20% 15%, #fff 50%, transparent 51%),
		radial-gradient(2px 2px at 65% 35%, #fff 50%, transparent 51%),
		radial-gradient(2.5px 2.5px at 85% 10%, #fff 50%, transparent 51%),
		radial-gradient(2px 2px at 40% 70%, #fff 50%, transparent 51%);
	background-size: 420px 420px, 300px 300px, 520px 520px, 360px 360px;
	animation: ucj-snowfall 22s linear infinite;
	will-change: background-position;
}

@keyframes ucj-snowfall {
	from { background-position: 0 0, 0 0, 0 0, 0 0; }
	to   { background-position: 60px 420px, -40px 300px, 30px 520px, -20px 360px; }
}

/* Never animate for people who have asked the OS not to, and skip it on
   phones where it is invisible but still costs battery. */
@media (prefers-reduced-motion: reduce) {
	.ucj-snow { display: none; }
	* { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

@media (max-width: 781px) {
	.ucj-snow { display: none; }
}

/* Keep real content above the snow. */
.site-header, .site-main, .site-footer, .ucj-announce, .ucj-affiliate-disclosure { position: relative; z-index: 10; }

/* =========================================================================
   6. Buttons
   ====================================================================== */

.ucj-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce .button,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: var(--ucj-red-500);
	color: #fff;
	font-family: var(--ucj-font-body);
	font-weight: 800;
	font-size: 0.95rem;
	line-height: 1.2;
	padding: 0.85rem 1.5rem;
	border: 0;
	border-radius: 999px;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	box-shadow: 0 2px 0 var(--ucj-red-700);
	transition: transform 0.14s ease, background-color 0.14s ease, box-shadow 0.14s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.ucj-btn:hover {
	background: var(--ucj-red-600);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 0 var(--ucj-red-700), var(--ucj-shadow);
}

.woocommerce a.button:active,
.ucj-btn:active { transform: translateY(0); box-shadow: 0 2px 0 var(--ucj-red-700); }

/* External/affiliate buttons get the Amazon-bound arrow treatment. */
.woocommerce .product_type_external::after,
.ucj-buy__btn::after {
	content: "\2197";
	font-weight: 700;
}

/* =========================================================================
   7. Product grid
   ====================================================================== */

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: clamp(1rem, 2vw, 1.75rem);
	margin: 0 0 3rem;
	padding: 0;
	list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none; display: none; }

.woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--ucj-line);
	border-radius: var(--ucj-radius);
	overflow: hidden;
	text-align: left;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.woocommerce ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: var(--ucj-shadow-lift);
	border-color: var(--ucj-gold-500);
}

/* Gold ribbon accent along the top of each card. */
.woocommerce ul.products li.product::before {
	content: "";
	display: block;
	height: 4px;
	background: linear-gradient(90deg, var(--ucj-red-500), var(--ucj-gold-500), var(--ucj-green-700));
}

.woocommerce ul.products li.product a img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #fff;
	margin: 0;
	padding: 1rem;
	box-shadow: none;
	transition: transform 0.3s ease;
}

.woocommerce ul.products li.product:hover a img { transform: scale(1.04); }

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--ucj-font-body);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--ucj-ink);
	padding: 0 1rem;
	margin: 0 0 0.5rem;
	/* Amazon titles are extremely long; cap them so cards stay even. */
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.woocommerce ul.products li.product .price {
	display: block;
	padding: 0 1rem;
	margin: 0 0 0.9rem;
	font-family: var(--ucj-font-display);
	font-size: 1.3rem;
	font-weight: 900;
	color: var(--ucj-green-700);
}

.woocommerce ul.products li.product .price del { color: var(--ucj-ink-soft); font-size: 0.85rem; font-weight: 400; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--ucj-red-600); }

.woocommerce ul.products li.product .button {
	margin: auto 1rem 1.1rem;
	width: calc(100% - 2rem);
}

.woocommerce ul.products li.product .onsale {
	position: absolute;
	top: 0.9rem;
	left: 0.9rem;
	background: var(--ucj-green-700);
	color: var(--ucj-gold-300);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.3rem 0.6rem;
	border-radius: 999px;
	min-height: 0;
	line-height: 1.2;
	z-index: 2;
}

.woocommerce ul.products li.product { position: relative; }

/* =========================================================================
   8. Category strip
   ====================================================================== */

.ucj-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 2rem;
	padding-inline: 0;
}

.ucj-cats__item {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	background: #fff;
	border: 1px solid var(--ucj-line);
	border-radius: 999px;
	padding: 0.5rem 1rem;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--ucj-green-800);
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ucj-cats__item:hover,
.ucj-cats__item.is-active {
	background: var(--ucj-green-800);
	border-color: var(--ucj-green-800);
	color: #fff;
}

.ucj-cats__count {
	background: var(--ucj-cream);
	color: var(--ucj-green-800);
	border-radius: 999px;
	padding: 0.05rem 0.45rem;
	font-size: 0.75rem;
}

.ucj-cats__item:hover .ucj-cats__count,
.ucj-cats__item.is-active .ucj-cats__count { background: var(--ucj-gold-500); }

/* =========================================================================
   9. Single product
   ====================================================================== */

.woocommerce div.product .product_title {
	font-size: clamp(1.4rem, 1.15rem + 1.1vw, 2.1rem);
	margin-bottom: 0.75rem;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	font-family: var(--ucj-font-display);
	font-size: 2rem;
	font-weight: 900;
	color: var(--ucj-green-700);
	margin-bottom: 1rem;
}

.woocommerce div.product form.cart,
.woocommerce div.product .cart { margin-bottom: 0.75rem; }

.woocommerce div.product form.cart .button,
.woocommerce div.product .single_add_to_cart_button {
	font-size: 1.05rem;
	padding: 1rem 2rem;
	width: 100%;
	max-width: 420px;
}

.ucj-reassure {
	font-size: 0.85rem;
	color: var(--ucj-ink-soft);
	background: var(--ucj-cream);
	border-left: 3px solid var(--ucj-gold-500);
	border-radius: var(--ucj-radius-sm);
	padding: 0.75rem 1rem;
	margin: 0 0 1.25rem;
	max-width: 420px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ucj-red-600); }

/* =========================================================================
   10. Guides promo
   ====================================================================== */

.ucj-guides {
	margin: 0 auto 3.5rem;
	padding-block: 2.5rem;
	border-top: 2px dashed var(--ucj-line);
}

.ucj-guides__title { text-align: center; margin: 0 0 1.75rem; }

.ucj-guides__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.25rem;
}

.ucj-guides__card {
	display: block;
	background: linear-gradient(160deg, var(--ucj-green-800), var(--ucj-green-700));
	color: var(--ucj-snow);
	border-radius: var(--ucj-radius);
	padding: 1.5rem;
	text-decoration: none;
	box-shadow: var(--ucj-shadow);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ucj-guides__card:hover { transform: translateY(-4px); box-shadow: var(--ucj-shadow-lift); color: var(--ucj-snow); }
.ucj-guides__card h3 { color: var(--ucj-gold-300); margin: 0 0 0.5rem; font-size: 1.15rem; }
.ucj-guides__card p { margin: 0 0 1rem; font-size: 0.9rem; opacity: 0.9; }
.ucj-guides__more { font-weight: 800; font-size: 0.85rem; color: var(--ucj-gold-500); }
.ucj-guides__card:hover .ucj-guides__more { text-decoration: underline; }

/* =========================================================================
   11. Articles
   ====================================================================== */

.single-post .site-main,
.page .site-main { padding-bottom: 3rem; }

.single-post .entry-content,
.page .entry-content {
	max-width: 44rem;
	margin-inline: auto;
	font-size: 1.075rem;
}

.entry-content > h2 {
	margin-top: 2.75rem;
	padding-bottom: 0.4rem;
	border-bottom: 2px solid var(--ucj-gold-500);
}

.entry-content > h3 { margin-top: 2rem; color: var(--ucj-red-600); }
.entry-content p { margin-bottom: 1.25rem; }

.entry-content ul, .entry-content ol { margin-bottom: 1.5rem; padding-left: 1.35rem; }
.entry-content li { margin-bottom: 0.5rem; }

.entry-content ul { list-style: none; padding-left: 0; }
.entry-content ul li { padding-left: 1.75rem; position: relative; }
.entry-content ul li::before {
	content: "\2744";
	position: absolute;
	left: 0;
	color: var(--ucj-red-500);
	font-size: 0.9rem;
	top: 0.15rem;
}
.entry-content ol { list-style: decimal; }
.entry-content ol li::marker { color: var(--ucj-red-500); font-weight: 800; }

/* In-article links to products should look like offers, not footnotes. */
.entry-content p a[href*="/product/"] {
	font-weight: 700;
	color: var(--ucj-red-600);
	text-decoration-color: var(--ucj-gold-500);
	text-decoration-thickness: 2px;
}
.entry-content p a[href*="/product/"]:hover { background: var(--ucj-gold-300); color: var(--ucj-green-900); }

.entry-content em:first-child { color: var(--ucj-ink-soft); }

/* Blog listing */
.archive .site-main article,
.blog .site-main article {
	background: #fff;
	border: 1px solid var(--ucj-line);
	border-radius: var(--ucj-radius);
	overflow: hidden;
	margin-bottom: 2rem;
	box-shadow: var(--ucj-shadow);
}

.archive article .entry-header,
.blog article .entry-header { padding: 1.25rem 1.5rem 0; }
.archive article .entry-content,
.blog article .entry-content { padding: 0 1.5rem 1.5rem; max-width: none; }
.archive article img, .blog article img { width: 100%; height: auto; display: block; }

/* =========================================================================
   12. Footer and disclosure
   ====================================================================== */

.site-footer {
	background: var(--ucj-green-900);
	color: rgba(255, 249, 240, 0.85);
	border-top: 4px solid var(--ucj-gold-500);
	padding: 2.5rem clamp(1rem, 4vw, 2rem) 1rem;
	margin-top: 3rem;
}

.site-footer a { color: var(--ucj-gold-300); }
.site-footer a:hover { color: #fff; }

/* The disclosure is printed by the ucj-affiliate-disclosure mu-plugin after
   the footer element, so it is styled to read as one continuous band. */
.ucj-affiliate-disclosure {
	background: var(--ucj-green-900);
	color: rgba(255, 249, 240, 0.72);
	opacity: 1;
	max-width: none;
	padding: 0.5rem clamp(1rem, 4vw, 2rem) 2.5rem;
	border-top: none;
}

body:not(.elementor-editor-active) .site-footer { margin-bottom: 0; }

.ucj-affiliate-disclosure p { max-width: 52rem; margin-inline: auto; }
.ucj-affiliate-disclosure a { color: var(--ucj-gold-300); font-weight: 700; }
.ucj-affiliate-disclosure a:hover { color: #fff; }

/* =========================================================================
   13. Utility / cleanup
   ====================================================================== */

/* No cart exists on this site — hide any stray cart UI a plugin injects. */
.woocommerce .cart-collaterals,
.woocommerce-cart-form,
a.added_to_cart,
.woocommerce-message--added-to-cart { display: none !important; }

.woocommerce-breadcrumb {
	font-size: 0.85rem;
	color: var(--ucj-ink-soft);
	margin-bottom: 1.25rem;
}

.woocommerce nav.woocommerce-pagination ul { border: 0; gap: 0.35rem; display: flex; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	border-radius: 999px;
	padding: 0.5rem 0.95rem;
	font-weight: 700;
	background: #fff;
	border: 1px solid var(--ucj-line);
	color: var(--ucj-green-800);
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
	background: var(--ucj-red-500);
	border-color: var(--ucj-red-500);
	color: #fff;
}

@media (max-width: 781px) {
	.site-header { justify-content: center; text-align: center; }
	.site-navigation ul { justify-content: center; }
	.site-navigation ul ul {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		background: transparent;
		padding: 0;
		min-width: 0;
		flex-direction: row;
		justify-content: center;
	}
	.site-navigation ul ul a { font-size: 0.82rem; padding: 0.35rem 0.6rem; }
}

@media print {
	.ucj-announce, .ucj-snow, .site-navigation { display: none; }
}
