/* ==========================================================================
   Sorena: tokens
   Palette from the logo and packaging: black, white, and silver for detail.
   Type: Montserrat (the logo's typeface) for text, Bodoni for headlines.
   ========================================================================== */
:root {
	--black: #090909;     /* logo background */
	--charcoal: #1c1c1c;  /* logo background, lighter corner */
	--white: #ffffff;
	--paper: #f5f5f4;     /* page background */
	--ink: #0d0d0d;       /* text */
	--grey: #666666;      /* secondary text */
	--silver: #bfc3c5;    /* rules and text on black */
	--line: #dcdcdc;

	--serif: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
	--sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

	--step--1: 0.8125rem;
	--step-0: 1rem;
	--step-1: 1.25rem;
	--step-2: 1.6rem;
	--step-3: clamp(1.9rem, 1.4rem + 2vw, 2.8rem);
	--step-4: clamp(2.4rem, 1.6rem + 3.4vw, 4.2rem);
	--step-hero: clamp(4.6rem, 1.5rem + 14vw, 15.5rem);

	--gutter: clamp(1.25rem, 4vw, 3.5rem);
	--max: 1360px;
	--header-h: 108px;
	--radius: 999px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	/* Nothing may widen the page sideways (phones would zoom out). "clip" keeps sticky and pinning working. */
	overflow-x: clip;
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: var(--step-0);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video,
canvas {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	font-family: var(--serif);
	font-weight: 400;
	font-optical-sizing: auto;
	line-height: 1.08;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

:focus-visible {
	outline: 2px solid var(--black);
	outline-offset: 3px;
}

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 100;
	padding: 0.6rem 1rem;
	background: var(--ink);
	color: var(--paper);
}

.skip-link:focus {
	top: 1rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn,
.button,
button.button,
.single_add_to_cart_button,
.wc-block-components-button:not(.is-link) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 3rem;
	padding: 0.8rem 1.6rem;
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--paper);
	font-family: var(--sans);
	font-size: var(--step-0);
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover,
.button:hover,
.single_add_to_cart_button:hover {
	background: var(--black);
	border-color: var(--black);
}

.btn--light {
	background: var(--paper);
	border-color: var(--paper);
	color: var(--black);
}

.btn--light:hover {
	background: var(--white);
	border-color: var(--white);
	color: var(--black);
}

.btn--outline-light {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.55);
	color: var(--paper);
}

.btn--outline-light:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--paper);
}

.btn--whatsapp {
	background: transparent;
	color: var(--ink);
}

.btn--whatsapp:hover {
	background: var(--white);
	color: var(--ink);
	border-color: var(--ink);
}

.btn .icon {
	width: 1.25rem;
	height: 1.25rem;
}

/* ==========================================================================
   Header: logo bar, then the shop navigation
   ========================================================================== */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	color: var(--ink);
	background: rgba(245, 245, 244, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
	transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.has-hero .site-header:not(.is-solid):not(:focus-within):not(:hover) {
	background: transparent;
	backdrop-filter: none;
	border-color: transparent;
	color: var(--white);
}

.site-header__bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: 64px;
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.site-header__start {
	display: flex;
	gap: 0.2rem;
}

.icon-button {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

.brand {
	grid-column: 2;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	color: inherit;
	text-decoration: none;
}

.brand__mark {
	width: 28px;
	height: auto;
}

/* Same face and weight as the logo's wordmark. */
.brand__name {
	font-family: var(--sans);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1;
}

.header-actions {
	grid-column: 3;
	display: flex;
	justify-content: flex-end;
	gap: 0.2rem;
}

.cart-count {
	position: absolute;
	top: 5px;
	right: 3px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--ink);
	color: var(--white);
	font-size: 0.7rem;
	font-weight: 600;
	line-height: 18px;
	text-align: center;
}

.has-hero .site-header:not(.is-solid):not(:focus-within):not(:hover) .cart-count {
	background: var(--white);
	color: var(--ink);
}

.cart-count[data-count="0"] {
	display: none;
}

.menu-toggle {
	display: none;
}

/* Navigation row (desktop) */
.site-nav__list {
	display: flex;
	justify-content: center;
	gap: 0.2rem 2rem;
	margin: 0;
	padding: 0 var(--gutter);
	list-style: none;
}

.site-nav__list > li {
	position: relative;
}

.site-nav__list > li > a {
	display: block;
	padding: 0.7rem 0 0.9rem;
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-decoration: none;
}

.site-nav__list > li > a:hover,
.site-nav__list > .current-menu-item > a,
.site-nav__list > .current-menu-ancestor > a {
	text-decoration: underline;
	text-underline-offset: 0.35em;
}

.site-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 5;
	min-width: 15rem;
	margin: 0;
	padding: 0.8rem 0;
	list-style: none;
	background: var(--white);
	color: var(--ink);
	border: 1px solid var(--line);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
	transform: translate(-50%, 6px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.site-nav .menu-item-has-children:hover > .sub-menu,
.site-nav .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.site-nav .sub-menu a {
	display: block;
	padding: 0.45rem 1.4rem;
	font-size: 0.875rem;
	white-space: nowrap;
	text-decoration: none;
}

.site-nav .sub-menu a:hover,
.site-nav .sub-menu .current-menu-item > a {
	background: var(--paper);
}

.submenu-toggle {
	display: none;
}

/* Search */
.site-search {
	padding: 0.9rem var(--gutter) 1.1rem;
	background: var(--white);
	color: var(--ink);
	border-top: 1px solid var(--line);
}

.site-search form {
	display: flex;
	gap: 0.6rem;
	max-width: 44rem;
	margin: 0 auto;
}

.site-search input[type="search"] {
	flex: 1;
	min-height: 3rem;
	border-radius: var(--radius);
	padding-inline: 1.2rem;
}

@media (max-width: 960px) {
	.menu-toggle {
		display: grid;
	}

	.site-nav {
		position: fixed;
		inset: 64px 0 0;
		z-index: 1;
		overflow-y: auto;
		padding: 1.5rem 0 3rem;
		background: var(--black);
		color: var(--white);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s var(--ease), visibility 0.3s;
	}

	.menu-open .site-nav {
		opacity: 1;
		visibility: visible;
	}

	/* The blur would make the header the containing block for the fixed menu, trapping it in the bar. */
	.menu-open .site-header {
		background: var(--black);
		backdrop-filter: none;
		color: var(--white);
		border-color: transparent;
	}

	.site-nav__list {
		flex-direction: column;
		gap: 0;
	}

	.site-nav__list > li {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}

	.site-nav__list > li > a {
		flex: 1;
		padding: 0.95rem 0;
		font-family: var(--serif);
		font-size: 1.6rem;
		font-weight: 400;
	}

	.submenu-toggle {
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		border: 0;
		background: none;
		color: inherit;
		cursor: pointer;
	}

	.submenu-toggle .icon {
		transition: transform 0.25s var(--ease);
	}

	.is-open > .submenu-toggle .icon {
		transform: rotate(180deg);
	}

	.site-nav .sub-menu {
		position: static;
		flex-basis: 100%;
		display: none;
		min-width: 0;
		padding: 0 0 1rem;
		background: none;
		color: inherit;
		border: 0;
		box-shadow: none;
		transform: none;
		opacity: 1;
		visibility: visible;
	}

	.site-nav .is-open > .sub-menu {
		display: block;
	}

	/* Cancel the desktop dropdown's centring, which also fires on focus when the button is tapped. */
	.site-nav .menu-item-has-children:hover > .sub-menu,
	.site-nav .menu-item-has-children:focus-within > .sub-menu {
		transform: none;
	}

	.site-nav .sub-menu a {
		padding: 0.5rem 0 0.5rem 1rem;
		font-size: 1rem;
		color: #d4d4d4;
	}

	.site-nav .sub-menu a:hover {
		background: none;
		color: var(--white);
	}

	.brand__name {
		font-size: 1.05rem;
	}
}

.site-main {
	min-height: 60vh;
}

body:not(.has-hero) .site-main {
	padding-top: var(--header-h);
}

/* ==========================================================================
   Hero: pinned while the 3D pendant is explored
   ========================================================================== */
.hero {
	position: relative;
	height: 340vh;
	background: var(--black);
	color: var(--paper);
}

.hero__stage {
	position: sticky;
	top: 0;
	height: 100vh;
	height: 100svh;
	overflow: hidden;
}

.hero__velvet {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 70% 60% at 68% 52%, var(--charcoal) 0%, var(--black) 45%, var(--black) 100%);
}

.hero__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.hero__copy {
	position: absolute;
	left: var(--gutter);
	bottom: clamp(2.5rem, 9vh, 7rem);
	z-index: 2;
	max-width: min(46rem, 60vw);
}

/* The full logo, exactly as on the packaging. */
.hero__logo {
	width: clamp(13rem, 24vw, 22rem);
	margin: 0 0 1.6rem;
}

.hero__logo img {
	width: 100%;
	height: auto;
}

.hero__lede {
	max-width: 30ch;
	margin-bottom: 1.8rem;
	color: #d6d6d6;
	font-size: var(--step-1);
	line-height: 1.5;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin: 0;
}

.hero__story {
	position: absolute;
	left: var(--gutter);
	bottom: clamp(3rem, 14vh, 9rem);
	z-index: 2;
	width: min(32rem, 80vw);
}

/* Four statements take turns while the hero is pinned. */
.hero__story > div {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	opacity: 0;
	visibility: hidden;
}

.hero__story-line {
	margin: 0;
	font-family: var(--serif);
	font-size: var(--step-3);
	font-style: italic;
	line-height: 1.12;
	color: var(--white);
	text-wrap: balance;
}

.hero__story-note {
	max-width: 34ch;
	margin: 0.9rem 0 0;
	color: #cfcfcf;
	font-size: var(--step-0);
	line-height: 1.55;
}

.hero :focus-visible {
	outline-color: var(--silver);
}

/* No JS, or reduced motion: a single screen, no pinning. */
html:not(.js) .hero,
.hero.is-static {
	height: 100vh;
	height: 100svh;
}

html:not(.js) .hero__story,
.hero.is-static .hero__story {
	display: none;
}

/* Phones and tablets: GSAP pins the stage (it adds the scroll distance itself), so the hero is
   one screen tall. The stage uses the largest viewport height, which doesn't change when the
   address bar shows or hides, so nothing jumps or stretches mid-scroll. */
.hero.is-touch {
	height: auto;
}

.hero.is-touch .hero__stage {
	position: relative;
	height: 100vh;
	height: 100lvh;
}

/* Keep the statements above the area the address bar can cover. */
.hero.is-touch .hero__story {
	bottom: calc(2.5rem + 100lvh - 100svh);
}

/* Phones: a more compact statement, so it stays clear of the necklace on small screens. */
@media (max-width: 860px) {
	.hero.is-touch .hero__story-line {
		font-size: 1.5rem;
	}

	.hero.is-touch .hero__story-note {
		margin-top: 0.6rem;
		font-size: 0.92rem;
		line-height: 1.5;
	}
}

@media (max-width: 960px) {
	:root {
		--header-h: 64px;
	}
}

@media (max-width: 860px) {
	.hero {
		height: 300vh;
	}

	.hero__copy {
		top: calc(var(--header-h) + 1.5rem);
		bottom: auto;
		right: var(--gutter);
		max-width: none;
	}

	.hero__logo {
		width: min(11rem, 46vw);
		margin-bottom: 1rem;
	}

	.hero__lede {
		font-size: var(--step-0);
		margin-bottom: 1.2rem;
	}

	.hero__actions .btn {
		flex: 1 1 auto;
	}

	.hero__story {
		bottom: 3rem;
		right: var(--gutter);
		width: auto;
	}
}

/* ==========================================================================
   Sections
   ========================================================================== */
.collections,
.new-in,
.ordering {
	max-width: var(--max);
	margin: 0 auto;
	padding: clamp(4rem, 9vw, 8rem) var(--gutter) 0;
}

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.section-head h2 {
	margin: 0;
	font-size: var(--step-4);
}

.section-head a {
	font-weight: 500;
}

/* Collections: one tall feature and four smaller pieces. */
.collections__grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 2rem 1.25rem;
}

.collection {
	display: flex;
	flex-direction: column;
	grid-column: span 3;
	color: var(--ink);
	text-decoration: none;
}

.collection:first-child {
	grid-column: 1 / 7;
	grid-row: 1 / 3;
}

.collection__media {
	position: relative;
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--black);
}

.collection:first-child .collection__media {
	flex: 1;
	aspect-ratio: auto;
	min-height: 22rem;
}

.collection__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}

.collection:hover .collection__media img {
	transform: scale(1.04);
}

.collection__media.is-empty {
	display: grid;
	place-items: center;
	background: radial-gradient(ellipse at 40% 35%, var(--charcoal), var(--black) 55%, var(--black));
	color: var(--silver);
}

.collection__placeholder {
	width: clamp(3rem, 8vw, 5rem);
	height: auto;
	opacity: 0.35;
}

.collection__name {
	margin-top: 0.9rem;
	font-family: var(--serif);
	font-size: var(--step-2);
	line-height: 1.1;
}

.collection:first-child .collection__name {
	font-size: var(--step-3);
}

.collection__count {
	color: var(--grey);
	font-size: var(--step--1);
}

.collection:hover .collection__name {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

@media (max-width: 760px) {
	.collections__grid {
		grid-template-columns: 1fr 1fr;
		gap: 1.5rem 0.9rem;
	}

	.collection,
	.collection:first-child {
		grid-column: auto;
		grid-row: auto;
	}

	.collection:first-child {
		grid-column: 1 / -1;
	}

	.collection:first-child .collection__media {
		aspect-ratio: 4 / 3;
		min-height: 0;
	}

	.collection__name {
		font-size: var(--step-1);
	}
}

/* New in: a rail you can swipe. */
.new-in__rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(15rem, calc((100% - 3 * 1.25rem) / 4));
	gap: 1.25rem;
	overflow-x: auto;
	padding-bottom: 1rem;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	scrollbar-color: var(--silver) transparent;
}

.tile {
	display: flex;
	flex-direction: column;
	scroll-snap-align: start;
	color: var(--ink);
	text-decoration: none;
}

.tile__media {
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--black);
}

.tile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}

.tile:hover .tile__media img {
	transform: scale(1.04);
}

.tile__name {
	margin-top: 0.8rem;
	font-weight: 500;
}

.tile:hover .tile__name {
	text-decoration: underline;
}

.tile__price {
	color: var(--grey);
}

/* Ordering: a real three-step sequence, so it's numbered. */
.ordering {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: 2rem 4rem;
	padding-bottom: clamp(4rem, 9vw, 8rem);
}

.ordering h2 {
	font-size: var(--step-4);
}

.ordering__steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.ordering__steps li {
	counter-increment: step;
	padding-top: 1.2rem;
	border-top: 1px solid var(--ink);
}

.ordering__steps li::before {
	content: counter(step);
	display: block;
	margin-bottom: 0.6rem;
	font-family: var(--serif);
	font-size: var(--step-3);
	line-height: 1;
	color: var(--black);
}

.ordering__steps h3 {
	font-family: var(--sans);
	font-size: var(--step-1);
	font-weight: 500;
	letter-spacing: 0;
}

.ordering__steps p {
	color: var(--grey);
}

@media (max-width: 860px) {
	.ordering,
	.ordering__steps {
		grid-template-columns: 1fr;
	}
}

/* Instagram: the handle as a big line of type. */
.insta {
	overflow: hidden;
	padding: clamp(4rem, 9vw, 7rem) 0;
	background: var(--black);
	color: var(--paper);
}

.insta__intro {
	max-width: var(--max);
	margin: 0 auto 1rem;
	padding: 0 var(--gutter);
	color: var(--silver);
}

.insta__handle {
	display: block;
	padding: 0 var(--gutter);
	font-family: var(--serif);
	font-size: clamp(3rem, 1rem + 10vw, 11rem);
	font-style: italic;
	line-height: 1;
	letter-spacing: -0.03em;
	white-space: nowrap;
	text-decoration: none;
	text-align: center;
}

.insta__handle:hover {
	color: var(--white);
}

.insta :focus-visible {
	outline-color: var(--silver);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	background: var(--black);
	color: var(--silver);
	font-size: 0.95rem;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 2.5rem;
	max-width: var(--max);
	margin: 0 auto;
	padding: 4rem var(--gutter) 3rem;
}

.site-footer__mark {
	width: 120px;
	height: auto;
	margin-bottom: 1.2rem;
	color: var(--white);
}

.site-footer__brand p {
	max-width: 28ch;
}

.site-footer h2 {
	margin-bottom: 0.9rem;
	font-family: var(--sans);
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--paper);
	letter-spacing: 0;
}

.site-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer li + li {
	margin-top: 0.45rem;
}

.site-footer a {
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--paper);
	text-decoration: underline;
}

.site-footer :focus-visible {
	outline-color: var(--silver);
}

.site-footer__legal {
	max-width: var(--max);
	margin: 0 auto;
	padding: 1.2rem var(--gutter) 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: var(--step--1);
}

@media (max-width: 760px) {
	.site-footer__inner {
		grid-template-columns: 1fr 1fr;
	}

	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

/* ==========================================================================
   Pages
   ========================================================================== */
.page-wrap {
	max-width: var(--max);
	margin: 0 auto;
	padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) clamp(4rem, 8vw, 7rem);
}

.page-title {
	font-size: var(--step-4);
	margin-bottom: 0.6em;
}

.prose {
	max-width: 66ch;
	margin: 0 auto;
	font-size: 1.125rem;
}

.prose h2 {
	font-size: var(--step-2);
	margin-top: 1.6em;
}

/* ==========================================================================
   Forms
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
select,
textarea {
	max-width: 100%;
	padding: 0.7rem 0.9rem;
	border: 1px solid #c4c4c4;
	border-radius: 6px;
	background: var(--white);
	color: var(--ink);
	font: inherit;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--black);
}

/* ==========================================================================
   WooCommerce: shop and category pages
   ========================================================================== */
.woocommerce-breadcrumb {
	margin-bottom: 1rem;
	color: var(--grey);
	font-size: var(--step--1);
}

.woocommerce-breadcrumb a {
	color: inherit;
}

.woocommerce-products-header__title,
.shop-head h1 {
	font-size: var(--step-4);
	margin-bottom: 0.4em;
}

.term-description {
	max-width: 60ch;
	color: var(--grey);
}

.cat-filter ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
}

.cat-filter a {
	display: inline-block;
	padding: 0.45rem 1rem;
	border: 1px solid #c4c4c4;
	border-radius: var(--radius);
	font-size: 0.95rem;
	text-decoration: none;
}

.cat-filter a:hover {
	border-color: var(--ink);
}

.cat-filter a[aria-current="page"] {
	background: var(--black);
	border-color: var(--black);
	color: var(--paper);
}

.woocommerce-result-count {
	float: left;
	margin: 0.5rem 0 1.5rem;
	color: var(--grey);
	font-size: var(--step--1);
}

.woocommerce-ordering {
	float: right;
	margin-bottom: 1.5rem;
}

ul.products {
	clear: both;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(15rem, 45%), 1fr));
	gap: 2.5rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.products::before,
ul.products::after {
	display: none !important;
}

ul.products li.product {
	position: relative;
	margin: 0;
}

ul.products li.product a {
	color: var(--ink);
	text-decoration: none;
}

ul.products li.product img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	background: var(--black);
	transition: opacity 0.3s var(--ease);
}

ul.products li.product a:hover img {
	opacity: 0.9;
}

.woocommerce-loop-product__title {
	margin: 0.8rem 0 0.1rem;
	font-family: var(--sans);
	font-size: var(--step-0);
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0;
}

ul.products li.product a:hover .woocommerce-loop-product__title {
	text-decoration: underline;
}

.price {
	color: var(--grey);
}

.price del {
	margin-right: 0.4rem;
	opacity: 0.7;
}

.price ins {
	text-decoration: none;
	color: var(--ink);
}

.onsale {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 2;
	padding: 0.2rem 0.7rem;
	border-radius: var(--radius);
	background: var(--paper);
	color: var(--ink);
	font-size: var(--step--1);
	font-weight: 600;
}

.woocommerce-pagination ul {
	display: flex;
	gap: 0.4rem;
	justify-content: center;
	margin: 3rem 0 0;
	padding: 0;
	list-style: none;
}

.woocommerce-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 2.6rem;
	height: 2.6rem;
	border: 1px solid #c4c4c4;
	border-radius: var(--radius);
	text-decoration: none;
}

.woocommerce-pagination .current {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}

/* ==========================================================================
   WooCommerce: product page
   ========================================================================== */
div.product {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 2.5rem clamp(2rem, 5vw, 5rem);
	align-items: start;
}

div.product > .onsale {
	top: 1rem;
	left: 1rem;
}

.woocommerce-product-gallery {
	position: relative;
	grid-column: 1;
	margin: 0 !important;
	opacity: 1 !important;
}

.woocommerce-product-gallery__wrapper {
	margin: 0;
}

.woocommerce-product-gallery img {
	width: 100%;
	background: var(--black);
}

.woocommerce-product-gallery__trigger {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 50%;
	background: var(--paper);
	font-size: 0;
	text-decoration: none;
}

.woocommerce-product-gallery__trigger::before {
	content: "+";
	font-size: 1.4rem;
	color: var(--ink);
}

.flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.6rem;
	margin: 0.6rem 0 0;
	padding: 0;
	list-style: none;
}

.flex-control-thumbs img {
	cursor: pointer;
	opacity: 0.6;
}

.flex-control-thumbs img.flex-active,
.flex-control-thumbs img:hover {
	opacity: 1;
}

div.product .summary {
	grid-column: 2;
	position: sticky;
	top: calc(var(--header-h) + 2rem);
}

.product_title {
	font-size: var(--step-3);
	margin-bottom: 0.3em;
}

div.product .summary .price {
	margin-bottom: 1.2rem;
	color: var(--ink);
	font-size: var(--step-1);
}

.woocommerce-product-details__short-description {
	color: var(--grey);
}

.stock {
	color: var(--black);
	font-size: var(--step--1);
	font-weight: 500;
}

.stock.out-of-stock {
	color: var(--ink);
}

form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1.5rem 0 0.75rem;
}

form.cart .quantity input {
	width: 5rem;
	min-height: 3rem;
	text-align: center;
	border-radius: var(--radius);
}

form.cart .single_add_to_cart_button {
	flex: 1;
}

.summary .btn--whatsapp {
	width: 100%;
}

.promises {
	display: grid;
	gap: 0.4rem;
	margin: 1.5rem 0 0;
	padding: 1.2rem 0 0;
	border-top: 1px solid var(--line);
	list-style: none;
	font-size: 0.95rem;
}

.promises li {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.promises li::before {
	content: "";
	flex: none;
	width: 7px;
	height: 7px;
	border: 1px solid var(--black);
	transform: rotate(45deg);
}

.product-details,
.related,
.upsells {
	grid-column: 1 / -1;
}

.product-details {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: 1rem 4rem;
	padding-top: 2.5rem;
	border-top: 1px solid var(--line);
}

.product-details h2 {
	font-size: var(--step-2);
}

.product-details__body {
	max-width: 62ch;
}

.product-details__sku {
	grid-column: 2;
	color: var(--grey);
	font-size: var(--step--1);
}

.related > h2,
.upsells > h2 {
	margin: 2rem 0 1.5rem;
	font-size: var(--step-3);
}

@media (max-width: 860px) {
	div.product,
	.product-details {
		grid-template-columns: 1fr;
	}

	div.product .summary,
	.woocommerce-product-gallery,
	.product-details__sku {
		grid-column: 1;
		position: static;
	}
}

/* ==========================================================================
   WooCommerce: notices, cart, checkout, account
   ========================================================================== */
.woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 0 2rem;
	padding: 1rem 1.25rem;
	border-left: 3px solid var(--black);
	background: var(--white);
	list-style: none;
}

.woocommerce-error {
	border-color: var(--ink);
}

.woocommerce-message .button {
	order: 2;
	min-height: 2.5rem;
	padding: 0.5rem 1.1rem;
	font-size: 0.95rem;
}

.store-page .wc-block-components-button:not(.is-link) {
	width: 100%;
}

.wc-block-components-product-name {
	font-weight: 500;
	text-decoration: none;
}

.woocommerce-MyAccount-navigation ul {
	margin: 0 0 2rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	list-style: none;
}

/* ==========================================================================
   Shop layout: subcategories, filters, results
   ========================================================================== */
.shop-head {
	margin-bottom: 1.2rem;
}

.shop-head .term-description,
.shop-head .page-description {
	color: var(--grey);
	max-width: 60ch;
}

.shop-layout {
	display: grid;
	grid-template-columns: 15rem minmax(0, 1fr);
	gap: 2.5rem;
	align-items: start;
}

.shop-filters {
	position: sticky;
	top: calc(var(--header-h) + 1.5rem);
	max-height: calc(100vh - var(--header-h) - 3rem);
	overflow-y: auto;
	padding-right: 0.5rem;
	scrollbar-width: thin;
}

.shop-filters__clear {
	margin-bottom: 1rem;
	font-size: 0.875rem;
}

.filter-group {
	padding: 1.1rem 0;
	border-top: 1px solid var(--line);
}

.filter-group h2 {
	margin-bottom: 0.7rem;
	font-family: var(--sans);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0;
}

.filter-options {
	display: grid;
	gap: 0.15rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.filter-option {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.3rem 0;
	font-size: 0.9rem;
	color: var(--ink);
	text-decoration: none;
}

.filter-option:hover span:last-child {
	text-decoration: underline;
}

.filter-option .checkbox {
	flex: none;
	width: 16px;
	height: 16px;
	border: 1px solid #9a9a9a;
	border-radius: 3px;
	background: var(--white);
}

.filter-option.is-on .checkbox {
	background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat;
	border-color: var(--ink);
}

.filter-option .swatch {
	flex: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.2);
}

.filter-option.is-on .swatch {
	box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink);
}

.filter-option.is-on {
	font-weight: 600;
}

.price-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
}

.price-filter label {
	flex: 1 1 4.5rem;
}

.price-filter input {
	width: 100%;
	padding: 0.5rem 0.6rem;
	font-size: 0.875rem;
}

.price-filter span[aria-hidden] {
	font-size: 0.8rem;
	color: var(--grey);
}

.price-filter .btn {
	flex-basis: 100%;
}

.btn--small {
	min-height: 2.4rem;
	padding: 0.45rem 1rem;
	font-size: 0.875rem;
}

.btn--filter {
	display: none;
	background: transparent;
	color: var(--ink);
}

@media (max-width: 860px) {
	.shop-layout {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.btn--filter {
		display: inline-flex;
		justify-self: start;
	}

	.btn--filter:hover {
		color: var(--white);
	}

	.shop-filters {
		position: static;
		display: none;
		max-height: none;
		padding: 0 0 1rem;
	}

	.shop-filters.is-open {
		display: block;
	}
}

.price-on-request {
	color: var(--ink);
	font-style: italic;
}

/* Collection pages built from shortcodes (New Arrivals, Best Sellers, Sale). */
.store-page .woocommerce,
.prose .woocommerce {
	max-width: none;
}

.page-wrap .woocommerce.columns-4 ul.products {
	grid-template-columns: repeat(auto-fill, minmax(min(14rem, 45%), 1fr));
}

/* ==========================================================================
   Product page additions
   ========================================================================== */
.product-enquiry {
	display: grid;
	gap: 0.6rem;
	margin-top: 0.6rem;
}

.product-enquiry .btn {
	width: 100%;
}

.woocommerce-product-attributes {
	width: 100%;
	max-width: 36rem;
	margin: 1.5rem 0;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
	padding: 0.6rem 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.woocommerce-product-attributes th {
	width: 9rem;
	font-weight: 600;
}

.woocommerce-product-attributes td p {
	margin: 0;
}

.woocommerce-product-attributes a {
	text-decoration: none;
}

/* Reviews */
.product-reviews {
	grid-column: 1 / -1;
	padding-top: 2.5rem;
	border-top: 1px solid var(--line);
}

#reviews {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: 1rem 4rem;
}

#reviews .woocommerce-Reviews-title {
	grid-column: 1 / -1;
	font-size: var(--step-2);
}

#reviews #comments,
#review_form_wrapper {
	grid-column: 2;
}

#reviews .commentlist {
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}

#reviews .commentlist li {
	padding: 1.2rem 0;
	border-bottom: 1px solid var(--line);
}

#reviews .comment_container img.avatar {
	display: none;
}

#reviews .meta {
	margin: 0.3rem 0 0.4rem;
	color: var(--grey);
	font-size: 0.875rem;
}

#reviews .woocommerce-review__author {
	color: var(--ink);
	font-weight: 600;
}

#reviews .woocommerce-review__verified {
	font-style: normal;
}

#reviews .description p {
	margin: 0;
}

#reply-title {
	display: block;
	margin-bottom: 0.8rem;
	font-family: var(--serif);
	font-size: var(--step-1);
}

#review_form label {
	display: block;
	margin-bottom: 0.3rem;
	font-size: 0.875rem;
	font-weight: 600;
}

#review_form textarea,
#review_form input[type="text"],
#review_form input[type="email"] {
	width: 100%;
}

#review_form .form-submit input {
	min-height: 3rem;
	padding: 0.8rem 1.6rem;
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--white);
	font: 500 1rem var(--sans);
	cursor: pointer;
}

/* Star ratings (drawn by the theme, since WooCommerce's own styles aren't loaded). */
.star-rating {
	position: relative;
	display: inline-block;
	width: 5.6em;
	height: 1.1em;
	overflow: hidden;
	font-size: 0.95rem;
	line-height: 1.1;
	letter-spacing: 0.12em;
	vertical-align: middle;
}

.star-rating::before {
	content: "\2605\2605\2605\2605\2605";
	position: absolute;
	inset: 0;
	color: #d0d0d0;
}

.star-rating span {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	overflow: hidden;
	padding-top: 1.5em;
}

.star-rating span::before {
	content: "\2605\2605\2605\2605\2605";
	position: absolute;
	top: 0;
	left: 0;
	color: var(--ink);
}

.woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 0.6rem;
	font-size: 0.875rem;
}

.woocommerce-product-rating a {
	color: var(--grey);
}

p.stars {
	margin: 0 0 1rem;
}

p.stars span {
	display: inline-flex;
	gap: 0.2rem;
}

p.stars a {
	position: relative;
	width: 1.6rem;
	height: 1.6rem;
	overflow: hidden;
	font-size: 0;
	text-decoration: none;
}

p.stars a::before {
	content: "\2605";
	position: absolute;
	inset: 0;
	font-size: 1.5rem;
	line-height: 1.6rem;
	color: #d0d0d0;
}

p.stars:hover a::before,
p.stars.selected a.active::before,
p.stars.selected a:not(.active)::before {
	color: var(--ink);
}

p.stars a:hover ~ a::before,
p.stars.selected a.active ~ a::before {
	color: #d0d0d0;
}

@media (max-width: 860px) {
	#reviews {
		grid-template-columns: 1fr;
	}

	#reviews #comments,
	#review_form_wrapper {
		grid-column: 1;
	}
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 2rem 4rem;
}

.contact-layout h2 {
	margin-top: 1.5rem;
	font-size: var(--step-2);
}

.store-details p {
	margin-bottom: 0.8rem;
}

.enquiry-form label {
	display: block;
	margin-bottom: 0.3rem;
	font-size: 0.875rem;
	font-weight: 600;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
	width: 100%;
}

.enquiry-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1rem;
}

.enquiry-form__trap {
	position: absolute;
	left: -9999px;
}

.enquiry-form__note {
	padding: 0.9rem 1.1rem;
	border-left: 3px solid var(--ink);
	background: var(--white);
}

.enquiry-form__note--missing,
.enquiry-form__note--error {
	border-color: #b0242f;
}

@media (max-width: 860px) {
	.contact-layout,
	.enquiry-form__row {
		grid-template-columns: 1fr;
	}
}

.site-footer__store p {
	margin-bottom: 0.7rem;
}

.site-footer__social {
	margin-top: 0.8rem !important;
}

/* ==========================================================================
   About Us
   ========================================================================== */
.about-label {
	margin: 0 0 1rem;
	color: var(--grey);
	font-size: 0.875rem;
	font-weight: 500;
}

.about-story,
.about-promise {
	max-width: var(--max);
	margin: 0 auto;
	padding: clamp(3rem, 7vw, 6.5rem) var(--gutter);
}

/* Our Story: text and the necklace set, side by side. */
.about-story {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 3rem clamp(2rem, 6vw, 6rem);
	align-items: center;
}

.about-story h1 {
	margin-bottom: 1.6rem;
	font-size: var(--step-4);
	line-height: 1.05;
}

.about-story__text p:not(.about-label) {
	max-width: 46ch;
	color: #3a3a3a;
	font-size: 1.0625rem;
	line-height: 1.75;
}

.about-story__media {
	margin: 0;
	padding: clamp(1.5rem, 4vw, 3.5rem);
	background: var(--black);
}

.about-story__media img {
	width: 100%;
}

/* Expertise: a black band with the workshop photographs. */
.about-expertise {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 3rem clamp(2rem, 6vw, 6rem);
	align-items: center;
	padding: clamp(4rem, 8vw, 7rem) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
	background: var(--black);
	color: var(--white);
}

.about-expertise .about-label {
	color: var(--silver);
}

.about-expertise h2 {
	margin-bottom: 1.4rem;
	font-size: var(--step-4);
}

.about-expertise__text p:not(.about-label) {
	max-width: 40ch;
	color: #d0d0d0;
	font-size: 1.0625rem;
	line-height: 1.75;
}

.about-expertise__media {
	position: relative;
	padding-bottom: 12%;
}

.about-expertise__main {
	width: 88%;
}

.about-expertise__inset {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 34%;
	border: 6px solid var(--black);
}

/* Promise */
.about-promise__intro {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 3rem clamp(2rem, 6vw, 6rem);
	align-items: center;
}

.about-promise h2 {
	margin-bottom: 1.4rem;
	font-size: var(--step-4);
}

.about-promise__intro p:not(.about-label) {
	max-width: 44ch;
	color: #3a3a3a;
	font-size: 1.0625rem;
	line-height: 1.75;
}

.about-promise__media {
	margin: 0;
}

.about-promise__media img {
	width: 100%;
}

.about-values {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	margin: clamp(3rem, 6vw, 5rem) 0 0;
	padding: 0;
	list-style: none;
}

.about-values li {
	padding-top: 1.1rem;
	border-top: 1px solid var(--ink);
}

.about-values h3 {
	margin-bottom: 0.4rem;
	font-size: var(--step-2);
}

.about-values p {
	margin: 0;
	color: var(--grey);
	font-size: 0.95rem;
}

.about-closing {
	max-width: 24ch;
	margin: clamp(4rem, 8vw, 7rem) auto 2rem;
	font-family: var(--serif);
	font-size: var(--step-3);
	font-style: italic;
	line-height: 1.2;
	text-align: center;
	text-wrap: balance;
}

.about-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.8rem;
	margin: 0;
}

@media (max-width: 860px) {
	.about-story,
	.about-expertise,
	.about-promise__intro {
		grid-template-columns: 1fr;
	}

	.about-story__media {
		order: -1;
	}

	.about-values {
		grid-template-columns: 1fr 1fr;
	}
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
