/* =========================================================
 * Lumen Blog — main stylesheet
 * Lightweight, no framework. Uses CSS variables from
 * functions.php so colors stay in sync with the plugin.
 * ========================================================= */

:root {
	--lumen-fg: #1f1235;
	--lumen-muted: #6b6483;
	--lumen-bg: #faf8ff;
	--lumen-card: #ffffff;
	--lumen-border: #ece7f5;
	--lumen-radius: 14px;
	--lumen-shadow-soft: 0 4px 20px -4px rgba(124, 58, 237, 0.15);
	--lumen-shadow-elegant: 0 20px 40px -20px rgba(124, 58, 237, 0.35);
	--lumen-shadow-glow: 0 0 60px rgba(236, 72, 153, 0.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; max-width: 100%; }
/* overflow-x: clip prevents horizontal scroll without breaking position: sticky */
html, body { overflow-x: clip; }
body {
	font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: var(--lumen-fg);
	background:
		radial-gradient(1200px 600px at 90% -10%, rgba(236,72,153,0.10), transparent 60%),
		radial-gradient(1000px 500px at -10% 0%, rgba(124,58,237,0.10), transparent 60%),
		var(--lumen-bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--lumen-brand); text-decoration: none; }
a:hover { color: var(--lumen-brand-2); }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
	font-family: 'Inter', system-ui, sans-serif;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0 0 0.5em;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.25rem;
}

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden;
}
.skip-link {
	position: absolute; left: -9999px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px;
}
.skip-link:focus { left: 12px; }

/* ---------- Header ---------- */
.site-header {
	background: rgba(255, 255, 255, 0.75);
	backdrop-filter: saturate(140%) blur(12px);
	-webkit-backdrop-filter: saturate(140%) blur(12px);
	border-bottom: 1px solid var(--lumen-border);
	position: sticky; top: 0; z-index: 50;
}
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1rem; padding: 0.75rem 1.25rem;
}
.site-title { margin: 0; font-size: 1.25rem; font-weight: 700; }
.site-title a { color: var(--lumen-fg); }
.site-description { color: var(--lumen-muted); font-size: 0.85rem; margin: 0; }

.main-navigation ul {
	list-style: none; display: flex; gap: 0.25rem; margin: 0; padding: 0; align-items: center;
}
.main-navigation li a {
	display: inline-block; padding: 0.5rem 0.85rem; border-radius: 10px;
	color: var(--lumen-fg); font-weight: 500; transition: background .2s, color .2s;
}
.main-navigation li a:hover,
.main-navigation .current-menu-item > a {
	background: rgba(124,58,237,0.08); color: var(--lumen-brand);
}
.main-navigation .menu-item-cart .cart-count {
	display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px;
	background: var(--lumen-gradient, linear-gradient(135deg,#7c3aed,#ec4899));
	color: #fff; font-size: 0.75rem; line-height: 20px; text-align: center; margin-left: 4px;
}

.menu-toggle {
	display: none; background: transparent; border: 1px solid var(--lumen-border);
	border-radius: 10px; padding: 8px 10px; cursor: pointer;
}
.menu-toggle .bar { display: block; width: 18px; height: 2px; background: var(--lumen-fg); margin: 3px 0; border-radius: 2px; }

@media (max-width: 800px) {
	.menu-toggle { display: inline-block; }
	.main-navigation ul {
		display: none; position: absolute; top: 100%; right: 1rem; left: 1rem;
		flex-direction: column; gap: 0; background: #fff; border: 1px solid var(--lumen-border);
		border-radius: var(--lumen-radius); padding: 8px; box-shadow: var(--lumen-shadow-soft);
	}
	.main-navigation.toggled ul { display: flex; }
	.main-navigation li { width: 100%; }
	.main-navigation li a { display: block; }
	.site-header__inner { position: relative; }
}

/* ---------- Layout ---------- */
.site-main { padding: 2.5rem 0 4rem; }
.layout-with-sidebar {
	display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem;
}
.no-sidebar .layout-with-sidebar { grid-template-columns: 1fr; }
@media (max-width: 960px) { .layout-with-sidebar { grid-template-columns: 1fr; } }

.full-width .container { max-width: 1400px; }

/* ---------- Hero (front page) ---------- */
.lumen-hero {
	color: #fff;
	background: var(--lumen-gradient, linear-gradient(135deg,#7c3aed,#ec4899));
	padding: 5rem 0;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.lumen-hero::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(800px 400px at 50% -20%, rgba(255,255,255,0.25), transparent 60%);
	pointer-events: none;
}
.lumen-hero__title { font-size: clamp(2rem, 5vw, 3.5rem); margin: 0 0 0.75rem; color: #fff; }
.lumen-hero__desc { font-size: 1.125rem; opacity: 0.95; margin: 0 0 1.5rem; }

/* ---------- Buttons ---------- */
.btn-brand,
.entry-content .wp-block-button__link,
.button, button.button, input[type="submit"].button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce-page a.button {
	display: inline-block; padding: 0.7rem 1.25rem;
	background: var(--lumen-gradient, linear-gradient(135deg,#7c3aed,#ec4899));
	color: #fff !important; border: 0; border-radius: 12px;
	font-weight: 600; cursor: pointer; transition: transform .2s, box-shadow .2s;
	box-shadow: var(--lumen-shadow-soft);
	text-decoration: none;
}
.btn-brand:hover, .button:hover, .woocommerce a.button:hover { transform: translateY(-1px); box-shadow: var(--lumen-shadow-elegant); color: #fff !important; }

/* ---------- Cards / posts ---------- */
.post-grid {
	display: grid; gap: 1.5rem;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card-post {
	background: var(--lumen-card); border: 1px solid var(--lumen-border);
	border-radius: var(--lumen-radius); overflow: hidden;
	box-shadow: var(--lumen-shadow-soft);
	transition: transform .25s, box-shadow .25s;
	display: flex; flex-direction: column;
}
.card-post:hover { transform: translateY(-3px); box-shadow: var(--lumen-shadow-elegant); }
.card-post__thumb img { width: 100%; height: 200px; object-fit: cover; }
.card-post__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; }
.card-post .entry-title { font-size: 1.2rem; margin: 0; }
.card-post .entry-title a { color: var(--lumen-fg); }
.card-post .entry-title a:hover { color: var(--lumen-brand); }
.card-post .entry-meta, .entry-meta { color: var(--lumen-muted); font-size: 0.85rem; }
.read-more { font-weight: 600; color: var(--lumen-brand); margin-top: auto; }

/* ---------- Single ---------- */
.single-article .post-thumbnail-hero img {
	width: 100%; max-height: 460px; object-fit: cover;
	border-radius: var(--lumen-radius); margin-bottom: 1.5rem;
	box-shadow: var(--lumen-shadow-soft);
}
.single-article .entry-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.single-article .entry-content {
	font-size: 1.05rem;
}
.single-article .entry-content p { margin: 0 0 1.1em; }
.single-article .entry-content blockquote {
	margin: 1.5rem 0; padding: 1rem 1.25rem;
	border-left: 4px solid var(--lumen-brand);
	background: rgba(124,58,237,0.05); border-radius: 8px;
	font-style: italic;
}
.single-article .entry-content code {
	background: #f3eefa; padding: 2px 6px; border-radius: 6px; font-size: 0.92em;
}
.single-article .entry-content pre {
	background: #1a1129; color: #f4f0fc; padding: 1rem; border-radius: 12px; overflow-x: auto;
}
.entry-footer { margin-top: 1.5rem; color: var(--lumen-muted); font-size: 0.9rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* Prevent single-post overflow on small screens */
.single-article, .single-article .entry-content { max-width: 100%; overflow-wrap: break-word; word-wrap: break-word; }
.single-article .entry-content img,
.single-article .entry-content video,
.single-article .entry-content iframe,
.single-article .entry-content table { max-width: 100%; height: auto; }
.single-article .entry-content pre,
.single-article .entry-content table { overflow-x: auto; }
.lumen-rate-row, .lumen-rate-card, .lumen-gift-card { max-width: 100%; min-width: 0; }
.lumen-rate-card, .lumen-gift-card { padding-left: 1rem; padding-right: 1rem; }
@media (max-width: 520px) {
	.lumen-rating.is-large .lumen-rating__stars { font-size: 2.6rem; letter-spacing: 3px; }
	.lumen-rating__boxes { width: 100%; gap: .25rem; justify-content: center; flex-wrap: nowrap; }
	.lumen-rating__box { flex: 1 1 0; width: auto; min-width: 0; max-width: 64px; padding: .35rem .15rem; min-height: 72px; border-radius: 12px; }
	.lumen-rating__box-emoji { font-size: 1.25rem; }
	.lumen-rating__box-num { font-size: .85rem; }
	.lumen-rating__box-label { font-size: .55rem; }
	.lumen-rate-card { padding: 1rem .75rem; }
	.lumen-rate-card__title { font-size: 1.2rem; }
	.lumen-rate-card__sub { font-size: .9rem; }
	.lumen-gift-card__quick { gap: .3rem; }
	.lumen-gift-card__input { width: 110px; }
}
.bd-hide-title .entry-header { display: none; }

/* ---------- BD page-display toggles ---------- */
body.bd-hide-header #masthead { display: none !important; }
body.bd-hide-footer #colophon { display: none !important; }
body.bd-full-width .layout-with-sidebar { grid-template-columns: 1fr !important; }
body.bd-full-width #secondary { display: none !important; }
body.bd-full-width .container { max-width: 100% !important; padding-left: 0; padding-right: 0; }
body.bd-full-width .single-article,
body.bd-full-width .page-article {
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 !important;
}

/* Post card: author row beside compact rating */
.card-post__foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.card-post__author { display: inline-flex; align-items: center; gap: .5rem; color: var(--lumen-fg); font-size: .85rem; font-weight: 600; }
.card-post__avatar { border-radius: 999px; width: 28px; height: 28px; }
.bd-dark .card-post__author { color: #e9e6f3; }

/* ---------- Page header ---------- */
.page-header { margin-bottom: 1.5rem; }
.page-title { font-size: clamp(1.5rem, 3vw, 2.25rem); margin: 0; }

/* ---------- Sidebar / widgets ---------- */
.widget-area .widget {
	background: var(--lumen-card); border: 1px solid var(--lumen-border);
	border-radius: var(--lumen-radius); padding: 1.1rem 1.2rem; margin-bottom: 1.25rem;
	box-shadow: var(--lumen-shadow-soft);
}
.widget-title { font-size: 1rem; margin: 0 0 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--lumen-muted); }
.widget ul { padding: 0; margin: 0; list-style: none; }
.widget li + li { margin-top: 0.5rem; }

/* ---------- Forms ---------- */
input[type=text], input[type=email], input[type=url], input[type=password],
input[type=search], input[type=number], input[type=tel], textarea, select {
	width: 100%; padding: 0.6rem 0.8rem; border: 1px solid var(--lumen-border);
	border-radius: 10px; background: #fff; color: var(--lumen-fg); font: inherit;
	transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--lumen-brand); box-shadow: 0 0 0 3px rgba(124,58,237,0.15); }

/* ---------- Pagination ---------- */
.pagination, .nav-links { display: flex; gap: 0.4rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.pagination .page-numbers, .nav-links a, .nav-links .current {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; height: 38px; padding: 0 12px;
	border-radius: 10px; background: #fff; border: 1px solid var(--lumen-border); color: var(--lumen-fg);
}
.pagination .current, .nav-links .current,
.pagination .page-numbers:hover, .nav-links a:hover {
	background: var(--lumen-gradient, linear-gradient(135deg,#7c3aed,#ec4899)); color: #fff; border-color: transparent;
}

/* ---------- Comments ---------- */
.comments-area { margin-top: 3rem; }
.comments-title {
	font-size: 1.35rem; margin: 0 0 1.25rem;
	display: flex; align-items: center; gap: .5rem;
}
.comments-title::before {
	content: ""; width: 6px; height: 22px; border-radius: 3px;
	background: var(--lumen-gradient, linear-gradient(135deg,#7c3aed,#ec4899));
}
.comment-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.comment-list .comment {
	background: #fff; border: 1px solid var(--lumen-border);
	border-radius: var(--lumen-radius); padding: 1rem 1.1rem; margin-bottom: 1rem;
	box-shadow: var(--lumen-shadow-soft);
}
.comment-list .comment .avatar {
	border-radius: 999px; margin-right: .75rem; float: left;
}
.comment-list .comment .comment-author { font-weight: 600; }
.comment-list .comment .comment-metadata { color: var(--lumen-muted); font-size: .8rem; margin-bottom: .5rem; }
.comment-list .children { list-style: none; padding-left: 1.25rem; border-left: 2px solid var(--lumen-border); margin-top: .75rem; }

/* Sleek comment form */
.comment-respond {
	position: relative;
	background: linear-gradient(180deg, #ffffff, #faf8ff);
	padding: 1.6rem 1.5rem 1.4rem;
	border-radius: var(--lumen-radius);
	border: 1px solid var(--lumen-border);
	box-shadow: var(--lumen-shadow-soft);
	overflow: hidden;
}
.comment-respond::before {
	content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
	background: var(--lumen-gradient, linear-gradient(135deg,#7c3aed,#ec4899));
}
.comment-reply-title {
	font-size: 1.2rem; margin: 0 0 .25rem;
}
.comment-respond .comment-notes,
.comment-respond .logged-in-as { color: var(--lumen-muted); font-size: .9rem; margin: 0 0 1rem; }
.comment-form {
	display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem;
}
.comment-form-comment, .form-submit { grid-column: 1 / -1; }
.comment-form label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: .35rem; color: var(--lumen-fg); }
.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url],
.comment-form textarea {
	background: #fff;
	border-radius: 12px;
	padding: .75rem .9rem;
	border: 1px solid var(--lumen-border);
	box-shadow: 0 1px 0 rgba(15, 7, 41, 0.02);
}
.comment-form textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.comment-form .form-submit { display: flex; align-items: center; justify-content: flex-end; margin: .25rem 0 0; }
.comment-form .submit {
	padding: .8rem 1.6rem; border-radius: 999px;
	font-size: .95rem; letter-spacing: .01em;
}
.comment-form-cookies-consent { grid-column: 1 / -1; display: flex; gap: .5rem; align-items: flex-start; color: var(--lumen-muted); font-size: .85rem; }
.comment-form-cookies-consent input { margin-top: .25rem; }
@media (max-width: 600px) {
	.comment-form { grid-template-columns: 1fr; }
}

/* ---------- Star ratings ---------- */
.lumen-rate-card {
	margin-top: 2rem;
	background: linear-gradient(180deg, #ffffff, #faf6ff);
	border: 1px solid var(--lumen-border);
	border-radius: var(--lumen-radius);
	padding: 1.8rem 1.5rem;
	box-shadow: var(--lumen-shadow-soft);
	text-align: center;
	overflow: hidden;
}
.lumen-rate-card__title { margin: 0 0 .35rem; font-size: 1.5rem; }
.lumen-rate-card__sub { margin: 0 0 1.25rem; color: var(--lumen-muted); font-size: 1rem; }
.lumen-rate-card .lumen-rating { justify-content: center; }

.lumen-rating {
	display: inline-flex; flex-direction: column; align-items: center; gap: .6rem;
	margin: .5rem 0 0;
}
.lumen-rating.is-compact {
	flex-direction: row; gap: .5rem; align-items: center; margin: 0;
	font-size: .85rem; color: var(--lumen-muted);
}

/* Colored emoji boxes (interactive single-post view) */
.lumen-rating__boxes {
	display: flex; gap: .65rem; justify-content: center; flex-wrap: wrap;
	margin-bottom: .25rem;
}
.lumen-rating__box {
	position: relative;
	display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
	width: 84px; min-height: 96px; padding: .55rem .5rem .55rem;
	background: var(--bx, #ddd);
	border: 2px solid transparent; border-radius: 16px;
	color: #fff; cursor: pointer;
	box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--bx) 70%, transparent);
	transition: transform .15s ease, box-shadow .2s ease, border-color .2s;
	font: inherit;
}
.lumen-rating__box:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--bx) 80%, transparent); }
.lumen-rating__box.is-selected { border-color: #111; box-shadow: 0 0 0 3px rgba(0,0,0,.08), 0 14px 28px -10px color-mix(in srgb, var(--bx) 80%, transparent); transform: translateY(-3px); }
.lumen-rating__box-emoji { font-size: 2rem; line-height: 1; margin-bottom: .2rem; }
.lumen-rating__box-num   { font-size: 1.05rem; font-weight: 800; letter-spacing: .02em; text-shadow: 0 1px 0 rgba(0,0,0,.18); }
.lumen-rating__box-label { font-size: .72rem; font-weight: 600; opacity: .95; text-transform: uppercase; letter-spacing: .04em; margin-top: 1px; }
@media (max-width: 520px) {
	.lumen-rate-card { padding: 1rem .6rem; }
	.lumen-rate-card .lumen-rating { display: flex; width: 100%; max-width: 100%; }
	.lumen-rating__boxes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .22rem; width: 100%; max-width: 100%; min-width: 0; }
	.lumen-rating__box { width: 100%; max-width: none; min-width: 0; min-height: 68px; padding: .3rem .05rem; border-radius: 10px; }
	.lumen-rating__box-emoji { font-size: 1.18rem; }
	.lumen-rating__box-num { font-size: .82rem; }
	.lumen-rating__box-label { font-size: .5rem; line-height: 1.05; letter-spacing: 0; overflow-wrap: anywhere; }
	.lumen-rating.is-large .lumen-rating__stars { max-width: 100%; font-size: clamp(1.8rem, 11vw, 2.45rem); letter-spacing: 1px; }
	.lumen-rating__meta { font-size: .88rem; }
}

.lumen-rating__stars {
	position: relative;
	display: inline-block;
	font-size: 1.45rem;
	letter-spacing: 2px;
	line-height: 1;
	font-family: Arial, sans-serif;
	user-select: none;
}
/* 3x bigger stars on the interactive (single-post) view */
.lumen-rating.is-large .lumen-rating__stars {
	font-size: 4.35rem;
	letter-spacing: 6px;
}
.lumen-rating.is-compact .lumen-rating__stars { font-size: 1rem; letter-spacing: 1px; }
.lumen-rating__track { color: #e5dff1; }
.lumen-rating__fill {
	position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap;
	width: 0;
	background: var(--lumen-gradient, linear-gradient(135deg,#7c3aed,#ec4899));
	-webkit-background-clip: text; background-clip: text;
	color: transparent;
	transition: width .2s ease;
	pointer-events: none;
}
.lumen-rating__meta { font-size: 1rem; color: var(--lumen-muted); }
.lumen-rating.is-large .lumen-rating__meta { font-size: 1.05rem; }
.lumen-rating__meta strong { color: var(--lumen-fg); }
.lumen-rating__hint { color: var(--lumen-muted); font-size: .85rem; }
.lumen-rating.is-saving { opacity: .6; pointer-events: none; }
@media (max-width: 520px) {
	.lumen-rating.is-large .lumen-rating__stars { max-width: 100%; font-size: clamp(1.8rem, 11vw, 2.45rem); letter-spacing: 1px; }
	.lumen-rating.is-large .lumen-rating__meta { font-size: .88rem; }
}

/* Dark mode polish (when plugin's site-wide dark toggle is on) */
.bd-dark .comment-list .comment,
.bd-dark .comment-respond,
.bd-dark .lumen-rate-card,
.bd-dark .lumen-gift-card { background: #1a1a23; border-color: #2a2a35; color: #e9e6f3; }
.bd-dark .comment-form input,
.bd-dark .comment-form textarea { background: #14141c; border-color: #2a2a35; color: #e9e6f3; }
.bd-dark .lumen-rating__track { color: #2f2a3d; }
.bd-dark .lumen-rating__box.is-selected { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.12), 0 14px 28px -10px color-mix(in srgb, var(--bx) 80%, transparent); }

/* ---------- Gift the Author ---------- */
.lumen-rate-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: stretch; margin-top: 2rem; }
.lumen-rate-row > * { margin-top: 0 !important; }
@media (max-width: 820px) { .lumen-rate-row { grid-template-columns: 1fr; } }

.lumen-gift-card {
	background: linear-gradient(180deg, #ffffff, #fff7ee);
	border: 1px solid var(--lumen-border);
	border-radius: var(--lumen-radius);
	padding: 1.6rem 1.5rem;
	box-shadow: var(--lumen-shadow-soft);
	text-align: center;
	position: relative; overflow: hidden;
}
.lumen-gift-card::before {
	content:""; position:absolute; inset:0 0 auto 0; height:4px;
	background: linear-gradient(90deg,#f59e0b,#ef4444,#ec4899);
}
.lumen-gift-card__title { margin: 0 0 .25rem; font-size: 1.5rem; display:inline-flex; align-items:center; gap:.5rem; }
.lumen-gift-card__coin { display:inline-block; width:32px; height:32px; border-radius:50%;
	background: radial-gradient(circle at 30% 30%, #fde68a, #f59e0b 70%, #b45309);
	box-shadow: inset 0 -3px 0 rgba(0,0,0,.12), 0 4px 10px -3px rgba(245,158,11,.6);
	color:#5c2c0d; font-weight:900; line-height:32px; text-align:center; font-size:1rem;
}
.lumen-gift-card__sub { margin: 0 0 1rem; color: var(--lumen-muted); font-size: .95rem; }
.lumen-gift-card__row { display:flex; gap:.5rem; justify-content:center; align-items:stretch; flex-wrap:wrap; }
.lumen-gift-card__input {
	width: 140px; text-align:center; font-size:1.1rem; font-weight:700;
	padding: .65rem .75rem; border-radius: 12px; border:1px solid var(--lumen-border);
}
.lumen-gift-card__btn {
	padding:.7rem 1.3rem; border-radius:999px; border:0; cursor:pointer; color:#fff; font-weight:700;
	background: linear-gradient(135deg,#f59e0b,#ef4444);
	box-shadow: 0 8px 20px -8px rgba(239,68,68,.6); transition: transform .15s, box-shadow .2s;
}
.lumen-gift-card__btn:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(239,68,68,.7); }
.lumen-gift-card__btn:disabled { opacity:.6; cursor: not-allowed; transform:none; }
.lumen-gift-card__quick { display:flex; gap:.4rem; justify-content:center; margin: .7rem 0 .25rem; flex-wrap:wrap; }
.lumen-gift-card__chip {
	border:1px solid var(--lumen-border); background:#fff; color:var(--lumen-fg);
	padding:.3rem .7rem; border-radius:999px; cursor:pointer; font-weight:600; font-size:.85rem;
}
.lumen-gift-card__chip:hover { background: var(--lumen-gradient); color:#fff; border-color:transparent; }
.lumen-gift-card__meta { color: var(--lumen-muted); font-size:.85rem; margin-top:.6rem; }
.lumen-gift-card__meta strong { color: var(--lumen-fg); }
.lumen-gift-card__msg { margin-top:.6rem; font-size:.9rem; min-height:1.2em; }
.lumen-gift-card__msg.is-success { color:#15803d; }
.lumen-gift-card__msg.is-error   { color:#b91c1c; }
.bd-dark .lumen-gift-card__input { background:#14141c; color:#e9e6f3; border-color:#2a2a35; }
.bd-dark .lumen-gift-card__chip  { background:#1a1a23; color:#e9e6f3; border-color:#2a2a35; }

/* ---------- 404 ---------- */
.error-404 { text-align: center; padding: 3rem 0; }
.error-404 .page-title { font-size: clamp(2rem, 5vw, 3rem); }

/* ---------- Footer ---------- */
.site-footer {
	margin-top: 3rem; background: #1a1129; color: #e9e2f8; padding: 2.5rem 0;
}
.site-footer a { color: #fff; }
.site-footer .widget { background: transparent; border: 0; padding: 0; box-shadow: none; }
.site-footer .widget-title { color: rgba(255,255,255,0.7); }
.footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.site-footer .footer-nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; margin: 0 0 1rem; }
.site-info { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* ---------- WooCommerce polish ---------- */
.woocommerce ul.products li.product .price { color: var(--lumen-brand); font-weight: 700; }
.woocommerce ul.products li.product .button { margin-top: 0.5rem; }
.woocommerce span.onsale {
	background: var(--lumen-gradient, linear-gradient(135deg,#7c3aed,#ec4899)) !important;
	color: #fff !important; border-radius: 999px; padding: 4px 10px; min-height: 0; line-height: 1;
}
.woocommerce-message, .woocommerce-info {
	border-top-color: var(--lumen-brand) !important; background: #fff; border-radius: 12px;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--lumen-brand) !important; }
.woocommerce .woocommerce-breadcrumb { color: var(--lumen-muted); }
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review {
	background: #fff; border: 1px solid var(--lumen-border); border-radius: var(--lumen-radius); padding: 1rem;
}

/* ---------- Elementor friendliness ---------- */
.elementor-page .site-main { padding: 0; }
.lumen-canvas { background: #fff; }

/* ---------- Section header used on front-page ---------- */
.section-header { margin: 2.5rem 0 1.25rem; }
.section-header h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }

/* ---------- Block editor compatibility ---------- */
.alignwide  { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull  { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.entry-content > * { margin-top: 1.25em; margin-bottom: 1.25em; }