body {
	background: var(--ess-bg);
	color: var(--ess-ink);
}

.ess-shop-shell {
	width: 100%;
	margin: 42px auto 80px;
}

body.home .elementor-element-store01 > .elementor-container {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

body.home .elementor-element-store02 > .elementor-widget-wrap {
	padding-inline: 0;
}

.ess-shop-hero {
	display: grid;
	gap: 10px;
	padding: clamp(28px, 6vw, 72px) 0 24px;
}

.ess-shop-kicker,
.ess-product-tag {
	margin: 0;
	color: var(--ess-green);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ess-shop-hero h1 {
	max-width: 820px;
	margin: 0;
	color: var(--ess-ink);
	font-size: clamp(2.4rem, 7vw, 6.8rem);
	line-height: 0.92;
	letter-spacing: 0;
}

.ess-shop-intro {
	max-width: 560px;
	margin: 0;
	color: var(--ess-muted);
	font-size: clamp(1rem, 2vw, 1.2rem);
}

.ess-shop-hero-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 46px;
	margin-top: 14px;
	padding: 0 20px;
	border-radius: 12px;
	background: var(--ess-accent);
	color: #fff;
	font-weight: 900;
	text-decoration: none;
}

.ess-shop-toolbar {
	display: grid;
	grid-template-columns: minmax(260px, 1fr) minmax(190px, 260px) auto;
	gap: 10px;
	align-items: center;
	margin: 18px 0 12px;
	padding: 10px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	background: rgba(11, 18, 32, 0.72);
}

.ess-shop-search {
	flex: 1 1 260px;
}

.ess-shop-toolbar input,
.ess-shop-toolbar select,
.ess-shop-toolbar button {
	min-height: 46px;
	border: 1px solid var(--ess-line);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--ess-ink);
	font: inherit;
}

.ess-shop-toolbar input {
	width: 100%;
	padding: 0 18px;
}

.ess-shop-toolbar select {
	width: 100%;
	padding: 0 38px 0 16px;
}

.ess-shop-toolbar button,
.ess-product-card .button {
	padding: 0 18px;
	border: 0;
	background: #ffffff;
	color: #111111;
	font-weight: 800;
	text-decoration: none;
}

.ess-shop-toolbar button {
	min-width: 104px;
}

.ess-shop-pills {
	display: flex;
	gap: 8px;
	margin: 0 0 26px;
	padding: 8px 0 2px;
	overflow-x: auto;
	scrollbar-width: none;
}

.ess-shop-pills::-webkit-scrollbar {
	display: none;
}

.ess-shop-pills a {
	flex: 0 0 auto;
	padding: 10px 16px;
	border: 1px solid var(--ess-line);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--ess-ink);
	font-weight: 800;
	text-decoration: none;
}

.ess-shop-pills a.is-active {
	background: var(--ess-accent);
	color: #111111;
	border-color: var(--ess-accent);
}

.ess-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: clamp(16px, 2vw, 24px);
}

.ess-product-card {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: 16px;
	background: var(--ess-surface);
	box-shadow: 0 8px 26px rgba(22, 23, 26, 0.06);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.ess-product-image {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #1d1d1d;
}

.ess-product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 260ms ease;
}

.ess-product-card:hover .ess-product-image img {
	transform: scale(1.045);
}

.ess-product-quick {
	position: absolute;
	right: 12px;
	bottom: 12px;
	padding: 8px 12px;
	border-radius: 12px;
	background: rgba(20, 20, 20, 0.9);
	color: var(--ess-ink);
	font-size: 0.84rem;
	font-weight: 800;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 180ms ease, transform 180ms ease;
}

.ess-product-card:hover .ess-product-quick {
	opacity: 1;
	transform: translateY(0);
}

.ess-product-meta {
	display: grid;
	gap: 10px;
	padding: 16px;
}

.ess-product-meta h2 {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.18;
	letter-spacing: 0;
}

.ess-product-meta h2 a {
	color: var(--ess-ink);
	text-decoration: none;
}

.ess-product-bottom {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
}

.ess-product-price {
	font-weight: 900;
	color: var(--ess-accent);
}

.ess-product-card .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	border-radius: 12px;
	font-size: 0.86rem;
	line-height: 1;
}

.ess-product-card .ess-design-button {
	background: #fff;
	color: #111;
	white-space: nowrap;
}

.ess-shop-empty {
	grid-column: 1 / -1;
	padding: 30px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--ess-muted);
}

@media (max-width: 640px) {
	.ess-shop-shell {
		width: 100%;
		margin-top: 16px;
	}

	.ess-shop-hero h1 {
		max-width: 100%;
		font-size: clamp(2.15rem, 12vw, 3.25rem);
		line-height: 0.98;
		overflow-wrap: break-word;
	}

	.ess-shop-intro {
		max-width: 100%;
		font-size: 1rem;
	}

	.ess-shop-toolbar {
		grid-template-columns: 1fr;
		gap: 8px;
		padding: 8px;
	}

	.ess-shop-toolbar input,
	.ess-shop-toolbar select,
	.ess-shop-toolbar button {
		box-sizing: border-box;
	}

	.ess-shop-toolbar select,
	.ess-shop-toolbar button {
		width: 100%;
	}

	.ess-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.ess-product-card {
		border-radius: 12px;
	}

	.ess-product-meta {
		padding: 12px;
	}

	.ess-product-bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

.ess-shop-toolbar button,
.ess-product-card .button {
	background: #ffffff;
	color: #111111;
}

.ess-product-card {
	border-color: rgba(255, 255, 255, 0.08);
}

.ess-shop-toolbar input::placeholder {
	color: rgba(246, 243, 238, 0.58);
}
html,
body,
#page,
.site,
.site-main,
.page-content,
.entry-content,
.wp-site-blocks {
	background: var(--ess-bg) !important;
}

#site-footer,
.site-footer {
	display: none !important;
}

html,
body {
	overflow-x: hidden;
}

body,
.site-main,
.page-content,
.entry-content {
	color: var(--ess-ink);
}

.ess-shop-hero h1 {
	color: #f6f3ee;
}

.ess-shop-toolbar input,
.ess-shop-toolbar select {
	background: #141414;
	border-color: rgba(255, 255, 255, 0.18);
	color: #f6f3ee;
}

.ess-shop-toolbar select option {
	background: #141414;
	color: #f6f3ee;
}

.ess-shop-pills a:not(.is-active) {
	background: #141414;
	color: #f6f3ee;
}

.ess-product-card {
	background: var(--ess-card);
	color: var(--ess-ink);
}

.ess-product-meta h2 a {
	color: #f6f3ee;
}

.ess-product-image {
	background: #222;
}

.ess-designer-shell {
	width: min(1320px, calc(100% - 32px));
	margin: 42px auto 80px;
}

body.page-id-12 .ess-designer-shell {
	width: 100%;
}

@media (max-width: 575px) {
	body.page-id-12 .site-main {
		padding-inline: 0 !important;
	}
}

.ess-designer-heading {
	display: grid;
	gap: 10px;
	padding: clamp(28px, 5vw, 56px) 0 22px;
}

.ess-designer-heading h1 {
	max-width: 900px;
	margin: 0;
	color: #f6f3ee;
	font-size: clamp(2.2rem, 6vw, 5.8rem);
	line-height: 0.94;
	letter-spacing: 0;
}

.ess-designer-heading p {
	max-width: 640px;
	margin: 0;
	color: #b8b1a8;
	font-size: 1.05rem;
}

.ess-designer-frame {
	display: block;
	width: 100%;
	height: 1120px;
	min-height: 1120px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 18px;
	background: #020617;
	box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
	overflow: hidden;
}

body.single-product {
	overflow-x: clip;
	overflow-y: visible;
}

body.single-product div.product {
	display: grid;
	grid-template-columns: minmax(580px, 0.86fr) minmax(720px, 1.14fr);
	gap: 28px;
	align-items: start;
	overflow: visible;
}

body.single-product div.product .woocommerce-product-gallery {
	position: sticky !important;
	top: 120px;
	width: 100% !important;
	max-width: 100%;
	float: none !important;
	margin: 0;
	padding: 10px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 18px;
	background: #050814;
	box-shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
	align-self: start;
	z-index: 2;
	overflow: hidden;
	box-sizing: border-box;
}

body.single-product div.product .woocommerce-product-gallery__wrapper {
	margin: 0;
	overflow: hidden;
	border-radius: 12px;
	background: #020617;
}

body.single-product div.product .woocommerce-product-gallery__image,
body.single-product div.product .woocommerce-product-gallery__image a,
body.single-product div.product .woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
}

body.single-product div.product .woocommerce-product-gallery__image img {
	border-radius: 12px;
	object-fit: cover;
}

body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	top: 24px;
	right: 24px;
}

body.single-product div.product .woocommerce-product-gallery.ess-gallery-released {
	position: relative !important;
	top: var(--ess-gallery-release-offset, 0);
}

body.single-product div.product .summary {
	width: 100% !important;
	float: none !important;
	margin: 0;
}

body.single-product div.product .summary > .product_title,
body.single-product div.product .summary > .price,
body.single-product div.product .summary > .woocommerce-product-details__short-description,
body.single-product div.product .summary > .product_meta,
body.single-product .ess-product-designer-shell .ess-designer-heading {
	display: none;
}

body.single-product .ess-product-designer-shell {
	clear: both;
	width: 100%;
	margin: 0;
	min-width: 0;
	max-height: 100%;
}

body.single-product div.product .woocommerce-tabs {
	grid-column: 1;
	width: 100%;
	margin: 24px 0 0;
}

body.single-product div.product .related.products,
body.single-product div.product .upsells.products {
	grid-column: 2;
	width: 100%;
	margin: 24px 0 0;
}

body.single-product .ess-product-designer-shell .ess-designer-heading {
	padding: 0 0 16px;
}

body.single-product .ess-product-designer-shell .ess-designer-heading h2 {
	max-width: 760px;
	margin: 0;
	color: #f6f3ee;
	font-size: clamp(1.7rem, 3vw, 2.7rem);
	line-height: 1;
	letter-spacing: 0;
}

body.single-product .ess-product-designer-shell .ess-designer-frame {
	height: 1720px;
	min-height: 1720px;
	border-color: transparent;
	box-shadow: none;
	background: transparent;
	overflow: hidden;
}

@media (max-width: 820px) {
	.ess-designer-shell {
		width: min(100% - 20px, 1320px);
		margin-top: 24px;
	}

	.ess-designer-frame {
		height: 1280px;
		min-height: 1280px;
		border-radius: 12px;
	}

	body.single-product div.product {
		display: block;
	}

	body.single-product div.product .woocommerce-product-gallery {
		position: static !important;
		top: auto !important;
		width: 100% !important;
		margin-bottom: 20px;
	}

	body.single-product div.product .woocommerce-product-gallery.ess-gallery-released {
		position: static !important;
		top: auto !important;
	}

	body.single-product div.product .summary {
		width: 100% !important;
	}

	body.single-product .ess-product-designer-shell {
		margin-top: 24px;
	}

	body.single-product .ess-product-designer-shell .ess-designer-frame {
		height: 1780px;
		min-height: 1780px;
	}

	body.single-product .ess-product-basket-shell {
		margin: 12px 0 60px;
	}

	body.single-product .ess-product-basket-shell .ess-basket-frame {
		height: 760px;
		min-height: 760px;
		border-radius: 12px;
	}
}

/* Compact radius pass */
.ess-shop-hero-cta,
.ess-shop-toolbar input,
.ess-shop-toolbar select,
.ess-shop-toolbar button,
.ess-shop-pills a,
.ess-product-card .button {
	border-radius: 12px;
}

.ess-product-card,
.ess-designer-frame {
	border-radius: 16px;
}

.ess-shop-empty {
	border-radius: 14px;
}

@media (max-width: 640px) {
	.ess-product-card,
	.ess-designer-frame {
		border-radius: 12px;
	}
}
