/* House of Joy Paper Company - theme styles. */

:root {
	--color-background: hsl(40 33% 97%);
	--color-foreground: hsl(0 0% 8%);
	--color-secondary: hsl(40 28% 93%);
	--color-primary: hsl(272 58% 30%);
	--color-primary-foreground: hsl(43 72% 92%);
	--color-accent: hsl(42 64% 47%);
	--color-brand-red: hsl(350 76% 42%);
	--color-muted-foreground: hsl(0 0% 36%);
	--color-border: hsl(40 14% 84%);
	--color-muted: hsl(40 16% 88%);
	--color-accent-foreground: hsl(0 0% 9%);
	--color-button-text: var(--color-primary-foreground);

	--font-display: 'Cormorant Garamond', serif;
	--font-body: 'Karla', sans-serif;

	--shadow-soft: 0 4px 20px -4px color-mix(in srgb, var(--color-foreground) 8%, transparent);
	--shadow-elevated: 0 8px 40px -8px color-mix(in srgb, var(--color-foreground) 16%, transparent);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--ease-motion: cubic-bezier(0.25, 0.4, 0.25, 1);

	--logo-height: 64px;
	--footer-logo-height: 80px;
	--header-height: 80px;

	--btn-radius: 0;
	--btn-height: 2.75rem;
	--btn-padding: 0 2rem;
	--btn-font-size: 0.875rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--btn-icon-padding: 0.5rem;
	--card-radius: 0;
	--section-padding: 2rem;
	--checkout-gap: 3rem;
	--theme-admin-bar-offset: 0px;
}

/* ---------- Base / reset ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
	border: 0 solid var(--color-border);
}

html {
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	overflow-x: clip;
}

body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-size: inherit;
	font-weight: inherit;
	margin: 0;
}

p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: inherit; }

button, input, select, textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: inherit;
	color: inherit;
	margin: 0;
}

button {
	background: transparent;
	padding: 0;
	cursor: pointer;
	text-align: inherit;
}

/* Clickable elements */
a[href]:not([href=""]),
button:not(:disabled),
.btn,
[role="button"],
.faq__toggle,
.nav-collections__toggle,
.header-icon-btn,
.product-card,
.collection-card,
.theme-thumb,
.back-link,
.mobile-nav-link,
.mobile-menu__collection,
.nav-collections__item,
.cart-drawer__remove,
.cart-drawer__name,
.cart-drawer__thumb,
.site-logo,
.footer-link,
.other-collections__link,
.nav-link,
.not-found__link,
.theme-attr-pill,
input[type="submit"],
input[type="button"],
input[type="reset"] {
	cursor: pointer;
}

img, svg, video { display: block; vertical-align: middle; }

img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.product-main-img-el):not(.product-thumb-img):not(.cart-thumb-img),
video:not(.hero__video):not(.contact__video) {
	max-width: 100%;
	height: auto;
}

.cover-img,
.hero-bg-img,
.product-card-img,
.product-main-img-el,
.product-thumb-img,
.cart-thumb-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

[hidden] { display: none !important; }

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.text-accent { color: var(--color-accent); }
.ml-2 { margin-left: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }
.lucide { flex-shrink: 0; }
.icon-3 { width: 0.75rem; height: 0.75rem; }
.icon-4 { width: 1rem; height: 1rem; }
.icon-5 { width: 1.25rem; height: 1.25rem; }
.icon-8 { width: 2rem; height: 2rem; }
.icon-10 { width: 2.5rem; height: 2.5rem; }

/* ---------- Keyframes ---------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
@keyframes heroEyebrow {
	from { opacity: 0; transform: translateY(-10px) scale(0.9); }
	to { opacity: 1; transform: none; }
}
@keyframes heroLine { from { width: 0; } to { width: 32px; } }
@keyframes heroTitle {
	from { opacity: 0; transform: translateY(80px); }
	to { opacity: 1; transform: none; }
}
@keyframes heroSubtitle {
	from { opacity: 0; transform: translateY(30px); filter: blur(10px); }
	to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes heroActions {
	from { opacity: 0; transform: translateY(30px); }
	to { opacity: 1; transform: none; }
}
@keyframes badgeIn {
	from { opacity: 0; transform: translateX(-20px); }
	to { opacity: 1; transform: none; }
}
@keyframes boxIn {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: none; }
}
@keyframes successIn {
	from { opacity: 0; transform: scale(0.9); }
	to { opacity: 1; transform: scale(1); }
}
@keyframes successIcon {
	from { transform: scale(0); }
	to { transform: scale(1); }
}

/* ---------- Scroll reveal (per-element variants) ---------- */
.reveal-item,
.reveal-inview {
	opacity: 0;
	transform: translate(var(--reveal-x, 0), var(--reveal-y, 0));
}
.reveal-up { --reveal-y: 40px; --reveal-duration: 0.7s; }
.reveal-up-sm { --reveal-y: 30px; --reveal-duration: 0.6s; }
.reveal-right { --reveal-x: 60px; --reveal-duration: 0.8s; }
.reveal-from-left { --reveal-x: -20px; --reveal-duration: 0.5s; }
.reveal-from-right { --reveal-x: 20px; --reveal-duration: 0.5s; }
.reveal-from-below { --reveal-y: 20px; --reveal-duration: 0.5s; }

.reveal-item.is-visible {
	opacity: 1;
	transform: none;
	transition: opacity var(--reveal-duration) var(--ease-motion) var(--reveal-delay, 0s),
		transform var(--reveal-duration) var(--ease-motion) var(--reveal-delay, 0s);
}
.reveal-inview.is-visible {
	opacity: 1;
	transform: none;
	transition: opacity var(--reveal-duration) ease-in-out var(--reveal-delay, 0s),
		transform var(--reveal-duration) ease-in-out var(--reveal-delay, 0s);
}

body.is-customizer .reveal-item,
body.is-customizer .reveal-inview {
	opacity: 1;
	transform: none;
}
@media (scripting: none) {
	.reveal-item,
	.reveal-inview {
		opacity: 1;
		transform: none;
	}
}

.hover-scale { transition: transform 0.2s ease; }
.hover-scale:hover { transform: scale(1.05); }
.hover-scale:active { transform: scale(0.97); }
.hover-scale-sm { transition: transform 0.2s ease; }
.hover-scale-sm:hover { transform: scale(1.05); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 500;
	text-transform: none;
	letter-spacing: normal;
	border-radius: 0;
	cursor: pointer;
	text-decoration: none;
	transition: color 0.15s, background-color 0.15s, border-color 0.15s, opacity 0.15s;
}
.btn:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px var(--color-background), 0 0 0 4px var(--color-accent);
}
.btn[disabled],
.btn.disabled { opacity: 0.5; pointer-events: none; }
.btn-md { height: 2.5rem; padding: 0.5rem 1rem; }
.btn-lg { height: 2.75rem; padding: 0 2rem; }
.btn-hero { padding: 0 2.5rem; font-size: 1rem; line-height: 1.5rem; }
.btn-block { width: 100%; }
.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; pointer-events: none; }

.btn-primary {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
}
.btn-primary:hover { background-color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

.btn-crimson {
	background-color: var(--color-brand-red);
	color: var(--color-primary-foreground);
	border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent);
}
.btn-crimson:hover { background-color: color-mix(in srgb, var(--color-brand-red) 90%, transparent); }

.btn-glass {
	background-color: rgba(255, 255, 255, 0.1);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-glass:hover { background-color: rgba(255, 255, 255, 0.2); }

.btn-outline {
	border: 1px solid var(--color-border);
	background-color: var(--color-background);
	color: var(--color-foreground);
}
.btn-outline:hover {
	background-color: var(--color-accent);
	color: var(--color-accent-foreground);
}

/* WooCommerce button overrides (functional classes stay intact). */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
	text-decoration: none !important;
	line-height: 1.25rem !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.9 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
a.add_to_cart_button.theme-btn-crimson {
	background-color: var(--color-brand-red) !important;
	border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent) !important;
	padding: 0 2rem !important;
}
a.add_to_cart_button.theme-btn-crimson:hover {
	background-color: color-mix(in srgb, var(--color-brand-red) 90%, transparent) !important;
	opacity: 1 !important;
}

.ajax_add_to_cart.theme-btn-loading {
	opacity: 0.6 !important;
	pointer-events: none !important;
	cursor: wait !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	top: var(--theme-admin-bar-offset);
	left: 0;
	right: 0;
	z-index: 50;
	transition: all 0.3s;
	background-color: transparent;
	border-bottom: 1px solid transparent;
	overflow-x: clip;
	max-width: 100%;
}
.site-header > .container-wide {
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	width: 100%;
	padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
	padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
}
body.admin-bar {
	--theme-admin-bar-offset: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
	body.admin-bar {
		--theme-admin-bar-offset: var(--wp-admin--admin-bar--height, 46px);
	}
}
.site-header.is-solid {
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	border-bottom-color: var(--color-border);
}
.site-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 4rem;
	min-width: 0;
	width: 100%;
	gap: 0.5rem;
}
.site-logo {
	display: flex;
	align-items: center;
	min-width: 0;
	flex: 1 1 auto;
	overflow: hidden;
}
.site-header .site-logo-img {
	height: calc(var(--logo-height) * 0.875) !important;
	width: calc(var(--logo-height) * 0.875) !important;
	max-height: 3.5rem;
	max-width: 3.5rem;
	object-fit: contain;
	display: block;
	flex-shrink: 0;
}
.site-footer .site-logo-img {
	height: var(--footer-logo-height) !important;
	width: var(--footer-logo-height) !important;
	object-fit: contain;
	display: block;
}
.site-logo-text {
	display: block;
	line-height: 1.2;
	font-family: var(--font-display);
	font-size: 1.125rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
@media (min-width: 480px) {
	.site-logo-text { font-size: 1.25rem; }
}

.site-nav__desktop {
	display: none;
}
.site-nav__list {
	display: flex;
	align-items: center;
	gap: 1.75rem;
}
.site-nav__list .nav-item {
	display: flex;
	align-items: center;
	gap: 1.75rem;
}

.link-underline {
	position: relative;
	display: inline-block;
}
.link-underline::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: currentColor;
	transform-origin: left;
	transform: scaleX(0);
	transition: transform 0.3s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

.nav-link {
	font-size: 0.875rem;
	line-height: 1.25rem;
	letter-spacing: 0.025em;
	cursor: pointer;
	transition: color 0.3s;
	color: rgba(255, 255, 255, 0.9);
}
.nav-link:hover { color: #fff; }
.site-header.is-solid .nav-link,
.site-header.is-solid .nav-link:hover { color: inherit; }

.nav-collections { position: relative; }
.nav-collections__toggle {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	letter-spacing: 0.025em;
	transition: color 0.3s;
	color: rgba(255, 255, 255, 0.9);
}
.nav-collections__toggle:hover { color: #fff; }
.site-header.is-solid .nav-collections__toggle,
.site-header.is-solid .nav-collections__toggle:hover { color: inherit; }
.nav-collections__chevron { width: 0.875rem; height: 0.875rem; }
.nav-collections__panel {
	position: absolute;
	left: 0;
	top: 100%;
	padding-top: 1rem;
	opacity: 0;
	visibility: hidden;
	transition: all 0.2s;
}
.nav-collections:hover .nav-collections__panel,
.nav-collections:focus-within .nav-collections__panel {
	opacity: 1;
	visibility: visible;
}
.nav-collections__list {
	width: 18rem;
	background-color: var(--color-background);
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	padding: 0.5rem 0;
}
.nav-collections__item {
	display: block;
	padding: 0.625rem 1rem;
	transition: background-color 0.15s;
}
.nav-collections__item:hover { background-color: var(--color-secondary); }
.nav-collections__name { display: block; font-size: 0.875rem; line-height: 1.25rem; }
.nav-collections__tagline {
	display: block;
	font-size: 0.75rem;
	line-height: 1rem;
	color: var(--color-muted-foreground);
	margin-top: 0.125rem;
}

.site-nav__actions {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	flex-shrink: 0;
	margin-inline-start: auto;
}
.header-icon-btn {
	position: relative;
	padding: 0.5rem;
	transition: all 0.15s;
	color: #fff;
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
}
.header-icon-btn:hover { opacity: 0.6; }
.site-header.is-solid .header-icon-btn { color: inherit; }
.header-menu-btn .icon-close { display: none; }
.site-header.menu-open .header-menu-btn .icon-close { display: block; }
.site-header.menu-open .header-menu-btn .icon-menu { display: none; }

.header-cart-btn {
	overflow: visible;
}
.theme-cart-count {
	position: absolute;
	top: -0.125rem;
	right: -0.125rem;
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 0.2em;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	line-height: 1;
	font-weight: 500;
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border-radius: 9999px;
	pointer-events: none;
}
.theme-cart-count:empty { display: none; }

.mobile-menu {
	display: none;
	border-top: 1px solid var(--color-border);
	padding: 1rem 0;
	max-height: 75vh;
	overflow-y: auto;
	color: var(--color-foreground);
}
.site-header.menu-open .mobile-menu {
	display: block;
	animation: fadeIn 0.6s var(--transition-smooth) forwards;
}
.mobile-menu__inner { display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-menu__list { display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-nav-link {
	display: block;
	text-align: left;
	font-size: 0.875rem;
	line-height: 1.25rem;
	letter-spacing: 0.025em;
	padding: 0.5rem 0;
	transition: color 0.15s;
}
.mobile-nav-link:hover { color: var(--color-muted-foreground); }
.mobile-menu__collections {
	border-top: 1px solid var(--color-border);
	margin-top: 0.5rem;
	padding-top: 0.75rem;
}
.mobile-menu__heading {
	font-size: 0.75rem;
	line-height: 1rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
}
.mobile-menu__collection-list { display: flex; flex-direction: column; margin-top: 0.5rem; }
.mobile-menu__collection { padding: 0.5rem 0; display: block; }
.mobile-menu__collection-name { display: block; font-size: 0.875rem; line-height: 1.25rem; }
.mobile-menu__collection-tagline {
	display: block;
	font-size: 0.75rem;
	line-height: 1rem;
	color: var(--color-muted-foreground);
}

@media (max-width: 1023px) {
	.site-nav {
		overflow-x: clip;
	}
	.site-nav__actions {
		gap: 0.125rem;
	}
	.header-menu-btn {
		padding-right: 0.625rem;
		padding-left: 0.5rem;
	}
}

@media (min-width: 1024px) {
	.site-nav { height: 5rem; }
	.site-header > .container-wide {
		padding-left: max(2rem, env(safe-area-inset-left, 0px));
		padding-right: max(2rem, env(safe-area-inset-right, 0px));
	}
	.site-nav__desktop {
		display: flex;
		align-items: center;
	}
	.site-header .site-logo-img {
		max-height: none;
		max-width: none;
	}
	.site-logo-text {
		font-size: 1.5rem;
		line-height: var(--logo-height);
		white-space: normal;
		overflow: visible;
		text-overflow: unset;
	}
	.site-nav__actions { gap: 0.5rem; }
	.header-menu-btn { display: none; }
	.mobile-menu,
	.site-header.menu-open .mobile-menu { display: none; }
	.site-header .site-logo-img {
		height: var(--logo-height) !important;
		width: var(--logo-height) !important;
	}
}
.site-header.is-solid .mobile-menu { color: var(--color-foreground); }

/* ---------- Layout ---------- */
.site-main--home { padding: 0; }
.site-main--inner {
	padding-top: calc(6rem + var(--theme-admin-bar-offset));
}
@media (min-width: 1024px) {
	.site-main--inner {
		padding-top: calc(7rem + var(--theme-admin-bar-offset));
	}
}
.page-wrap { padding-top: 2.5rem; padding-bottom: 5rem; min-height: 60vh; }
.page-title {
	font-family: var(--font-display);
	font-size: 1.875rem;
	line-height: 2.25rem;
	font-weight: 700;
	margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
	.page-title { font-size: 2.25rem; line-height: 2.5rem; }
}

/* ---------- Hero ---------- */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	background-color: var(--color-foreground);
}
.hero__media { position: absolute; inset: 0; }
.hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero__overlay {
	position: absolute;
	inset: 0;
	background-color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
}
.hero__content {
	position: relative;
	z-index: 10;
	text-align: center;
	padding-top: 5rem;
	padding-bottom: 5rem;
	will-change: transform, opacity;
}
.hero__eyebrow-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}
.hero__line { display: block; height: 1px; background-color: rgba(255, 255, 255, 0.4); }
.hero__eyebrow {
	font-size: 0.875rem;
	line-height: 1.25rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.8);
	font-weight: 500;
}
.hero__title-wrap { overflow: hidden; }
.hero__title {
	font-family: var(--font-display);
	font-size: 3rem;
	line-height: 1;
	letter-spacing: -0.025em;
	margin-bottom: 1.5rem;
	color: #fff;
	font-weight: 400;
}
.hero__subtitle {
	color: rgba(255, 255, 255, 0.7);
	max-width: 36rem;
	margin: 0 auto 2.5rem;
	font-size: 1.125rem;
	line-height: 1.75rem;
}
.hero__actions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	justify-content: center;
	padding-left: 1rem;
	padding-right: 1rem;
}
.hero__marquee { position: absolute; bottom: 0; left: 0; right: 0; z-index: 20; }

.hero-anim--eyebrow { animation: heroEyebrow 0.8s ease-in-out 0.3s both; }
.hero-anim--line { animation: heroLine 0.8s ease-in-out 0.6s both; }
.hero-anim--title-1 { animation: heroTitle 1s var(--ease-motion) 0.4s both; }
.hero-anim--title-2 { animation: heroTitle 1s var(--ease-motion) 0.55s both; }
.hero-anim--subtitle { animation: heroSubtitle 0.8s ease-in-out 0.8s both; }
.hero-anim--actions { animation: heroActions 0.7s ease-in-out 1s both; }

@media (min-width: 640px) {
	.hero__actions { flex-direction: row; }
}
@media (min-width: 768px) {
	.hero__title { font-size: 4.5rem; }
}
@media (min-width: 1024px) {
	.hero__title { font-size: 6rem; }
}

/* ---------- Marquee ---------- */
.marquee {
	width: 100%;
	overflow: hidden;
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border-top: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
	padding: 0.75rem 0;
}
.marquee__track {
	display: flex;
	width: max-content;
	white-space: nowrap;
	will-change: transform;
	animation: marquee 36s linear infinite;
}
.marquee__item {
	display: flex;
	align-items: center;
	font-size: 0.75rem;
	line-height: 1rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.marquee__dot { margin: 0 1rem; color: var(--color-accent); }
@media (min-width: 640px) {
	.marquee__item { font-size: 0.875rem; line-height: 1.25rem; }
	.marquee__dot { margin: 0 1.5rem; }
}

/* ---------- Sections ---------- */
.section { scroll-margin-top: 6rem; }
.section--secondary { background-color: var(--color-secondary); }
.section__inner { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) {
	.section__inner { padding-top: 6rem; padding-bottom: 6rem; }
}
.section-header { text-align: center; margin-bottom: 3rem; }
.eyebrow {
	display: block;
	font-size: 0.75rem;
	line-height: 1rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
}
.eyebrow--light { color: rgba(255, 255, 255, 0.7); }
.eyebrow--accent { color: var(--color-accent); }
.section-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem;
	line-height: 2.25rem;
	margin-top: 0.5rem;
	margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
	.section-title--lg { font-size: 3rem; line-height: 1; }
}
.section-intro {
	color: var(--color-muted-foreground);
	max-width: 36rem;
	margin: 0 auto;
}

.about__intro { max-width: 42rem; margin: 0 auto; text-align: center; }
@media (min-width: 768px) {
	.about__title { font-size: 2.25rem; line-height: 2.5rem; }
}
@media (min-width: 1024px) {
	.about__title { font-size: 3rem; line-height: 1; }
}
.about__text { color: var(--color-muted-foreground); }
.about__text > * + * { margin-top: 1rem; }
.about__text p { line-height: 1.625; }
.about__text-lead { font-size: 1rem; }
@media (min-width: 768px) {
	.about__text-lead { font-size: 1.125rem; line-height: 1.75rem; }
}

.card-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.card-grid--about { margin-top: 3.5rem; }
@media (min-width: 768px) {
	.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.card-grid--services { gap: 2rem; }
}
.info-card { border: 1px solid var(--color-border); text-align: center; }
.info-card--background { background-color: var(--color-background); padding: 1.5rem; }
.info-card--secondary { background-color: var(--color-secondary); padding: 2rem; }
.info-card__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 2rem;
	margin-bottom: 0.5rem;
}
.info-card__title--lg { margin-bottom: 0.75rem; }
.info-card__copy {
	font-size: 0.875rem;
	line-height: 1.625;
	color: var(--color-muted-foreground);
}

/* ---------- Shop grids ---------- */
.collection-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	margin-bottom: 3.5rem;
}
@media (min-width: 640px) {
	.collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.collection-card {
	display: block;
	height: 100%;
	background-color: var(--color-background);
	border: 1px solid var(--color-border);
	padding: 1.5rem;
	transition: border-color 0.15s;
}
.collection-card:hover { border-color: var(--color-accent); }
.collection-card__name {
	font-family: var(--font-display);
	font-size: 1.25rem;
	line-height: 1.75rem;
	margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
	.collection-card__name { font-size: 1.5rem; line-height: 2rem; }
}
.collection-card__tagline {
	font-size: 0.75rem;
	line-height: 1rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: 0.75rem;
}
.collection-card__desc {
	font-size: 0.875rem;
	line-height: 1.625;
	color: var(--color-muted-foreground);
}
.collection-card__link {
	display: inline-block;
	margin-top: 1rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	text-decoration: underline;
}
.shop-grid-title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 2rem;
	text-align: center;
	margin-bottom: 2rem;
}
@media (min-width: 768px) {
	.shop-grid-title { font-size: 1.875rem; line-height: 2.25rem; }
}
.product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}
@media (min-width: 768px) {
	.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
	.product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.theme-product-card-wrap { display: block; min-width: 0; }

/* ---------- Product card ---------- */
.product-card { display: block; }
.product-card__media {
	position: relative;
	aspect-ratio: 1 / 1;
	background-color: var(--color-secondary);
	overflow: hidden;
	margin-bottom: 1rem;
	transition: transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1), box-shadow 0.4s ease-out;
}
.product-card:hover .product-card__media {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px -12px hsl(30 20% 12% / 0.15);
}
.product-card__img {
	transition: transform 0.6s var(--ease-motion);
}
.product-card:hover .product-card__img { transform: scale(1.08); }
.product-card__media.is-sold-out .product-card__img,
.product-card__media.is-sold-out .product-card__placeholder { opacity: 0.6; }
.product-card__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--color-muted-foreground);
	font-size: 0.75rem;
	line-height: 1rem;
	gap: 0.5rem;
}
.product-card__badge {
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 2;
	padding: 0.375rem 0.75rem;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	background-color: var(--color-foreground);
	color: var(--color-background);
	animation: badgeIn 0.4s ease-in-out both;
}
@media (min-width: 768px) {
	.product-card__badge { top: 0.75rem; left: 0.75rem; }
}
.product-card__tint {
	position: absolute;
	inset: 0;
	background-color: transparent;
	transition: background-color 0.5s;
	pointer-events: none;
}
.product-card:hover .product-card__tint {
	background-color: color-mix(in srgb, var(--color-foreground) 5%, transparent);
}
.product-card__info > * + * { margin-top: 0.25rem; }
.product-card__title {
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 500;
	transition: color 0.3s;
}
.product-card:hover .product-card__title { color: var(--color-accent); }
.product-card__price {
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--color-muted-foreground);
	font-weight: 600;
}
.woocommerce-Price-amount { text-decoration: none; }
ins { text-decoration: none; background: transparent; }

/* ---------- Owner / FAQ ---------- */
.owner { max-width: 48rem; margin: 0 auto; text-align: center; }
.owner__text {
	color: var(--color-muted-foreground);
	font-size: 1rem;
	line-height: 1.625;
}
@media (min-width: 768px) {
	.owner__text { font-size: 1.125rem; line-height: 1.75rem; }
}
.owner__cta { margin-top: 2rem; }

.faq { max-width: 42rem; margin: 0 auto; }
.faq__list > * + * { margin-top: 1rem; }
.faq__item { background-color: var(--color-background); border: 1px solid var(--color-border); }
.faq__toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 1.5rem;
	text-align: left;
}
.faq__question {
	font-family: var(--font-display);
	font-size: 1.125rem;
	line-height: 1.75rem;
	padding-right: 1rem;
}
.faq__chevron { width: 1.25rem; height: 1.25rem; transition: transform 0.3s; }
.faq__item.is-open .faq__chevron { transform: rotate(180deg); }
.faq__panel {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	transition: grid-template-rows 0.3s var(--ease-motion), opacity 0.3s var(--ease-motion);
}
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; opacity: 1; }
.faq__panel-inner { overflow: hidden; min-height: 0; }
.faq__answer {
	padding: 0 1.5rem 1.25rem;
	font-size: 0.875rem;
	line-height: 1.625;
	color: var(--color-muted-foreground);
}

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; scroll-margin-top: 6rem; }
.contact__media { position: absolute; inset: 0; }
.contact__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.contact__overlay {
	position: absolute;
	inset: 0;
	background-color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.contact__inner { position: relative; z-index: 10; padding-top: 5rem; padding-bottom: 5rem; }
.contact__header { text-align: center; margin-bottom: 3rem; }
.contact__title { color: #fff; margin-bottom: 1rem; }
.contact__text {
	color: rgba(255, 255, 255, 0.75);
	max-width: 28rem;
	margin: 0 auto;
}
.contact__body { max-width: 42rem; margin: 0 auto; }
.contact__info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 2rem;
}
.contact__info-item { display: flex; align-items: center; gap: 0.5rem; }
.contact__info a { transition: color 0.15s; }
.contact__info a:hover { color: #fff; }
.contact__info a[href^='mailto'] { word-break: break-all; }
.contact__form > * + * { margin-top: 1.25rem; }
.contact__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 768px) {
	.contact__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.contact__label {
	display: block;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 500;
	margin-bottom: 0.5rem;
	color: #fff;
}
.contact__input {
	width: 100%;
	padding: 0.75rem 1rem;
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	border: 1px solid var(--color-border);
	border-radius: 0;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--color-foreground);
	transition: box-shadow 0.3s;
}
.contact__input::placeholder { color: var(--color-muted-foreground); }
.contact__input:focus {
	outline: none;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 50%, transparent);
}
.contact__textarea { resize: none; display: block; }
.contact__error { text-align: center; color: #fff; font-size: 0.875rem; }
.contact__submit { text-align: center; }
.contact__success {
	text-align: center;
	padding: 2.5rem 0;
	animation: successIn 0.5s var(--ease-motion) both;
}
.contact__success-icon {
	width: 4rem;
	height: 4rem;
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	animation: successIcon 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}
.contact__success-title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 2rem;
	margin-bottom: 0.5rem;
	color: #fff;
}
.contact__success-text { color: rgba(255, 255, 255, 0.75); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--color-border); }
.site-footer__inner { padding-top: 3rem; padding-bottom: 1.5rem; }
.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
}
@media (min-width: 768px) {
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.site-footer__inner { padding-top: 4rem; padding-bottom: 2rem; }
	.site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem; }
}
.site-footer__about {
	margin-top: 1rem;
	font-size: 0.875rem;
	line-height: 1.625;
	color: var(--color-muted-foreground);
	max-width: 24rem;
}
.site-footer__title {
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
	margin-bottom: 1rem;
}
.site-footer__list > * + *,
.site-footer ul > * + * { margin-top: 0.75rem; }
.footer-link {
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--color-muted-foreground);
	transition: color 0.15s;
	text-align: left;
}
.footer-link:hover { color: var(--color-foreground); }
.site-footer__contact {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--color-muted-foreground);
}
.site-footer__contact a { transition: color 0.15s; }
.site-footer__contact a:hover { color: var(--color-foreground); }
.site-footer__contact--address { align-items: flex-start; }
.icon-pin { margin-top: 0.125rem; }
.site-footer__bottom {
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--color-border);
	display: flex;
	justify-content: center;
}
.site-footer__copy {
	font-size: 0.75rem;
	line-height: 1rem;
	color: var(--color-muted-foreground);
}

/* ---------- Cart drawer ---------- */
#theme-cart-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background-color: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	z-index: 50;
}
body.cart-open #theme-cart-overlay {
	display: block;
	animation: fadeIn 0.6s var(--transition-smooth) forwards;
}
#theme-cart-drawer {
	display: none;
	position: fixed;
	right: 0;
	top: 0;
	height: 100%;
	width: 100%;
	max-width: 28rem;
	background-color: var(--color-background);
	z-index: 50;
	box-shadow: var(--shadow-elevated);
	flex-direction: column;
}
body.cart-open #theme-cart-drawer { display: flex; }
#theme-cart-drawer.is-opening { animation: slideUp 0.6s var(--transition-smooth) forwards; }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.cart-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.5rem;
	border-bottom: 1px solid var(--color-border);
}
.cart-drawer__title {
	font-family: var(--font-display);
	font-size: 1.125rem;
	line-height: 1.75rem;
	font-weight: 700;
}
.cart-drawer__close { padding: 0.25rem; transition: opacity 0.15s; }
.cart-drawer__close:hover { opacity: 0.6; }
.cart-drawer__empty {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	text-align: center;
}
.cart-drawer__empty-icon {
	width: 3rem;
	height: 3rem;
	color: var(--color-muted-foreground);
	margin-bottom: 1rem;
}
.cart-drawer__empty-text { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; }
.cart-drawer__items > * + * { margin-top: 1.5rem; }
.cart-drawer__item { display: flex; gap: 1rem; }
.cart-drawer__thumb {
	position: relative;
	display: block;
	width: 5rem;
	height: 6rem;
	background-color: var(--color-secondary);
	overflow: hidden;
	flex-shrink: 0;
}
.cart-drawer__info { flex: 1; min-width: 0; }
.cart-drawer__name {
	display: block;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: opacity 0.15s;
}
.cart-drawer__name:hover { opacity: 0.7; }
.cart-drawer__meta,
.cart-drawer__variation {
	font-size: 0.75rem;
	line-height: 1rem;
	color: var(--color-muted-foreground);
	margin-top: 0.125rem;
}
.cart-drawer__meta-item + .cart-drawer__meta-item { margin-top: 0.125rem; }
.cart-drawer__price {
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--color-muted-foreground);
	margin-top: 0.125rem;
}
.cart-drawer__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.cart-drawer__qty-btn {
	padding: 0.25rem;
	display: inline-flex;
	transition: background-color 0.15s;
}
.cart-drawer__qty-btn:hover { background-color: var(--color-secondary); }
.cart-drawer__qty {
	font-size: 0.875rem;
	line-height: 1.25rem;
	width: 1.5rem;
	text-align: center;
}
.cart-drawer__remove {
	margin-left: auto;
	font-size: 0.75rem;
	line-height: 1rem;
	color: var(--color-muted-foreground);
	transition: color 0.15s;
}
.cart-drawer__remove:hover { color: var(--color-foreground); }
.cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); }
.cart-drawer__footer > * + * { margin-top: 1rem; }
.cart-drawer__subtotal {
	display: flex;
	justify-content: space-between;
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.cart-drawer__subtotal-label { color: var(--color-muted-foreground); }
.cart-drawer__subtotal-value { font-weight: 500; }
.cart-drawer__note {
	font-size: 0.75rem;
	line-height: 1rem;
	color: var(--color-muted-foreground);
}

/* ---------- Product page ---------- */
.back-row { padding: 1.5rem 0; }
.back-link {
	display: inline-flex;
	align-items: center;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--color-muted-foreground);
	transition: color 0.15s;
}
.back-link:hover { color: var(--color-foreground); }

.theme-product-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	padding-bottom: 5rem;
	min-width: 0;
}
@media (min-width: 1024px) {
	.theme-product-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; }
}
.single-product .theme-product-gallery,
.single-product .theme-product-info { min-width: 0; max-width: 100%; }
.product-main-image {
	position: relative;
	aspect-ratio: 3 / 4;
	background-color: var(--color-secondary);
	overflow: hidden;
	margin-bottom: 1rem;
}
.theme-product-thumbnails {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.5rem;
	max-width: 100%;
}
.theme-thumb {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border: 2px solid transparent;
	opacity: 0.6;
	transition: all 0.15s;
}
.theme-thumb:hover { opacity: 1; }
.theme-thumb.is-active { border-color: var(--color-primary); opacity: 1; }

@media (min-width: 1024px) {
	.theme-product-info { padding: 2.5rem 0; }
}
.product-title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 700;
	margin-top: 0.5rem;
	margin-bottom: 1rem;
}
@media (min-width: 768px) {
	.product-title { font-size: 1.875rem; line-height: 2.25rem; }
}
.product-price {
	font-size: 1.5rem;
	line-height: 2rem;
	margin-bottom: 1.5rem;
	font-weight: 600;
	color: var(--color-accent);
}
.product-description {
	color: var(--color-muted-foreground);
	line-height: 1.625;
	margin-bottom: 2rem;
	white-space: pre-line;
	overflow-wrap: break-word;
}
.product-description p { margin: 0; white-space: pre-line; }

.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }

.theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 2rem;
}
.theme-quantity-wrapper {
	display: flex;
	align-items: center;
	border: 1px solid var(--color-border);
}
.theme-qty-minus,
.theme-qty-plus {
	padding: 0.75rem 1rem;
	display: inline-flex;
	align-items: center;
	transition: background-color 0.15s;
}
.theme-qty-minus:hover,
.theme-qty-plus:hover { background-color: var(--color-secondary); }
.theme-qty-input {
	width: 3rem;
	min-width: 48px;
	padding: 0.75rem 0;
	text-align: center;
	border: 0;
	background: transparent;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.5rem;
	-moz-appearance: textfield;
	appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-qty-input:focus { outline: none; }
.single-product .theme-add-to-cart-area .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 160px;
	height: 2.75rem;
	text-transform: none !important;
}
.single-product .single_add_to_cart_button .btn-label { display: inline-flex; align-items: center; }
.theme-btn-primary { font-family: var(--font-body); }

.product-details {
	border-top: 1px solid var(--color-border);
	padding-top: 2rem;
	overflow-wrap: break-word;
	word-break: break-word;
}
.product-details__title {
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
	margin-bottom: 1rem;
}
.product-details ul > * + * { margin-top: 0.5rem; }
.product-details li {
	display: flex;
	align-items: flex-start;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--color-muted-foreground);
}
.product-details li::before {
	content: '';
	width: 0.375rem;
	height: 0.375rem;
	background-color: var(--color-primary);
	border-radius: 9999px;
	margin-top: 0.5rem;
	margin-right: 0.75rem;
	flex-shrink: 0;
}

.related-products-section {
	padding: 5rem 0;
	border-top: 1px solid var(--color-border);
}
.related-products__title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	line-height: 1.75rem;
	font-weight: 700;
	margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
	.related-products__title { font-size: 1.5rem; line-height: 2rem; }
}

/* Variable product attributes */
.theme-attr-select-hidden { display: none !important; }
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
}
.single-product .variations { margin-bottom: 1.5rem; }
.single-product .variations tbody td.label { padding-bottom: 0.75rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product .variations label {
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
	font-style: normal;
}
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	border: 1px solid var(--color-border);
	transition: all 0.15s;
	font-family: var(--font-body);
}
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-attr-pill.is-selected {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
}
.theme-attr-pill__swatch {
	width: 1rem;
	height: 1rem;
	border-radius: 9999px;
	border: 1px solid var(--color-border);
}
.single-product .woocommerce-variation-price {
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 600;
	color: var(--color-accent);
	margin-bottom: 1rem;
}
.single-product .woocommerce-variation-description,
.single-product .posted_in {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* ---------- Collection page ---------- */
.collection-header {
	max-width: 42rem;
	margin: 0 auto;
	text-align: center;
	padding: 2rem 0;
}
@media (min-width: 768px) {
	.collection-header { padding: 3rem 0; }
}
.collection-header__title { margin-bottom: 1.25rem; }
.collection-header__desc { color: var(--color-muted-foreground); line-height: 1.625; }

.bundle-box {
	border: 1px solid color-mix(in srgb, var(--color-accent) 50%, transparent);
	background-color: var(--color-secondary);
	padding: 1.5rem;
	margin-bottom: 4rem;
	animation: boxIn 0.6s ease-in-out both;
}
@media (min-width: 768px) {
	.bundle-box { padding: 2.5rem; }
}
.bundle-box__inner { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 768px) {
	.bundle-box__inner { flex-direction: row; align-items: center; gap: 2.5rem; }
	.bundle-box__side { text-align: right; }
}
.bundle-box__main { flex: 1; }
.bundle-box__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 2rem;
	margin-top: 0.5rem;
	margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
	.bundle-box__title { font-size: 1.875rem; line-height: 2.25rem; }
}
.bundle-box__text {
	font-size: 0.875rem;
	line-height: 1.625;
	color: var(--color-muted-foreground);
	max-width: 36rem;
}
.bundle-box__list { margin-top: 1rem; }
.bundle-box__list > * + * { margin-top: 0.5rem; }
.bundle-box__list li {
	display: flex;
	align-items: flex-start;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--color-muted-foreground);
}
.bundle-box__check {
	margin-right: 0.5rem;
	margin-top: 0.125rem;
	color: var(--color-accent);
}
.bundle-box__price {
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 600;
	color: var(--color-accent);
	margin-bottom: 1rem;
}
.bundle-box__actions { display: flex; flex-direction: column; gap: 0.75rem; }

.collection-designs { padding-bottom: 4rem; }
.collection-designs__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 2rem;
	margin-bottom: 2rem;
}
@media (min-width: 768px) {
	.collection-designs__title { font-size: 1.875rem; line-height: 2.25rem; }
}
.empty-box {
	border: 1px solid var(--color-border);
	padding: 2rem;
	text-align: center;
}
@media (min-width: 768px) {
	.empty-box { padding: 3rem; }
}
.empty-box__text { color: var(--color-muted-foreground); }
.empty-box__cta { margin-top: 1.5rem; }
.other-collections {
	padding-bottom: 5rem;
	border-top: 1px solid var(--color-border);
	padding-top: 3rem;
}
.other-collections__title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	line-height: 1.75rem;
	margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
	.other-collections__title { font-size: 1.5rem; line-height: 2rem; }
}
.other-collections__list { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.other-collections__link {
	border: 1px solid var(--color-border);
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	transition: color 0.15s, border-color 0.15s;
}
.other-collections__link:hover {
	border-color: var(--color-accent);
	color: var(--color-accent);
}

/* ---------- 404 ---------- */
.not-found {
	display: flex;
	min-height: 100vh;
	align-items: center;
	justify-content: center;
	background-color: var(--color-muted);
}
.not-found__inner { text-align: center; }
.not-found__title {
	font-size: 2.25rem;
	line-height: 2.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
}
.not-found__text {
	font-size: 1.25rem;
	line-height: 1.75rem;
	color: var(--color-muted-foreground);
	margin-bottom: 1rem;
}
.not-found__link { color: var(--color-primary); text-decoration: underline; }
.not-found__link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* ---------- WooCommerce notices ---------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
	border: 1px solid var(--color-border);
	background-color: var(--color-secondary);
	color: var(--color-foreground);
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.5;
	border-radius: 0;
	list-style: none;
}
.woocommerce-error { border-color: var(--color-brand-red); }

/* ---------- Cart / checkout / account width parity ---------- */
.checkout-continue-link {
	display: inline-flex;
	align-items: center;
	font-size: 0.875rem;
	line-height: 1.25rem;
	margin-bottom: 2rem;
	color: var(--color-muted-foreground);
	transition: color 0.15s;
}
.checkout-continue-link:hover {
	color: var(--color-foreground);
}

body.woocommerce-checkout .page-wrap .page-title,
.page-wrap:has(.wc-block-checkout) .page-title {
	margin-bottom: 0.5rem;
}

body.woocommerce-checkout .page-wrap:has(.checkout-continue-link) .page-title,
.page-wrap:has(.checkout-continue-link):has(.wc-block-checkout) .page-title {
	margin-top: 0;
}

body.woocommerce-checkout .page-wrap .entry-content,
.page-wrap:has(.wc-block-checkout) .entry-content {
	margin-top: 0;
}

body.woocommerce-checkout .page-wrap .entry-content > .wp-block-woocommerce-checkout,
body.woocommerce-checkout .page-wrap .entry-content > .wc-block-checkout,
.page-wrap:has(.wc-block-checkout) .entry-content > .wp-block-woocommerce-checkout,
.page-wrap:has(.wc-block-checkout) .entry-content > .wc-block-checkout {
	margin-top: 0;
	padding-top: 0;
}

body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: none; }

body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main {
	padding-bottom: 4rem;
}

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wc-block-cart {
	font-family: var(--font-body);
	color: var(--color-foreground);
}
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-cart .wp-block-woocommerce-cart { display: block; max-width: none; }

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-cart .wc-block-components-sidebar-layout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-notice-banner,
	body.woocommerce-cart .wc-block-components-sidebar-layout > .wc-block-components-notice-banner { grid-column: 1 / -1; }
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}

body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-order-summary__title,
body.woocommerce-cart .wc-block-cart__totals-title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 700;
	text-transform: none;
	color: var(--color-foreground);
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-combobox input,
body.woocommerce-checkout .form-row .input-text,
body.woocommerce-checkout .form-row select {
	width: 100% !important;
	max-width: none !important;
	background-color: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: 0;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
	outline: none;
	box-shadow: 0 0 0 1px var(--color-primary);
	border-color: var(--color-primary);
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label {
	font-family: var(--font-body);
	color: var(--color-muted-foreground);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-cart .wc-block-cart__submit-button {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border: 0;
	border-radius: var(--btn-radius);
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	min-height: 2.75rem;
	text-transform: none;
	letter-spacing: normal;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-cart .wc-block-cart__submit-button:hover {
	background-color: color-mix(in srgb, var(--color-primary) 90%, transparent);
	color: var(--color-primary-foreground);
}
body.woocommerce-checkout .wc-block-cart-items,
body.woocommerce-cart .wc-block-cart-items { border-color: var(--color-border); }
body.woocommerce-checkout .wc-block-components-totals-item,
body.woocommerce-checkout .wc-block-components-order-summary-item { font-family: var(--font-body); }

/* ---------- Thank you page ---------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order { font-family: var(--font-body); }
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin: 0 0 2rem;
	padding: 1.5rem;
	background-color: var(--color-secondary);
	border: 1px solid var(--color-border);
}
body.theme-thankyou-page .woocommerce-order-overview li {
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	list-style: none;
}
body.theme-thankyou-page .woocommerce-order-overview li strong {
	display: block;
	color: var(--color-foreground);
}
body.theme-thankyou-page h2,
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 700;
	padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
}
body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td {
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--color-border);
	font-size: 0.875rem;
}
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 2rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px;
	overflow-wrap: break-word;
	font-style: normal;
	font-size: 0.875rem;
	line-height: 1.625;
	color: var(--color-muted-foreground);
}

/* ---------- My account ---------- */
body.woocommerce-account .woocommerce { font-family: var(--font-body); }
body.woocommerce-account .woocommerce input.input-text,
body.woocommerce-account .woocommerce select {
	background-color: var(--color-background);
	border: 1px solid var(--color-border);
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
	border-radius: 0;
}
body.woocommerce-account .woocommerce button.button {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border-radius: 0;
	padding: 0.75rem 2rem;
	font-weight: 500;
}
