/* Aramiss PC 2.39.0 — generated by tools/build-css.py; edit section files. */
/* Vazirmatn variable font, SIL Open Font License 1.1. */
@font-face {
	font-family: "Vazirmatn";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/Vazirmatn.woff2") format("woff2");
}

/* AramissPC - base.css (split from main.css; @import order in main.css matters) */

/* ==========================================================================
   Aramiss PC — main.css
   RTL-first, purple & white, responsive.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--c-primary: #7c3aed;
	--c-primary-dark: #4c1d95;
	--c-primary-soft: #ede9fe;
	--c-accent: #a78bfa;
	--c-bg: #ffffff;
	--c-bg-soft: #f7f6fb;
	--c-text: #211c38;
	--c-text-soft: #6b7280;
	--c-border: #ebe7f5;
	--c-star: #f59e0b;
	--c-success: #16a34a;
	--c-danger: #dc2626;
	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow-sm: 0 2px 8px rgba(33, 28, 56, 0.06);
	--shadow: 0 10px 30px rgba(76, 29, 149, 0.10);
	--shadow-lg: 0 22px 50px rgba(76, 29, 149, 0.18);
	--container: 1240px;
	--header-h: 116px;
	--font: "Vazirmatn", "Tahoma", "Segoe UI", sans-serif;
	--grad: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
	--grad-soft: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.9;
	color: var(--c-text);
	background: var(--c-bg);
	overflow-x: hidden;
}

body.nav-open {
	overflow: hidden;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	border: 0;
}

a,
a:hover,
a:focus,
a:active {
	color: var(--c-primary);
	text-decoration: none !important;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--c-primary-dark);
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.6em;
	line-height: 1.45;
	font-weight: 800;
	color: var(--c-text);
}

p {
	margin: 0 0 1em;
}

ul, ol {
	margin: 0;
	padding: 0;
}

button {
	font-family: inherit;
	cursor: pointer;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: 20px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	inset-inline-start: 0;
	z-index: 999;
	background: var(--c-primary);
	color: #fff;
	padding: 10px 18px;
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.skip-link:focus {
	position: fixed;
	inset-inline-start: 16px;
	top: 12px;
	width: auto;
	height: auto;
	margin: 0;
	clip: auto;
	clip-path: none;
	overflow: visible;
	white-space: normal;
	z-index: 10000;
	color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 22px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
	white-space: nowrap;
	text-align: center;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn:focus-visible {
	outline: 3px solid rgba(124, 58, 237, 0.45);
	outline-offset: 2px;
}

.btn-primary {
	background: var(--grad);
	color: #fff;
	box-shadow: 0 8px 20px rgba(124, 58, 237, 0.30);
}

.btn-primary:hover {
	color: #fff;
	background: linear-gradient(135deg, #8b5cf6 0%, var(--c-primary-dark) 100%);
	box-shadow: 0 12px 26px rgba(124, 58, 237, 0.42);
}

.btn-ghost {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.65);
	color: #fff;
	backdrop-filter: blur(6px);
}

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

.btn-light {
	background: #fff;
	color: var(--c-primary-dark);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.btn-light:hover {
	color: var(--c-primary);
}

.btn-lg {
	padding: 14px 30px;
	font-size: 15px;
}

.btn-icon {
	display: inline-flex;
	align-items: center;
	font-size: 1.05em;
}

/* ---------- Accessibility sweep ui-ux review ---------- */
/* Every interactive element gets a visible keyboard focus ring, whatever
   component class it misses. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid rgba(124, 58, 237, 0.45);
	outline-offset: 2px;
}

/* Kill the mobile tap delay on interactive elements half the browser
   needs a gesture timeout for. */
a,
button,
summary,
input[type="submit"],
input[type="button"],
input[type="checkbox"],
input[type="radio"],
label[for] {
	touch-action: manipulation;
}

/* Honour the reduced-motion request: decorative movement goes flat while
   loading indicators keep their (single, instant) look. */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ---------- Theme-coloured scrollbar ---------- */
/* The page scrollbar (the bar the user drags) carries the site palette:
   purple thumb on the soft lavender track, in both engine flavours. */
html {
	scrollbar-color: var(--c-primary, #7c3aed) var(--c-bg-soft, #f7f6fb);
	scrollbar-width: thin;
}

::-webkit-scrollbar {
	width: 12px;
	height: 12px;
}

::-webkit-scrollbar-track {
	background: var(--c-bg-soft, #f7f6fb);
}

::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, var(--c-primary, #7c3aed) 0%, var(--c-primary-dark, #4c1d95) 100%);
	border-radius: 999px;
	border: 3px solid var(--c-bg-soft, #f7f6fb);
}

::-webkit-scrollbar-thumb:hover {
	background: var(--c-primary-dark, #4c1d95);
}

::-webkit-scrollbar-corner {
	background: var(--c-bg-soft, #f7f6fb);
}


/* Distinguish text links without relying on colour alone. */
:where(body:not(.woocommerce-account)) .entry-content p a:not(.btn):not(.button):not(.wp-block-button__link),
:where(body:not(.woocommerce-account)) .entry-content li a:not(.btn):not(.button):not(.wp-block-button__link) {
	text-decoration: underline !important;
	text-underline-offset: .2em;
	text-decoration-thickness: 1px;
}

/* AramissPC - header.css (split from main.css; @import order in main.css matters) */

/* ---------- Header ---------- */
.site-header {
	position: relative;
	z-index: 100;
	background: #fff;
	box-shadow: 0 1px 0 var(--c-border);
}

.header-main {
	padding-block: 14px;
}

.header-main-inner {
	display: flex;
	align-items: center;
	gap: 22px;
}

.header-start {
	flex: 0 0 auto;
}

.site-branding .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.custom-logo {
	max-height: 52px;
	width: auto;
	object-fit: contain;
}

.site-logo-fallback {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--c-text);
}

.site-logo-fallback .logo-mark {
	display: inline-flex;
	color: var(--c-primary);
}

.site-logo-fallback .site-title-text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.site-logo-fallback strong {
	font-size: 19px;
	font-weight: 900;
	letter-spacing: 0.2px;
}

.site-logo-fallback small {
	max-width: 260px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 10.5px;
	color: var(--c-text-soft);
	letter-spacing: normal;
	text-transform: none;
	direction: inherit;
}

.header-search {
	flex: 1 1 auto;
	max-width: 520px;
}

/* Dedicated mobile search bar (shown ≤992px, kept in header.php with inline CSS). */
.arm-mobile-search {
	display: none;
}

.search-form {
	display: flex;
	align-items: center;
	background: var(--c-bg-soft);
	border: 1.5px solid var(--c-border);
	border-radius: 999px;
	padding-inline: 6px 6px;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form:focus-within {
	border-color: var(--c-accent);
	box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
	background: #fff;
}

.search-field {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 11px 16px;
	font-family: inherit;
	font-size: 14px;
	color: var(--c-text);
	outline: none;
}

.search-field::placeholder {
	color: #706780;
}

.search-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 38px;
	border: 0;
	border-radius: 12px;
	background: var(--grad);
	color: #fff;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.search-submit:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 16px rgba(124, 58, 237, 0.4);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-inline-start: auto;
}

.header-action {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 12px;
	color: var(--c-text);
	font-size: 13.5px;
	font-weight: 700;
	transition: background 0.2s ease, color 0.2s ease;
	position: relative;
}

.header-action:hover {
	background: var(--c-primary-soft);
	color: var(--c-primary-dark);
}

.action-icon {
	display: inline-flex;
	color: var(--c-primary);
}

.cart-count {
	position: absolute;
	inset-inline-start: 2px;
	top: 2px;
	min-width: 19px;
	height: 19px;
	padding-inline: 5px;
	border-radius: 999px;
	background: var(--c-primary);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	box-shadow: 0 3px 8px rgba(124, 58, 237, 0.45);
}

/* ---------- Primary navigation ---------- */
.primary-navigation {
	background: var(--grad);
	position: relative;
}

.primary-navigation .container {
	display: flex;
	justify-content: flex-start;
}

.primary-navigation .primary-navigation-inner {
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.primary-navigation-inner > .nav-menu {
	flex: 1 1 auto;
	justify-content: center;
}

.nav-menu {
	display: flex;
	align-items: center;
	list-style: none;
	gap: 4px;
	margin: 0;
	padding: 0;
}

.nav-menu > li {
	position: relative;
}

.nav-menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: rgba(255, 255, 255, 0.92);
	font-size: 14px;
	font-weight: 700;
	padding: 14px 18px;
	transition: background 0.18s ease, color 0.18s ease;
	border-radius: 0 0 10px 10px;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current_page_item > a {
	color: #fff;
	background: rgba(255, 255, 255, 0.14);
}

.nav-caret {
	opacity: 0.85;
}

.nav-menu .sub-menu {
	position: absolute;
	top: 100%;
	inset-inline-start: 0;
	min-width: 230px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: 12px;
	box-shadow: var(--shadow);
	list-style: none;
	padding: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
	z-index: 60;
}

.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nav-menu .sub-menu .sub-menu {
	top: 0;
	inset-inline-start: 100%;
	inset-inline-end: auto;
	margin-inline-start: 4px;
}

.nav-menu .sub-menu li a {
	display: block;
	padding: 9px 14px;
	color: var(--c-text);
	font-size: 13.5px;
	font-weight: 600;
	border-radius: 8px;
	white-space: nowrap;
}

.nav-menu .sub-menu li a:hover {
	background: var(--c-primary-soft);
	color: var(--c-primary-dark);
}

/* ---------- Header categories menu (hamburger + flyout) ---------- */
.cat-menu {
	position: relative;
	flex: 0 0 auto;
	order: -1;
	align-self: stretch;
	display: flex;
}

.cat-menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 18px;
	border: 0;
	border-radius: 0 0 10px 10px;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.18s ease;
}

.cat-menu-toggle:hover,
.cat-menu.is-open .cat-menu-toggle {
	background: rgba(255, 255, 255, 0.3);
}

.cat-menu-icon {
	display: inline-flex;
	align-items: center;
}

.cat-menu-caret {
	opacity: 0.85;
	transition: transform 0.2s ease;
}

.cat-menu.is-open .cat-menu-caret {
	transform: rotate(180deg);
}

.cat-menu-panel {
	position: absolute;
	top: 100%;
	inset-inline-start: 0;
	z-index: 70;
	width: min(360px, calc(100vw - 32px));
	margin-top: 6px;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: 14px;
	box-shadow: var(--shadow);
}

.cat-menu-groups {
	list-style: none;
	margin: 0;
	padding: 0;
	display: block;
}

.cat-menu-group + .cat-menu-group {
	border-top: 1px solid var(--c-border);
}

.cat-menu-group-toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 13px 12px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	font-family: inherit;
	font-size: 14px;
	font-weight: 800;
	color: var(--c-text);
	text-align: start;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.cat-menu-group-toggle:hover,
.cat-menu-group.is-open .cat-menu-group-toggle {
	background: var(--c-primary-soft);
	color: var(--c-primary-dark);
}

.cat-menu-group-icon {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	color: var(--c-text-soft);
}

.cat-menu-group.is-open .cat-menu-group-icon {
	color: var(--c-primary-dark);
}

.cat-menu-group-title {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cat-menu-group-count {
	flex: 0 0 auto;
	min-width: 26px;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--c-bg-soft);
	border: 1px solid var(--c-border);
	color: var(--c-text-soft);
	font-size: 11.5px;
	font-weight: 800;
	line-height: 1.7;
	text-align: center;
}

.cat-menu-group.is-open .cat-menu-group-count {
	background: #fff;
	border-color: rgba(76, 29, 149, 0.25);
	color: var(--c-primary-dark);
}

.cat-menu-group-caret {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	color: var(--c-text-soft);
	transition: transform 0.2s ease;
}

.cat-menu-group.is-open .cat-menu-group-caret {
	transform: rotate(-180deg);
	color: var(--c-primary-dark);
}

/* The flyout opens BESIDE the panel (to its inline-start = left in RTL),
   aligned with the hovered group row — never stacked underneath the row.
   It sits flush against the panel edge (no margin) so the pointer can
   travel from a row into the flyout without crossing dead space. */
.cat-menu-list {
	position: absolute;
	top: 0;
	inset-inline-start: 100%;
	z-index: 80;
	min-width: 230px;
	max-height: min(420px, calc(100vh - 120px));
	overflow-y: auto;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: 12px;
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateX(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.cat-menu-list[hidden] {
	display: none;
}

.cat-menu-group.is-open .cat-menu-list {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}

.cat-menu-list li + li {
	margin-top: 2px;
}

.cat-menu-list a {
	display: block;
	padding: 9px 12px;
	border-radius: 8px;
	color: var(--c-text);
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: background 0.15s ease, color 0.15s ease;
}

.cat-menu-list a:hover {
	background: var(--c-primary-soft);
	color: var(--c-primary-dark);
}

.cat-menu-all {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 18px;
	padding: 12px 14px;
	border-radius: 10px;
	background: var(--c-primary-soft);
	color: var(--c-primary-dark);
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.cat-menu-all:hover {
	background: var(--c-primary);
	color: #fff;
}

/* ---------- Mobile nav ---------- */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 42px;
	padding: 8px;
	border: 1.5px solid var(--c-border);
	border-radius: 12px;
	background: #fff;
}

.nav-toggle-bar {
	display: block;
	width: 100%;
	height: 2.2px;
	border-radius: 2px;
	background: var(--c-text);
	transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle-bar:nth-child(1) {
	transform: translateY(7.2px) rotate(45deg);
}

.nav-open .nav-toggle-bar:nth-child(2) {
	opacity: 0;
}

.nav-open .nav-toggle-bar:nth-child(3) {
	transform: translateY(-7.2px) rotate(-45deg);
}

.nav-overlay {
	position: fixed;
	inset: 0;
	background: rgba(20, 14, 45, 0.55);
	backdrop-filter: blur(3px);
	z-index: 109;
}


/* Mobile controls are hidden in the desktop navigation. */
.nav-close-row, .nav-submenu-toggle { display: none; }

/* AramissPC - home.css (split from main.css; @import order in main.css matters) */

/* Skip painting offscreen rows; preserve server HTML and normal browser fallback. */
@supports(content-visibility:auto){
 .home-main .section-products,.home-main .section-blog,.home-main .section-shop-row-systems,.home-main .section-shop-row-accessories,
 .elementor-home .elementor-widget-aramiss-products,.elementor-home .elementor-widget-aramiss-posts,.elementor-home .elementor-widget-aramiss-assembled{
  content-visibility:auto;contain-intrinsic-size:auto 600px;
 }
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	overflow: hidden;
	background: var(--c-primary-dark);
	min-height: 420px;
}

.hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.7s ease, visibility 0.7s;
	background-image: var(--hero-image, none);
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
}

.hero-slide.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(1000px 420px at 90% 20%, rgba(124, 58, 237, 0.55), transparent 60%),
		linear-gradient(100deg, rgba(24, 12, 60, 0.94) 22%, rgba(43, 18, 99, 0.72) 55%, rgba(76, 29, 149, 0.55) 100%);
}

.hero-content {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding-block: 56px;
}

.hero-text {
	max-width: 620px;
	color: #fff;
}

.hero-breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	list-style: none;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 14px;
}

.hero-breadcrumb .current {
	color: var(--c-accent);
	font-weight: 700;
}

.hero-title {
	font-size: clamp(28px, 4.4vw, 46px);
	font-weight: 900;
	color: #fff;
	margin-bottom: 14px;
	line-height: 1.35;
	text-shadow: 0 6px 26px rgba(0, 0, 0, 0.35);
}

.hero-sub {
	font-size: 15px;
	line-height: 2.1;
	color: rgba(255, 255, 255, 0.86);
	margin-bottom: 26px;
	max-width: 540px;
}

.hero-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.hero-features {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 0 0 auto;
}

.hero-features li {
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgba(255, 255, 255, 0.09);
	border: 1px solid rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(8px);
	border-radius: 16px;
	padding: 12px 18px;
	min-width: 215px;
	transition: background 0.2s ease, transform 0.2s ease;
}

.hero-features li:hover {
	background: rgba(255, 255, 255, 0.16);
	transform: translateX(-4px);
}

.hero-feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	flex: 0 0 auto;
}

.hero-feature-text {
	display: flex;
	flex-direction: column;
	line-height: 1.5;
	color: #fff;
}

.hero-feature-text strong {
	font-size: 13.5px;
	font-weight: 800;
}

.hero-feature-text small {
	font-size: 11.5px;
	color: rgba(255, 255, 255, 0.72);
}

.hero-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(20, 12, 45, 0.4);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, transform 0.2s ease;
}

.hero-nav:hover {
	background: var(--c-primary);
	transform: translateY(-50%) scale(1.07);
}

.hero-prev {
	inset-inline-start: 18px;
}

.hero-next {
	inset-inline-end: 18px;
}

.hero-dots {
	position: absolute;
	bottom: 18px;
	inset-inline-end: 26px;
	display: flex;
	gap: 8px;
	z-index: 5;
}

.hero-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: rgba(255, 255, 255, 0.42);
	transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
	width: 28px;
	border-radius: 999px;
	background: #fff;
}

/* ---------- Sections ---------- */
.section {
	padding-block: 44px;
}

.section:first-child {
	padding-top: 0;
}

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 26px;
	flex-wrap: wrap;
}

.section-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: clamp(20px, 2.4vw, 26px);
	font-weight: 900;
	margin: 0;
	color: var(--c-text);
}

.section-title-icon {
	display: inline-flex;
	color: var(--c-primary);
}

.section-subtitle {
	margin: 6px 0 0;
	color: var(--c-text-soft);
	font-size: 13.5px;
}

.section-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--c-text-soft);
	transition: color 0.2s ease;
}

.section-link:hover {
	color: var(--c-primary);
}

.section-link-arrow {
	display: inline-flex;
	transition: transform 0.2s ease;
}

.section-link:hover .section-link-arrow {
	transform: translateX(-4px);
}

/* ---------- Category grid ---------- */
.category-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
	gap: 14px;
}

.category-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: max(4px, calc(var(--cat-thumb, 86px) * 0.09));
	background: #fff;
	border: 1.5px solid var(--c-border);
	border-radius: var(--radius);
	padding: max(10px, calc(var(--cat-thumb, 86px) * 0.18)) 10px max(8px, calc(var(--cat-thumb, 86px) * 0.15));
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
	transform: translateY(-5px);
	border-color: var(--c-accent);
	box-shadow: var(--shadow);
	color: var(--c-primary-dark);
}

.category-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--cat-thumb, 86px);
	height: var(--cat-thumb, 86px);
	border-radius: 50%;
	background: var(--c-bg-soft);
	overflow: hidden;
}

.category-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	/* Tied to the category size control so the whole box scales, not just
	   the picture inside it. */
	padding: max(5px, calc(var(--cat-thumb, 86px) * 0.09));
}

.category-placeholder {
	display: inline-flex;
	color: var(--c-primary);
	opacity: 0.85;
}

.category-name {
	font-size: clamp(11px, calc(8px + var(--cat-thumb, 86px) * 0.055), 19px);
	font-weight: 800;
	color: var(--c-text);
	line-height: 1.6;
}

.category-card:hover .category-name {
	color: var(--c-primary-dark);
}

.category-desc {
	font-size: clamp(9.5px, calc(6px + var(--cat-thumb, 86px) * 0.04), 15px);
	font-weight: 600;
	color: var(--c-text-soft);
	line-height: 1.5;
	letter-spacing: 0.2px;
}

.category-card:hover .category-desc {
	color: var(--c-primary);
}

/* ---------- Product cards ---------- */
.product-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 18px;
}

/* grid-compact only densifies the card itself; column count comes from
   .product-grid.cols-N (or the responsive defaults below). */
.product-grid.grid-compact {
	gap: 14px;
}

.product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1.5px solid var(--c-border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-card:hover {
	transform: translateY(-6px);
	border-color: var(--c-accent);
	box-shadow: var(--shadow);
}

.product-thumb {
	position: relative;
	display: block;
	background: linear-gradient(180deg, #faf9ff 0%, #f2effc 100%);
	padding: 18px;
	min-height: var(--aramiss-thumb-min, 190px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-thumb-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.product-thumb-img {
	max-height: var(--aramiss-thumb-max, 170px);
	width: auto;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: transform 0.3s ease;
}

.product-card:hover .product-thumb-img {
	transform: scale(1.06);
}

/* Full-bleed media boxes: grids that opt in (games by default) replace the
   padded "product photo" box with an aspect-ratio frame the image fills. */
.product-grid.thumb-cover .product-thumb {
	padding: 0;
	min-height: var(--aramiss-thumb-min, 0px);
	aspect-ratio: var(--aramiss-thumb-ratio, 1 / 1);
	overflow: hidden;
}

.product-grid.thumb-cover .product-thumb-link {
	position: absolute;
	inset: 0;
}

.product-grid.thumb-cover .product-thumb-img {
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: var(--aramiss-thumb-fit, cover);
	mix-blend-mode: normal;
}

.product-thumb-placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: #fff;
	color: var(--c-accent);
	box-shadow: inset 0 0 0 1.5px var(--c-border);
}

.product-badge {
	position: absolute;
	top: 12px;
	inset-inline-start: 12px;
	z-index: 2;
	font-size: 11px;
	font-weight: 800;
	padding: 4px 12px;
	border-radius: 999px;
	color: #fff;
	line-height: 1.8;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.badge-sale {
	background: var(--c-danger);
}

.badge-stock {
	background: var(--c-success);
}

.badge-low {
	background: var(--c-star);
}

.badge-out {
	background: #6b7280;
}

.product-rank {
	position: absolute;
	top: 12px;
	inset-inline-end: 12px;
	z-index: 2;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--c-primary);
	color: #fff;
	font-size: 12.5px;
	font-weight: 900;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 5px 14px rgba(124, 58, 237, 0.45);
}

.product-wishlist {
	position: absolute;
	bottom: 12px;
	inset-inline-end: 12px;
	z-index: 2;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1.5px solid var(--c-border);
	background: #fff;
	color: var(--c-text-soft);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.product-card:hover .product-wishlist,
.product-wishlist.is-active,
.product-wishlist:focus-visible {
	opacity: 1;
	transform: translateY(0);
}

.product-wishlist:hover,
.product-wishlist.is-active {
	color: var(--c-danger);
	border-color: var(--c-danger);
}

.product-wishlist.is-active svg {
	fill: currentColor;
}

.product-body {
	padding: 16px 16px 8px;
	flex: 1;
}

.product-title {
	font-size: 14.5px;
	font-weight: 800;
	margin: 0 0 8px;
	line-height: 1.75;
	min-height: 2.6em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.product-title a {
	color: var(--c-text);
}

.product-title a:hover {
	color: var(--c-primary);
}

.product-specs {
	margin: 0 0 8px;
	font-size: 12px;
	line-height: 1.7;
	color: var(--c-text-soft);
	letter-spacing: 0.2px;
	direction: ltr;
	text-align: right;
	unicode-bidi: plaintext;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.product-rating {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	color: var(--c-star);
	margin-bottom: 6px;
}

.product-rating.is-empty {
	opacity: 0.4;
}

.product-rating .star-row {
	letter-spacing: 2px;
}

.rating-count {
	color: var(--c-text-soft);
	font-size: 12px;
}

.woocommerce .star-rating,
.star-rating {
	position: relative;
	display: inline-block;
	font-family: inherit;
	font-size: 15px;
	line-height: 1;
	letter-spacing: 2px;
}

.product-price {
	margin-top: 4px;
	font-size: 15.5px;
	font-weight: 900;
	color: var(--c-text);
	direction: rtl;
}

.product-price .price {
	color: var(--c-text);
}

.product-price ins {
	text-decoration: none;
	color: var(--c-primary);
}

.product-price del {
	color: var(--c-text-soft);
	font-size: 13px;
	font-weight: 600;
	margin-inline-start: 6px;
	opacity: 0.85;
}

.price-contact {
	color: var(--c-primary);
	font-size: 14px;
}

.product-footer {
	padding: 10px 16px 16px;
}

.product-card-btn {
	width: 100%;
	padding: 10px 14px;
	font-size: 13.5px;
	border-radius: 10px;
}

.product-stock-dot {
	position: absolute;
	bottom: 14px;
	inset-inline-start: 8px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--c-success);
	box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

/* ---------- Features strip ---------- */
.features-strip {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	background: var(--c-primary-soft);
	border: 1.5px solid #e3dbfb;
	border-radius: var(--radius);
	padding: 6px;
}

.feature-item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 18px 14px;
	position: relative;
}

.feature-item:not(:last-child)::after {
	content: "";
	position: absolute;
	inset-inline-end: 0;
	top: 22%;
	height: 56%;
	width: 1px;
	background: #d9cffa;
}

.feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: #fff;
	color: var(--c-primary);
	box-shadow: var(--shadow-sm);
	flex: 0 0 auto;
}

.feature-text {
	display: flex;
	flex-direction: column;
	line-height: 1.6;
}

.feature-text strong {
	font-size: 13.5px;
	font-weight: 800;
	color: var(--c-text);
}

.feature-text small {
	font-size: 11.5px;
	color: var(--c-text-soft);
}

/* ---------- Promo banner ---------- */
.promo-banner {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background:
		var(--promo-image, none),
		#0b1923;
	background-size: cover;
	background-position: center;
	box-shadow: var(--shadow-lg);
}

.promo-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(5, 15, 21, 0.3) 0%, rgba(8, 18, 27, 0.24) 40%, rgba(7, 16, 25, 0.5) 100%);
}

.promo-inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding: 44px 52px;
	flex-wrap: wrap;
}

.promo-eyebrow {
	display: inline-block;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.82);
	margin-bottom: 8px;
}

.promo-title {
	font-size: clamp(24px, 3.4vw, 38px);
	font-weight: 900;
	color: #fff;
	margin: 0 0 8px;
}

.promo-sub {
	color: rgba(255, 255, 255, 0.85);
	font-size: 14.5px;
	margin: 0;
}


/* Hero v2: reserved height, clear copy, and controls outside the text area. */
.hero-v2 { background:#100b1e; min-height:520px; isolation:isolate; }
.hero-v2 .hero-track { position:relative; display:grid; }
.hero-v2 .hero-slide, .hero-v2 .hero-slide.is-active { position:relative; grid-area:1/1; min-width:0; min-height:520px; }
.hero-v2 .hero-slide:not(.is-active) { pointer-events:none; }
.hero-background { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
.hero-v2 .hero-overlay { background:linear-gradient(270deg,rgba(15,8,30,.97) 0%,rgba(19,10,37,.9) 31%,rgba(22,10,45,.35) 64%,rgba(15,8,30,.06)); }
.hero-v2 .hero-content { width:100%; min-height:520px; padding-block:52px 90px; align-items:center; }
.hero-v2 .hero-text { width:56%; max-width:640px; padding-inline-end:20px; }
.hero-eyebrow { display:inline-block; color:#d8c7f4; font-size:10px; letter-spacing:2px; font-weight:600; margin-bottom:20px; }
.hero-v2 .hero-title { font-size:clamp(29px,3.3vw,46px); line-height:1.65; margin-bottom:15px; letter-spacing:-.7px; }
.hero-v2 .hero-sub { font-size:14px; line-height:2.1; color:#ded5e9; margin-bottom:24px; }
.hero-v2 .hero-buttons { gap:10px; }
.hero-v2 .btn { border-radius:11px; font-size:13px; min-height:48px; padding:12px 20px; white-space:normal; }
.hero-v2 .btn-primary { background:#7c3aed; box-shadow:none; }
.hero-v2 .btn-ghost { border-color:rgba(255,255,255,.35); background:rgba(255,255,255,.05); }
.hero-v2 .btn-primary:focus-visible, .hero-v2 .btn-ghost:focus-visible { color:#fff; outline:3px solid #e0ccff; }
.hero-v2 .hero-features { display:flex; flex-direction:row; flex-wrap:wrap; gap:12px 20px; margin-top:28px; }
.hero-v2 .hero-features li { padding:0; min-width:0; border:0; background:none; backdrop-filter:none; gap:8px; transform:none; }
.hero-v2 .hero-feature-icon { width:24px; height:28px; background:none; }
.hero-v2 .hero-feature-icon svg { width:19px; height:19px; }
.hero-v2 .hero-feature-text strong { font-size:11px; font-weight:500; color:#e3dbed; }
.hero-v2 .hero-feature-text small { display:none; }
.hero-controls { position:absolute; inset-inline:20px; bottom:22px; z-index:5; display:flex; align-items:center; justify-content:center; gap:8px; }
.hero-v2 .hero-nav { display:inline-flex; position:static; transform:none; min-width:44px; width:44px; height:44px; font-size:19px; border-radius:12px; }
.hero-v2 .hero-nav:hover { transform:none; background:rgba(124,58,237,.75); }
.hero-v2 .hero-dots { position:static; gap:0; align-items:center; }
.hero-v2 .hero-dot { position:relative; width:40px; height:44px; border-radius:0; background:transparent; }
.hero-v2 .hero-dot::before { content:''; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:7px; height:7px; border-radius:20px; background:#bfb0d4; transition:width .2s; }
.hero-v2 .hero-dot.is-active::before { width:24px; background:#fff; }
.hero-play { display:inline-flex; align-items:center; gap:8px; padding:8px 12px; min-height:44px; color:#fff; border:1px solid rgba(255,255,255,.35); border-radius:12px; background:rgba(20,12,45,.45); font-size:11px; margin-inline-start:5px; }
.hero-play:hover { background:rgba(124,58,237,.65); }
@media(max-width:992px) {
	.hero-v2 .hero-text { width:75%; }
	.hero-v2 .hero-content { gap:0; }
	.hero-v2 .hero-overlay { background:linear-gradient(270deg,rgba(15,8,30,.97),rgba(15,8,30,.78) 60%,rgba(15,8,30,.3)); }
}
@media(max-width:600px) {
	.hero-v2, .hero-v2 .hero-slide, .hero-v2 .hero-content { min-height:550px; }
	.hero-v2 .hero-content { padding-block:35px 92px; justify-content:center; }
	.hero-v2 .hero-text { width:100%; padding:0; }
	.hero-v2 .hero-title { font-size:29px; line-height:1.7; }
	.hero-v2 .hero-sub { font-size:13px; }
	.hero-v2 .hero-background { object-position:25% center; }
	.hero-v2 .hero-overlay { background:linear-gradient(180deg,rgba(15,8,30,.8),rgba(15,8,30,.86)); }
	.hero-v2 .hero-buttons > a { flex:1 1 140px; padding-inline:12px; font-size:12px; }
	.hero-v2 .hero-features { gap:10px 16px; margin-top:22px; }
	.hero-v2 .hero-feature-text strong { font-size:10px; }
	.hero-controls { bottom:18px; gap:4px; inset-inline:10px; }
	.hero-v2 .hero-dot { width:30px; }
}

/* Hero composition and cards. */
.hero-v2, .hero-v2 .hero-slide, .hero-v2 .hero-content { min-height: 430px; }
.hero-v2 .hero-content {
	display: grid;
	grid-template-columns: 158px minmax(0, 1fr) minmax(0, 480px);
	gap: 30px;
	padding-block: 40px 66px;
	align-items: center;
}
.hero-v2 .hero-text { grid-column: 3; grid-row: 1; width: 100%; max-width: none; padding: 0; }
.hero-v2 .hero-title { font-size: clamp(29px, 3.2vw, 44px); line-height: 1.6; margin-bottom: 13px; }
.hero-title-accent { display: block; color: #c18aff; }
.hero-v2 .hero-eyebrow { font-size: 13px; color: #c5addf; letter-spacing: 0; margin-bottom: 15px; display: flex; gap: 13px; }
.hero-v2 .hero-sub { font-size: 14px; line-height: 2; max-width: 440px; margin-bottom: 22px; }
.hero-v2 .hero-buttons { gap: 12px; }
.hero-v2 .hero-buttons .btn { border-radius: 999px; padding: 11px 21px; font-size: 12px; min-height: 44px; }
.hero-v2 .btn-primary { background: linear-gradient(100deg, #a66bf5, #742de0); border-color: transparent; }
.hero-v2 .hero-overlay { background: linear-gradient(90deg, rgba(20,11,46,.28), rgba(20,11,46,.06) 47%, rgba(20,11,46,.06) 80%, rgba(20,11,46,.66)); }
.hero-v2 .hero-background { object-position: center; }
.hero-v2 .hero-features { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 20px; margin: 0; width: 100%; align-self: center; }
.hero-v2 .hero-features li { flex: initial; flex-direction: row; align-items: center; padding: 0; gap: 11px; min-width: 0; }
.hero-v2 .hero-feature-icon { width: 38px; height: 40px; border-radius: 12px; background: rgba(144,73,229,.25); border: 1px solid rgba(208,169,255,.2); }
.hero-v2 .hero-feature-icon svg { width: 20px; height: 20px; }
.hero-v2 .hero-feature-text strong { font-size: 12px; font-weight: 700; color: #fff; }
.hero-v2 .hero-feature-text small { display: block; font-size: 10px; line-height: 1.7; color: #d4c4e5; margin-top: 4px; }
.hero-v2 .hero-controls { position: absolute; inset: 0; display: block; pointer-events: none; }
.hero-v2 .hero-controls > * { pointer-events: auto; }
.hero-v2 .hero-nav { position: absolute; top: 50%; transform: translateY(-50%); border: 0; background: transparent; font-size: 28px; }
.hero-v2 .hero-nav:hover { transform: translateY(-50%); background: rgba(116,45,224,.5); }
.hero-v2 .hero-prev { left: 14px; right: auto; }
.hero-v2 .hero-next { right: 14px; left: auto; }
.hero-v2 .hero-dots { position: absolute; right: 34px; left: auto; bottom: 10px; gap: 0; }
.hero-v2 .hero-dot { width: 28px; height: 44px; }
.hero-v2 .hero-dot.is-active::before { width: 8px; }
.hero-v2 .hero-dot::before { width: 7px; height: 7px; }
.hero-v2 .hero-play { position: absolute; right: 134px; bottom: 10px; min-height: 38px; height: 38px; border-radius: 999px; padding: 8px 10px; background: rgba(30,15,55,.3); }
.hero-v2 .hero-play [data-hero-play-label] { font-size: 10px; }
.category-grid { grid-template-columns: repeat(8,minmax(0,1fr)); gap: 12px; }
.category-card { border-radius: 10px; background: #fff; padding-inline: 10px; }
.category-thumb { background: #fff; }
.category-thumb .category-img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal; }
.category-name { font-size: 12px; }
.category-desc { font-size: 10px; }
.product-thumb { background: #fff; }
.product-thumb-img { mix-blend-mode: normal; object-fit: contain; }
.section-shop-row + .section-shop-row { padding-top: 0; }
.standalone-shop-content .product-grid { width: 100%; }
@media(max-width:1100px) {
	.hero-v2 .hero-content { grid-template-columns: 135px minmax(0,1fr) minmax(0,400px); gap: 20px; }
	.hero-v2 .hero-title { font-size: 33px; }
	.hero-v2 .hero-feature-icon { width: 32px; height: 36px; }
	.hero-v2 .hero-feature-text strong { font-size: 11px; }
}
@media(max-width:992px) {
	.hero-v2, .hero-v2 .hero-slide, .hero-v2 .hero-content { min-height: 640px; }
	.hero-v2 .hero-content { grid-template-columns: minmax(0,1fr); gap: 18px; padding: 270px 24px 68px; }
	.hero-v2 .hero-background { height: 290px; object-position: 66% center; }
	.hero-v2 .hero-overlay { background: linear-gradient(180deg,rgba(18,10,39,.05),rgba(18,10,39,.1) 27%,#150c2c 46%,#150c2c); }
	.hero-v2 .hero-text { grid-column: 1; grid-row: 1; }
	.hero-v2 .hero-features { grid-column: 1; grid-row: 2; flex-direction: row; flex-wrap: wrap; gap: 12px 18px; }
	.hero-v2 .hero-feature-text small { display: none; }
	.hero-v2 .hero-feature-icon { width: 28px; height: 30px; }
	.hero-v2 .hero-features li { gap: 7px; }
	.hero-v2 .hero-sub { max-width: none; font-size: 13px; }
	.hero-v2 .hero-title { font-size: 31px; }
	.hero-v2 .hero-nav { top: 145px; }
	.category-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media(max-width:600px) {
	.hero-v2 .hero-content { padding-inline: 20px; }
	.hero-v2 .hero-title { font-size: 29px; }
	.hero-v2 .hero-buttons .btn { flex: 1 1 135px; padding-inline: 12px; font-size: 11px; }
	.hero-v2 .hero-feature-text strong { font-size: 10px; }
	.hero-v2 .hero-features { gap: 10px 13px; }
	.hero-v2 .hero-eyebrow { font-size: 11px; }
	.category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
	.category-card { padding: 12px 8px; }
	.category-name { font-size: 11px; }
}
@media(max-width:360px) {
	.category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.hero-v2 .hero-title { font-size: 27px; }
}

/* 2.23: service cards below the copy; full photograph visible at the left. */
.hero-v2, .hero-v2 .hero-slide, .hero-v2 .hero-content { min-height:580px; }
.hero-v2 { background:#100b1e; }
.hero-v2 .hero-content { grid-template-columns:minmax(0,500px) minmax(0,1fr); gap:36px; padding-block:42px 76px; }
.hero-v2 .hero-text { grid-column:1; grid-row:1; }
.hero-v2 .hero-background { width:100%; height:100%; object-fit:contain; object-position:left bottom; }
.hero-v2 .hero-overlay { background:linear-gradient(90deg,rgba(15,8,31,.02),rgba(15,8,31,.05) 38%,rgba(15,8,31,.72) 62%,#150c2c 100%); }
.hero-v2 .hero-features { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:24px 0 0; width:100%; padding:0; }
.hero-v2 .hero-features li { display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; min-width:0; gap:8px; padding:12px 8px; border:1px solid rgba(230,212,255,.3); border-radius:15px; background:rgba(37,20,67,.65); backdrop-filter:blur(10px); cursor:default; transition:background .2s ease,transform .2s ease,border-color .2s ease; }
.hero-v2 .hero-features li:hover { background:rgba(124,58,237,.55); border-color:rgba(230,212,255,.65); transform:translateY(-3px); }
.hero-v2 .hero-feature-icon { width:34px; height:36px; color:#e2ccff; }
.hero-v2 .hero-feature-icon svg { width:21px; height:21px; }
.hero-v2 .hero-feature-text strong { font-size:12px; font-weight:700; }
.hero-v2 .hero-feature-text small { display:block; font-size:10px; line-height:1.6; margin-top:3px; }
.hero-v2 .hero-dots { right:50%; transform:translateX(50%); }
.features-strip .feature-icon { color:var(--c-primary); }
.features-strip .feature-icon svg { display:block; width:26px; height:26px; }
@media(max-width:1100px) and (min-width:993px) {
 .hero-v2 .hero-content { grid-template-columns:minmax(0,440px) minmax(0,1fr); gap:24px; }
}
@media(max-width:992px) {
 .hero-v2, .hero-v2 .hero-slide, .hero-v2 .hero-content { min-height:0; }
 .hero-v2 .hero-content { grid-template-columns:minmax(0,1fr); gap:0; padding:calc(clamp(230px,75vw,320px) + 24px) 28px 76px; }
 .hero-v2 .hero-background { left:0; right:auto; width:200%; max-width:none; height:clamp(230px,75vw,320px); object-fit:contain; object-position:left bottom; }
 .hero-v2 .hero-overlay { background:linear-gradient(180deg,transparent 0,transparent calc(clamp(230px,75vw,320px) - 24px),#150c2c calc(clamp(230px,75vw,320px) + 8px),#150c2c 100%); }
 .hero-v2 .hero-text { width:100%; max-width:640px; justify-self:center; grid-column:1; grid-row:1; }
 .hero-v2 .hero-features { gap:10px; margin-top:22px; }
 .hero-v2 .hero-features li { padding:12px 8px; }
 .hero-v2 .hero-nav { top:calc(clamp(230px,75vw,320px) / 2); }
}
@media(max-width:600px) {
 .hero-v2 .hero-content { padding-inline:20px; }
 .hero-v2 .hero-feature-text strong { font-size:11px; }
 .hero-v2 .hero-feature-text small { font-size:9px; }
 .hero-v2 .hero-features { gap:8px; }
 .hero-v2 .hero-features li { padding:10px 5px; }
}

/* AramissPC - builder.css (split from main.css; @import order in main.css matters) */

/* Build-your-own-system extras: bullet points + numbered steps. */
.promo-main {
	flex: 1 1 300px;
	min-width: 0;
}

.promo-points {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}

.promo-point {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.92);
	font-size: 13.5px;
}

.promo-point-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
	flex: 0 0 auto;
}

.promo-main .promo-btn {
	margin-top: 20px;
}

.promo-steps {
	flex: 0 1 340px;
	min-width: 0;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--radius);
	padding: 18px 20px;
	backdrop-filter: blur(4px);
}

.promo-steps-title {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 800;
	color: rgba(255, 255, 255, 0.78);
}

.promo-steps-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.promo-step {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.promo-step-num {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #fff;
	color: var(--c-primary-dark);
	font-size: 12.5px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.promo-step-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.promo-step-text strong {
	font-size: 13.5px;
	color: #fff;
}

.promo-step-text small {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.7;
}

.promo-btn {
	flex: 0 0 auto;
}

/* ---------- Build-your-own-system page ---------- */
.build-hero {
	padding: 36px 0 8px;
	background: var(--grad);
	color: #fff;
}

.build-hero-title {
	margin: 0 0 8px;
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 900;
	color: #fff;
}

.build-hero-sub {
	margin: 0;
	max-width: 640px;
	font-size: 14.5px;
	line-height: 1.9;
	color: rgba(255, 255, 255, 0.82);
}

.build-content {
	padding: 12px 0 40px;
	font-size: 14.5px;
	line-height: 2;
	color: var(--c-text);
}

/* ---------- PC builder (configurator) ---------- */
.build-builder-section {
	padding-top: 28px;
}

.builder-notice {
	margin: 0 0 40px;
	padding: 18px 20px;
	border: 1px dashed var(--c-border);
	border-radius: 12px;
	background: var(--c-bg-soft);
	color: var(--c-text-soft);
	font-size: 14px;
	text-align: center;
}

.builder-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 24px;
	align-items: start;
	padding-bottom: 48px;
}

.builder-main {
	min-width: 0;
}

.builder-details-title {
	margin: 0 0 16px;
	text-align: center;
	font-size: 20px;
	font-weight: 900;
	color: var(--c-text);
}

.builder-cats {
	display: block;
	min-width: 0;
}

.builder-cat {
	margin-bottom: 12px;
}

.builder-cat-row {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--c-border);
	border-radius: 14px;
	background: #f4f4f6;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	color: var(--c-text);
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.builder-cat-row:hover {
	background: var(--c-primary-soft);
}

.builder-cat.is-open .builder-cat-row {
	background: var(--c-primary-soft);
	border-color: var(--c-primary);
}

.builder-cat.has-picked .builder-cat-row {
	background: var(--c-primary-soft);
}

.builder-cat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: #fff;
	color: var(--c-text-soft);
	border: 1px solid var(--c-border);
}

.builder-cat.is-open .builder-cat-icon,
.builder-cat.has-picked .builder-cat-icon {
	color: var(--c-primary);
	border-color: var(--c-primary);
}

.builder-cat-label {
	font-weight: 800;
	color: var(--c-text);
}

.builder-cat-picked {
	margin-inline-start: auto;
	font-size: 12px;
	font-weight: 700;
	color: var(--c-primary-dark);
	max-width: 45%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.builder-cat-plus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	flex: 0 0 auto;
	margin-inline-start: auto;
	border-radius: 50%;
	background: var(--c-primary);
	color: #fff;
	transition: transform 0.2s ease, background 0.15s ease;
}

.builder-cat-picked:not([hidden]) + .builder-cat-plus {
	margin-inline-start: 0;
}

.builder-cat.is-open .builder-cat-plus {
	transform: rotate(45deg);
}

.builder-cat-panel {
	padding: 12px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: 14px;
	margin-top: 8px;
}

.builder-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 12px;
}

.builder-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	background: var(--c-bg-soft);
	border: 1.5px solid var(--c-border);
	border-radius: 12px;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.builder-card:hover {
	border-color: var(--c-primary);
	background: #fff;
}

.builder-card.is-selected,
.builder-card:has(.builder-radio:checked) {
	border-color: var(--c-primary);
	background: #fff;
	box-shadow: 0 0 0 1px var(--c-primary);
}

.builder-radio {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.builder-card-media {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	flex: 0 0 auto;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}

.builder-card-media img,
.builder-card-media .product-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.builder-card-media .product-thumb-placeholder svg {
	width: 34px;
	height: 34px;
	color: var(--c-text-soft);
}

.builder-card-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.builder-card-title {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
	color: var(--c-text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.builder-card-price {
	font-size: 12.5px;
	font-weight: 800;
	color: var(--c-primary-dark);
	white-space: nowrap;
}

.builder-card-check {
	position: absolute;
	top: 8px;
	inset-inline-end: 8px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--c-border);
	transition: background 0.15s ease, border-color 0.15s ease;
}

.builder-card.is-selected .builder-card-check,
.builder-card:has(.builder-radio:checked) .builder-card-check {
	background: var(--c-primary);
	border-color: var(--c-primary);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
	background-size: 12px;
	background-repeat: no-repeat;
	background-position: center;
}

.builder-summary {
	position: sticky;
	top: 90px;
	padding: 20px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: 16px;
	box-shadow: var(--shadow);
}

.builder-summary-title {
	margin: 0 0 14px;
	text-align: center;
	font-size: 17px;
	font-weight: 900;
	color: var(--c-text);
}

.builder-summary-total {
	display: block;
	margin-bottom: 14px;
	padding: 14px;
	border-radius: 12px;
	background: var(--c-primary-soft);
	text-align: center;
}

.builder-summary-total strong {
	font-size: 19px;
	font-weight: 900;
	color: var(--c-primary-dark);
	white-space: nowrap;
}

.builder-summary-list {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
}

.builder-summary-list li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px dashed var(--c-border);
	font-size: 12.5px;
}

.builder-summary-list .sum-cat {
	flex: 0 0 auto;
	color: var(--c-text-soft);
}

.builder-summary-list .sum-name {
	min-width: 0;
	font-weight: 700;
	color: var(--c-text);
	text-align: end;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.builder-summary-list li.is-filled .sum-name {
	color: var(--c-primary-dark);
}

.builder-submit {
	width: 100%;
}

.builder-submit:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.builder-summary-note {
	margin: 10px 0 0;
	font-size: 12px;
	color: var(--c-text-soft);
	text-align: center;
}

/* ---------- Picker modal («جزئیات», Aramis PC style) ---------- */
body.arm-modal-open {
	overflow: hidden;
}

.bcd-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(19, 20, 24, 0.55);
	backdrop-filter: blur(2px);
}

.bcd-modal[hidden] {
	display: none;
}

/* Click layer. The dimming itself lives on .bcd-modal, so the overlay can never
   be detached from the dialog beneath it. */
.bcd-modal-scrim {
	position: absolute;
	inset: 0;
	border: 0;
	padding: 0;
	background: transparent;
	cursor: pointer;
}

.bcd-modal-card {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(680px, 100%);
	max-height: min(84vh, 760px);
	background: #fff;
	border-radius: 16px;
	box-shadow: var(--shadow-lg, 0 22px 50px rgba(76, 29, 149, 0.18));
	animation: bcd-pop 0.16s ease-out;
}

@keyframes bcd-pop {
	from {
		transform: scale(0.97);
		opacity: 0;
	}

	to {
		transform: scale(1);
		opacity: 1;
	}
}

.bcd-modal-head {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px 10px;
	background: #fff;
	border-bottom: 1px solid var(--c-border, #ebe7f5);
}

.bcd-modal-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 17px;
	font-weight: 900;
	color: var(--c-text);
}

.bcd-modal-title .builder-cat-icon {
	width: 42px;
	height: 42px;
	color: var(--c-primary);
}

.bcd-modal-title .builder-cat-icon svg {
	width: 24px;
	height: 24px;
}

.bcd-modal-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	flex: 0 0 auto;
	border: 1px solid var(--c-border);
	border-radius: 50%;
	background: #fff;
	color: var(--c-text);
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.bcd-modal-close:hover {
	background: var(--c-primary-soft);
	color: var(--c-primary);
	transform: rotate(90deg);
}

.bcd-modal-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 12px 16px;
}

.bcd-modal .builder-cat-panel {
	padding: 0;
	margin-top: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.bcd-modal .builder-grid {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Each row: media / text / confirm pill on one path. Pure flex (no grid
   areas), so the row cannot collapse into a bare pill. */
.bcd-modal .builder-card {
	display: flex;
	width: 100%;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border: 1px solid var(--c-border, #ebe7f5);
	border-radius: 12px;
	background: #fff;
	transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.bcd-modal .builder-card-media {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	border-radius: 10px;
}

.bcd-modal .builder-card-body {
	flex: 1 1 auto;
	min-width: 0;
}

.bcd-modal .builder-card-title {
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 14px;
	font-weight: 800;
	color: var(--c-text, #211c38);
}

.bcd-modal .builder-card-price {
	display: block;
	margin-top: 3px;
	font-size: 12.5px;
	font-weight: 800;
	color: var(--c-primary-dark, #4c1d95);
}

/* Per-row confirm pill: doubles as the picked-state indicator. */
.bcd-modal .builder-card-btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 9px 16px;
	border-radius: 10px;
	background: var(--c-primary-soft, #ede9fe);
	color: var(--c-primary-dark, #4c1d95);
	font-size: 12.5px;
	font-weight: 900;
	line-height: 1;
	white-space: nowrap;
}

.bcd-modal .builder-card-btn::before {
	content: "انتخاب";
}

.bcd-modal .builder-card.is-selected .builder-card-btn,
.bcd-modal .builder-card:has(.builder-radio:checked) .builder-card-btn {
	background: var(--c-primary, #7c3aed);
	color: #fff;
}

.bcd-modal .builder-card.is-selected .builder-card-btn::before,
.bcd-modal .builder-card:has(.builder-radio:checked) .builder-card-btn::before {
	content: "انتخاب شد";
}

/* The little circle indicator is redundant inside the picker rows. */
.bcd-modal .builder-card-check {
	display: none;
}

.bcd-modal .builder-card.is-selected,
.bcd-modal .builder-card:has(.builder-radio:checked) {
	border-color: var(--c-primary, #7c3aed);
	box-shadow: 0 0 0 1.5px var(--c-primary, #7c3aed);
}

.bcd-modal-foot {
	flex: 0 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding: 12px 16px 14px;
	background: #fff;
	border-top: 1px solid var(--c-border, #ebe7f5);
}

.bcd-sort-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1.5px solid var(--c-border, #ebe7f5);
	border-radius: 11px;
	background: #fff;
	color: var(--c-text, #211c38);
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.bcd-sort-toggle.is-on::after {
	content: '';
	position: absolute;
	top: -4px;
	inset-inline-end: -4px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--c-primary, #7c3aed);
	border: 2px solid #fff;
}

.bcd-sort-menu {
	position: absolute;
	top: calc(100% + 10px);
	bottom: auto;
	left: 50%;
	transform: translateX(-50%);
	max-width: calc(100% - 24px);
	z-index: 5;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 150px;
	padding: 6px;
	background: #fff;
	border: 1px solid var(--c-border, #ebe7f5);
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(19, 20, 24, 0.16);
}

.bcd-sort-menu[hidden] {
	display: none;
}

.bcd-sort-menu button {
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 800;
	color: var(--c-text-soft, #6b7280);
	text-align: right;
	padding: 9px 12px;
	border-radius: 8px;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s ease, color 0.15s ease;
}

.bcd-sort-menu button.is-active {
	background: var(--c-primary-soft, #f5f3ff);
	color: var(--c-primary-dark, #4c1d95);
}

.bcd-controls {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	order: 0;
}

.bcd-filters-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 14px;
	border: 1.5px solid var(--c-border, #ebe7f5);
	border-radius: 11px;
	background: #fff;
	color: var(--c-text, #211c38);
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 800;
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.bcd-filters-toggle[aria-expanded="true"] {
	border-color: var(--c-primary, #7c3aed);
	color: var(--c-primary-dark, #4c1d95);
	background: var(--c-primary-soft, #f5f3ff);
}

.bcd-filters {
	width: 100%;
	box-sizing: border-box;
	padding: 12px;
	border: 1px solid var(--c-border, #ebe7f5);
	border-radius: 12px;
	background: var(--c-bg-soft, #f7f6fb);
	margin-bottom: 12px;
}

.bcd-filters[hidden] {
	display: none;
}

.bcd-filters-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 900;
	color: var(--c-text, #211c38);
}

.bcd-filters-head-tools {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	position: relative;
}

.bcd-filters-head-tools .bcd-sort-toggle {
	width: 30px;
	height: 30px;
	border-radius: 9px;
}

.bcd-filters-reset {
	border: 0;
	background: transparent;
	color: #dc2626;
	font-family: inherit;
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
}

.bcd-filters-brands {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
}

.bcd-filters-brands:empty {
	margin-bottom: 8px;
}

.bcd-filters-chip {
	display: inline-flex;
	align-items: center;
	border: 1.5px solid var(--c-border, #ebe7f5);
	border-radius: 999px;
	background: #fff;
	padding: 6px 12px;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	color: var(--c-text, #211c38);
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.bcd-filters-chip.is-active {
	border-color: var(--c-primary, #7c3aed);
	background: var(--c-primary, #7c3aed);
	color: #fff;
}

.bcd-filters-price {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 8px;
}

.bcd-filters-price label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 11px;
	font-weight: 700;
	color: var(--c-text-soft, #6b7280);
}

.bcd-filters-price input {
	width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	border: 1.5px solid var(--c-border, #ebe7f5);
	border-radius: 10px;
	background: #fff;
	font-family: inherit;
	font-size: 13px;
	color: var(--c-text, #211c38);
}

.bcd-filters-price input:focus {
	outline: none;
	border-color: var(--c-primary, #7c3aed);
}

.bcd-count {
	display: block;
	font-size: 11.5px;
	font-weight: 700;
	color: var(--c-text-soft, #6b7280);
}

.bcd-search {
	flex: 1 1 220px;
	min-width: 0;
	display: block;
	order: 1;
	padding: 10px 14px;
	border: 1.5px solid var(--c-border, #ebe7f5);
	border-radius: 12px;
	background: var(--c-bg-soft, #f7f6fb);
	font-family: inherit;
	font-size: 13.5px;
	color: var(--c-text, #211c38);
	transition: border-color 0.15s ease, background 0.15s ease;
}

.bcd-search::placeholder {
	color: var(--c-text-soft, #6b7280);
}

.bcd-search:focus {
	outline: none;
	border-color: var(--c-primary, #7c3aed);
	background: #fff;
}

.bcd-apply {
	flex: 0 0 auto;
	order: 2;
}

.bcd-apply:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

@media (max-width: 560px) {
	.bcd-modal {
		padding: 0;
	}

	.bcd-modal-card {
		width: 100%;
		height: 100vh;
		height: 100dvh;
		max-height: 100vh;
		max-height: 100dvh;
		border-radius: 0;
	}

	.bcd-modal-foot {
		flex-wrap: wrap;
		gap: 8px;
		padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px));
	}

	.bcd-controls {
		order: 1;
		flex: 1 1 100%;
		justify-content: space-between;
	}

	.bcd-filters-toggle {
		flex: 1 1 100%;
		justify-content: center;
		min-height: 44px;
	}

	.bcd-search {
		order: 2;
		flex: 1 1 auto;
		flex-basis: auto;
		min-height: 44px;
		width: auto;
	}

	.bcd-apply {
		order: 3;
		flex: 0 0 auto;
		width: auto;
		min-height: 44px;
		min-width: 112px;
	}

	.bcd-filters {
		position: relative;
		max-height: 38vh;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	/* Phone: the sort popover becomes a full-width band anchored to the
	   panel box — no half-out clipping, no squeezed options over the inputs. */
	.bcd-sort-toggle,
	.bcd-filters-head-tools {
		position: static;
	}

	.bcd-sort-toggle.is-on::after {
		display: none;
	}

	.bcd-sort-menu {
		position: absolute;
		top: 8px;
		bottom: auto;
		left: -12px;
		right: -12px;
		transform: none;
		min-width: 0;
		max-width: none;
		z-index: 30;
		border-radius: 10px;
	}

	.bcd-sort-menu button {
		font-size: 13px;
		padding: 11px 14px;
	}
}


/* AramissPC - content.css (split from main.css; @import order in main.css matters) */

/* ---------- Double section ---------- */
.section-double {
	padding-top: 12px;
}

	.double-grid {
		display: grid;
		/* In RTL the first column (ready systems) sits on the right and is a bit
		   narrower than the accessories column, matching the reference layout. */
		grid-template-columns: 1fr 1.25fr;
		gap: 34px;
	}

	/* When the accessories column comes first the widths follow the content. */
	.double-grid.double-grid--accessories-first {
		grid-template-columns: 1.25fr 1fr;
	}


.double-col .product-title {
	font-size: 13.5px;
	min-height: 2.4em;
}

.double-col .product-thumb {
	min-height: 160px;
	padding: 14px;
}

/* ---------- Product grid column variants ---------- */
.product-grid.cols-2 {
	grid-template-columns: repeat(2, 1fr);
}

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

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

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

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

.product-grid.cols-4 .product-title,
.product-grid.cols-5 .product-title,
.product-grid.cols-6 .product-title,
.product-grid.grid-compact .product-title {
	font-size: 13px;
	min-height: 2.4em;
}

.product-grid.cols-4 .product-thumb,
.product-grid.cols-5 .product-thumb,
.product-grid.cols-6 .product-thumb,
.product-grid.grid-compact .product-thumb {
	min-height: 150px;
	padding: 12px;
}

/* ---------- Blog ---------- */
.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

/* Elementor posts widget: per-device column counts (inline custom properties). */
.blog-grid.aramiss-posts-grid {
	grid-template-columns: repeat(var(--posts-cols, 3), minmax(0, 1fr));
}

@media (max-width: 1024px) {
	.blog-grid.aramiss-posts-grid {
		grid-template-columns: repeat(var(--posts-cols-tablet, 2), minmax(0, 1fr));
	}
}

@media (max-width: 748px) {
	.blog-grid.aramiss-posts-grid {
		grid-template-columns: repeat(var(--posts-cols-mobile, 1), minmax(0, 1fr));
	}
}

.blog-card,
.post-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1.5px solid var(--c-border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-card:hover,
.post-card:hover {
	transform: translateY(-5px);
	border-color: var(--c-accent);
	box-shadow: var(--shadow);
}

.blog-thumb {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--c-bg-soft);
}

.blog-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.blog-card:hover .blog-thumb img {
	transform: scale(1.06);
}

.blog-body,
.post-card-body {
	padding: 18px 18px 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.blog-meta,
.post-card-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 12px;
	font-size: 12px;
	color: var(--c-text-soft);
	margin-bottom: 8px;
}

.blog-cats {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--c-primary-soft);
	color: var(--c-primary-dark);
	font-size: 11.5px;
	font-weight: 800;
	line-height: 1.9;
	text-decoration: none;
}

.blog-cats:hover {
	background: var(--c-primary);
	color: #fff;
}

.blog-title,
.post-card-title {
	font-size: 16px;
	font-weight: 800;
	margin: 0 0 8px;
	line-height: 1.8;
}

.blog-title a,
.post-card-title a {
	color: var(--c-text);
}

.blog-title a:hover,
.post-card-title a:hover {
	color: var(--c-primary);
}

.blog-excerpt,
.post-card-excerpt {
	font-size: 13.5px;
	color: var(--c-text-soft);
	line-height: 2;
	margin: 0 0 14px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.blog-more {
	margin-top: auto;
	font-size: 13px;
	font-weight: 800;
	color: var(--c-primary);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.blog-more:hover {
	gap: 10px;
}

/* ---------- Footer ---------- */
.site-footer {
	background: #17112e;
	color: rgba(255, 255, 255, 0.78);
	margin-top: 56px;
}

.footer-widgets {
	padding-block: 52px 34px;
}

.footer-widget-area {
	margin-bottom: 30px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
	gap: 34px;
}

.footer-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	margin-bottom: 14px;
}

.footer-logo .logo-mark {
	color: var(--c-accent);
	display: inline-flex;
}

.footer-logo strong {
	font-size: 18px;
	font-weight: 900;
}

.footer-logo .custom-logo {
	max-height: 44px;
}

.footer-desc {
	font-size: 13.5px;
	line-height: 2.1;
	color: rgba(255, 255, 255, 0.62);
	margin-bottom: 18px;
}

.footer-title {
	font-size: 15px;
	font-weight: 800;
	color: #fff;
	margin-bottom: 18px;
	position: relative;
	padding-bottom: 10px;
}

.footer-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	inset-inline-start: 0;
	width: 38px;
	height: 3px;
	border-radius: 3px;
	background: var(--grad-soft);
}

.footer-links {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-links li a,
.footer-links > li > a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 12px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 13.5px;
	font-weight: 600;
	border-radius: 10px;
	transition: color 0.18s ease, background 0.18s ease;
}

/* Bullet dot instead of a padding-shift hover: feedback without layout moves. */
.footer-links li a::before {
	content: '';
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.45;
	transition: background 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}

.footer-links li a:hover,
.footer-links li a:focus-visible {
	color: #fff;
	background: rgba(124, 58, 237, 0.16);
}

.footer-links li a:hover::before,
.footer-links li a:focus-visible::before {
	background: var(--c-accent, #c4b5fd);
	opacity: 1;
	box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.22);
}

.footer-social {
	list-style: none;
	display: flex;
	gap: 10px;
}

.footer-social li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: rgba(255, 255, 255, 0.8);
	font-size: 13px;
	transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.footer-social li a:hover {
	background: var(--c-primary);
	color: #fff;
	transform: translateY(-3px);
}

/* Brand chips: image or default SVG mark fills the circle. */
.footer-social li a.footer-social__chip {
	overflow: hidden;
}

.footer-social li a.footer-social__chip img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.footer-social .arm-social-mark {
	flex: 0 0 auto;
}

.contact-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 13px;
	margin-bottom: 20px;
}

.contact-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13.5px;
}

.contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 12px;
	background: rgba(124, 58, 237, 0.18);
	border: 1px solid rgba(196, 181, 253, 0.28);
	color: #c4b5fd;
	flex: 0 0 auto;
	box-shadow: 0 4px 12px rgba(124, 58, 237, 0.18);
}

.contact-list a {
	color: rgba(255, 255, 255, 0.82);
	transition: color 0.18s ease;
}

.contact-list a:hover,
.contact-list a:focus-visible {
	color: #fff;
}

.footer-newsletter {
	display: flex;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 12px;
	overflow: hidden;
}

.footer-newsletter input[type="email"] {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 12px 16px;
	color: #fff;
	font-family: inherit;
	font-size: 13.5px;
	outline: none;
}

.footer-newsletter input::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

.footer-newsletter button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	border: 0;
	background: var(--grad);
	color: #fff;
	transition: filter 0.2s ease;
}

.footer-newsletter button:hover {
	filter: brightness(1.15);
}

.newsletter-msg {
	margin-top: 10px;
	font-size: 12.5px;
}

.newsletter-msg.is-success {
	color: #4ade80;
}

.newsletter-msg.is-warning {
	color: #fbbf24;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.09);
	padding-block: 18px;
}

.footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}

.copyright {
	margin: 0;
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.55);
}

/* ---------- Back to top ---------- */
.back-to-top {
	position: fixed;
	bottom: 24px;
	inset-inline-end: 24px;
	z-index: 90;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	background: var(--grad);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 26px rgba(124, 58, 237, 0.42);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-to-top:hover {
	background: var(--c-primary-dark);
}

/* ---------- Core content ---------- */
.site-main {
	min-height: 40vh;
	padding-block: 34px;
}

.home-main {
	padding-top: 0;
}

.layout-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 30px;
}

.no-sidebar .layout-with-sidebar {
	grid-template-columns: minmax(0, 1fr);
}

.page-header {
	margin-bottom: 26px;
}

.page-title {
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 900;
	margin-bottom: 8px;
}

.archive-description {
	color: var(--c-text-soft);
	font-size: 14px;
}

.post-list {
	display: grid;
	gap: 22px;
}

.post-card {
	display: flex;
	flex-direction: row;
	background: #fff;
	border: 1.5px solid var(--c-border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.post-card:hover {
	transform: translateY(-4px);
	border-color: var(--c-accent);
	box-shadow: var(--shadow);
}

.post-card-thumb {
	flex: 0 0 250px;
	display: block;
	overflow: hidden;
	background: var(--c-bg-soft);
	min-height: 180px;
}

.post-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card-body {
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
}

.post-card-meta {
	display: flex;
	gap: 14px;
	font-size: 12.5px;
	color: var(--c-text-soft);
	margin-bottom: 8px;
}

.post-card-type {
	background: var(--c-primary-soft);
	color: var(--c-primary-dark);
	padding: 2px 10px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 11.5px;
}

.post-card-title {
	font-size: 17px;
	font-weight: 800;
	margin: 0 0 8px;
	line-height: 1.8;
}

.post-card-title a {
	color: var(--c-text);
}

.post-card-title a:hover {
	color: var(--c-primary);
}

.post-card-excerpt {
	font-size: 13.5px;
	color: var(--c-text-soft);
	line-height: 2;
	margin: 0 0 12px;
}

.blog-more {
	margin-top: auto;
	font-size: 13px;
	font-weight: 800;
	color: var(--c-primary);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: gap 0.2s ease;
}

.blog-more:hover {
	gap: 10px;
}

/* ---------- Single ---------- */
.entry-title {
	font-size: clamp(24px, 3.2vw, 34px);
	font-weight: 900;
	margin-bottom: 10px;
}

.entry-meta {
	display: flex;
	gap: 18px;
	font-size: 13px;
	color: var(--c-text-soft);
	margin-bottom: 22px;
}

.entry-thumbnail {
	margin: 0 auto 26px;
	max-width: min(var(--aramiss-single-thumb, 100%), 100%);
	border-radius: var(--radius);
	overflow: hidden;
}

.entry-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

/* Game covers are square portrait art; cap them so a single game page does
   not turn into a wall of image. `--aramiss-single-thumb` (Customizer)
   overrides the default for game and blog singles alike. */
body.single-aramisspc_game .entry-thumbnail {
	max-width: min(var(--aramiss-single-thumb, 440px), 100%);
}

.entry-content {
	font-size: 15.5px;
	line-height: 2.2;
}

.entry-content > * {
	margin-block: 0 1.1em;
}

.entry-content h2 { font-size: 24px; margin-top: 1.5em; }
.entry-content h3 { font-size: 20px; margin-top: 1.4em; }
.entry-content h4 { font-size: 17px; margin-top: 1.3em; }

.entry-content img {
	border-radius: var(--radius);
}

.entry-content blockquote {
	margin: 26px 0;
	padding: 16px 22px;
	border-inline-start: 4px solid var(--c-primary);
	background: var(--c-primary-soft);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-style: normal;
	color: var(--c-text);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 22px 0;
	display: block;
	overflow-x: auto;
}

.entry-content th,
.entry-content td {
	border: 1px solid var(--c-border);
	padding: 10px 14px;
	text-align: start;
}

.entry-content th {
	background: var(--c-bg-soft);
}

.entry-content a {
	text-decoration: none;
}

.entry-footer {
	margin-top: 28px;
	padding-top: 18px;
	border-top: 1px solid var(--c-border);
}

.post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 30px;
}

.post-navigation a {
	display: block;
	background: #fff;
	border: 1.5px solid var(--c-border);
	border-radius: var(--radius);
	padding: 14px 18px;
	font-weight: 700;
	color: var(--c-text);
	flex: 1;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.post-navigation a:hover {
	border-color: var(--c-accent);
	transform: translateY(-3px);
	color: var(--c-primary);
}

.post-navigation .nav-sub {
	display: block;
	font-size: 12px;
	color: var(--c-text-soft);
	font-weight: 600;
}

/* ---------- Pagination ---------- */
.pagination,
.woocommerce-pagination {
	margin-top: 34px;
}

.pagination .nav-links,
.woocommerce-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: center;
}

.pagination .page-numbers,
.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding-inline: 12px;
	border-radius: 12px;
	border: 1.5px solid var(--c-border);
	background: #fff;
	color: var(--c-text);
	font-size: 14px;
	font-weight: 700;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pagination .page-numbers:hover,
.woocommerce-pagination .page-numbers li a:hover {
	border-color: var(--c-accent);
	color: var(--c-primary);
}

.pagination .page-numbers.current,
.woocommerce-pagination .page-numbers.current {
	background: var(--grad);
	border-color: transparent;
	color: #fff;
}

/* ---------- Sidebar / widgets ---------- */
.widget-area {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.widget {
	background: #fff;
	border: 1.5px solid var(--c-border);
	border-radius: var(--radius);
	padding: 20px;
}

.widget-title {
	font-size: 15.5px;
	font-weight: 800;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--c-primary-soft);
	position: relative;
}

.widget-title::after {
	content: "";
	position: absolute;
	bottom: -2px;
	inset-inline-start: 0;
	width: 42px;
	height: 2px;
	background: var(--c-primary);
}

.widget ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.widget ul li {
	font-size: 13.5px;
}

.widget ul li a {
	color: var(--c-text);
}

.widget ul li a:hover {
	color: var(--c-primary);
}

.widget select {
	width: 100%;
	padding: 10px 12px;
	border: 1.5px solid var(--c-border);
	border-radius: 10px;
	font-family: inherit;
	font-size: 13.5px;
	background: #fff;
	color: var(--c-text);
}

/* ---------- Comments ---------- */
.comments-area {
	margin-top: 44px;
	background: #fff;
	border: 1.5px solid var(--c-border);
	border-radius: var(--radius);
	padding: 26px;
}

.comments-title {
	font-size: 19px;
	font-weight: 800;
	margin-bottom: 22px;
}

.comment-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.comment-list .comment-body {
	border: 1.5px solid var(--c-border);
	border-radius: var(--radius);
	padding: 16px 18px;
	background: var(--c-bg-soft);
}

.comment-list .children {
	list-style: none;
	margin: 14px 0 0;
	padding-inline-start: 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 14px;
}

.comment-author .avatar {
	border-radius: 50%;
}

.comment-metadata {
	font-size: 12px;
	margin-inline-start: auto;
}

.comment-metadata a {
	color: var(--c-text-soft);
}

.comment-content {
	margin-top: 10px;
	font-size: 14px;
	line-height: 2;
}

.reply-link {
	font-size: 12.5px;
	font-weight: 700;
}

.comment-form label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1.5px solid var(--c-border);
	border-radius: 10px;
	font-family: inherit;
	font-size: 14px;
	color: var(--c-text);
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	margin-bottom: 14px;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--c-accent);
	box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.comment-form .form-submit input {
	border: 0;
}

/* ---------- 404 / no results ---------- */
.error-404 {
	text-align: center;
	padding: 50px 20px;
	max-width: 640px;
	margin-inline: auto;
}

.error-code {
	font-size: clamp(70px, 14vw, 130px);
	font-weight: 900;
	line-height: 1;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 10px;
}

.error-title {
	font-size: clamp(22px, 3vw, 30px);
	margin-bottom: 12px;
}

.error-text {
	color: var(--c-text-soft);
	font-size: 14.5px;
	line-height: 2.1;
}

.error-search {
	max-width: 440px;
	margin: 22px auto 26px;
}

.no-results {
	background: #fff;
	border: 1.5px dashed var(--c-border);
	border-radius: var(--radius);
	padding: 34px;
	text-align: center;
}


/* Game catalogue and detailed showcase pages. */
.product-card-game .product-thumb { aspect-ratio:1; padding:0; height:auto; overflow:hidden; background:#150c2c; }
.product-card-game .product-thumb-link { width:100%; height:100%; }
.product-card-game .product-thumb-img { width:100%; height:100%; max-height:none; object-fit:cover; }
.game-information { min-width:0; }
.game-facts { display:grid; gap:9px; margin:14px 0; padding:0; }
.game-facts > div { display:flex; align-items:baseline; justify-content:space-between; gap:12px; border-bottom:1px solid var(--c-border); padding-bottom:9px; }
.game-facts dt { color:var(--c-muted); font-size:11px; font-weight:500; flex-shrink:0; }
.game-facts dd { font-size:12px; font-weight:700; margin:0; overflow-wrap:anywhere; }
.game-summary,.system-summary { color:var(--c-muted); font-size:12px; line-height:2; margin:12px 0; overflow-wrap:anywhere; }
.product-card-game .product-title { min-height:3.2em; margin-bottom:8px; }
.product-card-game .game-facts { margin:8px 0 0; gap:7px; }
.product-card-game .game-facts > div { gap:8px; padding-bottom:7px; }
.product-card-game .game-facts > div:last-child { border:0; padding-bottom:0; }
.product-card-game .game-facts dt { font-size:10px; }
.product-card-game .game-facts dd { font-size:11px; line-height:1.7; }
.product-card .system-summary { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.showcase-detail { padding:36px 0 70px; background:linear-gradient(160deg,#faf7ff,#fff 60%); }
.showcase-back { display:inline-block; font-size:12px; margin-bottom:26px; color:var(--c-primary); }
.showcase-detail-grid { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); align-items:start; gap:48px; }
.showcase-detail h1 { font-size:clamp(26px,3vw,42px); line-height:1.7; margin:10px 0 20px; }
.showcase-eyebrow { color:var(--c-primary); font-size:12px; font-weight:700; }
.showcase-detail-art { margin:0; padding:0; aspect-ratio:1; border-radius:24px; overflow:hidden; border:1px solid var(--c-border); background:#fff; }
.showcase-detail-art img { display:block; width:100%; height:100%; object-fit:cover; max-width:100%; }
.assembled-detail .showcase-detail-art img { object-fit:contain; }
.showcase-detail .game-summary,.system-description { font-size:14px; line-height:2.2; color:var(--c-muted); }
.showcase-detail .game-facts { padding:18px 22px; border:1px solid var(--c-border); border-radius:18px; background:#fff; }
.showcase-detail .game-facts dt,.showcase-detail .game-facts dd { font-size:13px; }
.showcase-detail .game-facts > div:last-child { border:0; padding-bottom:0; }
.showcase-specs { padding:18px 22px; margin:20px 0; border-radius:18px; background:#f2edfb; font-size:14px; line-height:2; overflow-wrap:anywhere; }
.showcase-specs h2 { font-size:17px; }
.showcase-detail-price { color:var(--c-primary); font-size:19px; font-weight:800; }
.showcase-extra { margin-top:40px; padding:28px; border:1px solid var(--c-border); border-radius:20px; background:#fff; }
.showcase-extra h2 { font-size:21px; }
@media(max-width:768px) {
 .showcase-detail-grid { grid-template-columns:minmax(0,1fr); gap:26px; }
 .showcase-detail-art { max-width:540px; width:100%; justify-self:center; grid-row:1; }
 .showcase-detail { padding-top:24px; }
 .showcase-extra { padding:20px; }
}
@media(max-width:480px) {
 .section-games .product-grid,.game-list-page .product-grid { grid-template-columns:minmax(0,1fr); }
 .showcase-detail .game-facts { padding:16px; }
}
.showcase-detail-art { position:relative; }
.showcase-detail-art img { position:absolute; inset:0; width:100%; height:100%; max-height:none; }
.showcase-detail-art .product-thumb-placeholder { display:flex; align-items:center; justify-content:center; width:100%; height:100%; }
/* One catalogue search, with a native, keyboard-friendly sort control. */
.games-toolbar{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;padding:20px;margin:0 0 26px;background:#f8f5ff;border:1px solid #e6ddf4;border-radius:16px}
.games-toolbar label{display:block;font-size:13px;font-weight:700;margin-bottom:8px;color:#302143}
.games-search{flex:1 1 280px;min-width:0}.games-sort{flex:0 1 170px;min-width:0}
.games-toolbar input[type=search],.games-toolbar select{width:100%;min-height:48px;border:1px solid #d9cbe9;border-radius:10px;background:#fff;color:#241637;font:inherit;padding:10px 14px;box-sizing:border-box}
.games-toolbar select{padding-inline-end:36px}.games-toolbar input:focus,.games-toolbar select:focus{outline:3px solid #dfccfa;outline-offset:2px}
.games-toolbar .btn{min-height:48px;white-space:nowrap}.games-reset{padding:12px 4px;font-size:13px}.games-empty{padding:28px;border:1px solid #e8e0f2;border-radius:14px;text-align:center}
@media(max-width:600px){.games-toolbar{padding:16px;gap:12px}.games-search{flex-basis:100%}.games-sort{flex:1 1 140px}.games-toolbar .btn{flex:1 1 130px}.games-reset{flex-basis:100%;text-align:center}}

/* AramissPC - woo-store.css (split from main.css; @import order in main.css matters) */

/* ==========================================================================
   WooCommerce
   ========================================================================== */
.woocommerce-main {
	padding-block: 30px;
}

body.woocommerce-account .woocommerce-main {
	padding-block: 18px;
}

/* Account page wrapper: the login card fills more of the screen, no wide
   empty frame around it. */
body.woocommerce-account .woocommerce-main .col2-set,
body.woocommerce-account .woocommerce-main #customer_login {
	padding: 0;
}

.wc-container {
	max-width: var(--container);
}

.woocommerce-breadcrumb {
	font-size: 13px;
	color: var(--c-text-soft);
	margin-bottom: 22px;
}

.woocommerce-breadcrumb a {
	color: var(--c-text-soft);
}

.woocommerce-breadcrumb a:hover {
	color: var(--c-primary);
}

.woocommerce-breadcrumb .sep {
	margin-inline: 6px;
	opacity: 0.6;
}

/* Shop / category header — a modern gradient banner with a decorative
   circle pattern, instead of a bare page title. Shared with the static
   page hero below so About / Contact match the store pages. */
.woocommerce .woocommerce-products-header,
.single-page .page-hero {
	position: relative;
	overflow: hidden;
	margin: 0 0 28px;
	padding: 46px 32px;
	border-radius: var(--radius-lg);
	background: var(--grad);
	color: #fff;
	text-align: center;
}

.woocommerce .woocommerce-products-header::before,
.woocommerce .woocommerce-products-header::after,
.single-page .page-hero::before,
.single-page .page-hero::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.woocommerce .woocommerce-products-header::before,
.single-page .page-hero::before {
	width: 260px;
	height: 260px;
	top: -110px;
	inset-inline-end: -70px;
	background: rgba(255, 255, 255, 0.09);
}

.woocommerce .woocommerce-products-header::after,
.single-page .page-hero::after {
	width: 170px;
	height: 170px;
	bottom: -85px;
	inset-inline-start: 7%;
	background: rgba(255, 255, 255, 0.06);
}

.woocommerce .woocommerce-products-header .page-title,
.single-page .page-hero-title {
	position: relative;
	z-index: 1;
	margin: 0;
	color: #fff;
	font-size: clamp(24px, 3.8vw, 34px);
	font-weight: 900;
	text-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}

.woocommerce .woocommerce-products-header .term-description {
	position: relative;
	z-index: 1;
	margin: 10px auto 0;
	max-width: 720px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 14px;
	line-height: 2;
}

.woocommerce .woocommerce-products-header .term-description p {
	margin: 0;
}

/* Default archive header markup (bare h1 + description from the
   woocommerce.php catch-all) is replaced by the theme's store hero. */
body.woocommerce .woocommerce-main > .page-title,
body.woocommerce .woocommerce-main .woocommerce-products-header,
body.woocommerce .woocommerce-main .term-description,
body.woocommerce .woocommerce-main .page-description {
	display: none !important;
}

/* Store hero — our own banner for every product archive: gradient,
   decorative circles, product-count pill, one big Persian title. */
.wc-store-hero {
	position: relative;
	overflow: hidden;
	margin: 0 0 26px;
	padding: 30px 30px 28px;
	border-radius: var(--radius-lg);
	background: var(--grad);
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}

.wc-store-hero::before,
.wc-store-hero::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.wc-store-hero::before {
	width: 260px;
	height: 260px;
	top: -110px;
	inset-inline-end: -70px;
	background: rgba(255, 255, 255, 0.09);
}

.wc-store-hero::after {
	width: 170px;
	height: 170px;
	bottom: -85px;
	inset-inline-start: 7%;
	background: rgba(255, 255, 255, 0.06);
}

.wc-store-hero .wc-store-hero-count {
	position: relative;
	z-index: 1;
	padding: 3px 16px;
	border: 1.5px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 2;
}

.wc-store-hero .wc-store-hero-title {
	position: relative;
	z-index: 1;
	margin: 0;
	color: #fff;
	font-size: clamp(24px, 3.8vw, 34px);
	font-weight: 900;
	text-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}

/* Description card under the hero: term description, shop page body or the
   Elementor deck the merchant designed for the shop page. */
.wc-store-page-content {
	background: #fff;
	border: 1.5px solid var(--c-border);
	border-radius: var(--radius-lg);
	padding: 20px 26px;
	margin: 0 0 26px;
	box-shadow: var(--shadow-sm);
	font-size: 14.5px;
	line-height: 2.1;
	color: var(--c-text);
	max-width: 100%;
	overflow-x: auto;
}

.wc-store-page-content.wc-store-page-content-wide {
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	overflow-x: auto;
}

.wc-store-page-content > :first-child {
	margin-top: 0;
}

.wc-store-page-content > :last-child {
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.wc-store-hero {
		padding: 24px 18px 22px;
		gap: 10px;
		margin-bottom: 20px;
	}

	.wc-store-hero .wc-store-hero-title {
		font-size: clamp(20px, 4.6vw, 26px);
	}

	.wc-store-hero .wc-store-hero-count {
		font-size: 12px;
		padding: 3px 14px;
	}

	.wc-store-page-content {
		padding: 14px 18px;
		font-size: 13.5px;
		margin-bottom: 20px;
	}
}

/* Static page body (About / Contact / …) — a clean white card. */
.single-page .page-body {
	background: #fff;
	border: 1.5px solid var(--c-border);
	border-radius: var(--radius-lg);
	padding: 34px 38px;
	box-shadow: var(--shadow-sm);
}

.single-page .page-body .entry-thumbnail {
	margin: 0 0 24px;
}

.single-page .page-body .entry-content > :first-child {
	margin-top: 0;
}

.single-page .page-body .entry-content > :last-child {
	margin-bottom: 0;
}

/* Result count + ordering — one modern toolbar row above the grid. */
.woocommerce .woocommerce-result-count {
	font-size: 13px;
	color: var(--c-text-soft);
	margin: 0;
	align-self: center;
}

.woocommerce .woocommerce-ordering {
	margin: 0;
}

.woocommerce .woocommerce-ordering select {
	padding: 10px 14px;
	border: 1.5px solid var(--c-border);
	border-radius: 10px;
	font-family: inherit;
	font-size: 13.5px;
	background: #fff;
	color: var(--c-text);
	cursor: pointer;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	display: inline-block;
	vertical-align: middle;
	float: none;
	margin-bottom: 22px;
	padding: 10px 16px;
	background: #fff;
	border: 1.5px solid var(--c-border);
	border-radius: 12px;
	box-shadow: var(--shadow-sm);
}

.woocommerce .woocommerce-ordering {
	float: none;
	margin-inline-start: 12px;
}

.woocommerce .woocommerce-ordering select {
	border: 0;
	padding: 0 4px;
}

/* Product loop */
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(var(--arm-shop-cols-lg, 4), 1fr);
	gap: 18px;
	margin: 0 0 34px;
	padding: 0;
	list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

/* The reset must out-rank WooCommerce's own
   `ul.products[class*=columns-] li.product { width: 22.05% }` float-layout
   rules — inside the grid those widths shrink every card to ~22% and pin it
   to the start edge of its track, which is exactly the "not centered" look. */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0;
	background: #fff;
	border: 1.5px solid var(--c-border);
	border-radius: var(--radius);
	overflow: hidden;
	text-align: center;
	float: none !important;
	min-height: unset;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.woocommerce ul.products li.product:hover {
	transform: translateY(-6px);
	border-color: var(--c-accent);
	box-shadow: var(--shadow);
}

.woocommerce ul.products li.product a {
	display: block;
	text-decoration: none;
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
	/* Flex column so leftover row height lands inside the image box
	   (gradient fill) instead of a dead white gap between image and title. */
	display: flex;
	flex-direction: column;
	height: 100%;
}

.woocommerce ul.products li.product img {
	width: 100%;
	max-height: 210px;
	/* Absorb extra card height so cards look full, not hollow. */
	flex: 1 1 auto;
	min-height: 150px;
	object-fit: contain;
	margin: 0;
	padding: 18px;
	background: linear-gradient(180deg, #faf9ff 0%, #f2effc 100%);
	border-radius: 0;
	transition: transform 0.3s ease;
	mix-blend-mode: multiply;
}

.woocommerce ul.products li.product:hover img {
	transform: scale(1.05);
}

.woocommerce ul.products li.product .onsale {
	position: absolute;
	top: 12px;
	inset-inline-start: 12px;
	z-index: 3;
	padding: 4px 14px;
	border-radius: 999px;
	background: var(--c-danger);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.8;
	min-height: unset;
	min-width: unset;
	letter-spacing: 0;
	box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 14.5px;
	font-weight: 800;
	color: var(--c-text);
	padding: 14px 16px 4px;
	margin: 0;
	line-height: 1.75;
	min-height: 2.6em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title:hover {
	color: var(--c-primary);
}

.woocommerce ul.products li.product .price {
	color: var(--c-text);
	font-size: 15.5px;
	font-weight: 900;
	padding: 4px 14px 0;
	display: block;
	margin-bottom: 4px;
}

.woocommerce ul.products li.product .price del {
	color: var(--c-text-soft);
	opacity: 0.75;
	font-size: 13px;
	font-weight: 600;
	margin-inline-end: 6px;
}

.woocommerce ul.products li.product .price ins {
	text-decoration: none;
	color: var(--c-primary);
}

.woocommerce ul.products li.product .price .from {
	font-size: 12.5px;
	color: var(--c-text-soft);
}

.woocommerce ul.products li.product .star-rating {
	margin: 4px auto 6px;
	display: block;
	width: fit-content;
	color: var(--c-star);
}

.woocommerce ul.products li.product .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 10px 16px 18px;
	margin-top: auto; /* keeps the button on the card floor on tall rows */
	padding: 10px 16px;
	border-radius: 10px;
	background: var(--grad);
	color: #fff;
	font-size: 13.5px;
	font-weight: 700;
	font-family: inherit;
	border: 0;
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	box-shadow: 0 6px 16px rgba(124, 58, 237, 0.25);
}

.woocommerce ul.products li.product .button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(124, 58, 237, 0.4);
}

.woocommerce ul.products li.product .button.added {
	background: var(--c-success);
}

.woocommerce ul.products .loop-above-thumbnail {
	padding-top: 6px;
}

/* Single product */
.woocommerce div.product {
	margin-bottom: 0;
	background: #fff;
	border: 1.5px solid var(--c-border);
	border-radius: var(--radius);
	padding: 26px;
}

.woocommerce div.product .product_title {
	font-size: clamp(21px, 2.6vw, 28px);
	font-weight: 900;
	margin-bottom: 12px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--c-primary);
	font-size: 24px;
	font-weight: 900;
	margin: 12px 0 18px;
	display: block;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
	color: var(--c-text-soft);
	opacity: 0.7;
	font-size: 17px;
	font-weight: 600;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
	text-decoration: none;
}

.woocommerce div.product .woocommerce-product-rating {
	margin-bottom: 18px;
	display: flex;
	gap: 10px;
	align-items: center;
}

.woocommerce div.product form.cart {
	margin: 22px 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.woocommerce div.product form.cart div.quantity {
	display: flex;
	align-items: center;
	border: 1.5px solid var(--c-border);
	border-radius: 12px;
	overflow: hidden;
}

.woocommerce div.product form.cart .qty {
	border: 0;
	border-radius: 0;
	height: 46px;
	width: 68px;
	text-align: center;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	color: var(--c-text);
	background: #fff;
	margin: 0;
	padding: 0;
}

.woocommerce div.product form.cart .qty:focus {
	outline: none;
}

.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart button.single_add_to_cart_button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--grad);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 12px 30px;
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(124, 58, 237, 0.28);
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
	background: linear-gradient(135deg, #8b5cf6 0%, var(--c-primary-dark) 100%);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(124, 58, 237, 0.4);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 6px;
	padding: 0;
	margin: 30px 0 0;
	border-bottom: 1.5px solid var(--c-border);
	list-style: none;
	flex-wrap: wrap;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	padding: 0;
	background: transparent;
	border: 0;
	float: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 12px 22px;
	font-size: 14px;
	font-weight: 800;
	color: var(--c-text-soft);
	border-bottom: 3px solid transparent;
	margin-bottom: -1.5px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--c-primary);
	border-bottom-color: var(--c-primary);
}

.woocommerce div.product .woocommerce-tabs .panel {
	margin: 22px 0;
	font-size: 15px;
	line-height: 2.1;
	color: var(--c-text);
}

.woocommerce div.product .related.products {
	margin-top: 40px;
}

.woocommerce div.product .related.products h2 {
	font-size: 21px;
	font-weight: 900;
	margin-bottom: 20px;
}

/* Single product layout: gallery and summary on one clean path */
.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, var(--arm-single-share, 46%)) minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	float: none;
	width: 100%;
	margin: 0;
}

.woocommerce div.product div.summary > *:first-child {
	margin-top: 0;
}

.woocommerce div.product .woocommerce-product-gallery {
	position: relative;
	border: 1.5px solid var(--c-border);
	border-radius: 14px;
	background: #fff;
	padding: 10px;
	overflow: hidden;
}

.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
	margin: 0;
	max-width: 100%;
}

.woocommerce div.product .woocommerce-product-gallery img {
	width: 100%;
	max-height: 440px;
	object-fit: contain;
	border-radius: 10px;
	background: #fff;
}

.woocommerce div.product .woocommerce-product-gallery .onsale {
	position: absolute;
	top: 18px;
	inset-inline-start: 18px;
	z-index: 3;
	margin: 0;
	padding: 5px 13px;
	background: var(--c-primary);
	color: #fff;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
}

.woocommerce div.product .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	margin: 10px 0 0;
	list-style: none;
}

.woocommerce div.product .flex-control-thumbs li {
	float: none;
	width: 72px;
	height: 64px;
	overflow: hidden;
	border-radius: 9px;
}

.woocommerce div.product .flex-control-thumbs li img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.78;
	border: 1.5px solid var(--c-border);
	border-radius: 9px;
	background: #fff;
	cursor: pointer;
}

.woocommerce div.product .flex-control-thumbs li .flex-active {
	opacity: 1;
	border-color: var(--c-primary);
}

.woocommerce div.product .woocommerce-product-details__short-description {
	font-size: 14px;
	line-height: 2;
	color: var(--c-text-soft);
	margin-bottom: 14px;
}

.woocommerce div.product p.stock,
.woocommerce div.product .stock {
	font-weight: 700;
	font-size: 13px;
	margin-bottom: 6px;
}

.woocommerce div.product .stock.in-stock {
	color: #16a34a;
}

.woocommerce div.product .stock.out-of-stock {
	color: #dc2626;
}

.woocommerce div.product form.variations_form {
	width: 100%;
}

.woocommerce div.product table.variations,
.woocommerce div.product form.variations_form table {
	border: 0;
	width: auto;
}

.woocommerce div.product table.variations th,
.woocommerce div.product table.variations td,
.woocommerce div.product table.variations label {
	border: 0;
	padding: 4px 10px 4px 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--c-text);
	background: transparent;
	vertical-align: middle;
}

.woocommerce div.product table.variations select {
	padding: 9px 12px;
	border: 1.5px solid var(--c-border);
	border-radius: 11px;
	background: #fff;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--c-text);
	cursor: pointer;
}

.woocommerce div.product table.variations select:focus {
	outline: none;
	border-color: var(--c-primary);
}

.woocommerce div.product .reset_variations {
	font-size: 12px;
	color: var(--c-text-soft);
	font-weight: 700;
}

.woocommerce div.product .woocommerce-variation-price {
	margin: 8px 0 12px;
}

.woocommerce div.product .product_meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	padding-top: 16px;
	margin-top: 18px;
	border-top: 1px dashed var(--c-border);
	font-size: 12.5px;
	color: var(--c-text-soft);
}

.woocommerce div.product .product_meta a {
	color: var(--c-primary);
	font-weight: 700;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
	flex: 1 1 220px;
	min-height: 48px;
}

/* Cart & checkout tables */
.woocommerce table.shop_table {
	border: 1.5px solid var(--c-border);
	border-radius: var(--radius);
	overflow: hidden;
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
	margin-bottom: 26px;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	border-bottom: 1px solid var(--c-border);
	padding: 14px 16px;
	font-size: 14px;
	text-align: start;
	vertical-align: middle;
}

.woocommerce table.shop_table thead th {
	background: var(--c-primary-soft);
	color: var(--c-primary-dark);
	font-weight: 800;
	font-size: 13px;
}

.woocommerce table.shop_table thead th:first-child {
	border-start-start-radius: var(--radius);
}

.woocommerce table.shop_table thead th:last-child {
	border-start-end-radius: var(--radius);
}

.woocommerce table.shop_table tbody tr:last-child td:first-child {
	border-end-start-radius: var(--radius);
}

.woocommerce table.shop_table tbody tr:last-child td:last-child {
	border-end-end-radius: var(--radius);
}

.woocommerce table.shop_table tbody tr:last-child td {
	border-bottom: 0;
}

.woocommerce-cart .cart-collaterals .cart_totals {
	background: #fff;
	border: 1.5px solid var(--c-border);
	border-radius: var(--radius);
	padding: 22px;
}

.woocommerce-cart .cart-collaterals .cart_totals h2 {
	font-size: 18px;
	font-weight: 900;
	margin-bottom: 16px;
}

.woocommerce form .form-row {
	margin-bottom: 16px;
}

.woocommerce form .form-row label {
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 6px;
	display: block;
	color: var(--c-text);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	padding: 12px 15px;
	border: 1.5px solid var(--c-border);
	border-radius: 10px;
	font-family: inherit;
	font-size: 14px;
	color: var(--c-text);
	background: #fff;
	width: 100%;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
	outline: none;
	border-color: var(--c-accent);
	box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

/* Notices — rounded, colored cards with an accent edge at the reading start */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	background: #fff;
	border: 1.5px solid var(--c-border);
	border-inline-start-width: 4px;
	border-radius: 12px;
	box-shadow: var(--shadow-sm);
	padding: 13px 18px;
	padding-inline-start: 48px;
	margin-bottom: 18px;
	font-size: 14px;
	line-height: 1.9;
	list-style: none;
	position: relative;
	overflow-wrap: break-word;
}

.woocommerce-message li,
.woocommerce-info li,
.woocommerce-error li {
	margin: 0;
	list-style: none;
	display: block;
	text-align: start;
}

.woocommerce-error {
	background: #fff5f5;
	border-color: #fecaca;
	border-inline-start-color: var(--c-danger);
}

.woocommerce-info {
	background: #f8f7ff;
	border-color: #ddd6fe;
	border-inline-start-color: var(--c-primary);
}

.woocommerce-message {
	background: #f0fdf4;
	border-color: #bbf7d0;
	border-inline-start-color: var(--c-success);
}

/* Notice buttons (تأیید نشانی ایمیل, مشاهدهٔ محصولات, …): the sentence
   flows first and the button drops BELOW it on its own start-aligned
   line — never cramped on one row and never floating above the text. */
.woocommerce-message:has(.button),
.woocommerce-info:has(.button),
.woocommerce-error:has(.button) {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	float: none !important;
	margin: 0;
}

/* Persian toast (AJAX add-to-cart feedback) */
.arm-toast {
	position: fixed;
	bottom: 24px;
	inset-inline-start: 50%;
	transform: translateX(50%) translateY(16px);
	z-index: 300;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: 999px;
	background: var(--c-text);
	color: #fff;
	font-size: 13.5px;
	font-weight: 700;
	box-shadow: 0 10px 30px rgba(20, 14, 45, 0.3);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	pointer-events: none;
}

.arm-toast.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateX(50%) translateY(0);
}

.arm-toast--success {
	background: var(--c-success, #16a34a);
}

.arm-toast--error {
	background: var(--c-danger, #dc2626);
}

.product-card-btn.is-loading {
	opacity: 0.65;
	pointer-events: none;
}

.product-card-btn.is-loading::after {
	content: "";
	width: 14px;
	height: 14px;
	margin-inline-start: 6px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: arm-spin 0.7s linear infinite;
	display: inline-block;
	vertical-align: -2px;
}

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

.woocommerce-message {
	border-top-color: var(--c-success);
}

.woocommerce-error {
	border-top-color: var(--c-danger);
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	position: absolute;
	top: 13px;
	inset-inline-start: 16px;
	font-size: 18px;
	line-height: 1;
	font-weight: 900;
}

.woocommerce-message::before {
	content: "\2713";
	color: var(--c-success);
}

.woocommerce-error::before {
	content: "\2715";
	color: var(--c-danger);
}

.woocommerce-info::before {
	content: "i";
	color: var(--c-primary);
}

.woocommerce-message::before,
.woocommerce-error::before {
	margin: 0;
}

a.remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #fee2e2;
	color: var(--c-danger) !important;
	font-weight: 900;
	line-height: 1;
}

a.remove:hover {
	background: var(--c-danger);
	color: #fff !important;
}

/* Empty states */
.woocommerce .wc-empty-products,
.woocommerce .cart-empty {
	text-align: center;
	padding: 44px 20px;
	color: var(--c-text-soft);
	font-size: 15px;
}

/* My account */
.woocommerce-account .woocommerce-MyAccount-navigation {
	margin-bottom: 24px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	background: #fff;
	border: 1.5px solid var(--c-border);
	border-radius: var(--radius);
	overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
	border-bottom: 1px solid var(--c-border);
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
	border-bottom: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 13px 18px;
	font-size: 14px;
	font-weight: 700;
	color: var(--c-text);
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
	background: var(--c-primary-soft);
	color: var(--c-primary-dark);
}

.woocommerce-account .woocommerce-MyAccount-content {
	background: #fff;
	border: 1.5px solid var(--c-border);
	border-radius: var(--radius);
	padding: 24px;
}

/* Star rating (WooCommerce generates spans with ★) */
.star-rating span::before {
	color: var(--c-star);
}

p.stars a {
	color: var(--c-star);
}

/* Sale flash on featured card thumbnails — hide default duplicate when custom badge present */
.product-card .woocommerce-sale-flash {
	display: none;
}

/* AJAX loading state */
.woocommerce.loading .woocommerce-result-count {
	opacity: 0.5;
}


/* Contain WooCommerce's direct-child sale badge inside the product panel. */
.woocommerce div.product { position: relative; }
.woocommerce div.product > .onsale {
	top: 16px;
	right: 16px;
	left: auto;
	bottom: auto;
	margin: 0;
	z-index: 2;
}

/* AramissPC - woo-pages.css (split from main.css; @import order in main.css matters) */

/* ==========================================================================
   Store pages: cart, checkout, login / registration, my account
   Selectors are body-class prefixed where WooCommerce ships its own layout so
   the theme always wins the cascade.
   ========================================================================== */

/* ---------- Shared: headings inside store forms ---------- */
.woocommerce-checkout .woocommerce h3,
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-account .woocommerce-MyAccount-content fieldset legend {
	font-size: 16.5px;
	font-weight: 900;
	margin: 0 0 16px;
	padding: 0 0 10px;
	border-bottom: 1px solid var(--c-border);
	color: var(--c-text);
	display: block;
	width: 100%;
}

.woocommerce fieldset {
	border: 0;
	margin: 0 0 20px;
	padding: 0;
	min-width: 0;
}

.woocommerce legend {
	border: 0;
	padding: 0;
}

/* ---------- Checkout: two-column customer details ---------- */
body.woocommerce-checkout .col2-set {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 30px;
	float: none;
	overflow: visible;
	width: 100%;
}

body.woocommerce-checkout .col2-set::before,
body.woocommerce-checkout .col2-set::after {
	content: none;
}

body.woocommerce-checkout .col2-set .col-1,
body.woocommerce-checkout .col2-set .col-2 {
	float: none;
	width: auto;
	min-width: 0;
}

/* ---------- My account: login first; the register form is revealed on demand ---------- */
body.woocommerce-account #customer_login,
body.woocommerce-account .u-columns {
	float: none;
	width: 100%;
	overflow: visible;
}

body.woocommerce-account #customer_login::before,
body.woocommerce-account #customer_login::after,
body.woocommerce-account .u-columns::before,
body.woocommerce-account .u-columns::after {
	content: none;
	display: none;
}

body.woocommerce-account .u-column1,
body.woocommerce-account .u-column2,
body.woocommerce-account #customer_login .col-1,
body.woocommerce-account #customer_login .col-2 {
	float: none;
	width: 100%;
	min-width: 0;
	margin: 0;
}

body.woocommerce-account .u-column2,
body.woocommerce-account #customer_login .col-2 {
	margin-top: 34px;
}

/* Login / register cards: centered headings, labels and links like a real
   card, with the inputs themselves still reading start-aligned. */
body.woocommerce-account #customer_login form.login,
body.woocommerce-account #customer_login form.register,
body.woocommerce-account #customer_login form.woocommerce-form-login,
body.woocommerce-account #customer_login form.woocommerce-form-register {
	text-align: center;
}

body.woocommerce-account #customer_login form.login label,
body.woocommerce-account #customer_login form.register label,
body.woocommerce-account #customer_login form.woocommerce-form-login label,
body.woocommerce-account #customer_login form.woocommerce-form-register label {
	display: block;
	text-align: start;
}

/* (The old ".form-row:last-of-type" pair rules lived here — inert, because
   the hidden lost_password p is the actual last p in form.login. The real
   remember-row rules sit with the login-form section below.) */

body.woocommerce-account #customer_login form.login input.input-text,
body.woocommerce-account #customer_login form.register input.input-text,
body.woocommerce-account #customer_login form.woocommerce-form-login input.input-text,
body.woocommerce-account #customer_login form.woocommerce-form-register input.input-text {
	text-align: start;
}

/* Toggle below the login form: "ثبت‌نام نکرده‌اید؟". Pressing it reveals the
   register form (JS adds .arm-register-open on #customer_login). */
.arm-login-register-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin: 34px 0 0;
	padding: 13px 16px;
	border: 1.5px dashed var(--c-border, #ebe7f5);
	border-radius: 12px;
	background: var(--c-bg-soft, #f7f6fb);
	color: var(--c-primary-dark, #4c1d95);
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 900;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.arm-login-register-cta:hover {
	border-color: var(--c-primary, #7c3aed);
	background: var(--c-primary-soft, #ede9fe);
}

/* Login/register behave like tabs: whichever block carries [hidden] stays away. */
#customer_login .u-column1[hidden],
#customer_login .col-1[hidden],
#customer_login .u-column2[hidden],
#customer_login .col-2[hidden] {
	display: none;
}

/* Startup state: only the login form paints. JS shows the register column by
   adding .arm-register-open on #customer_login, so late scripts or caching
   plugins can never flash both forms on load. */
body.woocommerce-account #customer_login:not(.arm-register-open) .u-column2,
body.woocommerce-account #customer_login:not(.arm-register-open) .col-2 {
	display: none;
}

.arm-register-back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 0 0 14px;
	padding: 11px 16px;
	border: 0;
	border-radius: 10px;
	background: var(--c-bg-soft, #f7f6fb);
	color: var(--c-text-soft, #6b7280);
	font-family: inherit;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.arm-register-back:hover {
	background: var(--c-primary-soft, #ede9fe);
	color: var(--c-primary-dark, #4c1d95);
}

/* Phone field on the registration form. */
#customer_login .form-row[data-arm-phone-row] {
	margin-bottom: 18px;
}

#customer_login .form-row[data-arm-phone-row] label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 800;
	color: var(--c-text, #211c38);
}

#customer_login .form-row[data-arm-phone-row] .required {
	color: var(--c-danger, #dc2626);
	text-decoration: none;
}

#customer_login .form-row[data-arm-phone-row] input[type="tel"] {
	width: 100%;
	margin: 0;
	padding: 11px 14px;
	border: 1.5px solid var(--c-border, #ebe7f5);
	border-radius: 10px;
	background: var(--c-bg-soft, #f7f6fb);
	font-family: inherit;
	font-size: 14px;
	color: var(--c-text, #211c38);
	box-sizing: border-box;
}

#customer_login .form-row[data-arm-phone-row] input[type="tel"]:focus {
	outline: none;
	border-color: var(--c-primary, #7c3aed);
	background: #fff;
}

.arm-phone-hint {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.8;
	color: var(--c-text-soft, #6b7280);
}

#customer_login .col-2:focus,
#customer_login .u-column2:focus {
	outline: none;
}

@keyframes arm-flash {
	0% {
		box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.45);
	}

	60% {
		box-shadow: 0 0 0 8px rgba(124, 58, 237, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(124, 58, 237, 0);
	}
}

#customer_login .is-flash {
	animation: arm-flash 1.4s ease;
}

/* Centered login card on the account page. */
body.woocommerce-account #customer_login {
	max-width: 520px;
	margin-inline: auto;
}

/* Recovery shortcuts under the login form. */
.arm-forgot-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	align-items: center;
	justify-content: center;
	margin: 12px 0 0;
	font-size: 12.5px;
	font-weight: 700;
}

.arm-forgot-links a {
	color: var(--c-text-soft, #6b7280);
	text-decoration: none;
	transition: color 0.15s ease;
}

.arm-forgot-links a:hover {
	color: var(--c-primary-dark, #4c1d95);
	text-decoration: none;
}

/* ---------- OTP page (phone login / forgot password / forgot username) ---------- */
.otp-page {
	padding: 36px 0 64px;
}

.arm-otp {
	max-width: 480px;
	margin-inline: auto;
}

.arm-otp-head {
	text-align: center;
	margin-bottom: 20px;
}

.arm-otp-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--c-primary-soft, #f5f3ff);
	color: var(--c-primary, #7c3aed);
	margin-bottom: 10px;
}

.arm-otp-title {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 900;
	color: var(--c-text, #211c38);
}

.arm-otp-desc {
	margin: 0;
	font-size: 13px;
	line-height: 1.9;
	color: var(--c-text-soft, #6b7280);
}

.arm-otp-switch {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	margin-top: 14px;
}

.arm-otp-switch a {
	padding: 7px 14px;
	border: 1.5px solid var(--c-border, #ebe7f5);
	border-radius: 999px;
	background: #fff;
	color: var(--c-text-soft, #6b7280);
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.arm-otp-switch a.is-active,
.arm-otp-switch a:hover {
	border-color: var(--c-primary, #7c3aed);
	color: var(--c-primary-dark, #4c1d95);
}

.arm-otp-switch a.is-active {
	background: var(--c-primary-soft, #f5f3ff);
}

.arm-otp-alert {
	border: 1.5px solid #fecaca;
	border-radius: 12px;
	background: #fef2f2;
	color: #b91c1c;
	padding: 11px 14px;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 14px;
}

.arm-otp-flash {
	border: 1.5px solid #bbf7d0;
	border-radius: 12px;
	background: #f0fdf4;
	color: #166534;
	padding: 11px 14px;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 14px;
}

.arm-otp-form {
	border: 1px solid var(--c-border, #ebe7f5);
	border-radius: 16px;
	padding: 20px 18px;
	background: #fff;
	box-shadow: var(--shadow-sm, 0 2px 10px rgba(33, 28, 56, 0.05));
}

.arm-otp-form .form-row {
	margin-bottom: 16px;
}

.arm-otp-form .form-row label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 800;
	color: var(--c-text, #211c38);
}

.arm-otp-form input[type="tel"],
.arm-otp-form input[type="text"],
.arm-otp-form input[type="password"] {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1.5px solid var(--c-border, #ebe7f5);
	border-radius: 10px;
	background: var(--c-bg-soft, #f7f6fb);
	font-family: inherit;
	font-size: 15px;
	color: var(--c-text, #211c38);
}

.arm-otp-form input:focus {
	outline: none;
	border-color: var(--c-primary, #7c3aed);
	background: #fff;
}

.arm-otp-code {
	text-align: center;
	letter-spacing: 3px;
	font-weight: 900;
}

.arm-otp-submit {
	width: 100%;
	margin-top: 4px;
}

.arm-otp-subrow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 12px;
}

.arm-otp-subrow button {
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 800;
	cursor: pointer;
	padding: 4px;
}

.arm-otp-subrow .arm-otp-resend {
	color: var(--c-primary-dark, #4c1d95);
}

.arm-otp-subrow .arm-otp-resend:disabled {
	color: var(--c-text-soft, #6b7280);
	cursor: not-allowed;
}

.arm-otp-subrow .arm-otp-change-number {
	color: var(--c-text-soft, #6b7280);
}

.arm-otp-testcode {
	border: 1.5px dashed var(--c-primary, #7c3aed);
	border-radius: 12px;
	background: var(--c-primary-soft, #f5f3ff);
	color: var(--c-primary-dark, #4c1d95);
	padding: 11px 14px;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 14px;
}

.arm-otp-testcode strong {
	font-size: 16px;
	letter-spacing: 2px;
	margin-inline-start: 6px;
}

.arm-otp-sent {
	margin: 0 0 14px;
	font-size: 13px;
	color: var(--c-text-soft, #6b7280);
}

.arm-otp-sent strong {
	color: var(--c-text, #211c38);
}

.arm-otp-preview {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	border: 1px solid var(--c-primary, #7c3aed);
	border-radius: 12px;
	background: var(--c-primary-soft, #f5f3ff);
	padding: 13px 16px;
	margin-bottom: 14px;
	font-size: 13px;
	font-weight: 700;
	color: var(--c-primary-dark, #4c1d95);
}

.arm-otp-preview strong {
	font-size: 15px;
	font-weight: 900;
	color: var(--c-text, #211c38);
}

.arm-otp-rename-form {
	margin-bottom: 12px;
}

.arm-otp-back {
	margin-top: 18px;
	text-align: center;
	font-size: 13px;
	font-weight: 800;
}

.arm-otp-back a {
	color: var(--c-text-soft, #6b7280);
	text-decoration: none;
}

.arm-otp-back a:hover {
	color: var(--c-primary-dark, #4c1d95);
}

@media (max-width: 560px) {
	.otp-page {
		padding: 22px 0 48px;
	}

	.arm-otp-form {
		padding: 16px 14px;
		border-radius: 14px;
	}
}

/* Quantity stepper on the cart page. */
.woocommerce div.quantity {
	display: inline-flex;
	align-items: stretch;
	margin: 0;
	border: 1.5px solid var(--c-border);
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}

.woocommerce div.quantity .qty {
	border: 0;
	background: transparent;
	width: 3.4em;
	min-width: 0;
	padding: 9px 2px;
	text-align: center;
	font-weight: 800;
	color: var(--c-text);
}

.woocommerce div.quantity .plus,
.woocommerce div.quantity .minus {
	border: 0;
	background: var(--c-bg-soft);
	width: 34px;
	font-weight: 900;
	color: var(--c-primary-dark);
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.woocommerce div.quantity .plus:hover,
.woocommerce div.quantity .minus:hover {
	background: var(--c-primary);
	color: #fff;
}

/* Cart totals box. */
body.woocommerce-cart .cart_totals {
	padding: 20px;
	border: 1.5px solid var(--c-border);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-sm);
}

body.woocommerce-cart .cart_totals h2 {
	margin: 0 0 14px;
	font-size: 16px;
	font-weight: 900;
}

body.woocommerce-cart .cart_totals table.shop_table {
	border: 0;
	background: transparent;
}

body.woocommerce-cart .cart_totals table.shop_table td,
body.woocommerce-cart .cart_totals table.shop_table th {
	border: 0;
	padding: 10px 12px;
}

body.woocommerce-cart .cart_totals table.shop_table tr.order-total td,
body.woocommerce-cart .cart_totals table.shop_table tr.order-total th {
	font-weight: 900;
	color: var(--c-primary-dark);
	font-size: 15.5px;
}

.woocommerce-checkout #order_review {
	margin-top: 30px;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table {
	margin-bottom: 22px;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
	font-weight: 800;
}

/* ---------- Checkout: payment box ---------- */
body.woocommerce-checkout #payment {
	background: #fff;
	border: 1.5px solid var(--c-border);
	border-radius: var(--radius);
	overflow: hidden;
	padding-bottom: 0;
}

body.woocommerce-checkout #payment ul.payment_methods,
body.woocommerce-checkout #payment ul.payment_methods li {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.woocommerce-checkout #payment ul.payment_methods {
	border-bottom: 1px solid var(--c-border);
}

body.woocommerce-checkout #payment ul.payment_methods li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--c-border);
	font-size: 14px;
}

body.woocommerce-checkout #payment ul.payment_methods li:last-child {
	border-bottom: 0;
}

body.woocommerce-checkout #payment ul.payment_methods li label {
	font-weight: 800;
	color: var(--c-text);
}

body.woocommerce-checkout #payment div.payment_box {
	background: var(--c-bg-soft);
	color: var(--c-text-soft);
	font-size: 13px;
	line-height: 1.9;
	margin: 12px 0 0;
	padding: 13px 16px;
	position: relative;
	width: auto;
}

body.woocommerce-checkout #payment div.payment_box::before {
	top: -8px;
}

body.woocommerce-checkout #payment .place-order {
	padding: 16px 18px;
	margin: 0;
	background: transparent;
}

body.woocommerce-checkout #place_order,
body.woocommerce-checkout #payment .place-order .button {
	display: block;
	width: 100%;
	min-height: 54px;
	padding: 15px 20px;
	font-size: 16px;
	font-weight: 900;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(180deg, var(--c-primary), var(--c-primary-dark));
	color: #fff;
	transition: filter 0.2s ease, transform 0.2s ease;
}

body.woocommerce-checkout #place_order:hover,
body.woocommerce-checkout #payment .place-order .button:hover {
	filter: brightness(1.08);
	transform: translateY(-2px);
	color: #fff;
}

.woocommerce .woocommerce-terms-and-conditions,
body.woocommerce-checkout #payment .terms,
body.woocommerce-checkout p.terms {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 13px;
	line-height: 1.9;
	color: var(--c-text-soft);
	margin-bottom: 14px;
}

/* ---------- Login / registration (My account + checkout toggle) ---------- */
.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.woocommerce-form-login,
.woocommerce form.woocommerce-form-register {
	background: #fff;
	border: 1.5px solid var(--c-border);
	border-radius: var(--radius);
	padding: 24px;
	margin-bottom: 24px;
	max-width: 560px;
}

.woocommerce form.register {
	max-width: 640px;
}

.woocommerce form.login h2,
.woocommerce form.register h2 {
	font-size: 17px;
	font-weight: 900;
	margin: 0 0 18px;
	padding: 0;
	border: 0;
	color: var(--c-text);
}

.woocommerce .woocommerce-form-login-toggle,
.woocommerce .woocommerce-form-register-toggle {
	margin-bottom: 18px;
	font-size: 14px;
	color: var(--c-text-soft);
}

.woocommerce .woocommerce-form-login-toggle a,
.woocommerce .woocommerce-form-register-toggle a {
	color: var(--c-primary);
	font-weight: 800;
	text-decoration: none;
}

.woocommerce .woocommerce-form-login-toggle a:hover,
.woocommerce .woocommerce-form-register-toggle a:hover {
	color: var(--c-primary-dark);
	text-decoration: none;
}

.woocommerce form.login p,
.woocommerce form.register p {
	margin-bottom: 14px;
}

.woocommerce .woocommerce-form__label-for-checkbox,
.woocommerce form.login p.form-row label,
body.woocommerce-checkout p.terms label {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--c-text);
	margin-bottom: 0;
	cursor: pointer;
}

.woocommerce .woocommerce-form__input-checkbox,
.woocommerce form.login input[type="checkbox"],
.woocommerce form.register input[type="checkbox"],
body.woocommerce-checkout p.terms input[type="checkbox"] {
	width: 18px;
	height: 18px;
	min-width: 18px;
	margin: 0;
	accent-color: var(--c-primary);
	cursor: pointer;
}

/* Password fields — ONE reveal eye, pinned to the LEFT edge of the field:
   the wrapper is position:relative, the input leaves a clear 44px zone on
   that side, and only the first eye button inside a field can ever render. */
.arm-pass-field {
	position: relative;
	display: block;
	width: 100%;
}

.arm-pass-field input {
	display: block;
	width: 100%;
	margin: 0;
	box-sizing: border-box;
	padding-inline-start: 12px;
	padding-inline-end: 44px;
}

.arm-pass-eye {
	position: absolute;
	top: 50%;
	left: 10px;
	right: auto;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 5px;
	border: 0;
	background: transparent;
	color: var(--c-text-soft, #6b7280);
	line-height: 0;
	cursor: pointer;
	transition: color 0.15s ease;
}

.arm-pass-eye:hover,
.arm-pass-eye.is-on {
	color: var(--c-primary, #7c3aed);
}

.arm-pass-eye:focus-visible {
	outline: 2px solid var(--c-primary, #7c3aed);
	outline-offset: 2px;
	border-radius: 6px;
}

/* Belt and braces: if eyes ever multiply (old caches, extensions) only the
   first one inside a field stays visible. */
.arm-pass-field .arm-pass-eye:not(:first-of-type) {
	display: none !important;
}

/* One eye only: suppress the browser's own reveal button (Edge/IE) so the
   theme eye on the left is the single one users see. Kept in separate rules
   so an unknown pseudo name can never void the whole suppression. */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear,
input::-ms-reveal,
input::-ms-clear {
	display: none !important;
	visibility: hidden !important;
}

input::-webkit-credentials-auto-fill-button,
input::-webkit-contacts-auto-fill-button {
	display: none !important;
	visibility: hidden !important;
}

/* Account → Addresses: billing/shipping sections as real cards. */
.woocommerce-account .woocommerce-Addresses {
	margin: 0;
}

/* The two cards are ONE flex row: equal heights (stretch), tops pinned to
   the same line, and a real gap — so nothing (floats, WC rtl margins,
   clearfix quirks) can ever push the «ارسال» card lower than «صورتحساب». */
body.woocommerce-account .woocommerce-Addresses.col2-set {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 14px;
}

body.woocommerce-account .woocommerce-Addresses.col2-set > * {
	flex: 1 1 calc(50% - 8px);
	min-width: 0;
	width: auto !important;
	margin: 0 !important;
}

.woocommerce-account .woocommerce-Address,
.woocommerce-account .woocommerce-address {
	background: #f8f7ff;
	border: 1.5px solid #ddd6fe;
	border-inline-start-width: 4px;
	border-inline-start-color: var(--c-primary, #7c3aed);
	border-radius: 12px;
	box-shadow: var(--shadow-sm);
	padding: 14px 18px;
}

/* Identical inner geometry: no external rule can add top margin inside a
   card, so the header row always starts at the card's own padding. */
.woocommerce-account .woocommerce-Address > *,
.woocommerce-account .woocommerce-address > * {
	margin-top: 0 !important;
}

/* WC's real class is woocommerce-Address-title (capital A); keep the
   lowercase twin so any other template variant matches too, plus a
   catch-all a.edit that survives wrapper-casing drift entirely. The
   header row is deterministic on both cards (same height, both items
   vetically centered) so «صورتحساب» and «ارسال» can never drift apart. */
.woocommerce-account .woocommerce-address-title,
.woocommerce-account .woocommerce-Address-title {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px;
	margin: 0 0 12px;
	min-height: 42px;
}

.woocommerce-account .woocommerce-address-title h1,
.woocommerce-account .woocommerce-address-title h2,
.woocommerce-account .woocommerce-address-title h3,
.woocommerce-account .woocommerce-Address-title h1,
.woocommerce-account .woocommerce-Address-title h2,
.woocommerce-account .woocommerce-Address-title h3 {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	font-weight: 900;
	color: var(--c-text, #211c38);
}

/* The Add/Edit pill: solid purple, exactly like the «تأیید نشانی ایمیل»
   button on the notices. */
body.woocommerce-account .woocommerce-MyAccount-content a.edit,
.woocommerce-account .woocommerce-address-title .edit,
.woocommerce-account .woocommerce-Address-title .edit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 22px;
	border-radius: 999px;
	background: var(--c-primary, #7c3aed);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.9;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease;
}

body.woocommerce-account .woocommerce-MyAccount-content a.edit:hover,
.woocommerce-account .woocommerce-address-title .edit:hover,
.woocommerce-account .woocommerce-Address-title .edit:hover {
	background: var(--c-primary-dark, #4c1d95);
	color: #fff;
}

.woocommerce-account .woocommerce-Address address,
.woocommerce-account .woocommerce-address address {
	font-style: normal;
	color: var(--c-text-soft, #6b7280);
	font-size: 13.5px;
	line-height: 2;
	margin: 0;
}

.woocommerce-account .myaccount_address {
	margin: 0 0 14px;
	font-size: 13px;
	color: var(--c-text-soft, #6b7280);
}

.woocommerce-account .woocommerce-MyAccount-content form.edit_address input.input-text,
.woocommerce-account .woocommerce-MyAccount-content form.edit_address select {
	width: 100%;
	box-sizing: border-box;
}

/* Edit-address form: the same lavender card as the address cards and the
   notices, so the whole address section reads as one family. */
.woocommerce-account .woocommerce-MyAccount-content form.edit_address {
	background: #f8f7ff;
	border: 1.5px solid #ddd6fe;
	border-inline-start-width: 4px;
	border-inline-start-color: var(--c-primary, #7c3aed);
	border-radius: 12px;
	box-shadow: var(--shadow-sm);
	padding: 18px;
}

.woocommerce-account .woocommerce-MyAccount-content form.edit_address p.form-row {
	margin: 0 0 14px;
}

.woocommerce-account .woocommerce-MyAccount-content form.edit_address label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--c-text-soft, #6b7280);
	margin-bottom: 6px;
}

.woocommerce-account .woocommerce-MyAccount-content form.edit_address .form-row-first,
.woocommerce-account .woocommerce-MyAccount-content form.edit_address .form-row-last {
	width: 48%;
}

/* WC core floats the login submit (.woocommerce-form-login__submit gets
   float:left/right + margin-*:1em). A plain block p never grows for floats,
   so the pill paints BELOW the checkbox line, and the next block — the
   register CTA — is shoved under the float with its own top margin eaten:
   0px gap, exactly what users reported. Undo the float and make the row a
   real flex pair (flex rows are block-formatting contexts: they always
   contain their children). */
.woocommerce form.login .woocommerce-form-login__submit,
.woocommerce form.register .woocommerce-form-login__submit,
.woocommerce form.woocommerce-form-login .woocommerce-form-login__submit {
	float: none;
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* The remember row is WC's only form.login p without first/last/wide
   classes, so this selector hits exactly that row. Start-aligned like the
   fields; the checkbox keeps its 14px air from the pill. */
body.woocommerce-account #customer_login form.login p.form-row:not(.form-row-first):not(.form-row-last):not(.form-row-wide) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 10px 14px;
	margin: 0 0 4px;
}

/* Pill habits: below the remember line at the start edge (right side in
   RTL), at its own natural width — only the min-width keeps it from
   collapsing. On phones it takes the whole line, exactly like the fields. */
body.woocommerce-account #customer_login form.login p.form-row:not(.form-row-first):not(.form-row-last):not(.form-row-wide) .woocommerce-form-login__submit {
	flex: 0 1 auto;
	min-width: 150px;
	min-height: 48px;
	padding-block: 11px;
}

/* Remember-me takes the first full line (DOM order: label first); the pill
   follows beneath it, away at the start edge. No ordering hacks needed. */
body.woocommerce-account #customer_login form.login p.form-row:not(.form-row-first):not(.form-row-last):not(.form-row-wide) .woocommerce-form__label-for-checkbox {
	flex: 1 1 100%;
}

@media (max-width: 600px) {
	body.woocommerce-account #customer_login form.login p.form-row:not(.form-row-first):not(.form-row-last):not(.form-row-wide) .woocommerce-form-login__submit {
		flex: 1 1 100%;
	}
}

/* Password strength meter pill (label text is Persian via JS). */
.woocommerce-password-strength {
	border-radius: 999px;
	margin-top: 8px;
	padding: 4px 14px;
	font-family: inherit;
	font-size: 12px;
	font-weight: 800;
	text-align: center;
}

.woocommerce-password-strength.short {
	background: #fee2e2;
	color: #b91c1c;
}

.woocommerce-password-strength.bad {
	background: #fef3c7;
	color: #b45309;
}

.woocommerce-password-strength.good {
	background: #dbeafe;
	color: #1d4ed8;
}

.woocommerce-password-strength.strong {
	background: #dcfce7;
	color: #15803d;
}

/* The English "Lost your password?" link is replaced by the Persian
	forgot-links row; keep the English one out of sight. */
body.woocommerce-account #customer_login .lost_password,
body.woocommerce-account #customer_login .woocommerce-form-login__lost-password {
	display: none;
}

.woocommerce .woocommerce-privacy-policy-text {
	font-size: 12.5px;
	color: var(--c-text-soft);
	line-height: 1.9;
}

.woocommerce .lost_reset-password {
	max-width: 560px;
}

.woocommerce .lost_reset-password p.submit {
	margin-top: 18px;
}

/* ---------- Cart page ---------- */
body.woocommerce-cart .cart-collaterals {
	clear: both;
	float: none;
	width: 100%;
	margin-top: 6px;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
	float: none;
	width: 100%;
	max-width: 100%;
}

body.woocommerce-cart .cart-collaterals .cart_totals table {
	width: 100%;
}

body.woocommerce-cart .wc-proceed-to-checkout {
	margin-top: 18px;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
	display: block;
	width: 100%;
	text-align: center;
	min-height: 54px;
	padding: 15px 20px;
	font-size: 16px;
	font-weight: 900;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(180deg, var(--c-primary), var(--c-primary-dark));
	color: #fff !important;
	transition: filter 0.2s ease, transform 0.2s ease;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
	filter: brightness(1.08);
	transform: translateY(-2px);
	color: #fff !important;
}

body.woocommerce-cart .woocommerce-cart-form table.cart td.actions {
	background: var(--c-bg-soft);
}

body.woocommerce-cart .woocommerce-cart-form .coupon {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	float: none;
	width: auto;
	margin: 0;
}

body.woocommerce-cart .woocommerce-cart-form .coupon input.input-text {
	flex: 1 1 240px;
	min-width: 0;
	width: auto;
	margin: 0;
	padding: 12px 15px;
	border: 1.5px solid var(--c-border);
	border-radius: 10px;
	font-family: inherit;
	font-size: 14px;
	color: var(--c-text);
	background: #fff;
}

body.woocommerce-cart .woocommerce-cart-form .coupon input.input-text:focus {
	outline: none;
	border-color: var(--c-accent);
	box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

body.woocommerce-cart .woocommerce-cart-form .coupon .button {
	flex: 0 0 auto;
	margin: 0;
}

body.woocommerce-cart .woocommerce-cart-form table.cart .quantity .qty {
	width: 74px;
	padding: 9px 6px;
	border: 1.5px solid var(--c-border);
	border-radius: 10px;
	text-align: center;
	font-family: inherit;
	font-size: 14px;
}

body.woocommerce-cart .woocommerce-cart-form button[name="update_cart"][disabled] {
	opacity: 0.55;
	cursor: not-allowed;
}

/* ---------- Cart page: table polish (desktop) ---------- */
body.woocommerce-cart .woocommerce-cart-form table.cart,
body.woocommerce-cart table.shop_table_responsive.cart {
	width: 100%;
}

body.woocommerce-cart table.cart th,
body.woocommerce-cart table.cart td {
	vertical-align: middle;
}

body.woocommerce-cart table.cart td.product-thumbnail {
	width: 96px;
}

body.woocommerce-cart table.cart td.product-thumbnail a {
	display: block;
}

body.woocommerce-cart table.cart td.product-thumbnail img {
	display: block;
	width: 78px;
	height: 78px;
	object-fit: cover;
	border: 1px solid var(--c-border);
	border-radius: 12px;
	padding: 0;
	margin: 0;
	background: #fff;
	mix-blend-mode: normal;
}

body.woocommerce-cart table.cart td.product-name {
	min-width: 180px;
}

body.woocommerce-cart table.cart td.product-name a {
	display: block;
	color: var(--c-text);
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.9;
	text-decoration: none;
}

body.woocommerce-cart table.cart td.product-name a:hover {
	color: var(--c-primary);
}

body.woocommerce-cart table.cart td.product-name .variation {
	margin: 4px 0 0;
	font-size: 12px;
	color: var(--c-text-soft);
}

body.woocommerce-cart table.cart td.product-price,
body.woocommerce-cart table.cart td.product-quantity,
body.woocommerce-cart table.cart td.product-subtotal {
	text-align: center;
	white-space: nowrap;
}

body.woocommerce-cart table.cart td.product-price {
	color: var(--c-text);
	font-weight: 700;
}

body.woocommerce-cart table.cart td.product-subtotal {
	color: var(--c-primary-dark);
	font-weight: 900;
	font-size: 15.5px;
}

body.woocommerce-cart table.cart td.product-quantity .quantity {
	display: inline-flex;
	align-items: center;
}

body.woocommerce-cart table.cart .quantity .qty {
	height: 44px;
	width: 74px;
	padding: 8px;
	border: 1.5px solid var(--c-border);
	border-radius: 10px;
	background: #fff;
	color: var(--c-text);
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
	-moz-appearance: textfield;
}

body.woocommerce-cart table.cart .quantity .qty::-webkit-outer-spin-button,
body.woocommerce-cart table.cart .quantity .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

body.woocommerce-cart table.cart .quantity .qty:focus {
	outline: none;
	border-color: var(--c-accent);
	box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

body.woocommerce-cart table.cart td.actions {
	background: var(--c-bg-soft);
	text-align: start;
}

body.woocommerce-cart table.cart td.actions .coupon {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

body.woocommerce-cart .woocommerce-remove-coupon {
	display: inline-block;
	margin-inline-start: 6px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--c-danger);
	text-decoration: none;
}

body.woocommerce-cart .woocommerce-remove-coupon:hover {
	text-decoration: none;
}

body.woocommerce-cart table.cart td.actions .button {
	margin: 0;
	min-height: 44px;
}

body.woocommerce-cart .shipping-calculator-button {
	display: inline-block;
	margin-top: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--c-primary);
	text-decoration: none;
}

body.woocommerce-cart .shipping-calculator-button:hover {
	color: var(--c-primary-dark);
	text-decoration: none;
}

body.woocommerce-cart .woocommerce-shipping-calculator {
	margin-top: 14px;
	padding: 16px;
	background: var(--c-bg-soft);
	border: 1px solid var(--c-border);
	border-radius: 12px;
}

body.woocommerce-cart .woocommerce-shipping-calculator .button {
	margin-top: 6px;
}

/* Cart totals: calm rows with a highlighted grand total. */
body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
	padding: 13px 6px;
	border-bottom: 1px dashed var(--c-border);
}

body.woocommerce-cart .cart_totals table tr:last-child th,
body.woocommerce-cart .cart_totals table tr:last-child td {
	border-bottom: 0;
	font-size: 17px;
	font-weight: 900;
	color: var(--c-primary-dark);
}

body.woocommerce-cart .cart_totals table tr.order-total th,
body.woocommerce-cart .cart_totals table tr.order-total td {
	border-top: 2px solid var(--c-border);
	border-bottom: 0;
	padding-top: 16px;
	font-size: 17px;
	font-weight: 900;
	color: var(--c-primary-dark);
}

/* Two-column cart: table at the start, totals pinned beside it. */
body.woocommerce-cart .woocommerce:has( .woocommerce-cart-form ):has( .cart-collaterals ) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	grid-template-areas:
		"head head"
		"notices notices"
		"form totals";
	gap: 18px 26px;
	align-items: start;
}

body.woocommerce-cart .woocommerce-products-header {
	grid-area: head;
	margin-bottom: 0;
}

body.woocommerce-cart .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
}

body.woocommerce-cart .woocommerce-cart-form {
	grid-area: form;
	min-width: 0;
}

body.woocommerce-cart .cart-collaterals {
	grid-area: totals;
	position: sticky;
	top: 16px;
	width: auto;
	margin-top: 0;
	clear: none;
}

body.woocommerce-cart .cart-collaterals .upsells {
	margin: 0 0 20px;
}

body.woocommerce-cart .cart-collaterals .upsells h2 {
	font-size: 16px;
	font-weight: 900;
	margin-bottom: 14px;
}

body.woocommerce-cart .cart-collaterals .upsells ul.products {
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-bottom: 0;
}

body.woocommerce-cart .cart-collaterals .upsells ul.products li.product img {
	padding: 10px;
	max-height: 130px;
}

body.woocommerce-cart .cart-collaterals .upsells ul.products li.product .woocommerce-loop-product__title {
	font-size: 12.5px;
	padding: 10px 10px 2px;
}

body.woocommerce-cart .cart-collaterals .upsells ul.products li.product .price {
	font-size: 13.5px;
}

body.woocommerce-cart .cart-collaterals .upsells ul.products li.product .button {
	font-size: 12.5px;
	margin: 8px 10px 12px;
	padding: 9px 10px;
}

/* The cart collapses to a single column before it becomes cards. */
@media (max-width: 992px) {
	body.woocommerce-cart .woocommerce:has( .woocommerce-cart-form ):has( .cart-collaterals ) {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"head"
			"notices"
			"form"
			"totals";
		gap: 16px;
	}

	body.woocommerce-cart .cart-collaterals {
		position: static;
	}

	body.woocommerce-cart .cart-collaterals .upsells ul.products {
		grid-template-columns: repeat(4, 1fr);
	}
}

.woocommerce .return-to-shop .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 26px;
}


/* Woo Blocks' offscreen autofill field must not enlarge an RTL document. */
body.woocommerce-checkout .wc-block-components-address-form__address_2-hidden-input {
	position: absolute !important;
	inset: 0 auto auto 0 !important;
	width: 1px !important;
	height: 1px !important;
	min-width: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	overflow: hidden;
}

/* Persian checkout and cart: native WooCommerce blocks and classic forms. */
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-checkout .wp-block-woocommerce-checkout { direction:rtl; text-align:right; font-family:inherit; color:var(--c-text); }
.wp-block-woocommerce-cart *, .wp-block-woocommerce-checkout * { box-sizing:border-box; }
.wp-block-woocommerce-cart .wc-block-components-main,
.wp-block-woocommerce-cart .wc-block-components-sidebar,
.wp-block-woocommerce-checkout .wc-block-components-main,
.wp-block-woocommerce-checkout .wc-block-components-sidebar { min-width:0; }
.wp-block-woocommerce-cart h2,.wp-block-woocommerce-checkout h2 { font-family:inherit; font-size:20px; line-height:1.8; }
.wc-block-components-checkout-step__container { border:1px solid var(--c-border); border-radius:18px; padding:20px; background:#fff; margin-bottom:22px; }
.wc-block-components-sidebar .wc-block-components-totals-wrapper { padding:18px; border-color:var(--c-border); }
.wp-block-woocommerce-cart .wc-block-components-sidebar,
.wp-block-woocommerce-checkout .wc-block-components-sidebar { background:#faf8ff; border:1px solid var(--c-border); border-radius:20px; }
.wp-block-woocommerce-cart .wc-block-cart__submit-button,
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button { min-height:50px; border:0; border-radius:12px; color:#fff; background:linear-gradient(110deg,#8747ec,#5b21b6); font-family:inherit; font-weight:700; }
.wp-block-woocommerce-cart input,.wp-block-woocommerce-cart select,
.wp-block-woocommerce-checkout input,.wp-block-woocommerce-checkout select { font-family:inherit; min-width:0; max-width:100%; }
.wp-block-woocommerce-checkout .wc-block-components-text-input label,
.wp-block-woocommerce-cart .wc-block-components-text-input label { left:auto; right:16px; transform-origin:top right; }
.wc-block-components-country-input .components-combobox-control__input,
.wc-block-components-state-input .components-combobox-control__input { text-align:right; }
.wp-block-woocommerce-checkout .wc-block-components-address-form__email input,
.wp-block-woocommerce-checkout .wc-block-components-address-form__phone input { direction:ltr; text-align:right; }
.wp-block-woocommerce-checkout .wc-block-components-checkout-step__description { color:var(--c-muted); line-height:2; }
.wp-block-woocommerce-cart .wc-block-components-product-name,
.wp-block-woocommerce-cart .wc-block-cart-item__wrap { overflow-wrap:anywhere; }
body.woocommerce-checkout #billing_phone,body.woocommerce-checkout #billing_email,
body.woocommerce-checkout #billing_postcode,body.woocommerce-checkout #shipping_postcode { direction:ltr; text-align:right; }
body.woocommerce-checkout form.checkout .form-row { min-width:0; }
body.woocommerce-checkout form.checkout input.input-text,
body.woocommerce-checkout form.checkout select,
body.woocommerce-checkout form.checkout textarea { min-height:48px; font-family:inherit; border-radius:10px; }
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { line-height:2; font-size:13px; }
@media(max-width:768px) {
 .wp-block-woocommerce-cart .wc-block-components-sidebar,
 .wp-block-woocommerce-checkout .wc-block-components-sidebar { margin-top:24px; width:100%; }
 .wc-block-components-checkout-step__container { padding:16px; }
 .wp-block-woocommerce-cart .wc-block-cart-items__header,
 .wp-block-woocommerce-checkout .wc-block-components-checkout-step__heading { min-width:0; }
 body.woocommerce-checkout form.checkout .form-row-first,
 body.woocommerce-checkout form.checkout .form-row-last { width:100%; float:none; }
}
.wp-block-woocommerce-checkout .wc-block-components-text-input input,
.wp-block-woocommerce-cart .wc-block-components-text-input input,
.wp-block-woocommerce-checkout .components-combobox-control__input,
.wp-block-woocommerce-cart .components-combobox-control__input { border-radius:10px; border-color:#dcd2f0; min-height:52px; }
.wp-block-woocommerce-checkout .wc-block-components-radio-control__option { padding-right:52px; padding-left:16px; }
.wp-block-woocommerce-checkout .wc-block-components-radio-control__input { left:auto; right:16px; }
/* Match native block fields to the theme even when WooCommerce prints its CSS later. */
body.woocommerce-checkout .wp-block-woocommerce-checkout input:not([type="checkbox"]):not([type="radio"]),
body.woocommerce-cart .wp-block-woocommerce-cart input:not([type="checkbox"]):not([type="radio"]) { border-color:#ded5ef!important; border-radius:12px!important; background-color:#fdfbff; }
body.woocommerce-checkout .wp-block-woocommerce-checkout input:focus,
body.woocommerce-cart .wp-block-woocommerce-cart input:focus { border-color:#8747ec!important; }
/* Native payment radios: the gateway keeps its own fields and selection logic. */
body.woocommerce-checkout #payment{background:transparent;border-radius:16px}
body.woocommerce-checkout #payment ul.payment_methods{display:grid;gap:12px;padding:0!important;margin:0 0 20px!important;border:0;list-style:none}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method{position:relative;list-style:none!important;margin:0!important;padding:0!important;border:1px solid #ded4ef;border-radius:14px;background:#fff;overflow:hidden;transition:border-color .15s,box-shadow .15s}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>input[type=radio]{position:absolute!important;right:18px!important;left:auto!important;top:20px!important;margin:0!important;width:20px!important;height:20px!important;min-height:20px!important;appearance:auto!important;accent-color:#7737d5;z-index:2;cursor:pointer}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>label{display:flex!important;align-items:center;justify-content:space-between;gap:12px;padding:17px 52px 17px 18px!important;min-height:60px;box-sizing:border-box;font-weight:700;font-size:14px;color:#302143;cursor:pointer;line-height:1.9;margin:0!important}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:has(>input:checked){border-color:#8a4be3;box-shadow:0 0 0 2px #eee3ff;background:#faf7ff}
body.woocommerce-checkout #payment ul.payment_methods input[type=radio]:focus-visible{outline:3px solid #c8a6f5;outline-offset:4px}
body.woocommerce-checkout #payment ul.payment_methods label img{max-height:32px;max-width:100px;width:auto;object-fit:contain;margin:0!important}
body.woocommerce-checkout #payment .payment_box{margin:0!important;border:0!important;border-top:1px solid #e9e0f4!important;background:#faf7ff!important;padding:16px 18px!important;color:#655475;font-size:13px;line-height:2}
body.woocommerce-checkout #payment .payment_box:before{display:none!important}
body.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option{border:1px solid #ded4ef!important;border-radius:14px!important;background:#fff;margin-bottom:12px;overflow:hidden;transition:border-color .15s,box-shadow .15s}
body.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option:has(input:checked){border-color:#8a4be3!important;background:#faf7ff;box-shadow:0 0 0 2px #eee3ff!important}
body.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__option{min-height:62px;padding:18px 52px 18px 18px!important;border-radius:14px!important;cursor:pointer}
body.woocommerce-checkout .wc-block-checkout__payment-method input[type=radio]{width:20px!important;height:20px!important;min-height:20px!important;right:18px!important;left:auto!important;margin:0!important;accent-color:#7737d5}
body.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__input:checked:before{background:#7737d5!important}
body.woocommerce-checkout .wc-block-checkout__payment-method input[type=radio]:focus-visible{outline:3px solid #c8a6f5!important;outline-offset:4px}
body.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__label{font-weight:700;line-height:1.9;font-size:14px;color:#302143}
body.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__label img{max-height:32px!important;max-width:100px;width:auto;object-fit:contain;margin:0!important}
body.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content{border-top:1px solid #e9e0f4;padding:16px 18px!important;line-height:2;background:#faf7ff;font-size:13px;color:#655475}
@media(max-width:600px){body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>label,body.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__option{padding-left:12px!important;font-size:13px}body.woocommerce-checkout #payment .payment_box,body.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content{padding:13px!important}}
/* Saved addresses and interrupted payment remain readable and actionable. */
body.woocommerce-checkout .wc-block-components-address-card{border:1px solid #e5d9f2;border-radius:14px;padding:20px;line-height:2;background:#fcfaff;overflow-wrap:anywhere;position:relative;min-width:0}
body.woocommerce-checkout .wc-block-components-address-card__address{font-size:14px;line-height:2.1;white-space:normal;display:block;padding-inline-end:64px}
body.woocommerce-checkout .wc-block-components-address-card__edit{font-family:inherit;min-height:44px;min-width:54px;border-radius:8px;padding:8px;color:#6b21a8;position:absolute;inset-inline-end:12px;top:12px}
.aramiss-payment-retry{margin-top:24px;padding:24px;border:1px solid #e5d9f2;border-radius:16px;background:#fcfaff;text-align:right;line-height:2;overflow-wrap:anywhere}.aramiss-payment-retry h2{font-size:20px;margin:0 0 12px}
.aramiss-payment-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:20px}.aramiss-payment-actions a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;white-space:normal;line-height:1.8;text-decoration:none!important}
@media(max-width:520px){.aramiss-payment-retry{padding:16px}.aramiss-payment-actions{display:grid}.aramiss-payment-actions a{width:100%;font-size:13px}.aramiss-payment-retry h2{font-size:17px}body.woocommerce-checkout .wc-block-components-address-card{padding:16px}}

/* AramissPC - account.css (split from main.css; @import order in main.css matters) */

.arm-download-library{margin-block:30px;min-width:0}
.arm-download-library>h2{font-size:22px;margin-bottom:12px}
.arm-download-library>p{font-size:13px;line-height:2;color:var(--c-muted)}
.arm-download-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:22px}
.arm-download-card{border:1px solid var(--c-border);border-radius:18px;overflow:hidden;background:#fff;min-width:0}
.arm-download-card>img{display:block;width:100%;height:170px;object-fit:cover}
.arm-download-copy{padding:20px}.arm-download-copy h3{font-size:16px;line-height:1.9;margin:0 0 10px}.arm-download-copy p{font-size:12px;line-height:2;color:var(--c-muted)}
.arm-download-files{list-style:none!important;padding:0!important;margin:18px 0!important;display:grid;gap:12px}
.arm-download-files li{display:grid;gap:7px;min-width:0}.arm-download-files small{font-size:11px;color:var(--c-muted);line-height:1.8}
.arm-download-files .arm-download-file{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 14px;border:1px solid #ded0f2;background:#f5f0ff;color:#6525b4;border-radius:10px;white-space:normal;text-align:center;font-size:12px;font-weight:700;line-height:1.9;overflow-wrap:anywhere;text-decoration:none!important}
.arm-download-files .arm-download-file:hover{background:#6525b4;color:#fff;border-color:#6525b4}.arm-download-files .arm-download-file:focus-visible{outline:3px solid #c4a4fa;outline-offset:3px}
.arm-download-article{display:inline-block;font-size:12px;padding-block:8px}.arm-post-downloads{border:1px solid var(--c-border);padding:24px;border-radius:16px;margin-block:28px}
.woocommerce-MyAccount-content .arm-download-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:768px){.arm-download-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.arm-download-grid,.woocommerce-MyAccount-content .arm-download-grid{grid-template-columns:minmax(0,1fr)}.arm-download-copy{padding:18px}}

.arm-auth-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:6px;background:#f0eafa;border-radius:14px;margin:20px 0}
.arm-auth-methods a{display:flex;align-items:center;justify-content:center;text-align:center;padding:12px 8px;border-radius:10px;font-size:13px;font-weight:700;line-height:1.8;color:#70518d;min-width:0;text-decoration:none!important}
.arm-auth-methods a[aria-current="page"]{background:#fff;color:#6525b4;box-shadow:0 2px 8px #3c1e5d0d}
.arm-auth-methods a:focus-visible{outline:3px solid #c4a4fa;outline-offset:2px}
.arm-code-resend{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:18px}
.arm-code-resend span{font-size:12px;color:#756583}
.arm-code-resend button:disabled{opacity:.5;cursor:wait}
.arm-identity-card .arm-identity-form.login{border:0!important;padding:0!important;border-radius:0!important}
.arm-identity-card small{display:block;margin-top:-5px}
.arm-identity-card,.arm-identity-form,.arm-identity-form label{text-align:right}
.arm-identity-form label{justify-self:stretch}
.arm-identity-card .arm-identity-form input{text-align:right;direction:ltr}
.arm-auth-methods a{justify-content:flex-start;text-align:right}
.arm-identity-card .arm-pass-field input,.arm-identity-profile .arm-pass-field input{padding-left:54px;padding-right:14px}
.arm-identity-form .arm-pass-eye,.arm-identity-profile .arm-pass-eye{width:44px;height:44px;min-height:44px;margin:0;padding:0;left:4px;right:auto;top:50%;background:transparent;box-shadow:none}
.arm-pass-field .show-password-input,.arm-identity-card .show-password-input{display:none!important}
/* Keep mobile keyboards from zooming the page; allow long validation text. */
.arm-identity-card{overflow-wrap:anywhere}
.arm-identity-card .arm-identity-form input{font-size:16px}
.arm-identity-card .arm-identity-form button{white-space:normal;line-height:1.8;padding-block:12px}
.arm-code-resend button{min-height:44px}
@media(max-width:380px){.arm-auth-methods a{font-size:11px;padding:11px 4px}}

/* ---------- My account ---------- */
body.woocommerce-account .woocommerce-MyAccount-content address {
	font-style: normal;
	line-height: 2;
	font-size: 14px;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address {
	margin-bottom: 22px;
}

body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce-MyAccount-content input.button {
	margin-top: 6px;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table th {
	font-size: 13.5px;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order_actions .button {
	margin: 2px 0;
}

/* Dashboard → downloads: one voice for all account content. */
body.woocommerce-account .woocommerce-MyAccount-content {
	color: var(--c-text-soft, #6b7280);
}

body.woocommerce-account .woocommerce-MyAccount-content strong {
	color: var(--c-text, #211c38);
}

body.woocommerce-account .woocommerce-MyAccount-content h1,
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3 {
	color: var(--c-text, #211c38);
}

/* Order status on the order-details view: quiet purple pill. */
body.woocommerce-account .woocommerce-MyAccount-content .order-status {
	display: inline-flex;
	align-items: center;
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--c-primary-soft, #f5f3ff);
	color: var(--c-primary-dark, #4c1d95);
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
}


/* 2.27: keep account links clean while retaining keyboard focus. */
body.woocommerce-account .woocommerce a,body.woocommerce-account .woocommerce a:hover,body.woocommerce-account .woocommerce a:visited,.arm-identity-card a{text-decoration:none!important}
/* Account shortcodes live inside .entry-content on real WordPress pages.
   Outrank its general prose-link rule, including nested translation spans. */
body.woocommerce-account .entry-content a:not(.btn):not(.button):not(.wp-block-button__link),
body.woocommerce-account .entry-content a:not(.btn):not(.button):not(.wp-block-button__link) *{text-decoration:none!important}
body.woocommerce-account .woocommerce a:focus-visible,.arm-identity-card a:focus-visible{outline:3px solid #c4a4fa;outline-offset:4px;border-radius:4px}
.arm-identity-route{padding-block:32px}.arm-identity-stack#customer_login{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px;max-width:650px;margin-inline:auto}.arm-identity-card{max-width:650px;width:100%;margin-inline:auto;padding:30px;border:1px solid #e6dbf7;border-radius:20px;background:linear-gradient(140deg,#fff,#fbf8ff);box-sizing:border-box;min-width:0}.arm-identity-card h2{font-size:24px;margin:9px 0 14px;line-height:1.6}.arm-identity-kicker{font-size:12px;color:#7837ce}.arm-identity-card p,.arm-identity-card small{font-size:13px;line-height:2;color:#756583}.arm-identity-form{display:grid;gap:12px;margin:22px 0}.arm-identity-form label{font-size:13px;font-weight:700}.arm-identity-form input,.arm-identity-form select{width:100%;height:52px;border:1px solid #dcd0ed;border-radius:12px;padding:12px 14px;box-sizing:border-box;background:#fff;color:#241637;min-width:0;font:inherit}.arm-identity-form input:focus,.arm-identity-form select:focus{outline:3px solid #dcc8fa;outline-offset:1px}.arm-identity-form button{min-height:48px;width:100%;margin-top:6px}.arm-identity-links{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;border-top:1px solid #eadff6;padding-top:18px;margin-top:22px}.arm-identity-card .arm-identity-error{background:#fff1ef;color:#aa261c;padding:12px 15px;border-radius:12px;border:1px solid #f4cdc8}.arm-identity-status{border:1px solid #e5d8f7;background:#fbf8ff;border-radius:16px;padding:20px;margin:0 0 24px}.arm-identity-status h3{font-size:17px;margin:0 0 12px}.arm-identity-status p{font-size:13px;margin:8px 0;overflow-wrap:anywhere}.arm-identity-status .button{margin-top:10px}.arm-identity-password{padding:20px;border:1px solid #e5d8f7;border-radius:16px;background:#fff}.arm-identity-password summary{cursor:pointer;font-size:14px;font-weight:700;color:#6d28bf}.arm-identity-password form{border:0!important;padding:15px 0 0!important;margin:0!important}.arm-identity-profile fieldset{margin-top:22px;border:1px solid #e5d8f7;border-radius:14px;padding:18px}.arm-identity-profile fieldset p{line-height:1.9;font-size:13px}.arm-identity-profile .form-row{float:none!important;width:100%!important}.arm-identity-profile input{width:100%;min-width:0;box-sizing:border-box}@media(max-width:600px){.arm-identity-card{padding:22px 18px;border-radius:16px}.arm-identity-card h2{font-size:21px}.arm-identity-route{padding-block:20px}.arm-identity-status{padding:17px}.arm-identity-links{gap:14px}.arm-identity-profile fieldset{padding:14px}}
.arm-identity-card #arm-identity-title{font-size:clamp(23px,4vw,30px);line-height:1.6;margin:0 0 18px;font-weight:800}
/* Single home address, with distinct readable labels and values. */
.aramiss-home-address{border:1px solid #e6dcf5;border-radius:16px;background:#fff;overflow:hidden;margin-top:20px;color:#30213f}
.aramiss-home-address>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;background:#faf7ff}
.aramiss-home-address>header h2{font-size:18px!important;margin:0!important}
.aramiss-home-address>header .button{margin:0!important;min-height:44px;display:inline-flex;align-items:center;justify-content:center;white-space:normal}
.aramiss-home-address dl{margin:0;padding:0 20px}.aramiss-home-address dl>div{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,3fr);gap:18px;border-bottom:1px solid #efe9f6;padding:15px 0;line-height:2}
.aramiss-home-address dl>div:last-child{border-bottom:0}.aramiss-home-address dt{font-weight:700;font-size:13px;color:#49335d}.aramiss-home-address dd{margin:0;overflow-wrap:anywhere;font-size:14px}.aramiss-home-address>p{padding:0 20px;line-height:2}.aramiss-address-hint{color:#854d0e;background:#fff9e9;padding:12px 20px!important}
.aramiss-field-error{display:block!important;margin:7px 0 0!important;color:#b42332!important;font-size:12px!important;line-height:1.9!important;font-weight:400!important;flex-basis:100%}
body.woocommerce-account .woocommerce-address-fields input,body.woocommerce-account .woocommerce-address-fields select{font-size:16px;min-height:48px;max-width:100%;border:1px solid #ded2ef;border-radius:10px;padding:12px;color:#30213f;background:#fff}
body.woocommerce-account .woocommerce-address-fields input[id$="_phone"],body.woocommerce-account .woocommerce-address-fields input[id$="_postcode"]{direction:ltr;text-align:right}body.woocommerce-account .woocommerce-address-fields input[aria-invalid=true]{border-color:#b42332}
@media(max-width:520px){.aramiss-home-address>header{padding:16px;gap:10px}.aramiss-home-address dl{padding:0 16px}.aramiss-home-address dl>div{grid-template-columns:1fr;gap:2px;padding:12px 0}.aramiss-home-address>header h2{font-size:16px!important}.aramiss-home-address>header .button{padding:10px 14px;font-size:12px}}

/* AramissPC - responsive.css (split from main.css; @import order in main.css matters) */

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
	.category-grid {
		grid-template-columns: repeat(4, 1fr);
	}

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

	.product-grid.cols-4,
	.product-grid.cols-5,
	.product-grid.cols-6 {
		grid-template-columns: repeat(3, 1fr);
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(var(--arm-shop-cols-md, 3), 1fr);
		margin-bottom: 26px;
	}

	.wc-store-hero {
		margin-bottom: 20px;
	}

	.hero-features li {
		min-width: 185px;
	}
}

@media (max-width: 992px) {
	.product-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.header-main-inner {
		flex-wrap: wrap;
		gap: 14px;
	}

	/* Mobile search: the dedicated bar below the logo row takes over. */
	.header-search {
		display: none;
	}

	.arm-mobile-search {
		display: block;
		padding: 10px 16px 12px;
		background: #fff;
		border-top: 1px solid var(--c-border, #ebe7f5);
	}

	.arm-mobile-search .search-form {
		border-radius: 12px;
		background: #fff;
	}

	.arm-mobile-search .search-field {
		font-size: 14px;
	}

	.action-label {
		display: none;
	}

	.header-action {
		padding: 8px 10px;
	}

	/* Mobile navigation: drawer */
	.nav-toggle {
		display: flex;
	}

	.primary-navigation {
		position: fixed;
		top: 0;
		inset-inline-start: 0;
		bottom: 0;
		width: min(320px, 86vw);
		background: #fff;
		z-index: 110;
		/* RTL: the drawer hugs the right edge and hides by sliding right.
		   The old rules pinned it to the inline-end (left in RTL) while
		   sliding it right, stranding it over the page — the menu looked
		   permanently open on phones. */
		transform: translateX(100%);
		transition: transform 0.3s ease;
		box-shadow: -12px 0 40px rgba(20, 14, 45, 0.25);
		overflow-y: auto;
		padding-top: 14px;
	}

	[dir="ltr"] .primary-navigation {
		transform: translateX(-100%);
		box-shadow: 12px 0 40px rgba(20, 14, 45, 0.25);
	}

	.nav-open .primary-navigation {
		transform: translateX(0);
	}

	.primary-navigation .container {
		display: block;
		padding-inline: 14px;
	}

	.cat-menu {
		display: block;
	}

	.cat-menu-toggle {
		justify-content: flex-start;
		width: 100%;
		padding: 14px 12px;
		color: var(--c-text);
		background: transparent;
		border-bottom: 1px solid var(--c-border);
		border-radius: 0;
		font-size: 14.5px;
	}

	.cat-menu-toggle:hover,
	.cat-menu.is-open .cat-menu-toggle {
		background: var(--c-primary-soft);
		color: var(--c-primary-dark);
	}

	.cat-menu-panel {
		position: static;
		width: auto;
		margin-top: 0;
		padding: 6px 8px 12px;
		border: 0;
		border-bottom: 1px solid var(--c-border);
		border-radius: 0;
		box-shadow: none;
	}

	.cat-menu-list {
		position: static;
		width: auto;
		min-width: 0;
		max-height: none;
		overflow: visible;
		margin: 0;
		padding: 0 6px 8px;
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: none;
	}

	.nav-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.nav-menu > li > a {
		display: flex;
		justify-content: space-between;
		width: 100%;
		padding: 14px 12px;
		color: var(--c-text);
		border-bottom: 1px solid var(--c-border);
		border-radius: 0;
		font-size: 14.5px;
	}

	.nav-menu > li > a:hover,
	.nav-menu > li.current-menu-item > a,
	.nav-menu > li.current_page_item > a {
		background: var(--c-primary-soft);
		color: var(--c-primary-dark);
	}

	.nav-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		border-bottom: 1px solid var(--c-border);
		border-radius: 0;
		display: none;
		padding: 4px 10px 10px 4px;
		min-width: 0;
		background: var(--c-bg-soft);
	}

	.nav-menu li.menu-item-has-children.is-open > .sub-menu {
		display: block;
	}

	.nav-menu .sub-menu li a {
		padding: 10px 14px;
		border-radius: 8px;
	}

	.nav-menu .sub-menu .sub-menu {
		margin-inline-start: 16px;
		border: 0;
		background: transparent;
	}

	.nav-menu li.menu-item-has-children .nav-caret {
		transition: transform 0.2s ease;
	}

	.nav-menu li.menu-item-has-children.is-open > a .nav-caret {
		transform: rotate(180deg);
	}

	.hero-content {
		flex-direction: column;
		align-items: flex-start;
		gap: 26px;
		padding-block: 44px;
	}

	.hero-features {
		flex-direction: row;
		flex-wrap: wrap;
		width: 100%;
	}

	.hero-features li {
		min-width: 0;
		flex: 1 1 180px;
	}

	.hero-nav {
		display: none;
	}

	.hero-dots {
		inset-inline-end: auto;
		inset-inline-start: 20px;
	}

	.builder-layout {
		grid-template-columns: 1fr;
	}

	.builder-summary {
		position: static;
	}

	.builder-grid {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	}

	.builder-cat-label {
		font-size: 13px;
	}

	.builder-cat-picked {
		max-width: 35%;
	}

	.double-grid {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 30px;
	}

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

	.feature-item:not(:last-child)::after {
		display: none;
	}

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

	.layout-with-sidebar {
		grid-template-columns: 1fr;
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(var(--arm-shop-cols-sm, 2), 1fr);
	}
}

@media (max-width: 768px) {
	.section {
		padding-block: 34px;
	}

	.product-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}

	.product-grid.cols-3,
	.product-grid.cols-4,
	.product-grid.cols-5,
	.product-grid.cols-6 {
		grid-template-columns: repeat(2, 1fr);
	}

	.category-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 10px;
	}

	.promo-inner {
		padding: 32px 26px;
	}

	.promo-btn {
		width: 100%;
	}

	.post-card {
		flex-direction: column;
	}

	.post-card-thumb {
		flex-basis: auto;
		min-height: 200px;
		max-height: 260px;
	}

	.post-card-thumb img {
		max-height: 260px;
	}

	.hero-title {
		font-size: clamp(24px, 6.4vw, 34px);
	}

	.woocommerce div.product {
		padding: 18px;
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.woocommerce div.product .woocommerce-product-gallery img {
		max-height: 320px;
	}

	.woocommerce table.shop_table {
		display: block;
		overflow-x: auto;
	}

	.post-navigation .nav-links {
		flex-direction: column;
	}

	.woocommerce-account .woocommerce-MyAccount-content {
		padding: 18px;
	}

	.woocommerce .woocommerce-products-header,
	.single-page .page-hero {
		padding: 34px 22px;
		margin-bottom: 22px;
	}

	.woocommerce .woocommerce-products-header::before,
	.single-page .page-hero::before {
		width: 190px;
		height: 190px;
		top: -80px;
		inset-inline-end: -50px;
	}

	.woocommerce .woocommerce-products-header::after,
	.single-page .page-hero::after {
		width: 130px;
		height: 130px;
		bottom: -65px;
	}

	.single-page .page-body {
		padding: 24px 20px;
	}
}

@media (max-width: 560px) {
	body {
		font-size: 14px;
	}

	.container {
		padding-inline: 14px;
	}

	.header-main {
		padding-block: 10px;
	}

	.site-logo-fallback strong {
		font-size: 16px;
	}

	.site-logo-fallback small {
		font-size: 9px;
		letter-spacing: 1.6px;
	}

	.custom-logo {
		max-height: 42px;
	}

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

	.product-grid,
	.product-grid.grid-compact {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.product-thumb {
		min-height: 140px;
		padding: 12px;
	}

	.product-thumb-img {
		max-height: 120px;
	}

	.product-body {
		padding: 12px 12px 6px;
	}

	.product-title {
		font-size: 13px;
		min-height: 2.4em;
	}

	.product-price {
		font-size: 14px;
	}

	.product-footer {
		padding: 8px 12px 12px;
	}

	.product-card-btn {
		font-size: 12.5px;
		padding: 9px 8px;
	}

	.product-wishlist {
		opacity: 1;
		transform: none;
	}

	.features-strip {
		grid-template-columns: 1fr;
	}

	.feature-item {
		justify-content: flex-start;
	}

	.blog-grid {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.hero-content {
		padding-block: 34px;
	}

	.hero-features {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		flex-direction: unset;
		flex-wrap: unset;
		width: 100%;
		gap: 8px;
	}

	.hero-features li {
		flex: initial;
		min-width: 0;
		gap: 8px;
		padding: 9px 11px;
		border-radius: 12px;
	}

	.hero-feature-icon {
		width: 32px;
		height: 32px;
		border-radius: 9px;
		font-size: 14px;
	}

	.hero-feature-text strong {
		font-size: 12px;
	}

	.hero-feature-text small {
		font-size: 10px;
	}

	.hero-buttons {
		width: 100%;
	}

	.hero-buttons .btn {
		flex: 1 1 100%;
	}

	.hero-dots {
		bottom: 10px;
		inset-inline-start: 14px;
	}

	.section-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(var(--arm-shop-cols-xs, 2), 1fr);
		gap: 10px;
	}

	.woocommerce ul.products li.product img {
		padding: 10px;
		max-height: 150px;
		min-height: 110px;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 13px;
		padding: 10px 10px 2px;
		min-height: unset;
	}

	/* Old price stacks above the current price so long numbers never wrap. */
	.woocommerce ul.products li.product .price {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 2px;
		font-size: 13.5px;
		padding: 2px 10px 0;
	}

	.woocommerce ul.products li.product .price del {
		font-size: 11.5px;
		font-weight: 600;
		margin-inline-end: 0;
	}

	/* Compact, single-line footer button pinned to the card floor. */
	.woocommerce ul.products li.product .button {
		margin: auto 10px 12px;
		padding: 8px 6px;
		font-size: 11.5px;
		gap: 5px;
	}

	/* Pagination: roomier taps, smaller pills on phones. */
	.woocommerce-pagination .page-numbers li a,
	.woocommerce-pagination .page-numbers li span {
		min-width: 38px;
		height: 38px;
		font-size: 13px;
		border-radius: 10px;
	}

	.woocommerce .woocommerce-result-count,
	.woocommerce .woocommerce-ordering {
		display: block;
		margin-inline-start: 0;
		width: 100%;
	}

	.woocommerce .woocommerce-ordering select {
		width: 100%;
	}

	.woocommerce .woocommerce-result-count,
	.woocommerce .woocommerce-ordering {
		margin-bottom: 10px;
		padding: 10px 14px;
	}

	.woocommerce .woocommerce-products-header,
	.single-page .page-hero {
		padding: 26px 16px;
		margin-bottom: 18px;
		border-radius: var(--radius);
	}

	.woocommerce .woocommerce-products-header::before,
	.single-page .page-hero::before {
		width: 130px;
		height: 130px;
		top: -60px;
		inset-inline-end: -40px;
	}

	.woocommerce .woocommerce-products-header::after,
	.single-page .page-hero::after {
		width: 90px;
		height: 90px;
		bottom: -48px;
	}

	.single-page .page-body {
		padding: 20px 14px;
		border-radius: var(--radius);
	}

	.error-404 {
		padding: 30px 6px;
	}

	.back-to-top {
		bottom: 16px;
		inset-inline-end: 16px;
		width: 40px;
		height: 40px;
	}
}

@media (max-width: 380px) {
	.product-grid,
	.product-grid[class*="cols-"],
	.product-grid.grid-compact,
	.woocommerce ul.products {
		grid-template-columns: 1fr;
	}

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

	.bcd-modal-title {
		font-size: 15px;
	}

	.bcd-modal-title .builder-cat-icon {
		width: 36px;
		height: 36px;
	}

	.bcd-modal-title .builder-cat-icon svg {
		width: 20px;
		height: 20px;
	}

	.bcd-sort-menu {
		min-width: 130px;
	}

	.bcd-modal .builder-card-btn {
		padding: 8px 10px;
		font-size: 12px;
	}

	.bcd-modal .builder-card {
		gap: 10px;
	}

	.bcd-modal .builder-card-media {
		flex-basis: 52px;
		width: 52px;
		height: 52px;
	}
}

/* ---------- Touch devices: hover states would otherwise stick ---------- */
@media (hover: none) {
	.blog-card:hover,
	.post-card:hover,
	.product-card:hover {
		transform: none;
		border-color: var(--c-border);
		box-shadow: none;
	}

	.blog-card:hover .blog-thumb img,
	.product-card:hover .product-thumb-img {
		transform: none;
	}

	.hero-features li:hover {
		background: rgba(255, 255, 255, 0.09);
		transform: none;
	}

	.blog-more:hover {
		gap: 6px;
	}
}

/* ---------- Tap targets and content overflow on small screens ---------- */
@media (max-width: 768px) {
	.btn,
	.blog-more,
	.product-card-btn,
	.header-action,
	.section-link,
	.post-navigation a,
	.woocommerce a.button,
	.woocommerce button.button {
		min-height: 44px;
	}

	.entry-content pre {
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.entry-content img,
	.entry-content iframe,
	.entry-content video,
	.entry-content embed,
	.entry-content object {
		max-width: 100%;
		height: auto;
	}

	.wp-block-image img,
	.wp-block-embed {
		max-width: 100%;
	}
}

/* ---------- Store pages: responsive ---------- */
@media (max-width: 992px) {
	body.woocommerce-checkout .col2-set {
		gap: 0 22px;
	}
}

@media (max-width: 768px) {
	/* Checkout collapses to a single column. */
	body.woocommerce-checkout .col2-set {
		grid-template-columns: 1fr;
		gap: 0;
	}

	body.woocommerce-checkout .col2-set > .col-1,
	body.woocommerce-checkout .col2-set > .col-2 {
		margin-bottom: 24px;
	}

	/* Cart table becomes a stack of labelled cards. */
	body.woocommerce-cart table.shop_table_responsive.cart {
		display: block;
		border: 0;
		border-radius: 0;
		overflow: visible;
		margin-bottom: 0;
	}

	body.woocommerce-cart table.shop_table_responsive.cart thead {
		display: none;
	}

	body.woocommerce-cart table.shop_table_responsive.cart tbody {
		display: block;
	}

	body.woocommerce-cart table.shop_table_responsive.cart tbody tr {
		display: block;
		border: 1.5px solid var(--c-border);
		border-radius: 14px;
		background: #fff;
		margin-bottom: 14px;
		overflow: hidden;
	}

	body.woocommerce-cart table.shop_table_responsive.cart tbody tr td {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 4px 14px;
		width: 100%;
		float: none;
		text-align: start !important;
		border-bottom: 1px solid var(--c-border);
		padding: 11px 14px;
	}

	body.woocommerce-cart table.shop_table_responsive.cart tbody tr td:last-child {
		border-bottom: 0;
	}

	body.woocommerce-cart table.shop_table_responsive.cart tbody tr td::before {
		content: attr(data-title);
		flex: 0 0 auto;
		font-size: 12.5px;
		font-weight: 800;
		color: var(--c-primary-dark);
	}

	body.woocommerce-cart table.shop_table_responsive.cart tbody tr td.product-remove,
	body.woocommerce-cart table.shop_table_responsive.cart tbody tr td.product-thumbnail,
	body.woocommerce-cart table.shop_table_responsive.cart tbody tr td.actions {
		display: block;
	}

	body.woocommerce-cart table.shop_table_responsive.cart tbody tr td.product-remove::before,
	body.woocommerce-cart table.shop_table_responsive.cart tbody tr td.product-thumbnail::before,
	body.woocommerce-cart table.shop_table_responsive.cart tbody tr td.actions::before {
		content: none;
	}

	body.woocommerce-cart table.shop_table_responsive.cart tbody tr td.product-remove {
		text-align: center;
		padding: 12px;
	}

	body.woocommerce-cart table.shop_table_responsive.cart tbody tr td.product-thumbnail {
		padding-bottom: 6px;
	}

	body.woocommerce-cart table.shop_table_responsive.cart tbody tr td.product-thumbnail img {
		width: 72px;
		height: 72px;
		object-fit: cover;
		border-radius: 12px;
	}

	body.woocommerce-cart table.shop_table_responsive.cart tbody tr td.actions {
		background: var(--c-bg-soft);
		padding: 14px;
	}

	body.woocommerce-cart table.shop_table_responsive.cart tbody tr td.actions .coupon {
		width: 100%;
		margin-bottom: 10px;
	}

	body.woocommerce-cart table.shop_table_responsive.cart tbody tr td.actions .coupon input.input-text {
		flex: 1 1 100%;
	}

	/* My account navigation: two comfortable columns of pills on phones —
	   full tab titles stay visible, generous touch targets, active tab pops. */
	body.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		background: transparent;
		border: 0;
		border-radius: 0;
		overflow: visible;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation li {
		border-bottom: 1.5px solid var(--c-border);
		border-inline-start: 0;
		border-inline-end: 0;
		background: #fff;
		border: 1.5px solid var(--c-border);
		border-radius: 12px;
		white-space: nowrap;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
		border-bottom: 1.5px solid var(--c-border);
		grid-column: 1 / -1;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation li a {
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 12px 10px;
		text-align: center;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	body.woocommerce-account .woocommerce-MyAccount-content {
		padding: 18px 16px;
		line-height: 2;
	}

	/* Inputs and submit buttons get real touch targets on phones.
	   16px on inputs stops the iOS auto-zoom on focus. */
	.woocommerce-account input[type="text"],
	.woocommerce-account input[type="email"],
	.woocommerce-account input[type="tel"],
	.woocommerce-account input[type="password"],
	.woocommerce-account input.input-text {
		min-height: 46px;
		font-size: 16px;
	}

	.woocommerce-account .woocommerce-MyAccount-content select,
	.woocommerce-account #customer_login select {
		min-height: 46px;
	}

	.woocommerce-account #customer_login input[name="login"],
	.woocommerce-account #customer_login button[name="login"],
	.woocommerce-account #customer_login input[name="register"],
	.woocommerce-account #customer_login button[name="register"],
	.woocommerce-account .woocommerce-MyAccount-content .button,
	.woocommerce-account .woocommerce-MyAccount-content button.button,
	.woocommerce-account .woocommerce-MyAccount-content input.button {
		width: 100%;
		min-height: 48px;
		font-size: 14.5px;
		border-radius: 12px;
		margin-top: 10px;
	}

	/* Addresses: the two cards stack on phones (WC floats them at 48%),
	   the edit-address rows go full width and the Add/Edit pill becomes
	   a real touch target. */
	body.woocommerce-account .woocommerce-Addresses.col2-set > * {
		flex: 1 1 100%;
	}

	body.woocommerce-account .col2-set .col-1,
	body.woocommerce-account .col2-set .col-2 {
		float: none;
		width: 100%;
		min-width: 0;
	}

	body.woocommerce-account .col2-set .col-1 + .col-2 {
		margin-top: 14px;
	}

	.woocommerce-account .woocommerce-MyAccount-content form.edit_address .form-row-first,
	.woocommerce-account .woocommerce-MyAccount-content form.edit_address .form-row-last,
	.woocommerce-account .woocommerce-MyAccount-content form.edit_address .form-row-wide {
		float: none;
		width: 100%;
	}

	body.woocommerce-account .woocommerce-MyAccount-content a.edit,
	.woocommerce-account .woocommerce-address-title .edit,
	.woocommerce-account .woocommerce-Address-title .edit {
		min-height: 44px;
		padding: 10px 20px;
	}

	body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table,
	body.woocommerce-account .woocommerce-MyAccount-content table.shop_table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.woocommerce form.login,
	.woocommerce form.register,
	.woocommerce form.woocommerce-form-login,
	.woocommerce form.woocommerce-form-register {
		padding: 18px 16px;
		max-width: 100%;
	}

	body.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
	body.woocommerce-checkout #place_order {
		font-size: 15px;
		min-height: 50px;
	}
}

@media (max-width: 560px) {
	body.woocommerce-cart .woocommerce-cart-form .coupon {
		flex-direction: column;
		align-items: stretch;
	}

	body.woocommerce-cart .woocommerce-cart-form .coupon .button,
	body.woocommerce-cart .woocommerce-cart-form table.cart td.actions > .button {
		width: 100%;
		margin: 6px 0 0;
	}

	body.woocommerce-cart .woocommerce-cart-form table.cart .quantity .qty {
		width: 64px;
	}

	.woocommerce table.shop_table th,
	.woocommerce table.shop_table td {
		padding: 10px 12px;
		font-size: 13px;
	}

	.woocommerce form.login p.form-row,
	.woocommerce form.register p.form-row {
		display: block;
	}
}

/* Build-your-own banner: responsive */
@media (max-width: 768px) {
	.promo-main {
		flex: 1 1 100%;
	}

	.promo-steps {
		flex: 1 1 100%;
		padding: 16px 18px;
	}

	.promo-inner {
		padding: 28px 22px;
		gap: 22px;
	}

	.promo-points {
		flex-direction: column;
		gap: 8px;
	}

	.promo-main .promo-btn {
		width: 100%;
		margin-top: 16px;
	}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Drawer controls, independent submenu disclosure, and safe viewport changes. */
@media (max-width: 992px) {
	.primary-navigation { visibility: hidden; overscroll-behavior: contain; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
	.nav-open .primary-navigation { visibility: visible; }
	.nav-close-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 8px 12px; margin-bottom: 8px; border-bottom: 1px solid var(--c-border); font-weight: 800; font-size: 14px; }
	.nav-close { display: inline-flex; justify-content: center; align-items: center; width: 44px; height: 44px; border: 1px solid var(--c-border); border-radius: 10px; background: var(--c-bg-soft); color: var(--c-text); }
	.nav-menu .menu-item-has-children { position: relative; }
	.nav-menu .menu-item-has-children > a { padding-inline-end: 56px; }
	.nav-menu .nav-caret { display: none; }
	.nav-submenu-toggle { position: absolute; top: 5px; inset-inline-end: 4px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--c-border); border-radius: 9px; color: var(--c-primary-dark); background: #fff; }
	.nav-submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
	.search-submit { min-width: 44px; width: 44px; min-height: 44px; height: 44px; flex-shrink: 0; }
	.arm-mobile-search .search-field { font-size: 16px; }
	.admin-bar .primary-navigation { top: 32px; }
	html:not(.js) .primary-navigation { position: static; visibility: visible; transform: none; width: auto; box-shadow: none; }
	html:not(.js) .nav-toggle, html:not(.js) .nav-close-row { display: none; }
	html:not(.js) .nav-menu .sub-menu { display: block; }
}
@media (max-width: 782px) {
	.admin-bar .primary-navigation { top: 46px; }
}

/* Intrinsic sizing: long product names, tables and embedded content. */
.header-start, .site-title-text, .header-search, .layout-with-sidebar > *,
.woocommerce-MyAccount-content, .product-body, .double-col, .footer-col { min-width: 0; }
.product-card-game .product-thumb { aspect-ratio: 460/215; min-height: 0; padding: 0; background: #17112e; }
.product-card-game .product-thumb .game-art { width: 100%; height: 100%; object-fit: contain; }
.entry-content iframe { max-width: 100%; }
.entry-content pre { overflow-x: auto; max-width: 100%; }
.entry-content, .product-title, .woocommerce-product-details__short-description { overflow-wrap: anywhere; }
@media(max-width: 480px) {
	.header-main-inner { gap: 8px; flex-wrap: nowrap; }
	.header-start { flex: 1 1 auto; }
	.site-logo-fallback strong { font-size: 15px; }
	.site-logo-fallback small { max-width: 150px; font-size: 9px; }
	.site-logo-fallback .logo-mark svg { width: 30px; height: 30px; }
	.header-actions { gap: 2px; flex-shrink: 0; }
	.header-action { padding-inline: 8px; }
	.nav-toggle { width: 40px; min-width: 40px; }
	.woocommerce div.product .product_title { font-size: 23px; overflow-wrap: anywhere; }
	.woocommerce .woocommerce-result-count { float: none; }
}

@media(max-width:1200px) and (min-width:993px) { .category-grid { grid-template-columns:repeat(8,minmax(0,1fr)); } }
@media(max-width:600px) and (min-width:361px) { .category-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:360px) { .category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
