body.astra-wholesale-template-page {
	background: #f3f3f3;
}

body.astra-wholesale-template-page .site-content > .ast-container,
body.astra-wholesale-template-page .site-content > .ast-container-fluid {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

body.astra-wholesale-template-page #primary {
	width: 100%;
	margin: 0;
}

.astra-wholesale-entry {
	margin: 0;
}

.astra-wholesale-page {
	--wh-bg: #f3f3f3;
	--wh-surface: #ffffff;
	--wh-surface-soft: #f8f8f8;
	--wh-border: #d7d7d7;
	--wh-border-strong: #b3b3b3;
	--wh-text: #1b1b1b;
	--wh-muted: #767676;
	--wh-accent: #f3213c;
	--wh-accent-soft: #fff0f3;
	--wh-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
	padding: 36px 20px 72px;
	background: var(--wh-bg);
	color: var(--wh-text);
}

.astra-wholesale-shell {
	max-width: 1460px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.astra-wholesale-sidebar {
	position: sticky;
	top: 20px;
	z-index: 10;
}

.astra-wholesale-directory {
	position: relative;
}

.astra-wholesale-directory-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 16px 18px;
	appearance: none;
	border: 0;
	border-radius: 14px 14px 0 0;
	background: #f5233d;
	color: #fff;
	box-shadow: var(--wh-shadow);
	font: inherit;
	text-align: left;
	cursor: default;
}

.astra-wholesale-directory-head-text {
	font-size: 17px;
	font-weight: 700;
	line-height: 1;
}

.astra-wholesale-directory-head-icon {
	font-size: 14px;
	line-height: 1;
	transition: transform 0.2s ease;
}

.astra-wholesale-nav {
	position: relative;
	border: 1px solid #dedede;
	border-top: 0;
	border-radius: 0 0 14px 14px;
	background: #fff;
	box-shadow: var(--wh-shadow);
}

.astra-wholesale-directory-list {
	position: relative;
	min-height: 640px;
	padding: 8px 0;
}

.astra-wholesale-directory-item {
	position: static;
}

.astra-wholesale-nav-link {
	color: inherit;
	text-decoration: none;
}

.astra-wholesale-directory-link {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) 14px;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	color: #191919;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.astra-wholesale-directory-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border: 1px solid #1f1f1f;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.astra-wholesale-directory-arrow {
	font-size: 18px;
	line-height: 1;
	color: #1f1f1f;
}

.astra-wholesale-directory-item.is-active .astra-wholesale-directory-link,
.astra-wholesale-directory-link:hover {
	background: #fff2f4;
	color: #f5233d;
}

.astra-wholesale-directory-item.is-active .astra-wholesale-directory-icon,
.astra-wholesale-directory-link:hover .astra-wholesale-directory-icon {
	border-color: #f5233d;
}

.astra-wholesale-directory-item.is-active .astra-wholesale-directory-arrow,
.astra-wholesale-directory-link:hover .astra-wholesale-directory-arrow {
	color: #f5233d;
}

.astra-wholesale-directory-panel {
	position: absolute;
	top: 0;
	left: calc(100% + 12px);
	display: none;
	width: 336px;
	min-height: 100%;
	max-height: min(78vh, 720px);
	padding: 24px 28px;
	border: 1px solid #dedede;
	border-radius: 0 14px 14px 14px;
	background: #fff;
	box-shadow: var(--wh-shadow);
	overflow-y: auto;
	overscroll-behavior: contain;
	z-index: 12;
}

.astra-wholesale-directory-panel.is-open {
	display: block;
}

.astra-wholesale-directory-panel-title {
	margin: 0 0 18px;
	color: #a7a7a7;
	font-size: 16px;
	font-weight: 600;
}

.astra-wholesale-directory-panel-links {
	display: grid;
	gap: 14px;
}

.astra-wholesale-directory-panel-groups {
	display: grid;
	gap: 18px;
}

.astra-wholesale-directory-panel-group {
	border: 1px solid #ececec;
	border-radius: 12px;
	background: #fafafa;
	overflow: hidden;
}

.astra-wholesale-directory-panel-group + .astra-wholesale-directory-panel-group {
	margin-top: 2px;
}

.astra-wholesale-directory-panel-group-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	cursor: pointer;
	list-style: none;
}

.astra-wholesale-directory-panel-group-summary::-webkit-details-marker {
	display: none;
}

.astra-wholesale-directory-panel-group[open] .astra-wholesale-directory-panel-group-summary {
	background: #fff3f5;
}

.astra-wholesale-directory-panel-group-title {
	margin: 0;
	color: #f5233d;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.astra-wholesale-directory-panel-group-arrow {
	color: #f5233d;
	font-size: 16px;
	line-height: 1;
	transform: rotate(90deg);
	transition: transform 0.2s ease;
}

.astra-wholesale-directory-panel-group[open] .astra-wholesale-directory-panel-group-arrow {
	transform: rotate(270deg);
}

.astra-wholesale-directory-panel-group .astra-wholesale-directory-panel-links {
	gap: 0;
	padding: 6px 14px 12px;
}

.astra-wholesale-directory-panel-link {
	display: block;
	color: #202020;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.45;
	padding: 8px 0 8px 12px;
	border-top: 1px solid #ededed;
}

.astra-wholesale-directory-panel-link:hover,
.astra-wholesale-directory-panel-link.is-active {
	color: #f5233d;
}

.astra-wholesale-content {
	display: grid;
	gap: 24px;
}

.astra-wholesale-hero,
.astra-wholesale-category,
.astra-wholesale-empty {
	padding: 26px;
	border: 1px solid #dfdfdf;
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--wh-shadow);
}

.astra-wholesale-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 20px;
	align-items: center;
}

.astra-wholesale-hero-kicker {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 14px;
	border-radius: 999px;
	background: #fff0f3;
	color: #f5233d;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.astra-wholesale-hero-title {
	margin: 14px 0 10px;
	font-size: clamp(34px, 4vw, 48px);
	line-height: 1.04;
	font-weight: 700;
}

.astra-wholesale-hero-text,
.astra-wholesale-category-text,
.astra-wholesale-subcategory-text,
.astra-wholesale-card-note {
	margin: 0;
	color: #6f6f6f;
	font-size: 15px;
	line-height: 1.65;
}

.astra-wholesale-hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-end;
}

.astra-wholesale-hero-stat {
	min-width: 142px;
	padding: 16px 18px;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	background: #fafafa;
}

.astra-wholesale-hero-stat-value {
	display: block;
	font-size: 30px;
	line-height: 1;
	font-weight: 700;
}

.astra-wholesale-hero-stat-label {
	display: block;
	margin-top: 8px;
	color: #666;
	font-size: 13px;
	font-weight: 600;
}

.astra-wholesale-category {
	scroll-margin-top: 36px;
}

.astra-wholesale-category-header {
	padding-bottom: 18px;
	margin-bottom: 22px;
	border-bottom: 1px solid #ececec;
}

.astra-wholesale-category-heading {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
}

.astra-wholesale-category-index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 14px;
	background: #fff1f3;
	color: #f5233d;
	font-size: 24px;
	font-weight: 700;
}

.astra-wholesale-category-title {
	margin: 0 0 6px;
	font-size: 32px;
	line-height: 1.1;
	font-weight: 700;
}

.astra-wholesale-category-body {
	display: grid;
	gap: 22px;
}

.astra-wholesale-subcategory {
	padding: 22px;
	border: 1px solid #ebebeb;
	border-radius: 14px;
	background: #fcfcfc;
	scroll-margin-top: 36px;
}

.astra-wholesale-subcategory-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.astra-wholesale-subcategory-title {
	margin: 0 0 8px;
	font-size: 28px;
	line-height: 1.12;
	font-weight: 700;
}

.astra-wholesale-subcategory-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 5px 12px;
	border-radius: 999px;
	background: #fff0f3;
	color: #d95a6c;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.astra-wholesale-products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.astra-wholesale-card {
	display: grid;
	gap: 14px;
	padding: 18px;
	border: 1px solid #cfcfcf;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.astra-wholesale-card-head {
	display: grid;
	gap: 4px;
}

.astra-wholesale-card-title {
	margin: 0;
	color: #f0443a;
	font-size: 25px;
	line-height: 1.12;
	font-weight: 700;
	text-transform: uppercase;
}

.astra-wholesale-card-code {
	margin: 0;
	color: #6d6d6d;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.astra-wholesale-card-primary-link,
.astra-wholesale-card-media-link {
	color: inherit;
	text-decoration: none;
}

.astra-wholesale-card-media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 240px;
	padding: 16px;
	background: #fff;
	overflow: hidden;
}

.astra-wholesale-card-media-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.astra-wholesale-card-media::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: #f0443a;
}

.astra-wholesale-card-media img {
	display: block;
	max-width: 100%;
	max-height: 210px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.astra-wholesale-card-back-link {
	display: none;
	align-items: center;
	width: fit-content;
	color: #f0443a;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-decoration: none;
	text-transform: uppercase;
}

.astra-wholesale-card-note {
	padding: 10px 12px;
	border: 1px solid #e5e5e5;
	background: #fafafa;
	font-size: 13px;
	line-height: 1.55;
}

.astra-wholesale-card-tables {
	display: grid;
	gap: 10px;
}

.astra-wholesale-card-mobile-specs {
	display: none;
}

.astra-wholesale-card-table {
	border: 1px solid #a7a7a7;
	background: #fff;
}

.astra-wholesale-card-row {
	display: grid;
	grid-template-columns: repeat(var(--wh-card-columns), minmax(0, 1fr));
}

.astra-wholesale-card-row + .astra-wholesale-card-row {
	border-top: 1px solid #a7a7a7;
}

.astra-wholesale-card-cell {
	padding: 9px 10px;
	text-align: center;
}

.astra-wholesale-card-cell + .astra-wholesale-card-cell {
	border-left: 1px solid #a7a7a7;
}

.astra-wholesale-card-cell-label {
	background: #7e7a70;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.astra-wholesale-card-cell-value {
	background: #fff;
	color: #444;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	word-break: break-word;
}

@media (max-width: 1320px) {
	.astra-wholesale-shell {
		grid-template-columns: 280px minmax(0, 1fr);
	}

	.astra-wholesale-directory-panel {
		width: 270px;
	}
}

@media (max-width: 1200px) {
	.astra-wholesale-products {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 960px) {
	.astra-wholesale-page {
		padding-left: 14px;
		padding-right: 14px;
	}

	.astra-wholesale-shell {
		grid-template-columns: 1fr;
	}

	.astra-wholesale-sidebar {
		position: sticky;
		top: 0;
		z-index: 24;
	}

	.astra-wholesale-nav {
		display: none;
	}

	.astra-wholesale-directory.is-open .astra-wholesale-nav {
		display: block;
	}

	.astra-wholesale-directory-list {
		min-height: 0;
		padding-bottom: 10px;
	}

	.astra-wholesale-directory-head {
		position: sticky;
		top: 0;
		z-index: 25;
		cursor: pointer;
	}

	.astra-wholesale-directory:not(.is-open) .astra-wholesale-directory-head {
		border-radius: 14px;
	}

	.astra-wholesale-directory.is-open .astra-wholesale-directory-head-icon {
		transform: rotate(180deg);
	}

	.astra-wholesale-directory-panel {
		position: static;
		display: none;
		width: auto;
		min-height: 0;
		max-height: none;
		margin: 0 14px 14px;
		padding: 16px 18px;
		border-radius: 12px;
	}

	.astra-wholesale-directory-panel-group .astra-wholesale-directory-panel-links {
		padding: 6px 10px 10px;
	}

	.astra-wholesale-directory-item.is-active .astra-wholesale-directory-panel {
		display: block;
	}

	.astra-wholesale-hero {
		grid-template-columns: 1fr;
	}

	.astra-wholesale-hero-meta {
		justify-content: flex-start;
	}
}

@media (max-width: 768px) {
	.astra-wholesale-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.astra-wholesale-page {
		padding-top: 22px;
		padding-bottom: 48px;
	}

	.astra-wholesale-hero,
	.astra-wholesale-category,
	.astra-wholesale-subcategory,
	.astra-wholesale-empty {
		padding: 18px;
	}

	.astra-wholesale-category-heading {
		grid-template-columns: 52px minmax(0, 1fr);
	}

	.astra-wholesale-category-index {
		width: 52px;
		height: 52px;
		font-size: 20px;
	}

	.astra-wholesale-category-title {
		font-size: 28px;
	}

	.astra-wholesale-subcategory-header {
		flex-direction: column;
	}

	.astra-wholesale-subcategory-title {
		font-size: 24px;
	}

	.astra-wholesale-card {
		padding: 14px;
		scroll-margin-top: 92px;
	}

	.astra-wholesale-card-title {
		font-size: 18px;
		line-height: 1.18;
		word-break: break-word;
	}

	.astra-wholesale-card-media {
		min-height: 132px;
		padding: 12px;
	}

	.astra-wholesale-card-media img {
		max-height: 112px;
	}

	.astra-wholesale-card-code,
	.astra-wholesale-card-note,
	.astra-wholesale-card-tables,
	.astra-wholesale-card-mobile-specs {
		display: none;
	}

	.astra-wholesale-card:target {
		grid-column: 1 / -1;
		padding: 16px;
		border-color: #f0b8bf;
		box-shadow: 0 14px 30px rgba(240, 68, 58, 0.08);
	}

	.astra-wholesale-card:target .astra-wholesale-card-back-link {
		display: inline-flex;
	}

	.astra-wholesale-card:target .astra-wholesale-card-code {
		display: block;
		font-size: 10px;
		line-height: 1.4;
		word-break: break-word;
	}

	.astra-wholesale-card:target .astra-wholesale-card-note {
		display: block;
		padding: 8px 10px;
		font-size: 12px;
	}

	.astra-wholesale-card:target .astra-wholesale-card-tables {
		display: grid;
	}

	.astra-wholesale-card:target .astra-wholesale-card-table {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.astra-wholesale-card:target .astra-wholesale-card-row {
		min-width: 420px;
	}

	.astra-wholesale-card:target .astra-wholesale-card-media {
		min-height: 176px;
	}

	.astra-wholesale-card:target .astra-wholesale-card-media img {
		max-height: 156px;
	}
}

@media (max-width: 360px) {
	.astra-wholesale-products {
		grid-template-columns: 1fr;
	}

	.astra-wholesale-card {
		padding: 16px;
	}

	.astra-wholesale-card-media {
		min-height: 170px;
	}

	.astra-wholesale-card-media img {
		max-height: 145px;
	}
}
