/*!
Theme Name: Pognon
Theme URI: http://underscores.me/
Author: Nicolas Belayew
Author URI: http://nicolasbelayew.eu
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: pognon-crowdfunding
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Pognon is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
	font-size: 18px;
}

/*--------------------------------------------------------------
# Custom Properties & Font Face
--------------------------------------------------------------*/

@font-face {
	font-family: 'NotCourierSans';
	src: url('NotCourierSans-fontfacekit/web fonts/notcouriersans_regular_macroman/NotCourierSans-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'NotCourierSans';
	src: url('NotCourierSans-fontfacekit/web fonts/notcouriersans_bold_macroman/NotCourierSans-Bold-webfont.woff') format('woff');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

/* Dark mode (default) */
:root,
[data-theme="dark"] {
	--color-primary: #0000ff;
	--color-bg: #000000;
	--color-text: #ffffff;
	--color-dim: rgba(0, 0, 255, 0.08);
	--color-border: var(--color-primary);
	--color-success: #00ff88;
	--color-error: #ff6666;
	--color-warning: #ffcc00;
	--font-mono: 'NotCourierSans', 'Courier New', Courier, monospace;
	--spacing-unit: 1.5rem;
	--max-width: 960px;
	--border-terminal: 1px solid var(--color-primary);
}

/* Light mode */
[data-theme="light"] {
	--color-primary: #0000ff;
	--color-bg: #ffffff;
	--color-text: #000000;
	--color-dim: rgba(0, 0, 255, 0.06);
	--color-success: #007744;
	--color-error: #cc0000;
	--color-warning: #cc8800;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--color-text);
	font-family: var(--font-mono);
	font-size: 1rem;
	line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	color: var(--color-primary);
	font-family: var(--font-mono);
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

h1 {
	font-size: 2.2rem;
}

h2 {
	font-size: 1.6rem;
}

h3 {
	font-size: 1.3rem;
}

h1::before,
h2::before,
h3::before {
	content: '> ';
	color: var(--color-primary);
}

/* Blinking cursor on headings */
@keyframes blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0; }
}

h1::after,
h2::after {
	content: '_';
	animation: blink 1s step-end infinite;
	color: var(--color-primary);
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0;
	padding: var(--spacing-unit);
	border-left: 3px solid var(--color-primary);
	background: var(--color-dim);
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: var(--color-dim);
	font-family: var(--font-mono);
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
	border: var(--border-terminal);
	color: var(--color-primary);
}

code,
kbd,
tt,
var {
	font-family: var(--font-mono);
	color: var(--color-primary);
}

abbr,
acronym {
	border-bottom: 1px dotted var(--color-primary);
	cursor: help;
}

mark,
ins {
	background: var(--color-primary);
	color: var(--color-bg);
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: var(--color-bg);
}

hr {
	background-color: var(--color-primary);
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
	opacity: 0.4;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color 0.15s, background-color 0.15s;
}

a:visited {
	color: var(--color-primary);
}

a:hover,
a:focus,
a:active {
	color: var(--color-bg);
	background-color: var(--color-primary);
}

a:focus {
	outline: 1px dotted var(--color-primary);
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: var(--border-terminal);
	border-radius: 0;
	background: transparent;
	color: var(--color-primary);
	font-family: var(--font-mono);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	line-height: 1;
	padding: 0.6em 1em 0.4em;
	cursor: pointer;
	transition: color 0.15s, background-color 0.15s;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: var(--color-primary);
	color: var(--color-bg);
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	background: var(--color-primary);
	color: var(--color-bg);
	outline: 1px dotted var(--color-primary);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: var(--color-text);
	background: var(--color-bg);
	border: var(--border-terminal);
	border-radius: 0;
	padding: 0.4em 0.6em;
	font-family: var(--font-mono);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: var(--color-primary);
	box-shadow: 0 0 0 1px var(--color-primary);
	outline: none;
}

select {
	color: var(--color-text);
	background: var(--color-bg);
	border: var(--border-terminal);
	border-radius: 0;
	font-family: var(--font-mono);
	padding: 0.4em 0.6em;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.site {
	max-width: var(--max-width);
	margin: 0;
	padding: 0 var(--spacing-unit);
	position: relative;
	z-index: 1;
	background: var(--color-bg);
}

.site-main {
	padding: var(--spacing-unit) 0;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	background: var(--color-bg);
	border: var(--border-terminal);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
	padding: 0.4em 0.8em;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	color: var(--color-primary);
	padding: 0.3em 0;
}

.main-navigation a:hover,
.main-navigation a:focus {
	color: var(--color-bg);
	background: var(--color-primary);
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.menu-toggle {
	border: var(--border-terminal);
	background: transparent;
	color: var(--color-primary);
	font-family: var(--font-mono);
	text-transform: uppercase;
	padding: 0.4em 0.8em;
}

.menu-toggle:hover {
	background: var(--color-primary);
	color: var(--color-bg);
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
		gap: 1em;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
	padding: var(--spacing-unit) 0;
	border-top: var(--border-terminal);
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
	padding: var(--spacing-unit);
	border: var(--border-terminal);
}

.widget .widget-title {
	margin-top: 0;
	font-size: 0.9rem;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--color-bg);
	border: var(--border-terminal);
	box-shadow: none;
	clip: auto !important;
	clip-path: none;
	color: var(--color-primary);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# ASCII Background
--------------------------------------------------------------*/
#ascii-bg {
	position: fixed;
	top: 0;
	right: 0;
	width: calc(100vw - var(--max-width));
	height: 100vh;
	z-index: 0;
	pointer-events: none;
	font-family: var(--font-mono);
	font-size: 13px;
	line-height: 1.4;
	background: var(--color-primary);
	color: var(--color-bg);
	white-space: pre;
	overflow: hidden;
}

/*--------------------------------------------------------------
# Header Terminal
--------------------------------------------------------------*/
.site-header {
	border-bottom: var(--border-terminal);
	padding: var(--spacing-unit) 0;
}

.site-header__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
	margin-bottom: 0.8em;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 0.8em;
}

.site-title {
	font-family: var(--font-mono);
	font-weight: bold;
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-primary);
	text-decoration: none;
	white-space: nowrap;
}

.site-title:hover {
	color: var(--color-bg);
	background: var(--color-primary);
}

.site-description {
	display: none;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 1em;
}

.site-header__home {
	color: var(--color-primary);
	text-decoration: none;
	font-size: 0.85rem;
	font-family: var(--font-mono);
	white-space: nowrap;
}

.site-header__home:hover {
	color: var(--color-bg);
	background: var(--color-primary);
}

.site-header__cart {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.site-header__cart-link {
	color: var(--color-primary);
	text-decoration: none;
	font-size: 0.85rem;
	font-family: var(--font-mono);
	white-space: nowrap;
	line-height: 1.2em;
}

.site-header__cart-link:hover {
	color: var(--color-bg);
	background: var(--color-primary);
}

/* ── Side Cart Panel ── */

.cart-side-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 9998;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s, visibility 0.25s;
}

.cart-side-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.admin-bar .cart-side-overlay {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .cart-side-overlay {
		top: 46px;
	}
}

.admin-bar .cart-side-panel {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .cart-side-panel {
		top: 46px;
	}
}

.cart-side-panel {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 340px;
	max-width: 90vw;
	z-index: 9999;
	background: var(--color-bg);
	border-left: 2px solid var(--color-primary);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.25s ease;
	font-family: var(--font-mono);
	font-size: 0.82rem;
	line-height: 1.4;
}

.cart-side-panel.is-open {
	transform: translateX(0);
}

.cart-side-panel__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1em 1.2em;
	border-bottom: 1px solid var(--color-primary);
}

.cart-side-panel__title {
	color: var(--color-primary);
	font-weight: bold;
	font-size: 1rem;
	text-transform: uppercase;
}

.cart-side-panel__close {
	background: none;
	border: 1px solid var(--color-primary);
	color: var(--color-primary);
	font-family: var(--font-mono);
	font-size: 0.8rem;
	cursor: pointer;
	padding: 0.2em 0.5em;
	transition: background 0.15s, color 0.15s;
}

.cart-side-panel__close:hover {
	background: var(--color-primary);
	color: var(--color-bg);
}

.cart-side-panel__content {
	flex: 1;
	overflow-y: auto;
	padding: 1em 1.2em;
}

/* Product list */
.cart-side-panel__content ul.woocommerce-mini-cart {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Each product item */
.cart-side-panel__content .woocommerce-mini-cart-item {
	position: relative;
	padding: 0.6em 1.5em 0.6em 0;
	border-bottom: 1px solid var(--color-dim);
}

.cart-side-panel__content .woocommerce-mini-cart-item:last-child {
	border-bottom: none;
}

/* Product link (contains img + name) — flex row */
.cart-side-panel__content .woocommerce-mini-cart-item a:not(.remove) {
	display: flex;
	align-items: flex-start;
	gap: 0.8em;
	color: var(--color-primary);
	text-decoration: none;
	font-size: 0.78rem;
	line-height: 1.35;
	background: none !important;
}

.cart-side-panel__content .woocommerce-mini-cart-item a:not(.remove):hover {
	text-decoration: underline;
	background: none !important;
	color: var(--color-primary);
}

/* Thumbnail */
.cart-side-panel__content .woocommerce-mini-cart-item img {
	display: block !important;
	width: 60px !important;
	height: 60px !important;
	object-fit: cover;
	border: 1px solid var(--color-dim);
	flex-shrink: 0;
}

/* Remove × button */
.cart-side-panel__content .woocommerce-mini-cart-item a.remove {
	position: absolute;
	top: 0.6em;
	right: 0;
	color: var(--color-text) !important;
	text-decoration: none;
	font-size: 0.9rem;
	opacity: 0.35;
	line-height: 1;
}

.cart-side-panel__content .woocommerce-mini-cart-item a.remove:hover {
	opacity: 1;
	color: var(--color-error) !important;
}

/* Quantity × price */
.cart-side-panel__content .woocommerce-mini-cart-item .quantity {
	display: block;
	color: var(--color-text);
	font-size: 0.72rem;
	opacity: 0.6;
	margin-top: 0.2em;
	padding-left: calc(60px + 0.8em);
}

/* Total */
.cart-side-panel__content .woocommerce-mini-cart__total {
	border-top: 1px solid var(--color-primary);
	padding-top: 0.6em;
	margin-top: 0.4em;
	color: var(--color-text);
	font-weight: bold;
	font-size: 0.85rem;
}

/* Buttons — stacked */
.cart-side-panel__content .woocommerce-mini-cart__buttons {
	display: flex;
	flex-direction: column;
	gap: 0.4em;
	margin-top: 0.8em;
	padding-bottom: 0;
}

.cart-side-panel__content .woocommerce-mini-cart__buttons a {
	display: block;
	text-align: center;
	border: 1px solid var(--color-primary);
	background: transparent;
	color: var(--color-primary);
	font-family: var(--font-mono);
	font-size: 0.78rem;
	padding: 0.5em 0.6em;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 0.15s, background-color 0.15s;
}

.cart-side-panel__content .woocommerce-mini-cart__buttons a:last-child {
	background: var(--color-primary);
	color: var(--color-bg);
	border-color: var(--color-primary);
}

.cart-side-panel__content .woocommerce-mini-cart__buttons a:hover {
	opacity: 0.75;
}

.cart-side-panel__content .woocommerce-mini-cart__buttons a:last-child:hover {
	opacity: 0.75;
}

/* Hide on cart/checkout pages */
.woocommerce-cart .cart-side-panel,
.woocommerce-cart .cart-side-overlay,
.woocommerce-checkout .cart-side-panel,
.woocommerce-checkout .cart-side-overlay {
	display: none !important;
}

.cart-side-panel__content .woocommerce-mini-cart__empty-message {
	color: var(--color-text);
	opacity: 0.5;
	font-size: 0.78rem;
}

.site-header__account {
	color: var(--color-primary);
	text-decoration: none;
	font-size: 0.85rem;
	font-family: var(--font-mono);
	white-space: nowrap;
}

.site-header__account:hover {
	color: var(--color-bg);
	background: var(--color-primary);
}

/* Theme toggle button */
.theme-toggle {
	border: none;
	background: transparent;
	color: var(--color-primary);
	font-size: 1.3rem;
	padding: 0.2em;
	cursor: pointer;
	line-height: 1;
	transition: opacity 0.15s;
}

.theme-toggle:hover {
	opacity: 0.7;
}

.theme-toggle__icon::before {
	content: '\263D';
}

[data-theme="light"] .theme-toggle__icon::before {
	content: '\2600';
}

/*--------------------------------------------------------------
# Footer Terminal
--------------------------------------------------------------*/
.site-footer {
	border-top: var(--border-terminal);
	padding: var(--spacing-unit) 0;
	font-size: 0.85rem;
}

.site-footer .site-info {
	color: var(--color-primary);
	opacity: 0.7;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.5em;
}

.site-info__legal a {
	color: var(--color-primary);
	text-decoration: none;
}

.site-info__legal a:hover {
	color: var(--color-bg);
	background: var(--color-primary);
}

.site-footer .sep {
	color: var(--color-primary);
}

/*--------------------------------------------------------------
# Entry Styles
--------------------------------------------------------------*/
.entry-title a {
	color: var(--color-primary);
	text-decoration: none;
}

.entry-title a:hover {
	color: var(--color-bg);
	background: var(--color-primary);
}

.entry-meta,
.entry-footer {
	font-size: 0.85rem;
	color: var(--color-primary);
	opacity: 0.6;
}

.entry-meta a,
.entry-footer a {
	color: var(--color-primary);
}

.cat-links::before {
	content: '[ ';
}

.cat-links::after {
	content: ' ]';
}

.tags-links::before {
	content: '# ';
}

/*--------------------------------------------------------------
# Tables Terminal
--------------------------------------------------------------*/
table {
	border-collapse: collapse;
}

table th,
table td {
	border: var(--border-terminal);
	padding: 0.5em 0.8em;
	text-align: left;
}

table th {
	color: var(--color-primary);
	font-weight: bold;
	text-transform: uppercase;
	font-size: 0.85rem;
}

/*--------------------------------------------------------------
# Campaign Module
--------------------------------------------------------------*/
.pognon-campaign {
	border: var(--border-terminal);
	padding: var(--spacing-unit);
	margin-bottom: var(--spacing-unit);
	width: 100%;
	box-sizing: border-box;
}

.pognon-campaign__header {
	margin-bottom: 0.8em;
}

.pognon-campaign__prompt {
	color: var(--color-primary);
}

.pognon-campaign__title {
	color: var(--color-primary);
	font-weight: bold;
	text-transform: uppercase;
	font-size: 1.5rem;
	letter-spacing: 0.05em;
}

.pognon-campaign__cursor {
	animation: blink 1s step-end infinite;
}

.pognon-campaign__desc {
	color: var(--color-text);
	margin-bottom: 1.2em;
	opacity: 0.8;
}

.pognon-campaign__bar-row {
	display: flex;
	align-items: center;
	gap: 0.8em;
	margin-bottom: 0.8em;
}

.pognon-campaign__bar-wrap {
	background: var(--color-dim);
	border: var(--border-terminal);
	height: 1.8em;
	position: relative;
	overflow: hidden;
	flex: 1;
}

.pognon-campaign__bar {
	height: 100%;
	background: var(--color-primary);
	transition: width 0.6s ease-out;
	position: relative;
}

.pognon-campaign__stats {
	display: flex;
	align-items: baseline;
	gap: 1.5em;
	margin-bottom: 1em;
	flex-wrap: wrap;
}

.pognon-campaign__amount {
	color: var(--color-text);
	font-size: 1.1rem;
}

.pognon-campaign__deadline,
.pognon-campaign__contributors {
	font-size: 0.85rem;
	color: var(--color-text);
	opacity: 0.6;
}

.pognon-campaign__pct {
	color: var(--color-primary);
	font-weight: bold;
	font-size: 1.1rem;
	white-space: nowrap;
	flex-shrink: 0;
}

.pognon-campaign__sep {
	color: var(--color-primary);
}

.pognon-campaign__overshoot {
	color: var(--color-primary);
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 1em;
}

.pognon-campaign__thanks {
	margin-top: 1.5em;
	padding-top: 1em;
	border-top: 1px solid var(--color-primary);
	font-size: 0.9rem;
}

.pognon-campaign__thanks-text {
	color: var(--color-primary);
	font-weight: bold;
}

.pognon-campaign__thanks-names {
	color: var(--color-text);
	margin-left: 0.3em;
}

.pognon-campaign__cta {
	margin-top: 1em;
}

.pognon-campaign__btn {
	display: inline-block;
	color: var(--color-primary);
	border: var(--border-terminal);
	padding: 0.6em 1.2em;
	text-decoration: none;
	font-family: var(--font-mono);
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	transition: color 0.15s, background-color 0.15s;
}

.pognon-campaign__btn:hover {
	color: var(--color-bg);
	background: var(--color-primary);
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

/* Mobile: small adjustments */
@media screen and (max-width: 37.5em) {
	.site-header {
		position: sticky;
		top: 0;
		z-index: 900;
		background: var(--color-bg);
		padding: 0.4em 0.8rem;
		margin: 0;
		border-bottom: 1px solid var(--color-primary);
	}

	.admin-bar .site-header {
		top: 46px;
	}

	.site {
		margin: 4rem 1rem 0;
		padding: 0 0.8rem 0.8rem;
	}

	.site-header__top {
		flex-direction: column;
		align-items: center;
		gap: 0.2em;
	}

	/* Line 1: title centered */
	.site-branding {
		justify-content: center;
	}

	.site-branding .site-title {
		font-size: 0.85rem;
	}

	/* Line 2: actions centered and vertically aligned */
	.site-header__actions {
		flex-wrap: nowrap;
		gap: 0.6em;
		justify-content: center;
		align-items: center;
		width: 100%;
	}

	.site-header__home,
	.site-header__cart-link,
	.site-header__account {
		font-size: 0.75rem;
		line-height: 1;
		vertical-align: middle;
		display: inline-flex;
		align-items: center;
		height: 1.2em;
	}

	.theme-toggle {
		font-size: 1rem;
		padding: 0;
		line-height: 1;
		vertical-align: middle;
		display: inline-flex;
		align-items: center;
		height: 1.2em;
	}

	/* Make admin bar scroll away so sticky header sits at true top */
	.admin-bar #wpadminbar {
		position: absolute;
	}

	.admin-bar .site-header {
		top: 0;
	}

	/* Hide nav in mobile — [HOME] link is sufficient */
	.main-navigation {
		display: none;
	}

	/* Inverted colors when header is stuck — full bleed */
	.site-header--stuck {
		background: var(--color-primary) !important;
		border-bottom-color: #fff;
		margin-left: calc(-1rem - 0.8rem);
		margin-right: calc(-1rem - 0.8rem);
		padding-left: calc(1rem + 0.8rem);
		padding-right: calc(1rem + 0.8rem);
	}

	.site-header--stuck .site-title,
	.site-header--stuck .site-header__home,
	.site-header--stuck .site-header__cart-link,
	.site-header--stuck .site-header__account,
	.site-header--stuck .theme-toggle {
		color: #fff;
	}

	.site-header--stuck .site-header__home:hover,
	.site-header--stuck .site-header__cart-link:hover,
	.site-header--stuck .site-header__account:hover {
		background: #fff;
		color: var(--color-primary);
	}

	.main-navigation.toggled ul {
		border: var(--border-terminal);
		padding: 0.5em;
		margin-top: 0.5em;
		text-align: center;
	}

	.main-navigation.toggled ul li {
		border-bottom: 1px solid var(--color-dim);
	}

	.main-navigation.toggled ul li:last-child {
		border-bottom: none;
	}

	.main-navigation.toggled ul a {
		padding: 0.5em 0;
	}

	/* Gutenberg columns: stack vertically on mobile */
	.wp-block-columns {
		flex-direction: column !important;
	}

	.wp-block-column {
		flex-basis: 100% !important;
	}

	/* Center and tighten Gutenberg text content */
	.entry-content,
	.entry-content .wp-block-column,
	.entry-content p,
	.page-description,
	.page-description .wp-block-column,
	.page-description p {
		text-align: center !important;
	}

	.entry-content,
	.page-description {
		padding: 0 0.5rem;
	}

	.entry-content p.has-x-large-font-size,
	.page-description p.has-x-large-font-size {
		font-size: 1.3rem !important;
	}

	.entry-content p.has-large-font-size,
	.page-description p.has-large-font-size {
		font-size: 1.1rem !important;
	}

	.entry-content .wp-block-image,
	.page-description .wp-block-image {
		margin: 1em auto;
		max-width: 100%;
	}

	h1 {
		font-size: 1.5rem;
		text-align: center;
	}

	h2 {
		font-size: 1.2rem;
		text-align: center;
	}

	.pognon-campaign {
		padding: 1rem;
		text-align: center;
	}

	.pognon-campaign__header {
		justify-content: center;
	}

	.pognon-campaign__title {
		font-size: 1.2rem;
	}

	.pognon-campaign__stats {
		flex-direction: column;
		align-items: center;
		gap: 0.2em;
	}

	.pognon-campaign__btn {
		display: block;
		text-align: center;
	}

	.site-footer {
		text-align: center;
	}

	.pognon-cat-filter {
		justify-content: center;
	}

	.pognon-breadcrumb {
		text-align: center;
	}

	#ascii-bg {
		font-size: 12px;
		width: 100%;
		height: 100vh;
		top: 0;
		left: 0;
		right: 0;
		display: flex;
		align-items: flex-start;
		justify-content: center;
		padding-top: 0.3rem;
		overflow: hidden;
	}

	.cart-side-panel {
		width: 100vw;
		max-width: 100vw;
		height: 100vh;
		height: 100dvh;
	}
}

/* Tablet+ */
@media screen and (min-width: 37.5em) {
	.site {
		padding: 0 var(--spacing-unit);
	}
}

/* Desktop */
@media screen and (min-width: 64em) {
	.site {
		padding: 0 2rem;
	}
}

/* Large desktop */
@media screen and (min-width: 80em) {
	:root {
		--max-width: 1200px;
	}

	#ascii-bg {
		font-size: 14px;
	}
}

/* Extra large desktop */
@media screen and (min-width: 100em) {
	:root {
		--max-width: 1400px;
	}

	#ascii-bg {
		font-size: 17px;
	}
}
