:root {
	--jewelry-ink: #171512;
	--jewelry-muted: #6c6258;
	--jewelry-paper: #fffaf1;
	--jewelry-silk: #f7efe1;
	--jewelry-lacquer: #8e1f1f;
	--jewelry-jade: #2f6f63;
	--jewelry-gold: #c89b3c;
	--jewelry-line: rgba(23, 21, 18, 0.12);
}

body {
	color: var(--jewelry-ink);
	background:
		linear-gradient(180deg, rgba(255, 250, 241, 0.96), rgba(247, 239, 225, 0.9)),
		var(--jewelry-paper);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
	color: var(--jewelry-lacquer);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
	color: var(--jewelry-jade);
}

.site-main {
	background: transparent;
}

.ct-header {
	border-bottom: 1px solid var(--jewelry-line);
}

.is-scrolled .ct-header {
	box-shadow: 0 12px 30px rgba(23, 21, 18, 0.08);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.woocommerce-products-header__title {
	color: var(--jewelry-ink);
	font-family: Georgia, "Times New Roman", serif;
	letter-spacing: 0;
}

.wp-block-button__link,
.button,
.ct-button,
.single_add_to_cart_button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	border: 1px solid var(--jewelry-lacquer);
	border-radius: 4px;
	background: var(--jewelry-lacquer);
	color: #fff;
	font-weight: 650;
	letter-spacing: 0;
	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		color 160ms ease,
		transform 160ms ease;
}

.wp-block-button__link:hover,
.button:hover,
.ct-button:hover,
.single_add_to_cart_button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	border-color: var(--jewelry-jade);
	background: var(--jewelry-jade);
	color: #fff;
	transform: translateY(-1px);
}

.woocommerce ul.products li.product,
.wc-block-grid__product {
	overflow: hidden;
	border: 1px solid var(--jewelry-line);
	border-radius: 6px;
	background: rgba(255, 250, 241, 0.78);
	box-shadow: 0 18px 45px rgba(23, 21, 18, 0.06);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.wc-block-grid__product-title {
	color: var(--jewelry-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1rem, 0.96rem + 0.2vw, 1.16rem);
	line-height: 1.35;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--jewelry-lacquer);
	font-weight: 700;
}

.woocommerce span.onsale {
	min-width: 3rem;
	border-radius: 999px;
	background: var(--jewelry-gold);
	color: var(--jewelry-ink);
	font-weight: 700;
}

.woocommerce div.product .product_title {
	font-family: Georgia, "Times New Roman", serif;
	letter-spacing: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--jewelry-lacquer);
}

.jewelry-core-tab-content {
	max-width: 72ch;
	color: var(--jewelry-muted);
	font-size: 1rem;
	line-height: 1.75;
}

@media (max-width: 689.98px) {
	.woocommerce ul.products li.product,
	.wc-block-grid__product {
		border-radius: 4px;
	}
}

.jwl-market-body {
	--jwl-orange: #f1641e;
	--jwl-charcoal: #2b2630;
	--jwl-cream: #fbf7ef;
	--jwl-panel: #f4e7b8;
	--jwl-soft: #f8f3ea;
	--jwl-green: #50733a;
	--jwl-border: rgba(43, 38, 48, 0.16);

	margin: 0;
	background: var(--jwl-cream);
	color: var(--jwl-charcoal);
	font-family: Arial, Helvetica, sans-serif;
}

.jwl-market-body a {
	color: inherit;
	text-decoration: none;
}

.jwl-market-header {
	position: sticky;
	top: 0;
	z-index: 20;
	border-bottom: 1px solid var(--jwl-border);
	background: rgba(251, 247, 239, 0.96);
	backdrop-filter: blur(16px);
}

.admin-bar .jwl-market-header {
	top: 32px;
}

.jwl-header-inner,
.jwl-category-nav,
.jwl-market-main {
	width: min(1520px, calc(100% - 48px));
	margin-inline: auto;
}

.jwl-header-inner {
	display: grid;
	grid-template-columns: auto auto minmax(260px, 1fr) auto auto;
	gap: 18px;
	align-items: center;
	min-height: 72px;
}

.jwl-logo {
	color: var(--jwl-orange);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 2.8rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
}

.jwl-categories-link,
.jwl-header-action,
.jwl-cart-link,
.jwl-category-nav a,
.jwl-view-all {
	font-size: 0.96rem;
	font-weight: 700;
}

.jwl-categories-link,
.jwl-header-action,
.jwl-cart-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border-radius: 999px;
	white-space: nowrap;
}

.jwl-categories-link {
	gap: 8px;
	padding: 0 10px;
}

.jwl-menu-icon,
.jwl-cart-icon {
	position: relative;
	display: inline-block;
	width: 18px;
	height: 18px;
}

.jwl-menu-icon::before,
.jwl-menu-icon::after,
.jwl-cart-icon::before,
.jwl-cart-icon::after {
	position: absolute;
	content: "";
}

.jwl-menu-icon::before {
	top: 4px;
	left: 2px;
	width: 14px;
	height: 2px;
	background: currentColor;
	box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor;
}

.jwl-cart-icon::before {
	top: 4px;
	left: 2px;
	width: 13px;
	height: 10px;
	border: 2px solid currentColor;
	border-top: none;
	transform: skewX(-10deg);
}

.jwl-cart-icon::after {
	bottom: 1px;
	left: 4px;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 9px 0 0 currentColor;
}

.jwl-cart-count {
	display: inline-grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	margin-left: -2px;
	border-radius: 999px;
	background: var(--jwl-orange);
	color: #fff;
	font-size: 0.72rem;
	line-height: 1;
}

.jwl-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 52px;
	align-items: center;
	min-height: 54px;
	overflow: hidden;
	border: 3px solid var(--jwl-charcoal);
	border-radius: 999px;
	background: #fff;
}

.jwl-search input[type="search"] {
	width: 100%;
	height: 100%;
	min-width: 0;
	border: 0;
	background: transparent;
	color: var(--jwl-charcoal);
	font-size: 1.08rem;
	outline: none;
	padding: 0 22px;
}

.jwl-search input[type="search"]::placeholder {
	color: rgba(43, 38, 48, 0.62);
}

.jwl-search button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-right: 4px;
	border: 0;
	border-radius: 50%;
	background: var(--jwl-orange);
	cursor: pointer;
}

.jwl-search button span {
	position: relative;
	width: 18px;
	height: 18px;
	border: 4px solid #fff;
	border-radius: 50%;
}

.jwl-search button span::after {
	position: absolute;
	right: -8px;
	bottom: -6px;
	width: 12px;
	height: 4px;
	border-radius: 999px;
	background: #fff;
	content: "";
	transform: rotate(45deg);
}

.jwl-category-nav {
	display: flex;
	justify-content: center;
	gap: clamp(16px, 3vw, 56px);
	min-height: 44px;
	overflow-x: auto;
	white-space: nowrap;
	scrollbar-width: none;
}

.jwl-category-nav::-webkit-scrollbar {
	display: none;
}

.jwl-category-nav a {
	display: inline-flex;
	align-items: center;
	color: var(--jwl-charcoal);
}

.jwl-category-nav a:hover,
.jwl-category-nav a:focus-visible,
.jwl-header-action:hover,
.jwl-cart-link:hover,
.jwl-categories-link:hover {
	color: var(--jwl-orange);
}

.jwl-market-main {
	padding: 34px 0 72px;
}

.jwl-section {
	margin-bottom: 46px;
}

.jwl-section-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
}

.jwl-section-heading h1,
.jwl-section-heading h2 {
	margin: 0;
	color: var(--jwl-charcoal);
	font-family: Arial, Helvetica, sans-serif;
	font-size: clamp(1.28rem, 1.08rem + 0.7vw, 1.64rem);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: 0;
}

.jwl-view-all {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 22px;
	border: 2px solid rgba(43, 38, 48, 0.76);
	border-radius: 999px;
	background: transparent;
}

.jwl-view-all:hover,
.jwl-view-all:focus-visible {
	border-color: var(--jwl-orange);
	color: var(--jwl-orange);
}

.jwl-rail-shell {
	position: relative;
}

.jwl-product-rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(205px, 1fr);
	gap: 22px;
	overflow-x: auto;
	padding: 0 2px 14px;
	scroll-padding-inline: 2px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.jwl-product-rail::-webkit-scrollbar {
	display: none;
}

.jwl-product-card {
	position: relative;
	min-width: 0;
	scroll-snap-align: start;
}

.jwl-product-link {
	display: block;
	min-width: 0;
}

.jwl-product-media {
	display: block;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	border-radius: 8px;
	background: #eee6db;
	box-shadow: 0 6px 18px rgba(43, 38, 48, 0.08);
}

.jwl-product-image,
.jwl-product-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 180ms ease;
}

.jwl-product-link:hover .jwl-product-image,
.jwl-product-link:focus-visible .jwl-product-image {
	transform: scale(1.035);
}

.jwl-product-title {
	display: block;
	margin-top: 9px;
	overflow: hidden;
	color: rgba(43, 38, 48, 0.84);
	font-size: 1rem;
	line-height: 1.18;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.jwl-product-price {
	display: flex;
	align-items: baseline;
	gap: 7px;
	margin-top: 3px;
	color: var(--jwl-green);
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.1;
}

.jwl-product-price del {
	color: rgba(43, 38, 48, 0.55);
	font-size: 0.96rem;
	font-weight: 500;
}

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

.jwl-favorite {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 4px 14px rgba(43, 38, 48, 0.15);
	color: var(--jwl-charcoal);
	cursor: pointer;
	font-size: 1.35rem;
	line-height: 1;
}

.jwl-favorite:hover,
.jwl-favorite:focus-visible {
	color: var(--jwl-orange);
}

.jwl-sale-badge {
	position: absolute;
	top: 13px;
	left: 12px;
	padding: 5px 9px;
	border-radius: 999px;
	background: var(--jwl-green);
	color: #fff;
	font-size: 0.76rem;
	font-weight: 800;
	line-height: 1;
}

.jwl-rail-button {
	position: absolute;
	top: 35%;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border: 0;
	border-radius: 50%;
	background: var(--jwl-charcoal);
	box-shadow: 0 12px 30px rgba(43, 38, 48, 0.22);
	cursor: pointer;
}

.jwl-rail-button::before {
	width: 14px;
	height: 14px;
	border-top: 4px solid #fff;
	border-right: 4px solid #fff;
	content: "";
}

.jwl-rail-prev {
	left: -18px;
}

.jwl-rail-prev::before {
	transform: rotate(-135deg);
}

.jwl-rail-next {
	right: -18px;
}

.jwl-rail-next::before {
	transform: rotate(45deg);
}

.jwl-promo-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.7fr);
	gap: 28px;
	margin: 34px 0 56px;
}

.jwl-promo {
	overflow: hidden;
	min-height: 280px;
	border-radius: 8px;
}

.jwl-promo-large {
	display: grid;
	grid-template-columns: minmax(270px, 0.65fr) minmax(320px, 0.85fr);
	background: var(--jwl-panel);
}

.jwl-promo-copy {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: clamp(30px, 5vw, 62px);
	text-align: center;
}

.jwl-promo-copy p {
	margin: 0 0 10px;
	font-size: 0.9rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0;
}

.jwl-promo-copy h2 {
	max-width: 520px;
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.1rem, 1.45rem + 2.5vw, 4rem);
	line-height: 0.98;
	letter-spacing: 0;
}

.jwl-promo-button,
.jwl-promo-dark-copy a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin-top: 28px;
	padding: 0 28px;
	border-radius: 999px;
	background: var(--jwl-charcoal);
	color: #fff;
	font-weight: 800;
}

.jwl-promo-images {
	position: relative;
	min-height: 280px;
	background:
		radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.9), transparent 28%),
		linear-gradient(135deg, #fff7e5, #e7ead5);
}

.jwl-promo-img {
	position: absolute;
	display: block;
	width: min(54%, 310px);
	aspect-ratio: 1 / 1;
	border: 10px solid rgba(255, 255, 255, 0.7);
	border-radius: 20px;
	box-shadow: 0 22px 48px rgba(43, 38, 48, 0.18);
	object-fit: cover;
}

.jwl-promo-img-main {
	top: 30px;
	left: 8%;
	transform: rotate(-5deg);
}

.jwl-promo-img-secondary {
	right: 10%;
	bottom: 30px;
	transform: rotate(6deg);
}

.jwl-promo-dark {
	position: relative;
	display: grid;
	align-items: end;
	background: #25242a;
	color: #fff;
}

.jwl-promo-dark-media {
	position: absolute;
	inset: 0;
	opacity: 0.56;
}

.jwl-promo-dark-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(100%);
}

.jwl-promo-dark-copy {
	position: relative;
	z-index: 1;
	padding: 30px;
}

.jwl-promo-dark-copy h2 {
	max-width: 430px;
	margin: 0;
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: clamp(1.6rem, 1.2rem + 1vw, 2.25rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0;
}

.jwl-promo-dark-copy a {
	margin-top: 14px;
	background: #fff;
	color: var(--jwl-charcoal);
}

@media (min-width: 1360px) {
	.jwl-product-rail {
		grid-auto-columns: minmax(220px, 1fr);
	}
}

@media (max-width: 1024px) {
	.jwl-header-inner {
		grid-template-columns: auto minmax(0, 1fr) auto;
		gap: 12px;
	}

	.jwl-categories-link {
		display: none;
	}

	.jwl-search {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.jwl-promo-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 782px) {
	.admin-bar .jwl-market-header {
		top: 46px;
	}
}

@media (max-width: 640px) {
	.jwl-header-inner,
	.jwl-category-nav,
	.jwl-market-main {
		width: min(100% - 28px, 1520px);
	}

	.jwl-header-inner {
		grid-template-columns: 1fr auto auto;
		min-height: 64px;
	}

	.jwl-logo {
		font-size: 2.15rem;
	}

	.jwl-header-action {
		display: none;
	}

	.jwl-search {
		min-height: 48px;
		border-width: 2px;
	}

	.jwl-search input[type="search"] {
		font-size: 1rem;
		padding-inline: 16px;
	}

	.jwl-search button {
		width: 38px;
		height: 38px;
	}

	.jwl-category-nav {
		justify-content: flex-start;
		gap: 26px;
	}

	.jwl-product-rail {
		grid-auto-columns: 72%;
		gap: 16px;
	}

	.jwl-section-heading {
		align-items: flex-start;
	}

	.jwl-view-all {
		min-height: 36px;
		padding: 0 16px;
	}

	.jwl-rail-button {
		display: none;
	}

	.jwl-promo-large {
		grid-template-columns: 1fr;
	}

	.jwl-promo-images {
		min-height: 220px;
	}

	.jwl-promo-img {
		width: 46%;
		border-width: 7px;
		border-radius: 14px;
	}
}
