/* Oréa — original storefront styles. */

:root {
	--ivory: #f3efe8;
	--paper: #fbf9f6;
	--ink: #1b1814;
	--ink-soft: #3c362f;
	--muted: #6f675e;
	--line: #e4dcd2;
	--gold: #7a5a30;
	--gold-bright: #c4a574;
	--serif: "Cormorant Garamond", "Iowan Old Style", Palatino, "Palatino Linotype", "Times New Roman", serif;
	--sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--shadow: 0 20px 50px rgba(27, 24, 20, 0.08);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.6;
	text-rendering: optimizeLegibility;
}

body.nav-open {
	overflow: hidden;
}

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

h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 500;
	letter-spacing: -0.02em;
}

p {
	margin: 0 0 1rem;
}

a {
	color: inherit;
}

:focus {
	outline: none;
}

:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
}

::selection {
	background: #eadcc6;
	color: var(--ink);
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: 0;
	transform: translateY(-120%);
	background: var(--paper);
	color: var(--ink);
	padding: 0.7rem 1rem;
	z-index: 100;
	text-decoration: none;
}

.skip-link:focus {
	transform: none;
	top: 0.75rem;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.container {
	width: min(1120px, calc(100% - 2.5rem));
	margin-inline: auto;
}

.eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gold);
}

.eyebrow--light {
	color: var(--gold-bright);
}

.section {
	padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 1.5rem;
	margin-bottom: 1.75rem;
}

.section__head h2,
.page-title {
	margin: 0;
	font-size: clamp(2.4rem, 5vw, 3.8rem);
	line-height: 0.95;
	font-weight: 500;
}

.text-link {
	color: var(--gold);
	text-underline-offset: 0.22em;
	white-space: nowrap;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.9rem;
	padding: 0.75rem 1.25rem;
	border: 1px solid var(--ink);
	background: var(--ink);
	color: var(--paper);
	text-decoration: none;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.72rem;
	font-weight: 600;
	cursor: pointer;
}

.btn:hover {
	background: transparent;
	color: var(--ink);
}

.btn--ghost {
	background: transparent;
	color: var(--ink);
}

.btn--ghost:hover {
	background: var(--ink);
	color: var(--paper);
}

.btn--light {
	background: var(--paper);
	color: var(--ink);
	border-color: var(--paper);
}

.btn--light:hover {
	background: transparent;
	color: var(--paper);
	border-color: var(--paper);
}

.icon {
	width: 1.35rem;
	height: 1.35rem;
	display: block;
}

/* Header */

.topbar {
	background: var(--ink);
	color: var(--ivory);
	font-size: 0.78rem;
	letter-spacing: 0.04em;
}

.topbar__inner {
	width: min(1120px, calc(100% - 2.5rem));
	margin: 0 auto;
	min-height: 2.3rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.topbar__note {
	margin: 0;
}

.lang-switch__list {
	display: flex;
	gap: 0.7rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.lang-switch a {
	color: inherit;
	text-decoration: none;
	letter-spacing: 0.08em;
}

.lang-switch .is-active a {
	color: var(--gold-bright);
}

.site-header__bar {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(251, 249, 246, 0.92);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
}

.site-header__bar-inner {
	width: min(1120px, calc(100% - 2.5rem));
	margin: 0 auto;
	min-height: 4.7rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	gap: 1rem;
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 0.4rem;
	background: none;
	border: 0;
	padding: 0.4rem;
	color: inherit;
	cursor: pointer;
	font: inherit;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 0.72rem;
	font-weight: 600;
}

.brand__link,
.custom-logo-link {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	text-decoration: none;
	color: var(--ink);
}

.brand__name {
	font-family: var(--serif);
	font-size: 1.9rem;
	line-height: 1;
	font-weight: 500;
	letter-spacing: 0.01em;
}

.brand__mark {
	width: 1.35rem;
	height: 1.35rem;
	color: var(--gold);
}

.custom-logo {
	max-height: 48px;
	width: auto;
}

.primary-nav {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.menu {
	display: flex;
	gap: 1.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu a {
	text-decoration: none;
	font-size: 0.95rem;
}

.menu a:hover,
.menu .current-menu-item > a,
.menu .current-menu-ancestor > a {
	color: var(--gold);
}

.primary-nav li {
	position: relative;
}

.primary-nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 11rem;
	padding: 0.6rem 0;
	background: var(--paper);
	border: 1px solid var(--line);
	flex-direction: column;
	gap: 0;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
	display: flex;
}

.primary-nav .sub-menu a {
	display: block;
	padding: 0.4rem 0.9rem;
}

.header-tools {
	display: flex;
	align-items: center;
	gap: 0.1rem;
}

.tool {
	width: 2.6rem;
	height: 2.6rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	color: var(--ink);
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	text-decoration: none;
}

.cart-count {
	position: absolute;
	top: 0.15rem;
	right: 0.05rem;
	min-width: 1.05rem;
	height: 1.05rem;
	padding: 0 0.22rem;
	border-radius: 999px;
	background: var(--ink);
	color: var(--paper);
	font-size: 0.62rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.search-panel {
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}

.search-panel__inner {
	width: min(1120px, calc(100% - 2.5rem));
	margin: 0 auto;
	padding: 1.1rem 0 1.3rem;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.search-form {
	flex: 1;
	display: flex;
	gap: 0.75rem;
	align-items: center;
}

.search-field,
.newsletter-form input[type="email"] {
	width: 100%;
	border: 0;
	border-bottom: 1px solid var(--ink);
	background: transparent;
	padding: 0.7rem 0;
	font-family: var(--serif);
	font-size: 1.55rem;
	color: var(--ink);
}

.search-submit,
.search-panel__close {
	background: none;
	border: 0;
	cursor: pointer;
	font: inherit;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--gold);
}

/* Hero */

.hero {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	min-height: calc(100svh - 7rem);
	background: var(--ivory);
}

.hero__copy {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: clamp(2rem, 5vw, 4.5rem);
}

.hero h1 {
	margin: 0 0 1.1rem;
	font-size: clamp(3.3rem, 6.4vw, 5.7rem);
	line-height: 0.9;
	font-weight: 500;
	max-width: 14ch;
}

.hero__lede {
	max-width: 34rem;
	margin: 0 0 1.7rem;
	color: var(--ink-soft);
	font-size: 1.125rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.hero__media {
	position: relative;
	min-height: 24rem;
	background: #e5ddd3;
}

.hero__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Collections */

.collection-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	grid-template-rows: minmax(18rem, 28vw) minmax(12rem, 18vw);
	gap: 0.7rem;
}

.collection-card {
	position: relative;
	display: block;
	overflow: hidden;
	min-height: 16rem;
	color: var(--paper);
	text-decoration: none;
	background: #ddd4c9;
}

.collection-card--rings { grid-column: 1; grid-row: 1 / span 2; }
.collection-card--necklaces { grid-column: 2 / span 2; grid-row: 1; }
.collection-card--earrings { grid-column: 2; grid-row: 2; }
.collection-card--bracelets { grid-column: 3; grid-row: 2; }

.collection-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.collection-card__label {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 3rem 1.1rem 1rem;
	background: linear-gradient(to top, rgba(27, 24, 20, 0.82), rgba(27, 24, 20, 0));
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.collection-card__name {
	font-family: var(--serif);
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	line-height: 1;
}

.collection-card__meta {
	font-size: 0.88rem;
}

/* Pieces */

.catalog-note,
.empty-note {
	margin: -0.5rem 0 1.25rem;
	color: var(--muted);
	font-size: 0.95rem;
}

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

.piece__media {
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #e7e0d6;
	margin-bottom: 0.85rem;
}

.piece__media img,
.piece__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.piece--crop-top img { object-position: center 18%; }
.piece--crop-bottom img { object-position: center 82%; }

.piece__name {
	margin: 0;
	font-size: 1.45rem;
	font-weight: 500;
	line-height: 1.15;
}

.piece__name a {
	text-decoration: none;
}

.piece__name a:hover {
	color: var(--gold);
}

.piece__meta,
.piece__price {
	margin: 0.25rem 0 0;
	color: var(--muted);
	font-size: 0.92rem;
}

.piece__price {
	color: var(--ink);
}

.piece__cart {
	margin-top: 0.55rem;
}

.piece__cart a {
	color: var(--gold);
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 600;
	text-decoration: none;
}

/* Promo */

.promo-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.7rem;
	align-items: stretch;
}

.promo-panel--ink {
	background: var(--ink);
	color: var(--ivory);
	padding: clamp(1.8rem, 4vw, 3.2rem);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 28rem;
}

.promo-panel--ink h2 {
	margin: 0 0 0.8rem;
	font-size: clamp(2.6rem, 4vw, 3.8rem);
	line-height: 0.95;
	max-width: 12ch;
}

.promo-panel--ink p {
	max-width: 32rem;
	color: #e7e0d6;
}

.promo-panel--photo {
	display: flex;
	flex-direction: column;
	background: var(--ivory);
	min-height: 28rem;
}

.promo-panel__img {
	display: block;
	width: 100%;
	height: 18rem;
	flex: 1 1 18rem;
	object-fit: cover;
}

.promo-panel__caption {
	padding: 1.3rem 1.3rem 1.5rem;
}

.promo-panel__caption h3 {
	margin: 0 0 0.4rem;
	font-size: 2rem;
	line-height: 1;
}

/* Lookbook */

.lookbook__grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: center;
}

.lookbook__figure {
	margin: 0;
	background: #e7e0d6;
}

.lookbook__figure img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: center 35%;
}

.lookbook__copy h2 {
	margin: 0 0 1rem;
	font-size: clamp(2.6rem, 5vw, 4.2rem);
	line-height: 0.95;
	max-width: 12ch;
}

.lookbook__copy p {
	max-width: 36rem;
	font-size: 1.125rem;
}

/* Testimonials */

.band {
	background: var(--ivory);
}

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

.testimonial {
	margin: 0;
	padding-top: 1.2rem;
	border-top: 1px solid var(--line);
}

.testimonial p {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(1.45rem, 2vw, 1.8rem);
	line-height: 1.25;
}

.testimonial figcaption {
	margin-top: 1rem;
	color: var(--muted);
	font-size: 0.92rem;
	letter-spacing: 0.04em;
}

/* Journal */

.entry-list {
	display: grid;
	gap: 1.5rem;
}

.entry-list--home {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.entry-card {
	display: grid;
	gap: 0.7rem;
}

.entry-card__date {
	margin: 0;
	color: var(--muted);
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.entry-card__title {
	margin: 0;
	font-size: 1.8rem;
	line-height: 1.05;
}

.entry-card__title a {
	text-decoration: none;
}

.entry-card__media img,
.entry__media img {
	width: 100%;
	height: auto;
	display: block;
}

.entry-content {
	font-size: 1.125rem;
	line-height: 1.7;
	max-width: 42rem;
}

.entry-content h2,
.entry-content h3 {
	line-height: 1.1;
}

.entry__header {
	margin-bottom: 1.5rem;
}

.entry-wrap {
	width: min(1120px, calc(100% - 2.5rem));
	margin: 2.5rem auto 4.5rem;
}

.empty-page .lede {
	max-width: 36rem;
	color: var(--ink-soft);
}

.empty-page__back {
	margin-top: 1.5rem;
}

/* Newsletter */

.newsletter {
	background: #efe8de;
}

.newsletter__inner {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 2rem;
	align-items: end;
}

.newsletter h2 {
	margin: 0 0 0.6rem;
	font-size: clamp(2.4rem, 4vw, 3.6rem);
	line-height: 0.95;
}

.newsletter-form__row {
	display: flex;
	gap: 0.75rem;
	align-items: center;
}

.newsletter-form input[type="email"] {
	flex: 1;
}

.form-status {
	margin: 0.8rem 0 0;
}

.woo-hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

/* Footer */

.site-footer {
	background: var(--ink);
	color: var(--ivory);
	padding-top: 3.5rem;
}

.site-footer a {
	color: inherit;
}

.site-footer__inner {
	width: min(1120px, calc(100% - 2.5rem));
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
	gap: 2rem;
}

.site-footer__name {
	font-family: var(--serif);
	font-size: 2.2rem;
	margin: 0 0 0.6rem;
	line-height: 1;
}

.site-footer h2 {
	margin: 0 0 0.7rem;
	font-size: 1.4rem;
}

.site-footer__col p,
.site-footer__brand p {
	color: #ddd4c8;
	font-size: 0.98rem;
}

.site-footer .menu {
	flex-direction: column;
	gap: 0.35rem;
}

.site-footer__base {
	width: min(1120px, calc(100% - 2.5rem));
	margin: 2rem auto 0;
	padding: 1rem 0 1.4rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: #cfc6bb;
	font-size: 0.85rem;
}

.site-main--full,
.site-main--canvas,
.site-main--elementor {
	width: 100%;
}

.site-main--front {
	display: block;
}

.pagination,
.nav-links {
	display: flex;
	gap: 0.8rem;
	margin-top: 2rem;
}

.comments {
	margin-top: 3rem;
	max-width: 42rem;
}

.comment-list {
	padding-left: 1.1rem;
}

/* Motion */

@media (prefers-reduced-motion: no-preference) {
	.collection-card img,
	.piece__media img {
		transition: transform 0.7s ease;
	}

	.collection-card:hover img,
	.piece:hover .piece__media img {
		transform: scale(1.04);
	}
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
	}
}

@media (max-width: 1080px) {
	.piece-grid,
	.entry-list--home,
	.testimonial-grid {
		grid-template-columns: 1fr 1fr;
	}

	.site-footer__inner {
		grid-template-columns: 1fr 1fr;
	}

	.primary-nav {
		position: static;
		transform: none;
	}

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

	.site-header__bar-inner {
		display: grid;
		grid-template-columns: auto 1fr auto;
	}

	.brand {
		justify-self: center;
	}

	.primary-nav {
		display: none;
		position: fixed;
		inset: 0;
		top: 0;
		z-index: 30;
		background: var(--paper);
		padding: 6.2rem 1.5rem 2rem;
		overflow: auto;
	}

	.site-header__bar {
		z-index: 50;
	}

	.primary-nav.is-open {
		display: block;
	}

	.menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.2rem;
	}

	.menu a {
		font-family: var(--serif);
		font-size: 2.1rem;
		display: inline-block;
		padding: 0.35rem 0;
	}

	.primary-nav .sub-menu {
		position: static;
		display: flex;
		border: 0;
		padding: 0 0 0.5rem 0.2rem;
		background: transparent;
	}

	.primary-nav .sub-menu a {
		font-size: 1.2rem;
		padding: 0.2rem 0;
	}
}

@media (max-width: 800px) {
	.hero {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.hero__media {
		order: -1;
		min-height: 0;
	}

	.hero__media img {
		position: static;
		height: 72vw;
		min-height: 16rem;
	}

	.hero h1 {
		max-width: none;
	}

	.collection-grid,
	.promo-grid,
	.lookbook__grid,
	.newsletter__inner,
	.piece-grid,
	.entry-list--home,
	.testimonial-grid,
	.site-footer__inner {
		grid-template-columns: 1fr;
		grid-template-rows: none;
	}

	.collection-card--rings,
	.collection-card--necklaces,
	.collection-card--earrings,
	.collection-card--bracelets {
		grid-column: auto;
		grid-row: auto;
	}

	.collection-card {
		min-height: 18rem;
	}

	.piece-grid {
		grid-template-columns: 1fr 1fr;
		gap: 1.2rem 0.7rem;
	}

	.newsletter-form__row,
	.search-panel__inner,
	.search-form {
		flex-direction: column;
		align-items: stretch;
	}

	.topbar__inner {
		align-items: flex-start;
		padding: 0.45rem 0;
	}

	.section__head {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 420px) {
	.container,
	.topbar__inner,
	.site-header__bar-inner,
	.search-panel__inner,
	.entry-wrap,
	.site-footer__inner,
	.site-footer__base {
		width: min(1120px, calc(100% - 1.4rem));
	}

	.hero__copy {
		padding: 1.6rem 1.2rem 2rem;
	}

	.brand__name {
		font-size: 1.6rem;
	}
}

@media print {
	.topbar,
	.nav-toggle,
	.header-tools,
	.newsletter,
	.search-panel {
		display: none !important;
	}
}
