:root {
	--bg: #fcf8f3;
	--text: #5b4a42;
	--heading: #4a342a;
	--muted: #9a8479;
	--line: #eadfd5;
	--dark: #5b392c;
	--dark-soft: #7a5240;
	--footer: #8a7267;
	--footer-dark: #6d584f;
	--accent: #c7896f;
	--container: 1320px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: "Helvetica Neue", Arial, sans-serif;
	line-height: 1.55;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.container {
	width: min(calc(100% - 2rem), var(--container));
	margin: 0 auto;
}

.site-main {
	padding-bottom: 0;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
}

.site-header__top {
	background: var(--dark);
	color: #fff;
}

.site-header__bar {
	display: grid;
	grid-template-columns: 280px 1fr 320px;
	align-items: center;
	min-height: 92px;
	gap: 1rem;
}

.header-search form {
	position: relative;
}

.header-search label {
	display: block;
}

.header-search .search-field {
	width: 100%;
	height: 42px;
	padding: 0 46px 0 18px;
	border: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	font-size: 0.95rem;
}

.header-search .search-submit {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	border: none;
	background: transparent;
	color: #fff;
	font-size: 0;
	cursor: pointer;
}

.header-search .search-submit::before {
	content: "\1F50D";
	font-size: 18px;
}

.site-branding--center {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
}

.site-logo img {
	max-height: 46px;
	width: auto;
}

.site-title {
	color: #fff;
	font-size: 1.55rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.menu-toggle {
	display: none;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: transparent;
	color: #fff;
	padding: 0.7rem 1rem;
}

.header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1rem;
}

.header-link,
.cart-counter {
	color: #fff;
	font-size: 0.9rem;
	text-transform: uppercase;
}

.cart-counter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 2px solid #fff;
	font-weight: 700;
}

.site-header__nav {
	background: var(--dark-soft);
	color: #fff;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.main-navigation ul,
.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation > div > ul,
.main-navigation > ul {
	display: flex;
	justify-content: center;
	gap: 2rem;
	min-height: 54px;
	align-items: center;
}

.main-navigation a {
	display: inline-flex;
	align-items: center;
	min-height: 54px;
	color: #e7e7e7;
	font-size: 0.88rem;
	text-transform: uppercase;
}

.hero-section,
.product-showcase,
.category-strip,
.custom-order-section {
	padding: 1.7rem 0 0;
}

.hero-mosaic {
	display: grid;
	grid-template-columns: 2.3fr 1.1fr 1.1fr;
	gap: 1rem;
}

.hero-stack {
	display: grid;
	gap: 1rem;
}

.hero-tile {
	position: relative;
	background: #efe5dd;
	overflow: hidden;
	min-height: 280px;
}

.hero-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-tile--main {
	min-height: 590px;
}

.hero-tile--medium {
	min-height: 590px;
}

.hero-tile--small {
	min-height: 287px;
}

.hero-tile__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 3rem;
}

.hero-tile__overlay--center {
	align-items: center;
	text-align: center;
	background: rgba(0, 0, 0, 0.08);
	color: #fff;
}

.hero-tile__overlay--main {
	align-items: flex-start;
	text-align: left;
	max-width: 340px;
}

.hero-script {
	margin: 0 0 1rem;
	color: #8f7265;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.9rem;
	font-style: italic;
}

.hero-tile__overlay h1,
.hero-tile__overlay h2,
.custom-order-section h2 {
	margin: 0;
	color: var(--heading);
	font-weight: 700;
	text-transform: uppercase;
}

.hero-tile__overlay h1 {
	font-size: 3.35rem;
	line-height: 0.95;
}

.hero-tile__overlay h2 {
	font-size: 2.2rem;
	line-height: 1;
}

.hero-tile__overlay--center h2 {
	color: #fff;
	max-width: 220px;
}

.hero-actions {
	display: flex;
	gap: 1rem;
	margin-top: 1.7rem;
}

.button-primary,
.button-secondary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding: 0 1.25rem;
	border: 2px solid var(--accent);
	font-size: 0.88rem;
	font-weight: 700;
	text-transform: uppercase;
}

.button-primary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	background: var(--accent);
	color: #fff;
}

.button-secondary {
	background: rgba(255, 255, 255, 0.92);
	color: var(--accent);
}

.section-title-line {
	position: relative;
	margin: 2rem 0 2rem;
	text-align: center;
	color: #555;
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.section-title-line::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 1px;
	background: var(--line);
}

.section-title-line span {
	position: relative;
	z-index: 1;
	display: inline-block;
	padding: 0 1rem;
	background: var(--bg);
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
	display: none;
}

.woocommerce ul.products li.product {
	float: none;
	width: auto;
	margin: 0;
}

.curtain-product-card__frame {
	position: relative;
}

.curtain-product-card__media {
	position: relative;
	display: block;
	background: #f3ebe3;
	overflow: hidden;
	aspect-ratio: 0.8;
}

.curtain-product-card__media img,
.curtain-product-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.curtain-product-card__image {
	position: absolute;
	inset: 0;
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.curtain-product-card__image--primary {
	position: relative;
	z-index: 1;
}

.curtain-product-card__image--hover {
	opacity: 0;
	transform: scale(1.02);
	z-index: 2;
}

.curtain-product-card__quickview {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 54px;
	background: rgba(78, 163, 216, 0.92);
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0;
	transform: translateY(100%);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.curtain-product-card__frame:hover .curtain-product-card__image--hover {
	opacity: 1;
	transform: scale(1);
}

.curtain-product-card__frame:hover .curtain-product-card__quickview {
	opacity: 1;
	transform: translateY(0);
}

.curtain-product-card__content {
	padding-top: 0.8rem;
}

.curtain-product-card__topline,
.curtain-product-card__flags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.curtain-product-card__pill,
.curtain-product-card__flags span,
.onsale {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.55rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	color: #fff;
	background: #c7896f;
}

.onsale {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 2;
}

.curtain-product-card__meta-row,
.curtain-product-card__category {
	margin-top: 0.45rem;
	color: #9a9a9a;
	font-size: 0.72rem;
	text-transform: uppercase;
}

.woocommerce-loop-product__title,
.content-card__title,
.category-tile__label h3,
.site-footer h3 {
	margin: 0.35rem 0;
	color: var(--heading);
	font-size: 1.05rem;
	font-weight: 400;
}

.curtain-product-card__price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	margin-top: 0.55rem;
	color: var(--heading);
	font-size: 1rem;
	font-weight: 700;
}

.curtain-product-card__highlights {
	margin: 0.55rem 0;
	padding-left: 1rem;
	color: #777;
	font-size: 0.83rem;
}

.curtain-product-card__actions {
	display: flex;
	gap: 0.6rem;
	margin-top: 0.8rem;
}

.woocommerce .star-rating {
	color: #d8a536;
	font-size: 0.82rem;
}

.category-slider-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.category-tile {
	position: relative;
	display: block;
	min-height: 365px;
	background: #efe5dd;
	overflow: hidden;
}

.category-tile__image {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #f3ebe3, #dcc8bb);
	background-position: center;
	background-size: cover;
}

.category-tile__label {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 54px;
	padding: 0.95rem 1rem;
	background: rgba(255, 250, 246, 0.88);
	text-align: center;
}

.category-tile__label h3 {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	text-transform: uppercase;
}

.category-tile__label p {
	margin: 0.2rem 0 0;
	font-size: 0.8rem;
	color: #666;
	text-transform: uppercase;
}

.site-eyebrow {
	margin: 0 0 0.7rem;
	color: #fff;
	font-size: 1.9rem;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-style: italic;
}

.custom-order-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	padding: 3rem 0 4rem;
	border-top: 1px solid var(--line);
}

.custom-order-section h2 {
	color: #555;
	font-size: 2rem;
	line-height: 1.1;
}

.custom-order-grid p {
	margin: 0;
	color: #777;
	font-size: 1rem;
}

.site-footer {
	margin-top: 0;
	color: #fff;
}

.site-footer__top {
	background: var(--footer);
	padding: 3rem 0 2.5rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem;
}

.site-footer h3 {
	margin: 0 0 1rem;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
}

.site-footer h3::after {
	content: "";
	display: block;
	width: 42px;
	height: 4px;
	margin-top: 0.9rem;
	background: rgba(255, 255, 255, 0.4);
}

.site-footer p,
.footer-news li,
.footer-news a {
	color: rgba(255, 255, 255, 0.95);
	font-size: 0.96rem;
	line-height: 1.7;
}

.footer-news li {
	margin-bottom: 0.85rem;
}

.footer-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.footer-tags span {
	display: inline-flex;
	padding: 0.35rem 0.65rem;
	border: 1px solid rgba(255, 255, 255, 0.6);
}

.footer-newsletter {
	display: grid;
	gap: 1rem;
}

.footer-newsletter input {
	height: 52px;
	padding: 0 1rem;
	border: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.25);
	color: #fff;
}

.footer-newsletter input::placeholder {
	color: rgba(255, 255, 255, 0.85);
}

.footer-newsletter button {
	width: 160px;
	height: 56px;
	border: none;
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
}

.site-footer__bottom {
	background: var(--footer-dark);
	padding: 1.5rem 0;
	text-align: center;
}

.footer-bottom {
	display: grid;
	gap: 1rem;
	justify-items: center;
}

.footer-payments {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.footer-payments span {
	padding: 0.45rem 0.8rem;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.78);
	font-weight: 700;
}

.footer-links ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}

.footer-links a,
.site-copyright {
	color: rgba(255, 255, 255, 0.85);
}

.shop-hero {
	padding: 2rem 0 0;
}

.shop-hero__grid,
.shop-layout {
	display: block;
}

.shop-hero__card,
.shop-sidebar {
	display: none;
}

.shop-notice {
	padding: 0.8rem 1rem;
	border: 1px solid var(--line);
	background: #fff8f2;
	font-size: 0.9rem;
	color: #7e6559;
}

.shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
}

.content-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}

.content-card {
	padding: 1.4rem;
	border: 1px solid var(--line);
	background: rgba(255, 252, 248, 0.9);
}

.content-card__media {
	margin: -1.4rem -1.4rem 1rem;
}

.content-card__meta {
	color: #999;
	font-size: 0.75rem;
	text-transform: uppercase;
}

@media (max-width: 1100px) {
	.site-header__bar,
	.hero-mosaic,
	.footer-grid,
	.custom-order-grid,
	.category-slider-grid,
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hero-stack {
		grid-column: 1 / -1;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.site-header__bar {
		grid-template-columns: 1fr auto;
		padding: 1rem 0;
	}

	.header-search,
	.header-actions,
	.main-navigation {
		display: none;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.site-header.menu-open .main-navigation,
	.site-header.menu-open .header-actions,
	.site-header.menu-open .header-search {
		display: block;
	}

	.hero-mosaic,
	.hero-stack,
	.footer-grid,
	.custom-order-grid,
	.category-slider-grid,
	.woocommerce ul.products,
	.content-grid {
		grid-template-columns: 1fr;
	}

	.hero-tile__overlay {
		padding: 1.5rem;
	}

	.hero-tile__overlay h1 {
		font-size: 2.2rem;
	}

	.hero-tile__overlay h2,
	.custom-order-section h2 {
		font-size: 1.5rem;
	}
}
