.features-list {
	list-style: disc inside;
	margin: 0;
	padding-left: 0;
	text-align: left;
	color: var(--text-color);
}
.features-list li {
	margin-bottom: 2px;
	font-size: 0.98em;
}
/* Rectangle wrapper for product table */
.products-table-rect {
	background: var(--1-color);
    border: solid 2px var(--border-color);
	border-radius: 12px;
	margin: 20px 32px 00px 32px;
	padding-bottom: 10px;
	padding-top: 10px;
	width: calc(100% - 64px);
	overflow: visible;
}
.product-card:nth-child(odd) {
    background: var(--zebra-color);
}
/* Custom color palette */
:root {
	--0-color: #303030;
	--1-color: #454545;
	--2-color: #595959;
	--3-color: #6E6E6E;
	--4-color: #838383;
	--border-color: #3A3A3A;
	--disabled-color: #838383;
	--zebra-color: #4F4F4F;
	--text-color: #FFFFFF;
	--icon-color: #FFFFFF;
	--disabled-text-color: #E6E6E6;
	--selected-color: #D45A0D;
	--hover-color: #DD7B3D;
	--selected-text-color: #FFFFFF;
}
/* Modal dialog styles */
.modal-overlay {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(24,26,32,0.7);
	backdrop-filter: blur(0px);
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s cubic-bezier(.4,0,.2,1), backdrop-filter 0.5s cubic-bezier(.4,0,.2,1);
}
.modal-overlay.active {
	opacity: 1;
	pointer-events: auto;
	backdrop-filter: blur(6px);
}
.modal-dialog {
	border-radius: 18px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.28);
	padding: 36px 32px 28px 32px;
	max-width: 480px;
	width: 100%;
	position: relative;
	color: #e3e6ed;
	background: var(--1-color);
	color: var(--text-color);
	opacity: 0;
	transform: scale(0.92) translateY(30px);
	transition: opacity 0.35s cubic-bezier(.4,0,.2,1), transform 0.35s cubic-bezier(.4,0,.2,1);
}
.modal-overlay.active .modal-dialog {
	opacity: 1;
	transform: scale(1) translateY(0);
}

.modal-dialog h2 {
	margin-top: 0;
	margin-bottom: 18px;
	color: #5ca0fa;
	font-size: 1.3rem;
	text-align: center;
}
.modal-close {
	position: absolute;
	top: 18px;
	right: 18px;
	background: none;
	border: none;
	color: #bfc4d6;
	font-size: 2rem;
	cursor: pointer;
	transition: color 0.2s;
}
.modal-close:hover {
	color: #5ca0fa;
}
.modal-dialog form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.modal-dialog label {
	display: flex;
	flex-direction: column;
	font-size: 1rem;
	color: #bfc4d6;
	gap: 6px;
}
.modal-dialog input,
.modal-dialog select {
	padding: 10px 14px;
	border-radius: 8px;
	border: 1px solid #353a4a;
	font-size: 1rem;
	background: #181a20;
	color: #e3e6ed;
	transition: border 0.2s;
}
.modal-dialog input:focus,
.modal-dialog select:focus {
	border-color: #2563eb;
	outline: none;
}
.modal-dialog .submit-btn {
	margin-top: 18px;
	width: 100%;
	font-size: 1.08rem;
}
body.modal-open > *:not(.modal-overlay) {
	filter: blur(6px) grayscale(0.1);
	pointer-events: none;
	user-select: none;
}
/* Form section styling for submit.html */
/* Styled submit form using custom palette */
.form-section {
	max-width: 480px;
	margin: 40px auto 0 auto;
	background: var(--1-color);
	border-radius: 16px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.10);
	border: 2px solid var(--border-color);
	padding: 32px 28px;
}
form[name="submit-product"] {
	display: flex;
	flex-direction: column;
	gap: 18px;
	font-family: 'Nunito', Arial, sans-serif;
}
form[name="submit-product"] label {
	display: flex;
	flex-direction: column;
	font-size: 1rem;
	color: var(--4-color);
	gap: 6px;
}
form[name="submit-product"] input,
form[name="submit-product"] select {
padding: 10px 14px;
border-radius: 8px;
border: 1px solid var(--border-color);
font-size: 1rem;
background: var(--0-color);
color: var(--text-color);
transition: border 0.2s;
font-family: 'Nunito', Arial, sans-serif;
}
form[name="submit-product"] input:focus,
form[name="submit-product"] select:focus {
	border-color: var(--selected-color);
	outline: none;
}
form[name="submit-product"] .submit-btn {
	margin-top: 18px;
	width: 100%;
	font-size: 1.08rem;
	background: var(--selected-color);
	color: var(--selected-text-color);
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(212,90,13,0.18);
	transition: background 0.2s;
}
form[name="submit-product"] .submit-btn:hover {
	background: var(--hover-color);
}
body {
	margin: 0;
	font-family: 'Nunito', Arial, sans-serif;
	background: var(--0-color);
	color: var(--text-color);
}

.top-header {
	padding: 32px 16px 24px 16px;
	background: var(--1-color);
	border-bottom: 1px solid var(--border-color);
	text-align: center;
}
.brand {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
}
.logo {
	width: 112px;
	border-radius: 12px;
}
.subtitle {
	font-size: 1.1rem;
	color: var(--4-color);
	margin-top: 8px;
}
.submit-btn {
	display: inline-block;
	padding: 10px 14px;
	height: 44px;
	background: var(--selected-color);
	color: var(--selected-text-color);
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
	margin-top: 0;
	transition: background 0.2s;
	font-family: 'Nunito', Arial, sans-serif;
	border: solid 2px var(--border-color);
	box-shadow: none;
}

.filters {
	display: flex;
}
.filters input, .filters select {
	padding: 10px 14px;
	border-radius: 8px;
	border: 1px solid var(--border-color);
	font-size: 1rem;
	background: var(--0-color);
	color: var(--text-color);
	transition: border 0.2s;
	font-family: 'Nunito', Arial, sans-serif;
}
.filters input:focus, .filters select:focus {
	border-color: var(--selected-color);
	outline: none;
}

.products-section {
	width: 100%;
	max-width: 1820px;
	margin: 0 auto;
}
.products-header {
	display: grid;
	grid-template-columns: 180px 0.45fr 0.25fr 0.35fr 0.35fr 1fr 1fr;
	gap: 0;
	padding: 0 12px 12px 12px;
	font-weight: 800;
	color: var(--selected-color);
	font-size: 1.25rem;
	text-align: center;
	width: 100%;
	box-sizing: border-box;
}
.col-title {
	background: none;
	border: none;
	padding: 0 0 6px 0;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	user-select: none;
}
.products-grid {
	display: flex;
	flex-direction: column;
	gap: 0;

	width: 100%;
	box-sizing: border-box;
}
.product-card {
	display: grid;
	grid-template-columns: 180px 0.45fr 0.25fr 0.35fr 0.35fr 1fr 1fr;
	gap: 0;
	align-items: center;
	background: var(--1-color);
	border-bottom: 1px solid var(--border-color);
	padding: 12px 0;
	font-size: 1rem;
	box-shadow: none;
	border-radius: 0;
	transition: background 0.2s;
	text-align: center;
	width: 100%;
	box-sizing: border-box;
	min-height: 8.5em;
	height: 8.5em;
}
.product-card:hover {
	background: var(--2-color);
	z-index: 2;
}
.product-thumb-cell:hover .product-thumb-preview {
	display: flex;
}
.product-card:hover .product-thumb-preview {
	display: none;
}
.product-thumb-cell {
	display: flex;
	height: 100%;
	width: 160px !important;
	margin-left: 10px !important;
	padding: 0 !important;
	justify-content: stretch;
	align-items: stretch;
	position: relative;
}
.product-thumb {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: cover !important;
	border-radius: 8px !important;
	margin: 0 !important;
	padding: 0 !important;
	cursor: pointer;
}
.product-thumb-preview {
	position: absolute;
	left: 100%;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1000;
	width: 600px;
	height: 400px;
	background: transparent;
	border-radius: 16px;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 12px;
}
.product-thumb-cell:hover .product-thumb-preview {
	display: flex;
}
.product-thumb-preview img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 12px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.25);
	border: 2px solid var(--border-color);
}
.product-title {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}
.product-title .product-link {
	font-size: 1.5em;
	color: var(--hover-color);
	font-weight: 400;
	margin-top: 2px;
	text-align: left !important;
	width: 100%;
	text-decoration: none;
}
.product-title .product-author {
	margin-left: 6px;
}
.product-author {
	text-align: left;
	width: 100%;
}
.product-card > div {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.product-card .product-features,
.product-card .product-features-other {
    display: block;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    align-self: flex-start;
}
footer {
    text-align: center;
    padding: 28px 16px;
    background: var(--1-color);
    margin-top: 48px;
    border-top: 1px solid var(--border-color);
    color: var(--4-color);
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}