:root {
	--metaphiers-navy: #102852;
	--metaphiers-navy-deep: #07152a;
	--metaphiers-blue: #173f80;
	--metaphiers-gold: #d2ae68;
	--metaphiers-gold-soft: #ead6ae;
	--metaphiers-cream: #fffaf1;
	--metaphiers-cream-deep: #f5ebdc;
	--metaphiers-ink: #173254;
	--metaphiers-border: rgba(199, 174, 106, 0.24);
	--metaphiers-shadow: 0 18px 40px rgba(11, 25, 49, 0.1);
}

body.post-type-archive-product {
	background: linear-gradient(180deg, #fcfaf5 0%, #f6efe4 100%);
	color: var(--metaphiers-ink);
}

body.post-type-archive-product #main-container {
	background: transparent;
}

body.post-type-archive-product .site-main {
	padding-bottom: 3rem;
}

body.post-type-archive-product .hero-section[data-type="type-2"] {
	display: none;
}

[data-header*="type-1"] .ct-header [data-row*="middle"] {
	background: linear-gradient(180deg, #132d56 0%, #102852 100%);
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

[data-header*="type-1"] .ct-header [data-row*="bottom"] {
	background: linear-gradient(180deg, #1b437d 0%, #173f80 100%);
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

[data-header*="type-1"] .ct-header [data-id="button"] .ct-button {
	min-height: 42px;
	padding-inline: 1rem;
	border-radius: 7px;
	box-shadow: 0 10px 24px rgba(7, 21, 42, 0.14);
}

[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a {
	letter-spacing: 0.06em;
}

[data-header*="type-1"] .ct-header-socials .ct-icon-container {
	border-radius: 999px;
}

.metaphiers-shop-hero {
	margin: 0 0 3.25rem;
	padding: clamp(1.5rem, 4vw, 3rem) 0 0.5rem;
}

.metaphiers-shop-hero__inner {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
	gap: clamp(1.4rem, 3vw, 2.75rem);
	align-items: center;
	padding: clamp(1.5rem, 3vw, 2.75rem);
	border: 1px solid var(--metaphiers-border);
	border-radius: 12px;
	background:
		radial-gradient(circle at 23% 20%, rgba(255, 255, 255, 0.9), transparent 30%),
		linear-gradient(180deg, var(--metaphiers-cream) 0%, var(--metaphiers-cream-deep) 100%);
	box-shadow: 0 24px 54px rgba(11, 25, 49, 0.12);
}

.metaphiers-shop-hero__content {
	color: var(--metaphiers-ink);
}

.metaphiers-shop-hero__eyebrow {
	margin: 0 0 0.8rem;
	color: #c59c51;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.metaphiers-shop-hero__title {
	margin: 0;
	color: var(--metaphiers-navy);
	font-size: clamp(2.25rem, 4vw, 4rem);
	line-height: 1.02;
	max-width: 11ch;
	text-wrap: balance;
}

.metaphiers-shop-hero__copy {
	max-width: 35rem;
	margin: 1rem 0 0;
	color: rgba(23, 50, 84, 0.86);
	font-size: 1.06rem;
	line-height: 1.75;
}

.metaphiers-shop-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 1.5rem;
}

.metaphiers-shop-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0.8rem 1.15rem;
	border-radius: 7px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.metaphiers-shop-hero__button:hover {
	transform: translateY(-1px);
}

.metaphiers-shop-hero__button--primary {
	background: var(--metaphiers-navy);
	color: var(--metaphiers-cream);
	box-shadow: 0 14px 28px rgba(7, 21, 42, 0.16);
}

.metaphiers-shop-hero__button--primary:hover {
	background: #16376c;
	color: var(--metaphiers-cream);
}

.metaphiers-shop-hero__button--secondary {
	border: 1px solid rgba(16, 40, 82, 0.18);
	background: rgba(255, 255, 255, 0.46);
	color: var(--metaphiers-navy);
	backdrop-filter: blur(4px);
}

.metaphiers-shop-hero__button--secondary:hover {
	border-color: rgba(16, 40, 82, 0.28);
	background: rgba(255, 255, 255, 0.7);
	color: var(--metaphiers-navy);
}

.metaphiers-shop-hero__meta {
	margin: 1rem 0 0;
	color: rgba(150, 112, 48, 0.94);
	font-size: 0.92rem;
	font-weight: 600;
}

.metaphiers-shop-hero__visual {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.95rem;
	align-content: start;
	padding: clamp(1rem, 2vw, 1.3rem);
	border: 1px solid rgba(234, 214, 174, 0.16);
	border-radius: 28px 12px 12px 28px;
	background:
		radial-gradient(circle at top left, rgba(255, 255, 255, 0.1), transparent 34%),
		linear-gradient(180deg, rgba(16, 40, 82, 0.98) 0%, rgba(7, 21, 42, 0.98) 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.08),
		0 22px 42px rgba(7, 21, 42, 0.18);
}

.metaphiers-shop-hero__visual::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 48%);
	pointer-events: none;
}

.metaphiers-shop-hero__logo-wrap {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding-top: 0.2rem;
}

.metaphiers-shop-hero__logo {
	width: min(100%, 340px);
	height: auto;
	filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.18));
}

.metaphiers-shop-hero__card {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 1rem;
	align-items: center;
	padding: 0.95rem;
	border: 1px solid rgba(234, 214, 174, 0.12);
	border-radius: 10px;
	background: linear-gradient(180deg, rgba(8, 22, 43, 0.68) 0%, rgba(12, 34, 66, 0.54) 100%);
	box-shadow: 0 14px 26px rgba(7, 21, 42, 0.16);
}

.metaphiers-shop-hero__card-media {
	overflow: hidden;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.12);
}

.metaphiers-shop-hero__card-image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

.metaphiers-shop-hero__card-title,
.metaphiers-shop-hero__card-price {
	margin: 0;
}

.metaphiers-shop-hero__card-title {
	color: #ffffff;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}

.metaphiers-shop-hero__card-price {
	margin-top: 0.35rem;
	color: var(--metaphiers-gold-soft);
	font-weight: 600;
}

.metaphiers-products-anchor {
	position: relative;
	top: -1rem;
	height: 1px;
}

.ct-container[data-sidebar="right"] {
	gap: clamp(1.2rem, 2vw, 2rem);
	align-items: start;
}

[data-products="type-2"] {
	row-gap: 1.4rem;
}

[data-products="type-2"] .product {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(199, 174, 106, 0.24);
	border-radius: 12px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 245, 233, 0.96) 100%);
	box-shadow:
		0 18px 38px rgba(11, 25, 49, 0.1),
		inset 0 1px 0 rgba(255, 255, 255, 0.7);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

[data-products="type-2"] .product:hover {
	transform: translateY(-3px);
	border-color: rgba(199, 174, 106, 0.38);
	box-shadow:
		0 28px 52px rgba(11, 25, 49, 0.14),
		inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

[data-products="type-2"] .product figure {
	position: relative;
	margin-bottom: 0;
}

[data-products="type-2"] .product figure::after {
	content: "";
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: -0.8rem;
	height: 1.4rem;
	border-radius: 999px;
	background: rgba(11, 25, 49, 0.14);
	filter: blur(14px);
	opacity: 0.24;
	pointer-events: none;
}

[data-products="type-2"] .product .ct-media-container {
	position: relative;
	z-index: 1;
	border-radius: 12px 12px 0 0;
}

[data-products="type-2"] .product .ct-media-container img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

[data-products="type-2"] .woocommerce-loop-product__title,
[data-products="type-2"] .entry-meta,
[data-products="type-2"] .price,
[data-products="type-2"] .ct-woo-card-actions {
	padding-inline: 1.1rem;
}

[data-products="type-2"] .woocommerce-loop-product__title {
	margin-top: 1.35rem;
}

[data-products="type-2"] .woocommerce-loop-product__title a {
	color: var(--metaphiers-navy);
}

[data-products="type-2"] .price {
	color: #b78d43;
	font-size: 1.02rem;
	font-weight: 600;
}

[data-products="type-2"] .entry-meta {
	margin-top: 0.45rem;
	margin-bottom: 0;
	padding-bottom: 1.15rem;
}

[data-products="type-2"] .entry-meta a {
	color: #9f7835;
	letter-spacing: 0.08em;
	font-weight: 700;
}

[data-products="type-2"] .ct-woo-card-actions {
	padding-bottom: 1.1rem;
}

[data-products="type-2"] .button,
[data-products="type-2"] .added_to_cart {
	min-height: 44px;
	border-radius: 7px;
}

#sidebar .ct-sidebar {
	gap: 1rem;
}

#sidebar .ct-widget {
	padding: 1.2rem;
	border: 1px solid rgba(199, 174, 106, 0.2);
	border-radius: 8px;
	background: rgba(255, 251, 245, 0.92);
	box-shadow: 0 16px 34px rgba(11, 25, 49, 0.08);
}

#sidebar .wp-block-search__label {
	margin-bottom: 0.75rem;
	color: var(--metaphiers-navy);
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

#sidebar .wp-block-search__inside-wrapper {
	display: grid;
	gap: 0.75rem;
	padding: 0;
	border: 0;
	background: transparent;
}

#sidebar .wp-block-search__input {
	min-height: 48px;
	border: 1px solid rgba(199, 174, 106, 0.28);
	border-radius: 7px;
	background: #fffdf8;
	padding-inline: 0.95rem;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

#sidebar .wp-block-search__button {
	margin: 0;
	min-height: 46px;
	border: 0;
	border-radius: 7px;
	background: var(--metaphiers-navy);
	color: var(--metaphiers-cream);
	font-weight: 700;
}

#sidebar .wp-block-search__button:hover {
	background: #16376c;
}

[data-footer*="type-1"] .ct-footer {
	background: linear-gradient(180deg, #cfb06d 0%, #bc9a58 100%);
}

[data-footer*="type-1"] .ct-footer a {
	color: var(--metaphiers-navy-deep);
	font-weight: 600;
}

@media (max-width: 999.98px) {
	.metaphiers-shop-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		background:
			radial-gradient(circle at top left, rgba(255, 255, 255, 0.84), transparent 32%),
			linear-gradient(180deg, var(--metaphiers-cream) 0%, var(--metaphiers-cream-deep) 100%);
	}

	.metaphiers-shop-hero__visual {
		border-radius: 12px;
	}

	.metaphiers-shop-hero__title {
		max-width: 13ch;
	}

	.metaphiers-shop-hero__logo-wrap {
		justify-content: flex-start;
	}
}

@media (max-width: 689.98px) {
	.metaphiers-shop-hero {
		margin-bottom: 2rem;
	}

	.metaphiers-shop-hero__inner {
		padding: 1.25rem;
	}

	.metaphiers-shop-hero__title {
		font-size: 2.2rem;
		max-width: none;
	}

	.metaphiers-shop-hero__card {
		grid-template-columns: 72px minmax(0, 1fr);
	}
}
