/**
 * Nano80 Shop – Frontend Styles
 *
 * Uses higher specificity to work alongside Elementor themes.
 *
 * @package Nano80_Shop
 * @since   1.0.0
 */

/* ==================================================================
 * CSS Variables
 * ================================================================*/
/* Variables are injected dynamically from Settings → Design.
 * These are fallbacks only for when PHP hasn't loaded yet (e.g. editor preview). */
:root {
	--n80-primary:        var(--n80-primary, #9b1b5a);
	--n80-primary-hover:  var(--n80-primary-hover, #7d1548);
	--n80-secondary:      var(--n80-secondary, #2d2d2d);
	--n80-accent:         var(--n80-accent, #00a32a);
	--n80-accent-hover:   var(--n80-accent-hover, #008a20);
	--n80-danger:         #d63638;
	--n80-warning:        #dba617;
	--n80-text:           var(--n80-text, #1d2327);
	--n80-text-light:     var(--n80-text-light, #646970);
	--n80-border:         var(--n80-border, #d0d5dd);
	--n80-bg:             var(--n80-bg, #f9fafb);
	--n80-white:          #ffffff;
	--n80-radius:         var(--n80-radius, 8px);
	--n80-radius-sm:      var(--n80-radius-sm, 4px);
	--n80-shadow:         0 1px 3px rgba(0,0,0,0.08);
	--n80-shadow-hover:   0 4px 12px rgba(0,0,0,0.12);
	--n80-transition:     0.2s ease;
	--n80-grid-gap:       24px;
	--n80-font:           var(--n80-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif);
	--n80-max-width:      1200px;
}

/* ==================================================================
 * Layout Wrapper – uses body class for specificity over themes
 * ================================================================*/
body.n80-shop .n80-shop-wrapper,
.n80-shop-wrapper {
	max-width: var(--n80-max-width);
	margin: 0 auto;
	padding: 20px 20px 60px;
	font-family: var(--n80-font);
	color: var(--n80-text);
	box-sizing: border-box;
	overflow-x: hidden;
}

/* Prevent any child from causing horizontal scroll */
.n80-products-grid,
.n80-product-card,
.n80-product-card__body {
	max-width: 100%;
	box-sizing: border-box;
	overflow-wrap: break-word;
	word-break: break-word;
}

.n80-shop-wrapper *,
.n80-shop-wrapper *::before,
.n80-shop-wrapper *::after {
	box-sizing: border-box;
}

/* ==================================================================
 * Breadcrumb
 * ================================================================*/
.n80-breadcrumb {
	padding: 12px 0 20px;
	font-size: 0.85em;
	color: var(--n80-text-light);
}

.n80-breadcrumb a {
	color: var(--n80-primary);
	text-decoration: none;
}

.n80-breadcrumb a:hover {
	text-decoration: underline;
}

.n80-breadcrumb__sep {
	margin: 0 6px;
	color: var(--n80-border);
}

.n80-breadcrumb__current {
	color: var(--n80-text);
	font-weight: 500;
}

/* ==================================================================
 * Archive Header
 * ================================================================*/
.n80-archive-header {
	margin-bottom: 24px;
}

.n80-archive-title {
	font-size: 1.8em;
	font-weight: 700;
	margin: 0 0 8px;
}

.n80-archive-description {
	color: var(--n80-text-light);
	max-width: 700px;
}

/* ==================================================================
 * Filters – forced flex layout
 * ================================================================*/
.n80-filters {
	background: var(--n80-bg);
	border: 1px solid var(--n80-border);
	border-radius: var(--n80-radius);
	padding: 16px 20px;
	margin-bottom: 24px;
}

.n80-filters__form {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 12px;
	align-items: flex-end;
}

.n80-filters__field {
	flex: 1 1 140px;
	min-width: 140px;
}

.n80-filters__field--search {
	flex: 2 1 200px;
	min-width: 200px;
}

.n80-filters__field--price {
	display: flex !important;
	align-items: center;
	gap: 6px;
	min-width: 180px;
}

.n80-filters__field--price input {
	width: 80px;
	flex: 1;
}

.n80-filters__separator {
	color: var(--n80-text-light);
}

.n80-filters__field--actions {
	display: flex !important;
	gap: 8px;
	flex: 0 0 auto;
	min-width: auto;
}

@media (max-width: 767px) {
	.n80-filters__form {
		flex-direction: column;
		gap: 10px;
	}
	.n80-filters__field,
	.n80-filters__field--search {
		flex: none;
		min-width: 0;
		width: 100%;
	}
	.n80-filters__field--actions {
		width: 100%;
	}
	.n80-filters__field--actions .n80-btn {
		width: 100%;
		justify-content: center;
	}
}

.n80-filters input[type="text"],
.n80-filters input[type="number"],
.n80-filters select {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid var(--n80-border);
	border-radius: var(--n80-radius-sm);
	font-size: 0.9em;
	background: var(--n80-white);
	color: var(--n80-text);
	height: auto;
	line-height: 1.4;
}

.n80-filters select {
	cursor: pointer;
	padding-right: 36px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
}

/* ==================================================================
 * Active Filters Tags
 * ================================================================*/
.n80-active-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-bottom: 16px;
	font-size: 0.85em;
}

.n80-active-filters__label {
	color: var(--n80-text-light);
}

.n80-filter-tag {
	background: var(--n80-primary);
	color: var(--n80-white);
	padding: 4px 10px;
	border-radius: 20px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.n80-filter-tag__remove {
	color: var(--n80-white);
	text-decoration: none;
	font-weight: 700;
	opacity: 0.8;
}

.n80-clear-filters {
	color: var(--n80-danger);
	text-decoration: none;
	font-weight: 500;
}

/* ==================================================================
 * Results Info
 * ================================================================*/
.n80-results-info {
	color: var(--n80-text-light);
	font-size: 0.9em;
	margin-bottom: 16px;
}

/* ==================================================================
 * Product Grid – forced grid layout
 * ================================================================*/
.n80-products-grid {
	display: grid !important;
	grid-template-columns: repeat(var(--n80-cols, 4), 1fr) !important;
	gap: var(--n80-grid-gap) !important;
	max-width: 100% !important;
}

.n80-products-grid > * {
	min-width: 0;
}

.n80-products-grid--related {
	grid-template-columns: repeat(var(--n80-cols-related, 4), 1fr) !important;
}

@media (max-width: 1023px) {
	.n80-products-grid { grid-template-columns: repeat(min(var(--n80-cols, 3), 3), 1fr) !important; }
}

@media (max-width: 767px) {
	.n80-products-grid,
	.n80-products-grid--related { grid-template-columns: repeat(min(var(--n80-cols, 2), 2), 1fr) !important; }
}

@media (max-width: 480px) {
	.n80-products-grid { grid-template-columns: 1fr !important; }
}

/* ==================================================================
 * Product Card
 * ================================================================*/
.n80-product-card {
	background: var(--n80-white);
	border: 1px solid var(--n80-border);
	border-radius: var(--n80-radius);
	transition: box-shadow var(--n80-transition), transform var(--n80-transition);
	display: flex;
	flex-direction: column;
	position: relative;
}

.n80-product-card:hover {
	box-shadow: var(--n80-shadow-hover);
	transform: translateY(-2px);
}

.n80-product-card__image {
	display: block;
	overflow: hidden;
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--n80-bg);
	border-radius: var(--n80-radius) var(--n80-radius) 0 0;
}

.n80-product-card__image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.n80-product-card:hover .n80-product-card__image img {
	transform: scale(1.05);
}

.n80-product-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 0.75em;
	font-weight: 700;
	text-transform: uppercase;
}

.n80-product-card__badge--oos {
	background: var(--n80-danger);
	color: var(--n80-white);
}

.n80-product-card__body {
	padding: 16px;
	flex: 1;
}

.n80-product-card__category a {
	font-size: 0.75em;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--n80-primary);
	text-decoration: none;
	font-weight: 600;
}

.n80-product-card__title {
	font-size: 1em;
	font-weight: 600;
	margin: 6px 0 4px;
	line-height: 1.3;
}

.n80-product-card__title a {
	color: var(--n80-text);
	text-decoration: none;
}

.n80-product-card__title a:hover {
	color: var(--n80-primary);
}

.n80-product-card__sku {
	font-size: 0.8em;
	color: var(--n80-text-light);
	margin: 0 0 8px;
}

.n80-product-card__price {
	font-size: 1.1em;
	font-weight: 700;
	color: var(--n80-primary);
}

.n80-price-request {
	font-weight: 400;
	font-style: italic;
	color: var(--n80-text-light);
	font-size: 0.9em;
}

.n80-product-card__actions {
	display: flex;
	gap: 8px;
	padding: 0 16px 16px;
	align-items: center;
	max-width: 100%;
	box-sizing: border-box;
}

.n80-card-btn-main {
	flex: 1;
	min-width: 0;
	text-align: center;
	justify-content: center;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

/* Wishlist heart overlay on image */
.n80-product-card__image-wrap {
	position: relative;
	overflow: visible;
}

.n80-card-wishlist-overlay {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255,255,255,0.9);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2em;
	color: #999;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	transition: all 0.2s ease;
	padding: 0;
	line-height: 1;
}

.n80-card-wishlist-overlay:hover,
.n80-card-wishlist-overlay.is-active {
	color: #e74c6f;
	background: #fff;
}

/* ==================================================================
 * Buttons
 * ================================================================*/
.n80-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 20px;
	border: 2px solid transparent;
	border-radius: var(--n80-radius-sm);
	cursor: pointer;
	font-size: 0.9em;
	font-weight: 600;
	transition: all var(--n80-transition);
	text-decoration: none;
	line-height: 1.4;
	white-space: nowrap;
	font-family: var(--n80-font);
}

.n80-btn--small { padding: 7px 14px; font-size: 0.85em; }
.n80-btn--large { padding: 14px 40px; font-size: 1.05em; }
.n80-btn--full { width: 100%; }

.n80-btn--primary { background: var(--n80-primary); color: #fff; border-color: var(--n80-primary); }
.n80-btn--primary:hover { background: var(--n80-primary-hover); border-color: var(--n80-primary-hover); color: #fff; }

.n80-btn--basket { background: var(--n80-accent); color: #fff; border-color: var(--n80-accent); flex: 1; }
.n80-btn--basket:hover { background: var(--n80-accent-hover); border-color: var(--n80-accent-hover); color: #fff; }

.n80-btn--wishlist { background: transparent; border-color: var(--n80-border); color: var(--n80-text); }
.n80-btn--wishlist:hover { border-color: var(--n80-danger); color: var(--n80-danger); }

.n80-btn--outline { background: transparent; border-color: var(--n80-border); color: var(--n80-text); }
.n80-btn--outline:hover { border-color: var(--n80-primary); color: var(--n80-primary); }

.n80-btn--inquiry {
	background: #fff;
	border: 2px solid var(--n80-primary);
	color: var(--n80-primary);
	border-radius: var(--n80-radius);
	font-weight: 600;
}
.n80-btn--inquiry:hover {
	background: var(--n80-primary);
	color: #fff;
}

.n80-btn--icon {
	width: 38px; height: 38px; padding: 0; font-size: 1.2em;
	border: 1px solid var(--n80-border); border-radius: 50%;
	background: var(--n80-white); cursor: pointer; transition: all var(--n80-transition);
	display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.n80-btn--icon:hover { border-color: var(--n80-danger); color: var(--n80-danger); }

/* ==================================================================
 * Single Product Layout – forced grid
 * ================================================================*/
.n80-product-layout {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 40px !important;
	margin-bottom: 40px;
}

@media (max-width: 767px) {
	.n80-product-layout { grid-template-columns: 1fr !important; gap: 24px !important; }
}

/* Gallery */
.n80-product-gallery__main {
	border: 1px solid var(--n80-border);
	border-radius: var(--n80-radius);
	overflow: hidden;
	margin-bottom: 12px;
	background: var(--n80-bg);
}

.n80-product-gallery__image {
	width: 100%;
	display: block;
}

.n80-product-gallery__thumbs {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.n80-product-gallery__thumb {
	width: 60px; height: 60px;
	border: 2px solid var(--n80-border); border-radius: var(--n80-radius-sm);
	overflow: hidden; cursor: pointer; padding: 0; background: none;
	transition: border-color var(--n80-transition);
}

.n80-product-gallery__thumb.is-active,
.n80-product-gallery__thumb:hover {
	border-color: var(--n80-primary);
}

.n80-product-gallery__thumb img {
	width: 100%; height: 100%; object-fit: cover;
}

/* Product Info */
.n80-product-info__title {
	font-size: 1.8em;
	font-weight: 700;
	margin: 0 0 12px;
	line-height: 1.2;
}

.n80-product-info__sku,
.n80-product-info__manufacturer {
	font-size: 0.9em;
	color: var(--n80-text-light);
	margin: 0 0 4px;
}

.n80-product-info__sku span,
.n80-product-info__manufacturer span {
	color: var(--n80-text);
	font-weight: 500;
}

/* Stock indicators */
.n80-product-info__stock {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.9em;
	font-weight: 600;
	margin: 12px 0;
	padding: 6px 12px;
	border-radius: 20px;
}

.n80-stock--in_stock { background: #ecfdf3; color: #027a48; }
.n80-stock--low_stock { background: #fffaeb; color: #b54708; }
.n80-stock--out_of_stock { background: #fef3f2; color: #b42318; }

.n80-stock-dot {
	width: 8px; height: 8px; border-radius: 50%; background: currentColor;
}

/* Price */
.n80-product-info__price {
	font-size: 1.6em; font-weight: 700; color: var(--n80-primary); margin: 16px 0;
}

.n80-product-info__price--request {
	font-size: 1.1em; font-weight: 400; font-style: italic; color: var(--n80-text-light);
}

/* Categories */
.n80-product-info__categories { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }

.n80-category-badge {
	background: var(--n80-bg); color: var(--n80-primary); padding: 4px 12px;
	border-radius: 20px; font-size: 0.85em; text-decoration: none;
	font-weight: 500; border: 1px solid var(--n80-border);
}

.n80-category-badge:hover { background: var(--n80-primary); color: var(--n80-white); }

/* Actions */
.n80-product-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 24px 0;
}

.n80-product-actions__row {
	display: flex;
	gap: 12px;
	align-items: center;
}

.n80-btn--full {
	width: 100%;
	text-align: center;
	justify-content: center;
}

.n80-direct-inquiry {
	border-style: dashed;
}

.n80-product-actions__quantity {
	display: inline-flex;
	align-items: center;
	border: 2px solid var(--n80-border);
	border-radius: 50px;
	overflow: hidden;
	background: var(--n80-white);
}

.n80-qty-btn {
	width: 44px; height: 44px; border: none;
	background: transparent; cursor: pointer; font-size: 1.2em;
	font-weight: 600; color: var(--n80-text); transition: background var(--n80-transition);
	display: flex; align-items: center; justify-content: center;
}
.n80-qty-btn:hover { background: var(--n80-bg); }

.n80-qty-input {
	width: 48px; height: 44px; border: none;
	border-left: 1px solid var(--n80-border); border-right: 1px solid var(--n80-border);
	text-align: center; font-size: 1.05em; font-weight: 700; -moz-appearance: textfield;
	background: transparent; color: var(--n80-text);
}
.n80-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* PDF / Specs */
.n80-product-info__pdf { margin: 16px 0; }

.n80-product-info__quick-specs {
	margin-top: 24px; padding-top: 20px;
	border-top: 1px solid var(--n80-border);
}

.n80-product-info__quick-specs h3 {
	font-size: 1em; margin: 0 0 10px;
}

.n80-link-down {
	display: inline-block; margin-top: 8px;
	color: var(--n80-primary); text-decoration: none; font-size: 0.9em;
}

/* ==================================================================
 * Specs Table (frontend)
 * ================================================================*/
.n80-specs-table-front { width: 100%; border-collapse: collapse; }

.n80-specs-table-front th,
.n80-specs-table-front td {
	padding: 10px 14px; text-align: left;
	border-bottom: 1px solid var(--n80-border); font-size: 0.9em;
}

.n80-specs-table-front th {
	font-weight: 600; width: 40%;
	color: var(--n80-text-light); background: var(--n80-bg);
}

.n80-specs-table-front tr:last-child th,
.n80-specs-table-front tr:last-child td { border-bottom: none; }

.n80-specs-table-front--full {
	border: 1px solid var(--n80-border);
	border-radius: var(--n80-radius);
	overflow: hidden;
}

/* ==================================================================
 * Sections
 * ================================================================*/
.n80-product-description,
.n80-product-specs,
.n80-related-products { margin-bottom: 40px; }

.n80-product-description h2,
.n80-product-specs h2,
.n80-related-products h2 {
	font-size: 1.3em; font-weight: 700; margin: 0 0 16px;
	padding-bottom: 10px; border-bottom: 2px solid var(--n80-border);
}

.n80-product-description__content { line-height: 1.7; }

/* Back Link */
.n80-back-link { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--n80-border); }
.n80-back-link a { color: var(--n80-primary); text-decoration: none; font-weight: 500; }
.n80-back-link a:hover { text-decoration: underline; }

/* ==================================================================
 * Pagination
 * ================================================================*/
.n80-pagination { margin-top: 40px; text-align: center; }

.n80-pagination .page-numbers {
	list-style: none; display: inline-flex; gap: 4px; padding: 0; margin: 0;
}

.n80-pagination .page-numbers li a,
.n80-pagination .page-numbers li span {
	display: block; padding: 8px 14px;
	border: 1px solid var(--n80-border); border-radius: var(--n80-radius-sm);
	text-decoration: none; color: var(--n80-text); font-weight: 500;
	transition: all var(--n80-transition);
}

.n80-pagination .page-numbers li a:hover,
.n80-pagination .page-numbers li span.current {
	background: var(--n80-primary); color: var(--n80-white); border-color: var(--n80-primary);
}

/* No Results */
.n80-no-results { text-align: center; padding: 60px 20px; }
.n80-no-results h2 { color: var(--n80-text-light); font-weight: 400; }

/* ==================================================================
 * Toast
 * ================================================================*/
.n80-toast {
	position: fixed; bottom: 20px; right: 20px; z-index: 99999;
	background: var(--n80-text); color: var(--n80-white);
	padding: 14px 24px; border-radius: var(--n80-radius);
	box-shadow: var(--n80-shadow-hover);
	transform: translateY(100px); opacity: 0;
	transition: all 0.3s ease; font-size: 0.9em;
}

.n80-toast.is-visible { transform: translateY(0); opacity: 1; }

/* ==================================================================
 * Floating Basket Badge
 * ================================================================*/
.n80-basket-badge {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 99998;
	background: var(--n80-primary);
	color: var(--n80-white) !important;
	padding: 12px 18px;
	border-radius: var(--n80-radius);
	box-shadow: var(--n80-shadow-hover);
	cursor: pointer;
	font-size: 0.95em;
	font-weight: 600;
	text-decoration: none !important;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: background var(--n80-transition);
}

.n80-basket-badge:hover {
	background: var(--n80-primary-hover);
	color: var(--n80-white) !important;
}

.n80-basket-badge__count {
	background: var(--n80-danger);
	color: var(--n80-white);
	border-radius: 50%;
	min-width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8em;
	font-weight: 700;
}

/* ==================================================================
 * Basket Page
 * ================================================================*/
.n80-basket-page { max-width: var(--n80-max-width); margin: 0 auto; }

.n80-basket-empty { text-align: center; padding: 60px 20px; }
.n80-basket-empty__icon { font-size: 4em; margin-bottom: 16px; opacity: 0.4; }
.n80-basket-empty h2 { color: var(--n80-text-light); font-weight: 400; margin-bottom: 8px; }

.n80-basket-table-wrapper { overflow-x: auto; margin-bottom: 20px; }

.n80-basket-table {
	width: 100%; border-collapse: collapse;
	background: var(--n80-white); border: 1px solid var(--n80-border); border-radius: var(--n80-radius);
}

.n80-basket-table thead th {
	background: var(--n80-bg); padding: 12px 16px; text-align: left;
	font-weight: 600; font-size: 0.85em; color: var(--n80-text-light);
	text-transform: uppercase; letter-spacing: 0.03em; border-bottom: 1px solid var(--n80-border);
}

.n80-basket-table tbody td {
	padding: 14px 16px; border-bottom: 1px solid var(--n80-border); vertical-align: middle;
}

.n80-basket-table tfoot td { padding: 14px 16px; font-weight: 700; background: var(--n80-bg); }

.n80-basket-row { transition: opacity 0.3s ease; }

.n80-basket-thumb {
	width: 60px; height: 60px; object-fit: cover;
	border-radius: var(--n80-radius-sm); border: 1px solid var(--n80-border);
}

.n80-basket-col-image { width: 80px; }
.n80-basket-col-sku { width: 180px; white-space: nowrap; }
.n80-basket-col-qty { width: 90px; }
.n80-basket-col-price { width: 120px; white-space: nowrap; }
.n80-basket-col-actions { width: 50px; text-align: center; }

.n80-basket-col-product a { color: var(--n80-text); text-decoration: none; font-weight: 600; }
.n80-basket-col-product a:hover { color: var(--n80-primary); }

.n80-basket-qty-input {
	width: 70px; padding: 6px 8px;
	border: 1px solid var(--n80-border); border-radius: var(--n80-radius-sm);
	text-align: center; font-size: 0.95em;
}

.n80-basket-remove {
	background: none; border: none; font-size: 1.4em; color: var(--n80-danger);
	cursor: pointer; padding: 4px 8px; line-height: 1;
	border-radius: var(--n80-radius-sm); transition: background var(--n80-transition);
}
.n80-basket-remove:hover { background: #fef3f2; }

.n80-basket-subtotal-label { text-align: right; }
.n80-basket-subtotal-value { font-size: 1.1em; color: var(--n80-primary); }

.n80-basket-actions-row {
	display: flex; justify-content: space-between; gap: 12px; margin-bottom: 40px; flex-wrap: wrap;
}

/* ==================================================================
 * Request Form
 * ================================================================*/
.n80-request-form-section {
	background: var(--n80-bg); border: 1px solid var(--n80-border);
	border-radius: var(--n80-radius); padding: 30px; margin-top: 10px;
}

.n80-request-form-section h2 { margin: 0 0 8px; font-size: 1.4em; }

.n80-form-intro { color: var(--n80-text-light); margin-bottom: 24px; }

.n80-form-grid {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 16px !important;
}

.n80-form-field--full { grid-column: 1 / -1; }

.n80-form-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9em; }

.n80-form-field input,
.n80-form-field textarea {
	width: 100%; padding: 10px 14px;
	border: 1px solid var(--n80-border); border-radius: var(--n80-radius-sm);
	font-size: 0.95em; font-family: var(--n80-font); background: var(--n80-white);
	transition: border-color var(--n80-transition);
}

.n80-form-field input:focus,
.n80-form-field textarea:focus {
	outline: none; border-color: var(--n80-primary);
	box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.15);
}

.n80-field-error { display: block; color: var(--n80-danger); font-size: 0.8em; margin-top: 4px; min-height: 1em; }

.n80-form-error {
	background: #fef3f2; color: var(--n80-danger); padding: 12px 16px;
	border-radius: var(--n80-radius-sm); border: 1px solid var(--n80-danger); margin: 16px 0;
}

.n80-form-submit { margin-top: 24px; text-align: center; }

.n80-form-note { color: var(--n80-text-light); font-size: 0.85em; margin-top: 10px; }

/* ==================================================================
 * Confirmation Page
 * ================================================================*/
.n80-confirmation { text-align: center; max-width: 600px; margin: 0 auto; padding: 40px 20px; }

.n80-confirmation__icon {
	width: 72px; height: 72px; border-radius: 50%;
	background: #ecfdf3; color: #027a48; font-size: 2em;
	line-height: 72px; margin: 0 auto 20px;
}

.n80-confirmation__title { font-size: 1.6em; margin-bottom: 16px; }

.n80-confirmation__number { font-size: 1.1em; margin-bottom: 16px; }
.n80-confirmation__number strong { color: var(--n80-primary); font-size: 1.2em; }

.n80-confirmation__details { margin-bottom: 30px; color: var(--n80-text-light); line-height: 1.7; }

.n80-confirmation__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.n80-confirmation__empty { padding: 40px 20px; }

/* ==================================================================
 * Responsive
 * ================================================================*/
@media (max-width: 767px) {
	.n80-filters__form { flex-direction: column; }
	.n80-filters__field { min-width: 100%; }
	.n80-product-actions { flex-direction: column; align-items: stretch; }
	.n80-product-actions__quantity { justify-content: center; }
	.n80-form-grid { grid-template-columns: 1fr !important; }
	.n80-request-form-section { padding: 20px; }
	.n80-basket-col-sku { display: none; }
	.n80-basket-col-image { width: 50px; }
	.n80-basket-thumb { width: 44px; height: 44px; }
}

/* ==================================================================
 * Quick View Modal
 * ================================================================*/
.n80-modal-overlay {
	display: none;
	position: fixed; inset: 0; z-index: 100000;
	background: rgba(0,0,0,0.6);
	justify-content: center; align-items: center;
	backdrop-filter: blur(4px);
}

.n80-modal-overlay.is-open {
	display: flex;
}

.n80-modal {
	background: #fff;
	border-radius: var(--n80-radius);
	max-width: 900px; width: 92%;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 20px 60px rgba(0,0,0,0.3);
	animation: n80-modal-in 0.25s ease;
}

@keyframes n80-modal-in {
	from { opacity: 0; transform: translateY(20px) scale(0.97); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.n80-modal__close {
	position: absolute; top: 12px; right: 12px; z-index: 2;
	background: #fff; border: 1px solid var(--n80-border); border-radius: 50%;
	width: 36px; height: 36px; font-size: 20px; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	color: var(--n80-text); transition: all 0.2s;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.n80-modal__close:hover { background: var(--n80-primary); color: #fff; border-color: var(--n80-primary); }

.n80-modal__body {
	display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}

@media (max-width: 700px) {
	.n80-modal__body { grid-template-columns: 1fr; }
}

.n80-modal__image { background: var(--n80-bg); display: flex; align-items: center; justify-content: center; min-height: 300px; }
.n80-modal__image img { width: 100%; height: 100%; object-fit: contain; max-height: 500px; }

.n80-modal__content { padding: 32px; overflow-y: auto; }

.n80-modal__title { font-size: 1.5em; font-weight: 700; margin: 0 0 8px; color: var(--n80-text); }
.n80-modal__sku { color: var(--n80-text-light); font-size: 0.85em; margin: 0 0 4px; }
.n80-modal__manufacturer { color: var(--n80-text-light); font-size: 0.9em; margin: 0 0 12px; }
.n80-modal__stock { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85em; font-weight: 600; padding: 4px 10px; border-radius: 20px; margin-bottom: 12px; }
.n80-modal__price { font-size: 1.4em; font-weight: 700; color: var(--n80-primary); margin: 12px 0; }
.n80-modal__desc { color: var(--n80-text); line-height: 1.6; margin-bottom: 16px; font-size: 0.9em; }

.n80-modal__specs { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 0.85em; }
.n80-modal__specs th { text-align: left; padding: 6px 10px; background: var(--n80-bg); color: var(--n80-text-light); font-weight: 600; border-bottom: 1px solid var(--n80-border); width: 40%; }
.n80-modal__specs td { padding: 6px 10px; border-bottom: 1px solid var(--n80-border); }

.n80-modal__actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--n80-border); }
.n80-modal__actions .n80-btn { flex: 1; min-width: 120px; justify-content: center; }

.n80-modal__loading { padding: 40px; text-align: center; color: var(--n80-text-light); }

/* ==================================================================
 * Cart Drawer (Slide-in from right)
 * ================================================================*/
.n80-drawer {
	display: none;
	position: fixed; inset: 0; z-index: 100001;
}

.n80-drawer.is-open { display: block; }

.n80-drawer__overlay {
	position: absolute; inset: 0;
	background: rgba(0,0,0,0.4);
	backdrop-filter: blur(2px);
}

.n80-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: 420px; max-width: 90vw;
	background: #fff;
	box-shadow: -8px 0 30px rgba(0,0,0,0.15);
	display: flex; flex-direction: column;
	animation: n80-drawer-in 0.3s ease;
}

@keyframes n80-drawer-in {
	from { transform: translateX(100%); }
	to { transform: translateX(0); }
}

.n80-drawer__header {
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid var(--n80-border);
}

.n80-drawer__title { margin: 0; font-size: 1.1em; font-weight: 700; color: var(--n80-text); }

.n80-drawer__close {
	background: none; border: none; font-size: 24px; cursor: pointer;
	color: var(--n80-text-light); padding: 4px 8px; line-height: 1;
}
.n80-drawer__close:hover { color: var(--n80-text); }

.n80-drawer__body {
	flex: 1; overflow-y: auto; padding: 0;
}

.n80-drawer__empty {
	text-align: center; padding: 40px 20px; color: var(--n80-text-light);
}

.n80-drawer__items {
	list-style: none; margin: 0; padding: 0;
}

.n80-drawer__item {
	display: flex; align-items: center; gap: 12px;
	padding: 14px 20px;
	border-bottom: 1px solid var(--n80-border);
	transition: background 0.15s;
}

.n80-drawer__item:hover { background: var(--n80-bg); }

.n80-drawer__item-img {
	width: 56px; height: 56px; object-fit: cover;
	border-radius: var(--n80-radius-sm); border: 1px solid var(--n80-border);
	flex-shrink: 0;
}

.n80-drawer__item-info { flex: 1; min-width: 0; }

.n80-drawer__item-title {
	display: block; font-weight: 600; color: var(--n80-text);
	text-decoration: none; font-size: 0.9em;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.n80-drawer__item-title:hover { color: var(--n80-primary); }

.n80-drawer__item-sku { display: block; font-size: 0.75em; color: var(--n80-text-light); }
.n80-drawer__item-qty { display: block; font-size: 0.8em; color: var(--n80-text-light); margin-top: 2px; }

.n80-drawer__item-remove {
	background: none; border: none; font-size: 18px;
	color: var(--n80-text-light); cursor: pointer; padding: 4px;
	flex-shrink: 0;
}
.n80-drawer__item-remove:hover { color: #d63638; }

.n80-drawer__footer {
	padding: 16px 20px;
	border-top: 1px solid var(--n80-border);
}

/* ==================================================================
 * Category Tabs
 * ================================================================*/
.n80-category-tabs {
	display: flex; flex-wrap: wrap; gap: 10px;
	margin-bottom: 8px;
}

.n80-category-tabs__item {
	padding: 10px 20px;
	border: 2px solid var(--n80-border);
	border-radius: var(--n80-radius-sm);
	background: #fff;
	cursor: pointer; font-weight: 600;
	color: var(--n80-text);
	transition: all 0.2s;
	text-decoration: none;
	font-size: 0.9em;
}

.n80-category-tabs__item:hover {
	border-color: var(--n80-primary);
	color: var(--n80-primary);
}

.n80-category-tabs__item.is-active {
	background: var(--n80-primary);
	border-color: var(--n80-primary);
	color: #fff;
}

.n80-category-subtabs {
	display: flex; flex-wrap: wrap; gap: 8px;
	margin-bottom: 20px;
}

.n80-category-subtabs__item {
	padding: 6px 14px;
	border: 1px solid var(--n80-border);
	border-radius: 20px;
	background: #fff;
	cursor: pointer; font-size: 0.8em; font-weight: 500;
	color: var(--n80-text-light);
	transition: all 0.2s;
	text-decoration: none;
}

.n80-category-subtabs__item:hover,
.n80-category-subtabs__item.is-active {
	background: var(--n80-primary); color: #fff;
	border-color: var(--n80-primary);
}

/* ==================================================================
 * Spinner
 * ================================================================*/
.n80-spinner {
	width: 32px; height: 32px;
	border: 3px solid var(--n80-border);
	border-top-color: var(--n80-primary);
	border-radius: 50%;
	animation: n80-spin 0.6s linear infinite;
	margin: 20px auto;
}

@keyframes n80-spin {
	to { transform: rotate(360deg); }
}

.n80-modal__no-image,
.n80-drawer__item-placeholder {
	display: flex; align-items: center; justify-content: center;
	font-size: 3em; color: var(--n80-border);
	width: 100%; height: 100%; min-height: 200px;
}

/* ==================================================================
 * Wishlist Page
 * ================================================================*/
.n80-wishlist-header {
	margin-bottom: 24px;
}

.n80-wishlist-header__title {
	font-size: 1.6em;
	font-weight: 700;
	color: var(--n80-text);
	margin: 0 0 4px;
}

.n80-wishlist-header__count {
	font-size: 0.95em;
	color: var(--n80-text-light);
	margin: 0;
}

.n80-wishlist-actions-top {
	margin-bottom: 20px;
}

.n80-wishlist-card {
	position: relative;
}

.n80-wishlist-card .n80-product-card__actions {
	padding: 0 12px 12px;
}

.n80-wishlist-card .n80-card-btn-main {
	width: 100%;
	font-size: 0.8em;
	padding: 8px 10px;
}

.n80-wishlist-card__remove {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(255,255,255,0.9);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2em;
	color: #999;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	transition: all 0.2s ease;
}

.n80-wishlist-card__remove:hover {
	color: var(--n80-danger);
	background: #fff;
}

.n80-wishlist-footer {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--n80-border);
}

/* Empty State */
.n80-empty-state {
	text-align: center;
	padding: 60px 20px;
}

.n80-empty-state__icon {
	font-size: 3em;
	color: var(--n80-border);
	margin-bottom: 16px;
}

.n80-empty-state__title {
	font-size: 1.3em;
	font-weight: 600;
	margin: 0 0 8px;
	color: var(--n80-text);
}

.n80-empty-state__text {
	color: var(--n80-text-light);
	margin: 0 0 24px;
}

/* AJAX Pagination Buttons */
.n80-grid-ajax-pag {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 24px;
	flex-wrap: wrap;
}

.n80-pag-btn {
	min-width: 40px;
	height: 40px;
	border: 1px solid var(--n80-border);
	border-radius: var(--n80-radius-sm);
	background: var(--n80-white);
	color: var(--n80-text);
	font-size: 0.9em;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.n80-pag-btn:hover {
	border-color: var(--n80-primary);
	color: var(--n80-primary);
}

.n80-pag-btn.is-active {
	background: var(--n80-primary);
	color: #fff;
	border-color: var(--n80-primary);
}

/* Accessibility: Focus Styles */
.n80-btn:focus-visible,
.n80-qty-btn:focus-visible,
.n80-add-to-basket:focus-visible,
.n80-add-to-wishlist:focus-visible,
.n80-card-wishlist-overlay:focus-visible,
.n80-quick-view:focus-visible,
.n80-pag-btn:focus-visible,
.n80-cattab:focus-visible {
	outline: 2px solid var(--n80-primary);
	outline-offset: 2px;
}

.n80-filters input:focus-visible,
.n80-filters select:focus-visible {
	outline: 2px solid var(--n80-primary);
	outline-offset: 1px;
	border-color: var(--n80-primary);
}

.n80-form-field input:focus-visible,
.n80-form-field textarea:focus-visible {
	outline: 2px solid var(--n80-primary);
	outline-offset: 1px;
}

/* ==========================================================================
   Critical overrides – moved from inline PHP (PERF-01)
   These rules use !important to work in Elementor-only themes that reset
   all styles. They are now cached as part of the frontend.css file.
   ========================================================================== */

.n80-shop-wrapper { max-width: 1200px !important; margin: 0 auto !important; padding: 20px !important; box-sizing: border-box !important; }
.n80-shop-wrapper *, .n80-shop-wrapper *::before, .n80-shop-wrapper *::after { box-sizing: border-box !important; }
.n80-products-grid { display: grid !important; grid-template-columns: repeat(var(--n80-cols, 4),1fr) !important; gap: 24px !important; }
.n80-product-layout { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 40px !important; }
.n80-filters__form { display: flex !important; flex-wrap: wrap !important; gap: 12px !important; align-items: flex-end !important; }
.n80-form-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 16px !important; }

@media (max-width: 1023px) {
	.n80-products-grid { grid-template-columns: repeat(min(var(--n80-cols, 3), 3),1fr) !important; }
	.n80-wishlist-grid { grid-template-columns: repeat(3,1fr) !important; }
}
@media (max-width: 767px) {
	.n80-products-grid { grid-template-columns: repeat(2,1fr) !important; gap: 12px !important; }
	.n80-product-layout { grid-template-columns: 1fr !important; }
	.n80-filters__form { flex-direction: column !important; }
	.n80-form-grid { grid-template-columns: 1fr !important; }
	.n80-wishlist-grid { grid-template-columns: repeat(2,1fr) !important; gap: 12px !important; }
	.n80-product-card__body { padding: 8px 10px 6px !important; }
	.n80-product-card__title { font-size: 0.88em !important; }
	.n80-product-card__sku { font-size: 0.75em !important; }
	.n80-product-card__actions { padding: 8px 10px 10px !important; gap: 6px !important; }
	.n80-product-card__actions .n80-btn--small { font-size: 0.78em !important; padding: 6px 10px !important; }
	.n80-product-card__actions .n80-btn--icon { width: 32px !important; height: 32px !important; font-size: 1em !important; }
}
@media (max-width: 360px) {
	.n80-products-grid { grid-template-columns: repeat(2,1fr) !important; gap: 8px !important; }
}

.n80-product-card__excerpt { font-size: 0.82em !important; color: var(--n80-text-light, #646970) !important; line-height: 1.5 !important; margin: 4px 0 0 !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }

/* Gallery thumbs */
.n80-product-gallery__thumbs { display: flex !important; gap: 8px !important; flex-wrap: wrap !important; }
.n80-product-gallery__thumb { width: 60px !important; height: 60px !important; overflow: hidden !important; border: 2px solid #d0d5dd !important; border-radius: 4px !important; padding: 0 !important; cursor: pointer !important; flex-shrink: 0 !important; }
.n80-product-gallery__thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; }

/* Quick View Modal */
.n80-modal-overlay { display: none !important; position: fixed !important; inset: 0 !important; z-index: 999999 !important; background: rgba(0,0,0,0.5) !important; justify-content: center !important; align-items: center !important; backdrop-filter: blur(4px) !important; }
.n80-modal-overlay.is-open { display: flex !important; }
.n80-modal { background: #fff !important; border-radius: 12px !important; max-width: 800px !important; width: 94% !important; max-height: 90vh !important; overflow-y: auto !important; position: relative !important; box-shadow: 0 20px 60px rgba(0,0,0,0.25) !important; z-index: 999999 !important; }
.n80-modal__close { position: absolute !important; top: 10px !important; right: 10px !important; z-index: 10 !important; background: rgba(255,255,255,0.9) !important; border: none !important; border-radius: 50% !important; width: 32px !important; height: 32px !important; font-size: 18px !important; cursor: pointer !important; display: flex !important; align-items: center !important; justify-content: center !important; color: #666 !important; box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important; }
.n80-modal__close:hover { background: #fff !important; color: #000 !important; }
.n80-modal__body { display: grid !important; grid-template-columns: 1fr 1fr !important; }
.n80-modal__content { padding: 28px !important; order: 1 !important; overflow-y: auto !important; }
.n80-modal__image { display: flex !important; align-items: center !important; justify-content: center !important; padding: 24px !important; background: #f9fafb !important; order: 2 !important; border-radius: 0 12px 12px 0 !important; }
.n80-modal__image img { max-width: 100% !important; max-height: 400px !important; object-fit: contain !important; }
.n80-modal__title { font-size: 1.3em !important; font-weight: 700 !important; margin: 0 0 4px !important; color: var(--n80-primary, #9b1b5a) !important; line-height: 1.3 !important; }
.n80-modal__sku { font-size: 0.85em !important; color: #666 !important; margin: 0 0 14px !important; }
.n80-modal__desc { font-size: 0.88em !important; line-height: 1.6 !important; color: #444 !important; margin: 0 0 14px !important; }
.n80-modal__specs-list { list-style: disc !important; padding-left: 18px !important; margin: 0 0 18px !important; font-size: 0.82em !important; line-height: 1.7 !important; color: #333 !important; }
.n80-modal__specs-list li { margin-bottom: 2px !important; }
.n80-modal__specs-list strong { color: #111 !important; }
.n80-modal__actions { display: flex !important; flex-direction: column !important; gap: 8px !important; padding-top: 14px !important; border-top: 1px solid #eee !important; }
.n80-modal__actions .n80-btn { width: 100% !important; text-align: center !important; justify-content: center !important; font-size: 0.9em !important; padding: 10px 16px !important; }
.n80-modal__btn-inquire { background: var(--n80-primary, #9b1b5a) !important; color: #fff !important; border: none !important; }
.n80-modal__btn-inquire:hover { opacity: 0.9 !important; }
@media (max-width: 700px) {
	.n80-modal__body { grid-template-columns: 1fr !important; }
	.n80-modal__image { order: 1 !important; border-radius: 12px 12px 0 0 !important; }
	.n80-modal__content { order: 2 !important; }
}

/* Cart Drawer */
.n80-drawer { display: none !important; position: fixed !important; inset: 0 !important; z-index: 999998 !important; }
.n80-drawer.is-open { display: block !important; }
.n80-drawer__overlay { position: absolute !important; inset: 0 !important; background: rgba(0,0,0,0.4) !important; }
.n80-drawer__panel { position: absolute !important; top: 0 !important; right: 0 !important; bottom: 0 !important; width: 420px !important; max-width: 90vw !important; background: #fff !important; box-shadow: -8px 0 30px rgba(0,0,0,0.15) !important; display: flex !important; flex-direction: column !important; z-index: 999999 !important; }
.n80-drawer__header { display: flex !important; align-items: center !important; justify-content: space-between !important; padding: 16px 20px !important; border-bottom: 1px solid #d0d5dd !important; }
.n80-drawer__body { flex: 1 !important; overflow-y: auto !important; }
.n80-drawer__footer { padding: 16px 20px !important; border-top: 1px solid #d0d5dd !important; }
.n80-drawer__items { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.n80-drawer__item { display: flex !important; align-items: center !important; gap: 12px !important; padding: 14px 20px !important; border-bottom: 1px solid #eee !important; }
.n80-drawer__item-img { width: 56px !important; height: 56px !important; object-fit: cover !important; border-radius: 4px !important; border: 1px solid #d0d5dd !important; flex-shrink: 0 !important; }
.n80-drawer__item-info { flex: 1 !important; min-width: 0 !important; }
.n80-drawer__item-title { display: block !important; font-weight: 600 !important; font-size: 0.9em !important; color: #1d2327 !important; text-decoration: none !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; margin-bottom: 2px !important; }
.n80-drawer__item-sku { display: block !important; font-size: 0.75em !important; color: #646970 !important; }
.n80-drawer__item-qty { display: block !important; font-size: 0.8em !important; color: #646970 !important; }
.n80-drawer__item-remove { background: none !important; border: none !important; font-size: 20px !important; cursor: pointer !important; color: #999 !important; padding: 4px 8px !important; flex-shrink: 0 !important; line-height: 1 !important; }
.n80-drawer__item-remove:hover { color: #d63638 !important; }
.n80-drawer__close { background: none !important; border: none !important; font-size: 24px !important; cursor: pointer !important; padding: 4px 8px !important; }

/* Floating Basket Badge */
.n80-basket-badge { position: fixed !important; bottom: 24px !important; right: 24px !important; top: auto !important; left: auto !important; z-index: 99999 !important; background: var(--n80-primary, #9b1b5a) !important; color: #fff !important; padding: 12px 18px !important; border-radius: 50px !important; text-decoration: none !important; font-size: 1.1em !important; box-shadow: 0 4px 16px rgba(0,0,0,0.2) !important; cursor: pointer !important; display: inline-flex !important; align-items: center !important; gap: 6px !important; width: auto !important; height: auto !important; }
.n80-basket-badge__count { background: #d63638 !important; color: #fff !important; border-radius: 50% !important; min-width: 22px !important; height: 22px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; font-size: 0.75em !important; font-weight: 700 !important; }

/* Floating Wishlist Badge */
.n80-wishlist-badge { position: fixed !important; bottom: 80px !important; right: 24px !important; top: auto !important; left: auto !important; z-index: 99999 !important; background: #fff !important; color: var(--n80-primary, #9b1b5a) !important; width: 48px !important; height: 48px !important; border-radius: 50% !important; text-decoration: none !important; font-size: 1.4em !important; box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important; cursor: pointer !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; border: 2px solid var(--n80-primary, #9b1b5a) !important; }
.n80-wishlist-badge:hover { background: var(--n80-primary, #9b1b5a) !important; color: #fff !important; }

/* Form fields */
.n80-form-field label { color: var(--n80-text, #1d2327) !important; font-weight: 600 !important; margin-bottom: 4px !important; display: block !important; font-size: 0.9em !important; }
.n80-form-field input, .n80-form-field textarea { width: 100% !important; padding: 10px 14px !important; border: 1px solid var(--n80-border, #d0d5dd) !important; border-radius: var(--n80-radius-sm, 4px) !important; font-size: 0.95em !important; color: var(--n80-text, #1d2327) !important; background: #fff !important; }
.n80-form-field input:focus, .n80-form-field textarea:focus { border-color: var(--n80-primary, #9b1b5a) !important; outline: none !important; box-shadow: 0 0 0 3px rgba(155,27,90,0.15) !important; }
.n80-field-error { color: #d63638 !important; font-size: 0.8em !important; display: block !important; margin-top: 4px !important; }

/* Wishlist page */
.n80-wishlist-page { max-width: 1200px !important; margin: 0 auto !important; padding: 20px !important; }
.n80-wishlist-grid { display: grid !important; grid-template-columns: repeat(4,1fr) !important; gap: 24px !important; }
.n80-wishlist-actions-top { margin-bottom: 20px !important; }

/* Basket table */
.n80-basket-table { width: 100% !important; border-collapse: collapse !important; }
.n80-basket-table th, .n80-basket-table td { padding: 12px 16px !important; border-bottom: 1px solid #eee !important; vertical-align: middle !important; }
.n80-basket-table thead th { background: var(--n80-bg, #f9fafb) !important; font-weight: 600 !important; font-size: 0.8em !important; text-transform: uppercase !important; letter-spacing: 0.05em !important; color: var(--n80-text-light, #646970) !important; }
.n80-basket-thumb { width: 50px !important; height: 50px !important; object-fit: cover !important; border-radius: 4px !important; }
.n80-basket-col-product a { color: var(--n80-text, #1d2327) !important; text-decoration: none !important; font-weight: 600 !important; }
.n80-basket-col-product a:hover { color: var(--n80-primary, #9b1b5a) !important; }
.n80-basket-qty-input { width: 60px !important; text-align: center !important; padding: 6px !important; border: 1px solid var(--n80-border, #d0d5dd) !important; border-radius: 4px !important; }
.n80-basket-remove { background: none !important; border: none !important; font-size: 20px !important; color: #d63638 !important; cursor: pointer !important; }
.n80-basket-actions-row { display: flex !important; justify-content: space-between !important; align-items: center !important; margin-top: 16px !important; padding-top: 16px !important; border-top: 1px solid #eee !important; }

/* Privacy checkbox */
.n80-form-field--privacy { margin-top: 8px !important; }
.n80-form-field--privacy label { font-weight: 400 !important; display: flex !important; align-items: flex-start !important; gap: 10px !important; cursor: pointer !important; font-size: 0.88em !important; line-height: 1.5 !important; color: var(--n80-text, #1d2327) !important; }
.n80-form-field--privacy input[type="checkbox"] { margin-top: 3px !important; flex-shrink: 0 !important; width: 18px !important; height: 18px !important; accent-color: var(--n80-primary, #9b1b5a) !important; }
.n80-form-field--privacy a { color: var(--n80-primary, #9b1b5a) !important; text-decoration: underline !important; }

/* Request form section */
.n80-request-form-section { background: var(--n80-bg, #f9fafb) !important; border-radius: var(--n80-radius, 8px) !important; padding: 32px !important; margin-top: 32px !important; }

/* ==================================================================
 * Product Filter Widget (n80-filter-widget)
 * ================================================================*/

.n80-filter-widget {
	--n80f-accent: var(--n80-primary, #9b1b5a);
	--n80f-border: var(--n80-border, #d0d5dd);
	--n80f-bg: #fff;
	--n80f-radius: var(--n80-radius, 8px);
	font-family: var(--n80-font, sans-serif);
}

/* Section card */
.n80-filter-widget__section {
	background: var(--n80f-bg);
	border: 1px solid var(--n80f-border);
	border-radius: var(--n80f-radius);
	margin-bottom: 12px;
	overflow: hidden;
}

/* Toggle header */
.n80-filter-widget__toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 0.95em;
	font-weight: 700;
	color: var(--n80f-accent);
	text-align: left;
}
.n80-filter-widget__toggle:hover { background: rgba(0,0,0,.03); }
.n80-filter-widget__chevron {
	font-size: 0.8em;
	transition: transform .2s;
	display: inline-block;
}

/* Body */
.n80-filter-widget__body {
	padding: 4px 18px 18px;
}

/* Slider wrap */
.n80-filter-widget__slider-wrap {
	padding: 8px 4px 0;
}

/* noUiSlider overrides */
.n80-filter-slider.noUi-target {
	background: #e4e6ea;
	border: none;
	box-shadow: none;
	height: 4px;
	border-radius: 2px;
	margin: 14px 8px;
}
.n80-filter-slider .noUi-connect {
	background: var(--n80f-accent);
}
.n80-filter-slider .noUi-handle {
	width: 18px !important;
	height: 18px !important;
	top: -7px !important;
	right: -9px !important;
	border-radius: 50%;
	border: 2px solid var(--n80f-accent);
	background: #fff;
	box-shadow: 0 1px 6px rgba(0,0,0,.15);
	cursor: grab;
}
.n80-filter-slider .noUi-handle:active { cursor: grabbing; }
.n80-filter-slider .noUi-handle::before,
.n80-filter-slider .noUi-handle::after { display: none; }

/* Range label */
.n80-filter-widget__range-label {
	text-align: center;
	font-size: 0.88em;
	color: #555;
	margin-top: 8px;
}
.n80-filter-widget__range-label strong,
.n80f-min, .n80f-max {
	font-weight: 700;
	color: var(--n80-text, #1d2327);
}

/* Checkboxes */
.n80-filter-widget__checkbox-row,
.n80-filter-widget__checkbox-row * {
	color: var(--n80-text, #1d2327) !important;
}
.n80-filter-widget__checkbox-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	font-size: 0.92em;
	cursor: pointer;
}
.n80-filter-widget__checkbox-row input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: var(--n80f-accent);
	cursor: pointer;
	flex-shrink: 0;
}
.n80f-loading {
	font-size: 0.85em;
	color: #999;
	padding: 4px 0;
}
/* Loading-Hinweis im Auto-Modus (Top-Level) */
.n80-filter-widget--auto > .n80f-loading {
	padding: 14px 18px;
	font-style: italic;
}

/* Reset footer */
.n80-filter-widget__footer {
	padding: 4px 0 8px;
	text-align: center;
}
.n80-filter-widget__reset {
	font-size: 0.85em;
	padding: 6px 16px;
}
.n80-filter-widget__no-results {
	padding: 24px;
	text-align: center;
	color: #999;
	font-size: 0.95em;
}

/* ==================================================================
 * Filter-Widget v1.9.4 — Compact-Bar + Mobile-Collapse + Responsive
 * ================================================================*/

/* Mobile-Toggle: standardmäßig versteckt (nur auf Mobile sichtbar) */
.n80-filter-widget__mobile-toggle {
	display: none;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 12px 18px;
	background: var(--n80f-accent, var(--n80-primary, #9b1b5a));
	color: #fff;
	border: none;
	border-radius: var(--n80f-radius, 8px);
	font-weight: 700;
	font-size: 1em;
	cursor: pointer;
	margin-bottom: 12px;
}
.n80-filter-widget__mobile-toggle-chevron {
	transition: transform .2s ease;
}
.n80-filter-widget.is-mobile-open .n80-filter-widget__mobile-toggle-chevron {
	transform: rotate(180deg);
}

/* Compact-Bar Layout — Buttons horizontal flexen, Body als Dropdown */
.n80-filter-widget--layout-compact_bar .n80-filter-widget__inner > .n80-filter-widget__bar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}
.n80-filter-widget--layout-compact_bar .n80-filter-widget__chip {
	position: relative;
	background: #fff;
	border: 1px solid var(--n80f-border, #d0d5dd);
	border-radius: 999px;
	margin: 0;
	overflow: visible;
}
.n80-filter-widget--layout-compact_bar .n80-filter-widget__chip-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	font-size: 0.88em;
	font-weight: 600;
	color: var(--n80f-accent, var(--n80-primary, #9b1b5a));
	background: transparent;
	border: none;
	cursor: pointer;
	border-radius: 999px;
}
.n80-filter-widget--layout-compact_bar .n80-filter-widget__chip-btn[aria-expanded="true"] {
	background: var(--n80f-accent, var(--n80-primary, #9b1b5a));
	color: #fff;
}
.n80-filter-widget--layout-compact_bar .n80-filter-widget__chip .n80-filter-widget__body {
	position: absolute;
	top: calc( 100% + 6px );
	left: 0;
	z-index: 50;
	min-width: 280px;
	background: #fff;
	border: 1px solid var(--n80f-border, #d0d5dd);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0,0,0,.12);
	padding: 14px 16px;
}

/* Compact-Bar Reset-Button als kleines Chip */
.n80-filter-widget--layout-compact_bar .n80-filter-widget__footer {
	margin-top: 0;
	text-align: left;
}

/* Sidebar-Layout Default: alte Sektions-Styles bleiben gültig (siehe oben). */

/* === Responsive: Mobile Collapse (≤ 767px) === */
@media (max-width: 767px) {
	.n80-filter-widget--mobile-collapse .n80-filter-widget__mobile-toggle {
		display: flex;
	}
	.n80-filter-widget--mobile-collapse .n80-filter-widget__inner {
		display: none;
	}
	.n80-filter-widget--mobile-collapse.is-mobile-open .n80-filter-widget__inner {
		display: block;
	}
	/* Auf Mobile: Compact-Bar Dropdowns über volle Breite */
	.n80-filter-widget--layout-compact_bar .n80-filter-widget__chip .n80-filter-widget__body {
		position: static;
		min-width: 0;
		box-shadow: none;
		border: none;
		padding: 8px 4px 0;
	}
	.n80-filter-widget--layout-compact_bar .n80-filter-widget__bar {
		flex-direction: column;
	}
	.n80-filter-widget--layout-compact_bar .n80-filter-widget__chip {
		border-radius: 6px;
	}
	.n80-filter-widget--layout-compact_bar .n80-filter-widget__chip-btn {
		width: 100%;
		justify-content: space-between;
		borde