:root {
	color-scheme: light;
	--radius: 12px;
	--shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	--bg: #fff;
	--surface: #fff;
	--surface-muted: #f9fafb;
	--text: #222;
	--text-main: #1f2937;
	--text-sub: #6b7280;
	--border: #e5e7eb;
	--header-bg: rgba(255, 255, 255, 0.96);
	--header-top-bg: #111;
	--header-top-text: #fff;
	--input-bg: #fff;
	--muted-bg: #f3f4f6;
	--accent: #2563eb;
	--accent-strong: #1d4ed8;
	--accent-contrast: #fff;
	--accent-soft: rgba(37, 99, 235, 0.22);
	--highlight: #d97706;
	--price: #1f2937;
	--link: #2563eb;
	--danger: #dc2626;
	--success: #16a34a;
	--focus: #2563eb;
	--card-shadow: 0 2px 4px #0003;
	--dropdown-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
	--stock-in-bg: rgba(17, 197, 108, 0.14);
	--stock-in-text: #0c7a3f;
	--stock-in-border: rgba(17, 197, 108, 0.25);
	--stock-in-dot: #11c56c;
	--stock-in-glow: rgba(17, 197, 108, 0.18);
	--stock-out-bg: rgba(11, 79, 154, 0.1);
	--stock-out-text: #0b4f9a;
	--stock-out-border: rgba(11, 79, 154, 0.18);
	--stock-out-dot: #0b4f9a;
	--stock-out-glow: rgba(11, 79, 154, 0.18);
}

[data-theme="dark"] {
	color-scheme: dark;
	--bg: #061018;
	--surface: #0d1b2e;
	--surface-muted: #12263d;
	--text: #e2e8f0;
	--text-main: #f8fafc;
	--text-sub: #94a3b8;
	--border: rgba(103, 232, 249, 0.24);
	--header-bg: rgba(6, 16, 24, 0.94);
	--header-top-bg: #040b14;
	--header-top-text: #f8fafc;
	--input-bg: #081422;
	--muted-bg: #102033;
	--accent: #22d3ee;
	--accent-strong: #06b6d4;
	--accent-contrast: #042033;
	--accent-soft: rgba(34, 211, 238, 0.28);
	--highlight: #facc15;
	--price: #facc15;
	--link: #67e8f9;
	--danger: #dc2626;
	--success: #4ade80;
	--focus: #22d3ee;
	--card-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
	--dropdown-shadow: 0 16px 36px rgba(0, 0, 0, 0.48);
	--shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
	--stock-in-bg: rgba(74, 222, 128, 0.16);
	--stock-in-text: #86efac;
	--stock-in-border: rgba(74, 222, 128, 0.38);
	--stock-in-dot: #4ade80;
	--stock-in-glow: rgba(74, 222, 128, 0.24);
	--stock-out-bg: rgba(96, 165, 250, 0.16);
	--stock-out-text: #93c5fd;
	--stock-out-border: rgba(96, 165, 250, 0.34);
	--stock-out-dot: #60a5fa;
	--stock-out-glow: rgba(96, 165, 250, 0.24);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: Lexend, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 400;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, .heading-font { font-family: Lexend, "Helvetica Neue", Helvetica, Arial, sans-serif; }

img { max-width: 100%; border: 0; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea, option { font: inherit; }

.container {
	width: 100%;
	max-width: 1170px;
	margin: 0 auto;
	padding: 0 15px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--header-bg);
	box-shadow: 0 1px 0 var(--border);
}

.header-top {
	background: var(--header-top-bg);
	color: var(--header-top-text);
	padding: 5px 12px;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
}

.header-main {
	background: transparent;
	border-bottom: 0;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 78px;
}

#logo {
	flex: 1 1 200px;
	width: min(200px, 100%);
	max-width: 200px;
	min-width: 0;
}

#logo a {
	display: block;
	max-width: 100%;
}

#logo img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 58px;
	object-fit: contain;
}

.logo-text {
	display: block;
	max-width: 100%;
	overflow: hidden;
	color: var(--text-main);
	font-size: 24px;
	font-weight: 800;
	line-height: 1.1;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.searchform {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 40px;
	align-items: center;
	gap: 3px;
	width: min(100%, 240px);
	min-width: 0;
	padding: 3px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--input-bg);
}

.searchform:focus-within {
	border-color: var(--focus);
	box-shadow: 0 0 0 2px var(--accent-soft);
}

.search-field {
	width: 100%;
	min-width: 0;
	border: 0;
	outline: 0;
	padding: 8px 3px 8px 11px;
	background: transparent;
	color: var(--text);
	font-size: 16px;
	line-height: 1.25;
}

.search-field::placeholder {
	color: var(--text-sub);
	opacity: 1;
}

.ux-search-submit {
	display: grid;
	place-items: center;
	appearance: none;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--accent);
	color: var(--accent-contrast);
	cursor: pointer;
}

.ux-search-submit svg {
	display: block;
	width: 20px;
	height: 20px;
}

.ux-search-submit:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 1px;
}

@media (hover: hover) {
	.ux-search-submit:hover { filter: brightness(0.88); }
}

.page-main { padding: 10px 0 120px; }

.galaxy-canvas { position: fixed; top: 0; left: 0; z-index: 0; width: 100vw; height: 100vh; pointer-events: none; }
.galaxy-mode { background: #040b14; }
.galaxy-content { position: relative; z-index: 1; }
.galaxy-mode {
	--bg: #040b14;
	--surface: rgba(8, 22, 38, 0.45);
	--surface-muted: rgba(16, 38, 61, 0.40);
	--header-bg: rgba(4, 16, 29, 0.65);
	--input-bg: rgba(4, 16, 29, 0.84);
	--muted-bg: rgba(16, 38, 61, 0.64);
	--accent-contrast: #eaffff;
	--shadow: 0 12px 32px rgba(0, 0, 0, 0.34);
	--card-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
	--dropdown-shadow: 0 16px 36px rgba(0, 0, 0, 0.52);
}
.galaxy-mode .site-header { background: var(--header-bg); }
.galaxy-mode .profile-tactical,
.galaxy-mode .product-small .box,
.galaxy-mode .shopacc-installment,
.galaxy-mode .rental-price-edit,
.galaxy-mode .product-gallery-main { background: var(--surface); }
.galaxy-mode .shop-acc-stats__item,
.galaxy-mode .shop-products-header,
.galaxy-mode .empty-shop,
.galaxy-mode .box-text .product-card-sku-copy,
.galaxy-mode .product-code-copy { background: var(--surface-muted); }
.galaxy-mode .shop-mode-toggle,
.galaxy-mode .dmtx-sort-toggle,
.galaxy-mode .nav-price-filter > li > a,
.galaxy-mode .dmtx-sort-dropdown { background: rgba(4, 16, 29, 0.86); }
.galaxy-mode :is(
	.quick-search-dialog,
	.shopacc-installment-modal__dialog,
	.rental-price-modal__dialog,
	.product-gallery-lightbox__dialog
) {
	--surface: #0d1b2e;
	--surface-muted: #12263d;
	--input-bg: #081422;
	--muted-bg: #18304a;
	--accent-soft: #12445a;
	--accent-contrast: #042033;
	background: var(--surface);
}
.galaxy-mode .shopacc-installment-modal .shopacc-installment__error { color: #fca5a5; }
.galaxy-mode .searchform {
	--text: #e2e8f0;
	--text-sub: #94a3b8;
}
[data-theme="dark"] .galaxy-mode .ux-search-submit { color: #042033; }
.galaxy-mode .rental-price-modal input,
.galaxy-mode .shopacc-installment__field input,
.galaxy-mode .shopacc-installment__field select { background: var(--input-bg); }
.galaxy-mode .product-contact-btn--installment { background: rgba(234, 88, 12, 0.60); }
.legacy-zangvu-theme.galaxy-mode { --accent: #22d3ee; --accent-strong: #06b6d4; --accent-contrast: #042033; --header-top-bg: #040b14; --header-top-text: #f8fafc; --header-bg: rgba(6, 16, 24, .65); --text: #e2e8f0; --text-main: #f8fafc; --text-sub: #94a3b8; --border: rgba(103, 232, 249, .24); --price: #facc15; --link: #67e8f9; --shadow: 0 12px 32px rgba(0, 0, 0, .38); --card-shadow: 0 10px 28px rgba(0, 0, 0, .38); }
.legacy-zangvu-theme.galaxy-mode .legacy-home-price-grid a,
.legacy-zangvu-theme.galaxy-mode .legacy-home-all { background: rgba(2, 8, 23, 0.60); border-color: rgba(226, 232, 240, 0.52); }
.legacy-zangvu-theme.galaxy-mode .searchform { background: var(--input-bg); }
.legacy-zangvu-theme.galaxy-mode .legacy-home-prices h2, .legacy-zangvu-theme.galaxy-mode .legacy-home-recent h2 { color: var(--text-main); }

.legacy-zangvu-theme { --accent: #000; --accent-strong: #000; --accent-contrast: #fff; --header-top-bg: #000; --header-top-text: #fff; --header-bg: #fff; --text: #000; --text-main: #000; --text-sub: #333; --border: #e6e6e6; --price: #000; --link: #000; --shadow: none; --card-shadow: 0 2px 4px #0003; }
.legacy-zangvu-theme .site-header { position: static; box-shadow: none; }
.legacy-zangvu-theme .header-top { min-height: 30px; padding: 6px 12px; font-size: 12px; }
.legacy-zangvu-theme .header-inner { min-height: 90px; max-width: 1080px; border-bottom: 1px solid #e6e6e6; }
.legacy-zangvu-theme #logo { flex-basis: 350px; width: min(350px, 100%); max-width: 350px; }
.legacy-zangvu-theme #logo img { max-height: 90px; }
.legacy-zangvu-theme .logo-text { font-size: 27px; font-weight: 800; }
.legacy-zangvu-theme .searchform { width: min(100%, 230px); margin-right: auto; background: #f7f7f7; }
.legacy-home { display: grid; max-width: 1080px; gap: 0; padding-top: 38px; }
.legacy-home-cover { overflow: hidden; line-height: 0; }
.legacy-home-cover img { display: block; width: 100%; height: auto; }
.legacy-home-prices { padding: 30px 0 35px; }
.legacy-home-prices h2, .legacy-home-recent h2 { display: flex; align-items: center; gap: 15px; margin: 0 0 24px; color: #000; font-size: 1.1rem; font-weight: 700; line-height: 1.2; text-align: center; text-transform: uppercase; }
.legacy-home-prices h2 b, .legacy-home-recent h2 b { display: block; flex: 1; height: 2px; background: currentColor; opacity: 0.1; }
.legacy-home-prices h2 span, .legacy-home-recent h2 span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.legacy-home-recent h2 { font-size: 1rem; }
.legacy-home-recent h2 svg { width: 17px; height: 17px; opacity: 0.65; }
.legacy-home-price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 30px; padding: 0 15px; }
.legacy-home-price-grid a, .legacy-home-all { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid #000; border-radius: 6px; background: #000; color: #fff; font-size: 0.9rem; font-weight: 700; text-align: center; text-decoration: none; text-transform: uppercase; }
.legacy-home-price-grid a:hover, .legacy-home-all:hover { border-color: #333; background: #333; color: #fff; opacity: 1; }
.legacy-home-recent .product-small .box { border-radius: 10px; box-shadow: 0 2px 4px #0003; }
.legacy-home-all { display: flex; width: max-content; margin: 28px auto 0; padding-inline: 24px; }
.legacy-zangvu-theme .copyright-footer { margin-top: 55px; font-size: 13px; }
@media (max-width: 849px) { .legacy-zangvu-theme .header-inner { min-height: 70px; } .legacy-zangvu-theme #logo, .legacy-zangvu-theme #logo img { max-height: 70px; } .legacy-home { padding-top: 25px; } }
@media (max-width: 560px) { .legacy-zangvu-theme .header-inner { gap: 8px; } .legacy-zangvu-theme #logo { flex-basis: 46%; } .legacy-zangvu-theme .logo-text { font-size: 18px; } .legacy-zangvu-theme .searchform { width: 44%; } .legacy-home-prices { padding: 24px 0 30px; } .legacy-home-prices h2, .legacy-home-recent h2 { gap: 9px; margin-bottom: 18px; font-size: .95rem; } .legacy-home-recent h2 { font-size: .9rem; } .legacy-home-price-grid { gap: 12px 8px; padding: 0; } .legacy-home-price-grid a { min-height: 39px; padding-inline: 5px; font-size: .7rem; } }

.profile-tactical {
	margin-top: 10px;
	margin-bottom: 1rem;
	background: var(--surface);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	position: relative;
	border: 1px solid var(--border);
}

.pt-cover { width: 100%; background: var(--muted-bg); line-height: 0; overflow: hidden; }
.pt-cover-empty { height: 160px; background: var(--muted-bg); }
.pt-name svg, .pt-bio svg { width: 16px; height: 16px; flex: 0 0 auto; }
.product-card-sku-copy svg, .breadcrumb-sku-copy svg { width: 12px; height: 12px; }
.pt-cover img { display: block; width: 100%; height: auto; }

.pt-body {
	position: relative;
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-top: 0;
}

.pt-body--has-avatar { margin-top: -60px; }

.pt-avatar-box { position: relative; margin-bottom: 15px; z-index: 5; }

.pt-avatar {
	width: 130px;
	height: 130px;
	border-radius: 50%;
	border: 4px solid var(--surface);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	background: var(--muted-bg);
	object-fit: cover;
}

.pt-info { flex: 1; z-index: 5; padding-top: 5px; }

.pt-name {
	font-size: 22px;
	font-weight: 800;
	color: var(--text-main);
	margin: 0 0 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.pt-rank-badge { color: var(--accent); display: inline-flex; }
.pt-bio { color: var(--text-sub); font-size: 14px; margin-bottom: 15px; }
.pt-bio p { margin: 0 0 4px; }
.pt-bio b { font-weight: 700; }
.pt-bio .text-danger, .pt-bio .text-danger a { color: var(--danger); font-weight: 700; }

.pt-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.pt-actions .contact-action {
	min-width: min(130px, 100%);
	max-width: 100%;
	padding-inline: 16px;
}

@media (min-width: 768px) {
	.pt-body {
		flex-direction: row;
		align-items: flex-end;
		text-align: left;
		padding: 20px 30px 30px;
		margin-top: 0;
		gap: 25px;
	}
	.pt-avatar-box { margin-bottom: 0; margin-top: -80px; }
	.pt-avatar { width: 160px; height: 160px; border-width: 5px; }
	.pt-name, .pt-actions { justify-content: flex-start; }
	.pt-info { padding-top: 0; }
}

.shop-acc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(4px, 1.6vw, 12px); margin: 0 0 0.75rem; }
.shop-acc-stats__item {
	display: grid; grid-template-rows: auto 1fr; gap: 0.25rem; min-width: 0;
	padding: 0.65rem clamp(3px, 1vw, 12px); text-align: center; text-decoration: none;
	background: var(--surface-muted); border: 1px solid var(--border);
	border-top: 3px solid var(--stat-color); border-radius: 10px;
}
.shop-acc-stats__item--selling { --stat-color: #15803d; }
.shop-acc-stats__item--updated { --stat-color: #1d4ed8; }
.shop-acc-stats__item--recent { --stat-color: #6d28d9; }
.shop-acc-stats__item--favorite { --stat-color: #be185d; }
[data-theme="dark"] .shop-acc-stats__item--selling, .galaxy-mode .shop-acc-stats__item--selling { --stat-color: #86efac; }
[data-theme="dark"] .shop-acc-stats__item--updated, .galaxy-mode .shop-acc-stats__item--updated { --stat-color: #93c5fd; }
[data-theme="dark"] .shop-acc-stats__item--recent, .galaxy-mode .shop-acc-stats__item--recent { --stat-color: #c4b5fd; }
[data-theme="dark"] .shop-acc-stats__item--favorite, .galaxy-mode .shop-acc-stats__item--favorite { --stat-color: #f9a8d4; }
.shop-acc-stats__label { color: var(--text-sub); font-size: clamp(0.63rem, 2.5vw, 0.85rem); font-weight: 600; line-height: 1.3; }
@media (max-width: 480px) { .shop-acc-stats__label { min-height: 2.6em; } }
.shop-acc-stats__value { align-self: center; color: var(--stat-color); font-size: clamp(1rem, 4vw, 1.45rem); font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; }
a.shop-acc-stats__item:hover .shop-acc-stats__label { text-decoration: underline; }
a.shop-acc-stats__item:focus-visible, .account-favorite:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.saved-accounts { padding-block: 1rem; }
.saved-accounts__header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 1rem; margin-bottom: 1rem; }
.saved-accounts__header h1 { margin: 0; font-size: 1.35rem; }
.saved-accounts__header a { text-decoration: underline; }
.saved-accounts__retry { margin: 0.75rem 0; padding: 0.45rem 0.75rem; cursor: pointer; }

.shop-products-intro { margin-bottom: 1.2rem; }
.shop-products-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.85rem;
	padding: 0.6rem 1rem;
	background: var(--surface-muted);
	border: 1px solid var(--border);
	border-radius: 10px;
}
.shop-products-title { min-width: 0; font-size: 1.25rem; font-weight: 700; margin: 0; color: var(--text-main); display: inline-flex; align-items: center; gap: 0.5rem; }
.shop-products-actions { display: flex; align-items: center; gap: 0.45rem; margin-left: auto; }
.shop-mode-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: 0 2px 6px var(--accent-soft); }
.shop-mode-toggle a { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; min-width: 96px; height: 38px; padding: 0 0.75rem; border: 0; border-radius: 12px; background: transparent; color: var(--text-sub); font-size: 0.78rem; font-weight: 800; white-space: nowrap; }
.shop-mode-toggle a.is-active { background: var(--accent-contrast); color: var(--accent); box-shadow: 0 1px 5px var(--accent-soft); }
.shop-mode-toggle a:hover { background: var(--surface-muted); color: var(--text-main); }
.shop-mode-toggle a.is-active:hover { background: var(--accent-contrast); color: var(--accent); }
.shop-mode-toggle svg { flex: 0 0 auto; }

.dmtx-sort-dropdown-wrap { display: inline-block; position: relative; }
.dmtx-sort-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 2.4em;
	padding: 0.45em 0.95em;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	color: var(--text);
	font-size: 0.82rem;
	font-weight: 700;
	cursor: pointer;
}
.dmtx-sort-dropdown-wrap.is-open .dmtx-sort-toggle { background: var(--accent); border-color: var(--accent-strong); color: var(--accent-contrast); box-shadow: 0 2px 6px var(--accent-soft); }
.dmtx-sort-arrow { font-size: 0.85em; transition: transform 0.15s ease; }
.dmtx-sort-dropdown-wrap.is-open .dmtx-sort-arrow { transform: rotate(180deg); }
.dmtx-sort-dropdown {
	position: absolute;
	top: calc(100% + 0.4rem);
	right: 0;
	z-index: 30;
	display: none;
	min-width: 170px;
	margin: 0;
	padding: 0.35rem;
	list-style: none;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--surface);
	box-shadow: var(--dropdown-shadow);
}
.dmtx-sort-dropdown-wrap.is-open .dmtx-sort-dropdown { display: block; }
.dmtx-sort-dropdown a { display: block; padding: 0.5rem 0.7rem; border-radius: 8px; color: var(--text); font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.dmtx-sort-dropdown a:hover, .dmtx-sort-dropdown a.is-active { background: var(--accent); color: var(--accent-contrast); }

.neil-price-filter-menu { display: block; margin: 0.75rem 0; }
.nav-price-filter { display: flex; flex-wrap: wrap; gap: 0.35rem; justify-content: center; margin: 0; padding: 0; list-style: none; }
.nav-price-filter > li > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.35em;
	padding: 0.45em 0.85em;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	color: var(--text);
	font-size: 0.78rem;
	font-weight: 700;
}
.nav-price-filter > li.current-menu-item > a,
.nav-price-filter > li > a:hover { background: var(--accent); border-color: var(--accent-strong); color: var(--accent-contrast); box-shadow: 0 2px 6px var(--accent-soft); }

@media (min-width: 768px) {
	.shop-products-intro { margin-bottom: 0.55rem; }
	.shop-products-header { margin-bottom: 0.35rem; }
	.neil-price-filter-menu { display: inline-block; margin: 0.35rem 0 0.35rem 0.45rem; vertical-align: middle; }
	.nav-price-filter { justify-content: flex-start; }
}

@media (max-width: 767px) {
	.shop-products-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
	.shop-products-title { grid-column: 1; grid-row: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 1rem; }
	.shop-products-actions { display: contents; }
	.shop-mode-toggle { grid-column: 1 / -1; grid-row: 2; width: 100%; gap: 4px; padding: 4px; }
	.shop-mode-toggle a { flex: 1 1 0; min-width: 0; height: 38px; padding: 0 0.5rem; }
	.dmtx-sort-dropdown-wrap { grid-column: 2; grid-row: 1; justify-self: end; }
	.dmtx-sort-toggle { min-height: 34px; padding: 0.4em 0.65em; }
}

.products { display: grid; grid-template-columns: minmax(0, 1fr); gap: 15px; }
@media (max-width: 767px) { .products--mobile-two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 850px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.product-small .box { background: var(--surface); box-shadow: var(--card-shadow); border-radius: 10px; overflow: hidden; }
.product-small.product-border-enabled > .col-inner > .product-small.box { border: 2px solid var(--product-border-color); }
.products .box-image { position: relative; aspect-ratio: 4 / 3; background: var(--muted-bg); overflow: hidden; }
.products .box-image a, .products .box-image img { display: block; width: 100%; height: 100%; }
.products .box-image img { object-fit: fill; }
.account-favorite {
	display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px;
	padding: 0; border: 1px solid var(--border); border-radius: 50%;
	color: var(--text-main); background: var(--surface);
	cursor: pointer;
}
.account-favorite svg { width: 21px; height: 21px; }
.account-favorite[aria-pressed="true"] { color: #be185d; }
[data-theme="dark"] .account-favorite[aria-pressed="true"], .galaxy-mode .account-favorite[aria-pressed="true"] { color: #f9a8d4; }
.account-favorite[aria-pressed="true"] svg { fill: currentColor; }
.account-favorite:disabled { cursor: default; opacity: 0.6; }
.box-image .account-favorite { position: absolute; top: 6px; right: 6px; z-index: 3; }
.box-text { position: relative; padding: 0.75rem 0.75rem 3.8rem; text-align: center; container-type: inline-size; }
.price { display: block; color: var(--price); font-size: 1.15rem; font-weight: 800; }
.price-usdt { display: inline-flex; align-items: center; gap: 0.22em; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.box-excerpt { margin: 0.2rem 0 0; color: var(--text-sub); font-size: 0.9rem; }
.featured-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	border-radius: 6px;
	background: #dc2626;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.featured-badge svg { width: 12px; height: 12px; }
@media (max-width: 420px) {
	.box-image .account-favorite { width: 34px; height: 34px; }
	.featured-badge { top: 6px; left: 6px; gap: 2px; padding-inline: 4px; font-size: 9px; }
}

.box-text .product-card-sku-copy, .stock-status-label {
	position: absolute;
	bottom: 0.75rem;
	display: inline-flex;
	align-items: center;
	gap: 0.28em;
	box-sizing: border-box;
	height: 24px;
	margin: 0;
	padding: 0.28rem 0.5rem;
	border-radius: 6px;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}
.box-text .product-card-sku-copy {
	left: 0.75rem;
	max-width: calc(100% - 7.4rem);
	border: 1px solid var(--border);
	background: var(--surface-muted);
	color: var(--text);
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
	cursor: pointer;
}
.product-card-sku { overflow: hidden; text-overflow: ellipsis; }
.product-card-sku-copy-icon { width: 0.95em; height: 0.95em; }
.neil-sku-copy-button.is-copied .neil-sku-copy-icon { color: var(--success); }
.neil-sku-copy-button.is-copy-failed .neil-sku-copy-icon { color: var(--danger); }
.stock-status-label { right: 0.75rem; z-index: 5; }
.stock-status-label::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--stock-in-dot); box-shadow: 0 0 0 3px var(--stock-in-glow); }
.in-stock-label { background: var(--stock-in-bg); color: var(--stock-in-text); border: 1px solid var(--stock-in-border); }
.out-of-stock-label { background: var(--stock-out-bg); color: var(--stock-out-text); border: 1px solid var(--stock-out-border); }
.out-of-stock-label::before { background: var(--stock-out-dot); box-shadow: 0 0 0 3px var(--stock-out-glow); }

@container (max-width: 240px) {
	.neil-stock-status-badge .box-text:has(.product-card-sku-copy) :is(.product-card-sku-copy, .stock-status-label) {
		bottom: 0.55rem;
		height: 22px;
		padding: 0.25rem 0.42rem;
		font-size: 0.68rem;
		gap: 0.2em;
	}
	.neil-stock-status-badge .box-text:has(.product-card-sku-copy) .product-card-sku-copy { left: 0.5rem; max-width: calc(100% - 5.8rem); }
	.neil-stock-status-badge .box-text:has(.product-card-sku-copy) .stock-status-label { right: 0.5rem; }
	.neil-stock-status-badge .stock-status-label::before { width: 5px; height: 5px; box-shadow: 0 0 0 2px var(--stock-in-glow); }
	.neil-stock-status-badge .out-of-stock-label::before { box-shadow: 0 0 0 2px var(--stock-out-glow); }
}

.product-main { padding-top: 10px; }
.product-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 850px) { .product-layout { grid-template-columns: 1fr 1fr; } }
.product-gallery { position: relative; outline: none; }
.product-gallery:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.product-gallery-main { display: block; width: 100%; padding: 0; border: 0; background: var(--surface); cursor: zoom-in; touch-action: pan-y; }
.product-gallery-main img { display: block; width: 100%; height: auto; }
.product-gallery-nav { position: absolute; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); box-shadow: var(--shadow); font: 2rem/1 sans-serif; cursor: pointer; }
.product-gallery-nav { top: 50%; transform: translateY(-50%); }
.product-gallery-nav--previous { left: 10px; }.product-gallery-nav--next { right: 10px; }
.product-gallery-count { position: absolute; padding: 0.3rem 0.55rem; border-radius: 999px; background: rgba(0, 0, 0, 0.68); color: #fff; font-size: .78rem; font-weight: 700; }
.product-gallery-count { right: 10px; bottom: 10px; }
.product-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.product-thumb { flex: 0 0 auto; padding: 0; border: 2px solid transparent; background: transparent; cursor: pointer; }.product-thumb.is-active { border-color: var(--accent); }.product-thumb:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.product-thumbs img { display: block; width: 72px; height: 72px; object-fit: cover; }
.product-gallery-lightbox[hidden] { display: none; }
.product-gallery-lightbox {
  position: fixed;
  z-index: 1100;
  inset: 0;
  height: 100%;
  height: 100dvh;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  padding: 8px;
  padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right))
    max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
}
.product-gallery-lightbox__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .82); }
.product-gallery-lightbox__dialog {
  position: relative;
  display: grid;
  grid-template: auto minmax(0, 1fr) / minmax(0, 1fr);
  background: var(--surface);
  border-radius: var(--radius);
}
.product-gallery-lightbox__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 4px 8px;
}
.product-gallery-lightbox__navigation { display: flex; align-items: center; gap: 4px; }
.product-gallery-lightbox__count { font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.product-gallery-lightbox__close, .product-gallery-lightbox__nav {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-muted);
  color: var(--text);
  cursor: pointer;
}
.product-gallery-lightbox__nav { font: 1.75rem/1 sans-serif; }
.product-gallery-lightbox__close { margin-inline-start: auto; }
.product-gallery-lightbox__close::before, .product-gallery-lightbox__close::after {
  content: "";
  grid-area: 1 / 1;
  width: 19px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transform: rotate(45deg);
}
.product-gallery-lightbox__close::after { transform: rotate(-45deg); }
.product-gallery-lightbox__dialog button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.product-gallery-lightbox__content {
  display: grid;
  grid-template: "code" auto "stage" minmax(0, 1fr) "details" auto / minmax(0, 1fr);
}
.product-gallery-lightbox__stage {
  grid-area: stage;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #080c12;
  touch-action: pan-y;
}
body.product-gallery-lightbox-open { overflow: hidden; }
.product-code-copy { display: inline-flex; align-items: center; gap: 0.35em; max-width: 100%; margin: 0 0 8px; padding: 0.28rem 0.5rem; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-muted); box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08); color: var(--text); font: inherit; font-size: 0.72rem; font-weight: 700; line-height: 1; cursor: pointer; }
.product-code-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 8px; }
.product-code-row .product-code-copy { min-width: 0; margin: 0; }
.product-code-copy-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-code-copy svg { width: 14px; height: 14px; }
.product-price {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 8px 0 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-muted);
}
.product-price__panel { min-width: 0; padding: 12px clamp(8px, 2vw, 16px); }
.product-price__panel--sale { background: linear-gradient(135deg, #eaf4ff, #d7e8ff); color: #1849a9; }
.product-price__panel--installment { background: linear-gradient(135deg, #fff1df, #ffddb9); color: #9a3412; }
[data-theme="dark"] .product-price__panel--sale { background: linear-gradient(135deg, #112847, #153764); color: #a8d4ff; }
[data-theme="dark"] .product-price__panel--installment { background: linear-gradient(135deg, #362117, #522c18); color: #ffc587; }
.product-price__label { display: block; font-size: .8rem; font-weight: 700; }
.product-price__amounts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 2px; }
.product-price__value { min-width: 0; font-size: clamp(1.125rem, 3.8vw, 2.1rem); font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.product-price .price-usdt { font-size: .8rem; font-weight: 600; }
.product-price__note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 7px clamp(8px, 2vw, 16px);
  border-block-start: 1px solid var(--border);
  color: var(--text-sub);
  font-size: .75rem;
}
.product-info { min-width: 0; }
.product-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 10px 0; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-muted); }
.product-links__label { color: var(--text-sub); font-size: .8rem; font-weight: 700; }
.product-links__value { color: var(--text-main); font-size: .9rem; font-weight: 600; overflow-wrap: anywhere; }
.product-rental-price { margin: 8px 0; color: var(--price); font-size: 20px; font-weight: 700; }
.product-gallery-lightbox__code, .product-gallery-lightbox__details {
  display: grid;
  justify-items: center;
  gap: 4px;
  overflow: auto;
  padding: 4px 8px;
  text-align: center;
}
.product-gallery-lightbox__code {
  grid-area: code;
  max-height: 30vh;
  max-height: 30dvh;
}
.product-gallery-lightbox__details {
  grid-area: details;
  max-height: 45vh;
  max-height: 45dvh;
}
.product-gallery-lightbox__details :is(.product-price, .product-rental-price) { margin: 0; }
.product-gallery-lightbox__code .product-code-copy { margin: 0; padding: 6px 8px; font-size: .85rem; line-height: 1.3; }
.product-gallery-lightbox__code .product-code-copy-value { overflow: visible; white-space: normal; overflow-wrap: anywhere; }
.product-gallery-lightbox__code .neil-sku-copy-icon { display: flex; flex: none; }
.product-gallery-lightbox__details .product-price__panel { padding: 4px 8px; }
.product-gallery-lightbox__details .product-price__amounts { justify-content: center; }
.product-gallery-lightbox__details .product-price__value { font-size: 1rem; }
.product-gallery-lightbox__details .product-rental-price { font-size: .875rem; }
@media (max-width: 849px), (max-height: 500px) and (pointer: coarse) {
  .product-gallery-lightbox__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 6px;
  }
  .product-gallery-lightbox__stage {
    height: auto;
    object-position: center bottom;
  }
  .product-gallery-lightbox__code { flex: none; max-height: 28%; }
  .product-gallery-lightbox__details { flex: none; max-height: 45%; }
}
.rental-price-editor { display: contents; }
.rental-price-edit { min-height: 34px; margin: 0 0 8px; padding: 0 12px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface); color: var(--text); font: inherit; font-size: 0.82rem; font-weight: 700; cursor: pointer; }
.rental-price-modal[hidden] { display: none; }
.rental-price-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.rental-price-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.55); }
.rental-price-modal__dialog { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 480px; overflow: hidden; border: 2px solid var(--text); border-radius: 8px; background: var(--surface); box-shadow: 0 16px 40px rgba(15, 23, 42, 0.42); }
.rental-price-modal__body { position: relative; padding: 1.4rem 1rem 1rem; }
.rental-price-modal label { display: block; margin-bottom: 0.3rem; color: var(--text); font-size: 0.82rem; font-weight: 700; }
.rental-price-modal input { box-sizing: border-box; width: 100%; min-height: 38px; padding: 0.45rem 0.55rem; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--text); font: inherit; }
.rental-price-modal__close { position: absolute; top: 0.35rem; right: 0.45rem; border: 0; background: transparent; color: var(--text-sub); font-size: 1.4rem; cursor: pointer; }
.rental-price-modal__save { width: 100%; padding: 0.55rem 1rem; border: 0; border-top: 1px solid var(--border); background: var(--text); color: var(--surface); font: inherit; font-size: 0.82rem; font-weight: 700; cursor: pointer; }
.rental-price-modal__save:disabled { opacity: 0.55; cursor: not-allowed; }
.rental-price-modal [data-rental-status] { margin-right: 0.4rem; }
body.rental-price-modal-open { overflow: hidden; }
@media (max-width: 480px) { .rental-price-modal { align-items: flex-end; padding: 0; } .rental-price-modal__dialog { max-width: 100%; border-radius: 8px 8px 0 0; } }
.product-contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0 4px; }
.product-contact-actions:not(:has(> .product-contact-btn)) { display: none; }
.product-contact-actions > .product-contact-btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
.product-contact-btn { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 10px; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.product-contact-btn:hover { color: #fff; opacity: 0.92; transform: translateY(-1px); }
.product-contact-btn svg, .product-contact-btn img { width: 18px; height: 18px; }
.product-contact-btn--installment { background: #ea580c; }

.contact-action {
	--contact-surface: #fff;
	--contact-ink: #08172b;
	--contact-tint: 10%;
	--contact-text-tint: 52%;
	--contact-hover-tint: 17%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 44px;
	min-width: 0;
	padding: 6px 10px;
	border: 1px solid color-mix(in srgb, var(--contact-color) 28%, var(--contact-surface));
	border-radius: 10px;
	background: color-mix(in srgb, var(--contact-color) var(--contact-tint), var(--contact-surface));
	color: color-mix(in srgb, var(--contact-color) var(--contact-text-tint), var(--contact-ink));
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.contact-action .contact-action__icon {
	width: 22px;
	height: 22px;
	flex: none;
	object-fit: contain;
	border-radius: 5px;
}

.contact-action--zalo { --contact-color: #0068ff; }
.contact-action--facebook { --contact-color: #0866ff; }
.contact-action--messenger { --contact-color: #8050d8; }
.contact-action--telegram { --contact-color: #229ed9; }
.contact-action--tiktok { --contact-color: #18181b; }
.contact-action--call { --contact-color: #d62c42; }
.contact-action--installment { --contact-color: #bd7604; }

.contact-action--tiktok .contact-action__icon {
	background: #010101;
	padding: 3px;
}

[data-theme="dark"] .contact-action {
	--contact-surface: #101927;
	--contact-ink: #fff;
	--contact-tint: 18%;
	--contact-text-tint: 30%;
	--contact-hover-tint: 26%;
}

[data-theme="dark"] .contact-action--tiktok { --contact-color: #a1a1aa; }

.contact-action:hover, .contact-action:focus-visible {
	--contact-tint: var(--contact-hover-tint);
	border-color: color-mix(in srgb, var(--contact-color) 48%, var(--contact-surface));
	color: color-mix(in srgb, var(--contact-color) var(--contact-text-tint), var(--contact-ink));
	opacity: 1;
}

.product-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 12px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  list-style: none;
}
.product-benefits li { display: flex; align-items: flex-start; gap: 8px; padding: clamp(8px, 2vw, 14px); }
.product-benefits li:nth-child(even) { border-inline-start: 1px solid var(--border); }
.product-benefits li:nth-child(n + 3) { border-block-start: 1px solid var(--border); }
.product-benefits li > div { min-width: 0; overflow-wrap: anywhere; }
.product-benefits svg { flex: 0 0 auto; width: 20px; height: 20px; color: #0891b2; }
[data-theme="dark"] .product-benefits svg { color: var(--accent); }
.product-benefits strong, .product-benefits span { display: block; }
.product-benefits strong { color: var(--text-main); font-size: .8rem; line-height: 1.3; }
.product-benefits span { margin-top: 3px; color: var(--text-sub); font-size: .75rem; line-height: 1.35; }
.related-title { margin: 28px 0 12px; font-size: 1.25rem; font-weight: 800; }

.woocommerce-pagination { margin-top: 24px; text-align: center; }
.woocommerce-pagination .page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8em; margin: 0; padding: 0; list-style: none; }
.woocommerce-pagination .page-number { display: flex; align-items: center; justify-content: center; min-width: 2.25em; height: 2.25em; padding: 0 7px; border: 2px solid currentColor; border-radius: 999px; color: var(--text); font-size: 1.1em; font-weight: 800; line-height: 2em; text-align: center; text-decoration: none; transition: all .3s; }
.woocommerce-pagination a.page-number:hover, .woocommerce-pagination .page-number.current { background-color: var(--accent); border-color: var(--accent); color: var(--accent-contrast); }
.woocommerce-pagination .page-number--ellipsis { border-color: transparent; }
.woocommerce-pagination .page-number svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
[data-theme="dark"] .woocommerce-pagination .page-number.current { background-color: #f97316; border-color: #fb923c; color: #fff; box-shadow: 0 0 12px rgba(249, 115, 22, .38); }

.copyright-footer { margin-top: 30px; color: var(--text); text-align: center; font-size: 14px; }
.empty-shop { padding: 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-muted); color: var(--text); }
.back-link { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--link); }

.shopacc-installment {
	box-sizing: border-box;
	margin: 14px 0;
	padding: 14px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--surface);
	color: var(--text);
}
.shopacc-installment *, .shopacc-installment *::before, .shopacc-installment *::after { box-sizing: border-box; }
.shopacc-installment__title { margin: 0 0 12px; padding-right: 32px; font-size: 18px; line-height: 1.25; }
.shopacc-installment__form { display: grid; gap: 10px; }
.shopacc-installment__field { display: grid; gap: 5px; }
.shopacc-installment__field label { display: grid; gap: 5px; font-weight: 600; }
.shopacc-installment__field input, .shopacc-installment__field select {
	width: 100%; min-height: 38px; padding: 8px 10px; border: 1px solid var(--border);
	border-radius: 8px; background: var(--input-bg); color: var(--text);
}
.shopacc-installment__button { justify-self: start; }
.shopacc-installment__rate { margin: 0; padding: 9px 10px; border-radius: 8px; background: var(--surface-muted); font-size: 14px; font-weight: 600; }
.shopacc-installment__results { margin-top: 12px; }
.shopacc-installment__debt { margin: 0 0 8px; font-weight: 700; }
.shopacc-installment__details { line-height: 1.55; }
.shopacc-installment__error { margin: 0; color: #dc2626; }
.shopacc-installment-page .shopacc-installment { max-width: 560px; margin-right: auto; margin-left: auto; }
.shopacc-installment-modal {
	position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center;
	justify-content: center; padding: 16px;
}
.shopacc-installment-modal[hidden] { display: none; }
.shopacc-installment-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.55); }
.shopacc-installment-modal__dialog {
	position: relative; z-index: 1; width: 100%; max-width: 520px;
	max-height: calc(100vh - 32px); overflow: auto; border-radius: 10px;
}
.shopacc-installment-modal .shopacc-installment { margin: 0; padding-right: 18px; box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22); }
.shopacc-installment-modal__close {
	position: absolute; top: 10px; right: 10px; z-index: 2; display: inline-flex; align-items: center;
	justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 999px;
	background: var(--surface-muted); color: var(--text); cursor: pointer;
}
body.shopacc-installment-modal-open { overflow: hidden; }

.floating-contact-menu {
	position: fixed;
	bottom: 15px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 9999;
	width: 92%;
	max-width: 680px;
	padding: 10px 18px;
	border-radius: 28px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
	background-color: rgba(25, 25, 25, 0.9);
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.floating-contact-menu .contact-list { list-style: none; margin: 0; padding: 0; display: flex; width: 100%; gap: 4px; justify-content: space-between; align-items: center; }
.floating-contact-menu .contact-item { flex: 1 1 0; min-width: 0; text-align: center; margin: 0; }
.floating-contact-menu .contact-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; font-size: 11px; font-weight: bold; padding: 5px 3px; transition: transform 0.2s ease-in-out; }
.floating-contact-menu .contact-btn:hover { transform: translateY(-3px); color: #fff; }
.contact-stock-intro { display: none; }

@media (prefers-reduced-motion: no-preference) {
	.floating-contact-menu--intro .contact-list { visibility: hidden; }
	.floating-contact-menu--intro .contact-stock-intro:not([hidden]) {
		position: absolute;
		inset: 0 18px;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-content: center;
		gap: 12px;
	}
	.contact-stock-group--older { --stock-fill: #f87171; --stock-duration: 2s; --stock-delay: 0s; }
	.contact-stock-group--new { --stock-fill: #4ade80; --stock-duration: 2.5s; --stock-delay: 2s; }
	.contact-stock-label {
		display: flex;
		justify-content: center;
		align-items: baseline;
		gap: 4px;
		color: #fff;
		font-size: 12px;
		line-height: 1.2;
		font-variant-numeric: tabular-nums;
	}
	.contact-stock-label strong { color: var(--stock-fill); }
	.contact-stock-track { height: 6px; margin-top: 4px; overflow: hidden; border-radius: 6px; background: #484848; }
	.contact-stock-track span {
		display: block;
		height: 100%;
		border-radius: inherit;
		background: var(--stock-fill);
		transform-origin: left;
		animation: contact-stock-fill var(--stock-duration) ease-out var(--stock-delay) both;
	}
	@keyframes contact-stock-fill {
		from { transform: scaleX(0); }
		to { transform: scaleX(1); }
	}
}

.floating-contact-menu .contact-btn:focus-visible,
.dmtx-sort-toggle:focus-visible,
.shop-mode-toggle a:focus-visible,
.rental-price-edit:focus-visible,
.rental-price-modal button:focus-visible,
.rental-price-modal input:focus-visible,
.nav-price-filter > li > a:focus-visible,
.woocommerce-pagination a:focus-visible,
.back-link:focus-visible,
.product-contact-btn:focus-visible,
.contact-action:focus-visible,
.product-thumbs button:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
}

[data-theme="dark"] .profile-tactical,
[data-theme="dark"] .product-small .box {
	border: 1px solid rgba(250, 204, 21, 0.34);
	box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.14), var(--card-shadow);
}

[data-theme="dark"] .header-top { color: var(--highlight); }

.floating-contact-menu .contact-btn img { width: 26px; height: 26px; margin-bottom: 4px; }
.floating-contact-menu .btn-text { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.account-image-filters { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 100; display: grid; grid-template-columns: repeat(2, 52px); align-content: start; gap: 8px; max-height: calc(100vh - 24px); overflow-y: auto; padding: 9px 7px; border: 1px solid var(--border); border-right: 0; border-radius: 14px 0 0 14px; background: var(--surface-muted); box-shadow: var(--dropdown-shadow); }
.account-image-filter { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 52px; min-height: 64px; padding: 5px 3px; border: 1px solid transparent; border-radius: 14px; color: var(--text-main); text-align: center; text-decoration: none; }
.account-image-filter img { width: 38px; height: 38px; object-fit: contain; }
.account-image-filter:hover, .account-image-filter.is-active { color: var(--text-main); border-color: var(--accent); background: var(--accent-soft); }
.account-image-filter__label { display: block; max-width: 100%; font-size: 10px; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.account-image-filter__label--mobile { display: none; }

.quick-search-trigger {
	position: fixed;
	inset-inline-start: 0;
	inset-block-start: 50%;
	transform: translateY(-50%);
	z-index: 110;
	width: 132px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.quick-search-trigger picture, .quick-search-trigger img { display: block; }
.quick-search-trigger img { width: 100%; height: auto; }
.quick-search-trigger:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.quick-search-dialog {
	width: min(560px, calc(100% - 24px));
	max-height: calc(100dvh - 24px);
	padding: 0;
	border: 1px solid var(--border);
	border-radius: 16px;
	background: var(--surface);
	color: var(--text-main);
	box-shadow: var(--dropdown-shadow);
}
.quick-search-dialog::backdrop { background: rgb(0 0 0 / 55%); }
html:has(.quick-search-dialog[open]) { overflow: hidden; }
.quick-search-form {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	max-height: calc(100dvh - 26px);
}
.quick-search-header, .quick-search-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 16px;
}
.quick-search-header {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 44px;
	border-bottom: 1px solid var(--border);
}
.quick-search-header h2 { grid-column: 2; margin: 0; font-size: 1.125rem; text-align: center; }
.quick-search-close {
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: inherit;
	font-size: 24px;
	cursor: pointer;
}
.quick-search-close:hover { background: var(--muted-bg); }
.quick-search-fields { display: grid; gap: 16px; overflow: auto; overscroll-behavior: contain; padding: 16px; }
.quick-search-fields fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.quick-search-fields legend { margin-bottom: 8px; padding: 0; font-weight: 700; font-size: .875rem; }
.quick-search-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 146px), 1fr)); gap: 6px; }
.quick-search-option {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 5px 7px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--surface-muted);
	font-size: .8125rem;
	overflow-wrap: anywhere;
	cursor: pointer;
}
.quick-search-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.quick-search-option input { flex: 0 0 auto; margin: 0; accent-color: var(--accent-strong); }
.quick-search-option img { flex: 0 0 auto; object-fit: contain; }
.quick-search-actions { justify-content: flex-end; border-top: 1px solid var(--border); }
.quick-search-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 8px 18px;
	border: 0;
	border-radius: 8px;
	background: var(--accent-strong);
	color: var(--accent-contrast);
	font-weight: 700;
	cursor: pointer;
}
.quick-search-dialog :focus-visible, .quick-search-primary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.quick-search-empty { text-align: center; }
.quick-search-empty__face { display: block; font-size: 2.75rem; line-height: 1; }
.quick-search-empty p { margin: 12px 0 16px; }

@media (width > 849px) {
	.page-main:has(.quick-search-trigger) { padding-inline-start: clamp(0px, calc(1170px + 272px - 100vw), 136px); }
}
@media (max-width: 849px) {
	.quick-search-trigger {
		inset-inline: auto 0;
		inset-block-start: 78%;
		width: clamp(96px, 28vw, 112px);
	}
}
@media (max-width: 380px) {
	.quick-search-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
	.header-inner { min-height: 64px; gap: 10px; }
	#logo img { max-height: 42px; }
	.searchform { width: min(100%, 170px); }
	.floating-contact-menu { width: calc(100% - 30px); bottom: 10px; padding: 7px 8px; border-radius: 22px; }
	.floating-contact-menu .contact-btn { font-size: 9px; line-height: 1.1; padding: 3px 1px; }
	.floating-contact-menu .contact-btn img { width: 20px; height: 20px; margin-bottom: 2px; }
}
@media (width > 849px) {
	/* Keep the centered catalog and the contact bar clear of the right-side filters. */
	.page-main:has(.account-image-filters) { padding-inline-end: clamp(0px, calc(1170px + 256px - 100vw), 128px); }
	.page-main:has(.account-image-filters) + .floating-contact-menu { max-width: min(680px, calc(100% - 272px)); }
}
@media (max-width: 849px) { .account-image-filters { position: static; transform: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); width: calc(100% - 12px); max-height: none; margin: 0 auto 16px; gap: 3px; padding: 3px; border-radius: 14px; } .account-image-filter { min-width: 0; width: auto; min-height: 66px; padding: 4px 1px; } .account-image-filter img { width: 32px; height: 32px; } .account-image-filter__label { font-size: clamp(7px, 2.35vw, 11px); } .account-image-filter__label--desktop { display: none; } .account-image-filter__label--mobile { display: block; } }
