/* ==========================================================================
   Artistic Tobi Atelier
   Quiet luxury: white, off-white, cream, soft greys — notes of gold, bronze
   and brown. Large images, black buttons, simple transitions.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
	--white: #ffffff;
	--paper: #f8f6f2;
	--cream: #efe9df;
	--sand: #e7e0d4;
	--stone: #ece8e1;
	--mist: #dcd6cc;
	--line: #e4dfd6;
	--grey: #8a847c;
	--grey-dk: #5f5953;
	--ink: #141312;
	--ink-2: #2a2622;
	--brown: #4a3b30;
	--espresso: #221c18;
	--bronze: #8c6a4a;
	--gold: #b08d57;

	--serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, "Times New Roman", serif;
	--sans: "Jost", "Futura", "Helvetica Neue", Helvetica, Arial, sans-serif;

	--gutter: clamp(16px, 4vw, 48px);
	--max: 1480px;
	--hdr-h: 68px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 899px) {
	:root { --hdr-h: 58px; }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: auto;
	background: var(--paper);
}
html.is-locked { overflow: hidden; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; line-height: 1.15; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--sand); color: var(--ink); }

:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip {
	position: absolute; left: 12px; top: -60px; z-index: 300;
	background: var(--ink); color: var(--white); padding: 10px 16px; font-size: 12px;
	letter-spacing: .14em; text-transform: uppercase;
}
.skip:focus { top: 12px; color: var(--white); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }

.ata-icon { display: inline-flex; width: 20px; height: 20px; flex: none; }
.ata-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: square; }

/* ---------- 3. Type helpers ---------- */
.eyebrow {
	margin: 0 0 14px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--bronze);
}
.eyebrow--light { color: rgba(255, 255, 255, .86); }

.link {
	display: inline-block;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	padding-bottom: 4px;
	border-bottom: 1px solid currentColor;
	transition: color .25s ease, border-color .25s ease;
}
.link:hover { color: var(--bronze); }

/* ---------- 4. Buttons ---------- */
.btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
.wp-block-button__link, .wp-element-button,
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 34px;
	background: var(--ink);
	color: var(--white);
	border: 1px solid var(--ink);
	border-radius: 0;
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .18em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: none;
	text-shadow: none;
	cursor: pointer;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
.wp-block-button__link:hover, .wp-element-button:hover,
.wc-block-components-button:not(.is-link):hover,
.wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover {
	background: var(--ink-2);
	border-color: var(--ink-2);
	color: var(--white);
}
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

.woocommerce button.button:disabled, .woocommerce button.button.disabled,
.woocommerce button.button.alt:disabled, .woocommerce button.button.alt.disabled,
.woocommerce button.button.alt:disabled[disabled] {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
	opacity: .35;
	padding: 0 34px;
}

/* ---------- 5. Announcement + header ---------- */
.announce {
	background: var(--espresso);
	color: #e9e1d4;
	text-align: center;
	font-size: 10.5px;
	letter-spacing: .24em;
	text-transform: uppercase;
	padding: 9px var(--gutter);
	white-space: pre;
	overflow: hidden;
	text-overflow: ellipsis;
}
.announce p { margin: 0; }

.hdr {
	position: sticky;
	top: 0;
	z-index: 50;
	height: var(--hdr-h);
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}
.admin-bar .hdr { top: 32px; }
@media (max-width: 782px) { .admin-bar .hdr { top: 0; } }

.hdr__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: 100%;
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.hdr__side { display: flex; align-items: center; gap: 26px; }
.hdr__side--right { justify-content: flex-end; }

.hdr__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 40px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	transition: opacity .2s ease;
}
.hdr__btn:hover { opacity: .6; }
.hdr__side--right .hdr__lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hdr__btn--bag .ata-icon { width: 22px; height: 22px; }
.hdr__count {
	position: absolute;
	left: 0;
	width: 22px;
	top: 50%;
	margin-top: -1px;
	font-size: 8.5px;
	letter-spacing: 0;
	text-align: center;
	line-height: 1;
	font-weight: 500;
}

.brand { display: inline-flex; align-items: center; justify-content: center; }
.brand__word {
	font-family: var(--serif);
	font-weight: 500;
	font-size: 23px;
	letter-spacing: .26em;
	text-transform: uppercase;
	white-space: nowrap;
	margin-right: -.26em;
}

/* Transparent header over the homepage hero */
.ata-home .hdr:not(.is-solid) {
	background: transparent;
	border-color: transparent;
	color: var(--white);
}
.ata-home .hero { margin-top: calc(-1 * var(--hdr-h)); }

@media (max-width: 899px) {
	.hdr__side { gap: 14px; }
	.hdr__side--left .hdr__lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.brand__word { font-size: 16px; letter-spacing: .22em; margin-right: -.22em; }
}
@media (max-width: 420px) {
	.hdr__btn--account { display: none; }
	.brand__word { font-size: 14.5px; letter-spacing: .18em; margin-right: -.18em; }
}

/* ---------- 6. Menu drawer ---------- */
.drawer, .search {
	position: fixed;
	inset: 0;
	z-index: 120;
	visibility: hidden;
	pointer-events: none;
}
.drawer.is-open, .search.is-open { visibility: visible; pointer-events: auto; }

.drawer__scrim, .search__scrim {
	position: absolute;
	inset: 0;
	background: rgba(20, 19, 18, .32);
	opacity: 0;
	transition: opacity .4s ease;
}
.is-open > .drawer__scrim, .is-open > .search__scrim { opacity: 1; }

.drawer__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: min(460px, 100vw);
	display: flex;
	flex-direction: column;
	background: var(--paper);
	transform: translateX(-100%);
	transition: transform .5s var(--ease);
	overflow-y: auto;
	overscroll-behavior: contain;
}
.drawer.is-open .drawer__panel { transform: none; }
.admin-bar .drawer__panel, .admin-bar .search__panel { top: 32px; }
@media (max-width: 782px) { .admin-bar .drawer__panel, .admin-bar .search__panel { top: 46px; } }

.drawer__top {
	display: flex;
	align-items: center;
	height: var(--hdr-h);
	padding: 0 var(--gutter);
	border-bottom: 1px solid var(--line);
	flex: none;
}
.drawer__nav { padding: 36px clamp(24px, 4vw, 48px) 24px; flex: 1; }
.drawer__label {
	margin: 0 0 14px;
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--grey);
}
.drawer__list { list-style: none; margin-bottom: 40px; }
.drawer__list li { border-bottom: 1px solid var(--line); }
.drawer__list li:first-child { border-top: 1px solid var(--line); }
.drawer__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
	font-family: var(--serif);
	font-size: 22px;
	line-height: 1.25;
	transition: color .2s ease, padding .3s var(--ease);
}
.drawer__list a::after {
	content: "";
	width: 7px;
	height: 7px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	transform: rotate(45deg);
	opacity: .35;
	transition: opacity .2s ease;
}
.drawer__list a:hover { color: var(--bronze); padding-left: 6px; }
.drawer__list a:hover::after { opacity: 1; }
.drawer__list--small a { font-family: var(--sans); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; padding: 13px 0; }
.drawer__list .sub-menu { list-style: none; padding: 0 0 10px 12px; }
.drawer__list .sub-menu li, .drawer__list .sub-menu li:first-child { border: 0; }
.drawer__list .sub-menu a { font-size: 16px; padding: 6px 0; }
.drawer__list .sub-menu a::after { display: none; }

.drawer__utility { list-style: none; display: flex; gap: 28px; }
.drawer__utility a { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--grey-dk); }
.drawer__utility a:hover { color: var(--ink); }
.drawer__foot {
	padding: 22px clamp(24px, 4vw, 48px);
	border-top: 1px solid var(--line);
	font-size: 12px;
	color: var(--grey-dk);
	letter-spacing: .04em;
}

/* ---------- 7. Search ---------- */
.search__panel {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: var(--paper);
	padding: 0 var(--gutter) 40px;
	transform: translateY(-100%);
	transition: transform .45s var(--ease);
}
.search.is-open .search__panel { transform: none; }
.search__form {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 960px;
	margin: 0 auto;
	height: 110px;
	border-bottom: 1px solid var(--ink);
}
.search__form > .ata-icon { width: 24px; height: 24px; }
.search__form input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	font-family: var(--serif);
	font-size: clamp(22px, 3vw, 32px);
	padding: 8px 0;
	outline: none;
}
.search__form input::placeholder { color: #b3ada4; }
.search__form input::-webkit-search-cancel-button { display: none; }
.search__suggest { max-width: 960px; margin: 28px auto 0; }
.search__suggest ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.search__suggest a {
	display: inline-block;
	padding: 9px 16px;
	border: 1px solid var(--mist);
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	transition: border-color .2s ease, background-color .2s ease;
}
.search__suggest a:hover { border-color: var(--ink); background: var(--white); }

/* ---------- 8. Reveal (one quiet transition) ---------- */
.js .reveal {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .6s ease, transform .6s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 9. Hero ---------- */
.hero {
	position: relative;
	height: min(100svh, 1000px);
	min-height: 560px;
	overflow: hidden;
	background: var(--sand);
	color: var(--white);
}
.hero__media { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.hero__frame { position: relative; overflow: hidden; background: var(--stone); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero__frame + .hero__frame { display: none; }
@media (min-width: 900px) {
	.hero__media--2 { grid-template-columns: 1fr 1fr; }
	.hero__media--3 { grid-template-columns: 1fr 1fr 1fr; }
	.hero__frame + .hero__frame { display: block; border-left: 1px solid rgba(255, 255, 255, .35); }
}
.hero__veil {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(20, 16, 12, .28) 0%, rgba(20, 16, 12, 0) 22%),
		linear-gradient(0deg, rgba(20, 16, 12, .7) 0%, rgba(20, 16, 12, .3) 40%, rgba(20, 16, 12, .06) 68%),
		linear-gradient(90deg, rgba(20, 16, 12, .55) 0%, rgba(20, 16, 12, .15) 45%, rgba(20, 16, 12, 0) 65%);
}
.hero__content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: clamp(36px, 7vh, 88px);
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 var(--gutter);
	text-align: left;
}
.hero__content > * { max-width: 560px; }
.hero__title {
	font-family: var(--serif);
	font-weight: 500;
	text-shadow: 0 2px 28px rgba(0, 0, 0, .28);
	font-size: clamp(48px, 7.4vw, 112px);
	line-height: .98;
	letter-spacing: -.01em;
	margin: 0 0 18px;
}
.hero__text {
	margin: 0 0 30px;
	font-size: 15px;
	font-weight: 300;
	max-width: 420px;
	color: rgba(255, 255, 255, .92);
}
@media (max-width: 599px) {
	.hero__content { text-align: center; }
	.hero__content > * { margin-left: auto; margin-right: auto; }
}
.hero .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
.hero .btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- 10. Statement + sections ---------- */
.statement { padding: clamp(80px, 11vw, 160px) var(--gutter); text-align: center; }
.statement__text {
	max-width: 900px;
	margin: 0 auto;
	font-family: var(--serif);
	font-size: clamp(24px, 3vw, 40px);
	line-height: 1.35;
	color: var(--ink);
}

.section { padding: clamp(64px, 8vw, 120px) 0; }
.section--tight { padding-top: 0; }
.section__head { text-align: center; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	text-align: left;
}
.section__title { font-family: var(--serif); font-size: clamp(32px, 4vw, 54px); line-height: 1.08; }
.section__title--sm { font-size: clamp(24px, 2.6vw, 34px); }
.collections { padding-top: 0; }
.edit { background: var(--white); }

/* ---------- 11. Collection tiles ---------- */
.tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(28px, 3vw, 44px) clamp(10px, 1.6vw, 24px);
}
@media (min-width: 900px) {
	.tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.tile { display: block; }
.tile__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--stone);
}
.tile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--ease);
}
.tile:hover .tile__media img { transform: scale(1.035); }
.tile__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 16px; }
.tile__name { font-family: var(--serif); font-size: clamp(19px, 1.8vw, 24px); line-height: 1.2; }
.tile__copy { font-size: 14px; color: var(--grey-dk); max-width: 38ch; }
.tile__link {
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--grey-dk);
	padding-bottom: 3px;
	border-bottom: 1px solid var(--mist);
	transition: color .25s ease, border-color .25s ease;
}
.tile:hover .tile__link { color: var(--ink); border-color: var(--ink); }

/* ---------- 12. Product grid + cards ---------- */
.grid,
.woocommerce ul.products, ul.products {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 36px 10px;
	margin: 0;
	padding: 0;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
@media (min-width: 800px) {
	.grid, .woocommerce ul.products, ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 18px; }
}
@media (min-width: 1200px) {
	.grid, .woocommerce ul.products, ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 800px) {
	.grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 16px; }
}
.woocommerce ul.products li.product, .grid__item {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	padding: 0;
	list-style: none;
}

.card { position: relative; }
.card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--stone);
}
.card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity .6s ease, transform 1.2s var(--ease);
}
.card__img--alt { opacity: 0; }
@media (hover: hover) {
	.card__media.has-alt:hover .card__img--alt { opacity: 1; }
	.card__media:not(.has-alt):hover img { transform: scale(1.03); }
}
.card__placeholder { position: absolute; inset: 0; background: var(--stone); }
.card__body { padding: 14px 2px 0; }
.card__title { font-family: var(--sans); font-size: 14px; font-weight: 400; line-height: 1.4; letter-spacing: .01em; margin-bottom: 4px; }
.card__title a:hover { color: var(--bronze); }
.card__price { font-size: 13px; color: var(--grey-dk); }
.card__meta { margin: 6px 0 0; font-size: 12px; color: var(--grey); }

.price del, .pdp__price del { color: var(--grey); opacity: 1; margin-right: 8px; }
.price ins, .pdp__price ins { text-decoration: none; }

/* ---------- 13. Page headings, chips, toolbar ---------- */
.page-head { text-align: center; padding-top: clamp(48px, 7vw, 100px); padding-bottom: clamp(28px, 4vw, 52px); }
.page-head__title { font-family: var(--serif); font-size: clamp(38px, 5.4vw, 72px); line-height: 1.05; }
.page-head__text { max-width: 560px; margin: 18px auto 0; color: var(--grey-dk); font-size: 15px; }
.page-head .crumbs { justify-content: center; margin-bottom: 18px; }

.crumbs, .woocommerce .woocommerce-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
	font-size: 10.5px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--grey);
}
.crumbs a { color: var(--grey); }
.crumbs a:hover { color: var(--ink); }
.crumbs__sep { opacity: .6; }

.chips {
	display: flex;
	justify-content: center;
	gap: 30px;
	overflow-x: auto;
	scrollbar-width: none;
	padding-bottom: 2px;
	margin-bottom: clamp(28px, 4vw, 48px);
	white-space: nowrap;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
	flex: none;
	padding: 6px 0;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--grey);
	border-bottom: 1px solid transparent;
	transition: color .2s ease, border-color .2s ease;
}
.chip:hover { color: var(--ink); }
.chip.is-active { color: var(--ink); border-color: var(--ink); }
@media (max-width: 899px) { .chips { justify-content: flex-start; gap: 22px; } }

.toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding: 14px 0;
	margin-bottom: 28px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.toolbar .woocommerce-notices-wrapper { flex-basis: 100%; }
.toolbar .woocommerce-notices-wrapper:empty { display: none; }
.woocommerce .toolbar .woocommerce-result-count, .toolbar .woocommerce-result-count {
	float: none;
	margin: 0;
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--grey);
}
.woocommerce .toolbar .woocommerce-ordering, .toolbar .woocommerce-ordering { float: none; margin: 0; }
.toolbar select.orderby {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141312' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right center / 10px 7px;
	padding: 4px 22px 4px 0;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	cursor: pointer;
	outline-offset: 2px;
}

.woocommerce nav.woocommerce-pagination { margin-top: 64px; text-align: center; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: inline-flex; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	min-width: 40px; padding: 10px; font-size: 13px; color: var(--grey-dk);
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--ink); color: var(--white); }

.shop { padding-bottom: clamp(64px, 8vw, 120px); }
.empty { text-align: center; padding: 48px 0 96px; color: var(--grey-dk); }
.empty .btn { margin-top: 12px; }

/* ---------- 14. Product page ---------- */
.pdp-notices:empty, .pdp-notices .woocommerce-notices-wrapper:empty { display: none; }
.pdp-notices .woocommerce-notices-wrapper:not(:empty) { padding-top: 20px; }

.pdp { display: block; }
@media (min-width: 800px) {
	.pdp {
		display: grid;
		grid-template-columns: minmax(0, 1.5fr) minmax(340px, 1fr);
		align-items: stretch;
	}
}
@media (min-width: 1400px) {
	.pdp { grid-template-columns: minmax(0, 1.6fr) minmax(420px, 1fr); }
}

.pdp__gallery { position: relative; background: var(--stone); }
.gal { transition: opacity .16s ease; }
.gal.is-swapping { opacity: 0; }
.gal__item { position: relative; background: var(--stone); overflow: hidden; aspect-ratio: 1 / 1; }
.gal__zoom { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gal__zoom img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 800px) {
	.gal { display: flex; flex-direction: column; gap: 2px; background: var(--paper); }
	.gal__count { display: none; }
}
@media (max-width: 799px) {
	.gal {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		overscroll-behavior-x: contain;
	}
	.gal::-webkit-scrollbar { display: none; }
	.gal__item { flex: 0 0 100%; scroll-snap-align: start; }
	.gal__count {
		position: absolute;
		right: 14px;
		bottom: 12px;
		margin: 0;
		padding: 4px 10px;
		background: rgba(248, 246, 242, .85);
		font-size: 11px;
		letter-spacing: .14em;
	}
	.gal[data-count="1"] + .gal__count { display: none; }
}

.pdp__info { background: var(--paper); }
.pdp__sticky {
	padding: 28px var(--gutter) 48px;
	max-width: 560px;
}
@media (min-width: 800px) {
	.pdp__sticky {
		position: sticky;
		top: var(--hdr-h);
		max-height: calc(100vh - var(--hdr-h));
		overflow-y: auto;
		scrollbar-width: none;
		padding: 40px clamp(32px, 4vw, 72px) 48px;
		margin: 0 auto;
	}
	.pdp__sticky::-webkit-scrollbar { display: none; }
	.admin-bar .pdp__sticky { top: calc(var(--hdr-h) + 32px); max-height: calc(100vh - var(--hdr-h) - 32px); }
}
.pdp__title { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 36px); line-height: 1.15; margin-bottom: 12px; }
.pdp__price { font-size: 16px; color: var(--ink); margin-bottom: 24px; }
.pdp__price .woocommerce-Price-amount { font-weight: 400; }
.pdp__lede { font-size: 14px; color: var(--grey-dk); margin-bottom: 24px; }
.pdp__lede p:last-child { margin: 0; }

/* Variation form */
.woocommerce div.product form.cart, .pdp form.cart { margin: 0 0 8px; }
.woocommerce div.product form.cart .variations, .pdp .variations { margin: 0 0 6px; border: 0; width: 100%; }
.variation { margin-bottom: 22px; }
.variation__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.variation__label {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
}
.variation__chosen { font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--grey-dk); font-size: 13px; }
.js .variation__select { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.variation__select select {
	width: 100%;
	min-height: 46px;
	border: 1px solid var(--mist);
	background: var(--white);
	padding: 0 12px;
	border-radius: 0;
}
html:not(.js) .swatches { display: none; }

.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { position: relative; transition: border-color .2s ease, background-color .2s ease, color .2s ease, opacity .2s ease; }
.swatches--colour .swatch {
	width: 52px;
	padding: 2px;
	border: 1px solid transparent;
}
.swatches--colour .swatch:hover { border-color: var(--mist); }
.swatches--colour .swatch.is-selected { border-color: var(--ink); }
.swatch__thumb { display: block; aspect-ratio: 4 / 5; background: var(--stone); overflow: hidden; }
.swatch__thumb img { width: 100%; height: 100%; object-fit: cover; }
.swatch__dot { display: block; width: 100%; height: 100%; border: 1px solid rgba(0, 0, 0, .08); }

.swatches--text { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 6px; }
.swatches--text .swatch {
	height: 46px;
	padding: 0 8px;
	border: 1px solid var(--mist);
	background: var(--white);
	font-size: 13px;
	letter-spacing: .06em;
}
.swatches--text .swatch:hover { border-color: var(--ink); }
.swatches--text .swatch.is-selected { background: var(--ink); border-color: var(--ink); color: var(--white); }
.swatch.is-unavailable { opacity: .38; }
.swatches--text .swatch.is-unavailable { text-decoration: line-through; }

.pdp .single_variation_wrap .woocommerce-variation { font-size: 13px; color: var(--grey-dk); }
.pdp .woocommerce-variation-price { margin-bottom: 8px; }
.pdp .woocommerce-variation-price .price { font-size: 15px; color: var(--ink); }
.pdp .woocommerce-variation-availability p, .pdp p.stock { margin: 0 0 12px; font-size: 12px; letter-spacing: .08em; color: var(--grey-dk); }
.woocommerce .pdp p.stock.out-of-stock { color: var(--brown); }

.pdp .quantity { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.woocommerce .pdp form.cart .button, .woocommerce div.product .pdp form.cart .button,
.pdp .single_add_to_cart_button {
	float: none;
	width: 100%;
	min-height: 56px;
	margin: 6px 0 0;
}
.woocommerce .pdp .woocommerce-variation-add-to-cart,
.woocommerce .pdp form.cart:not(.variations_form) { display: flex; flex-direction: column; }

.pdp__assure {
	display: flex;
	gap: 22px;
	flex-wrap: wrap;
	margin: 18px 0 30px;
	font-size: 10.5px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--grey-dk);
}
.pdp__assure p { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.pdp__assure p::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

/* Accordions */
.acc { border-bottom: 1px solid var(--line); }
.acc__item { border-top: 1px solid var(--line); }
.acc__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 0;
	list-style: none;
	cursor: pointer;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
}
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary .ata-icon { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.acc__item[open] summary .ata-icon { transform: rotate(45deg); }
.acc__body { padding: 0 0 22px; font-size: 14px; color: var(--grey-dk); }
.acc__body ul { padding-left: 18px; margin: 0 0 1em; }
.acc__body li { margin-bottom: 4px; }
.acc__body table.woocommerce-product-attributes, .woocommerce table.shop_attributes {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	margin: 0;
}
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td {
	border: 0;
	border-bottom: 1px solid var(--line);
	background: none !important;
	padding: 10px 0;
	font-style: normal;
	text-align: left;
	font-size: 13px;
}
.woocommerce table.shop_attributes th { font-weight: 500; width: 40%; color: var(--ink); }
.woocommerce table.shop_attributes td p { margin: 0; padding: 0; }

.related { background: var(--white); }

/* ---------- 15. Notices ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice,
.wc-block-components-notice-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin: 0 0 24px !important;
	padding: 16px 20px !important;
	background: var(--cream) !important;
	border: 0 !important;
	border-radius: 0 !important;
	color: var(--ink) !important;
	font-size: 14px;
	list-style: none;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none !important; }
.woocommerce-message::after, .woocommerce-info::after, .woocommerce-error::after { display: none !important; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button {
	order: 2;
	min-height: 40px !important;
	padding: 0 22px !important;
	float: none !important;
}
.woocommerce-error li { margin: 0; }
.wc-block-components-notice-banner > svg { fill: var(--ink); background: transparent !important; }

/* ---------- 16. Editorial splits + services ---------- */
.split { display: grid; grid-template-columns: 1fr; background: var(--paper); }
.split--cream { background: var(--cream); }
@media (min-width: 900px) {
	.split { grid-template-columns: 1fr 1fr; min-height: min(92vh, 900px); }
	.split--reverse .split__media { order: 2; }
}
.split__media { position: relative; overflow: hidden; background: var(--stone); aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .split__media { aspect-ratio: auto; } }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: clamp(48px, 7vw, 120px) var(--gutter);
}
@media (min-width: 900px) { .split__body { padding: 64px clamp(48px, 7vw, 128px); } }
.split__title { font-family: var(--serif); font-size: clamp(34px, 4.2vw, 60px); line-height: 1.05; margin-bottom: 22px; }
.split__text { max-width: 440px; color: var(--grey-dk); margin-bottom: 34px; }

.services { background: var(--paper); border-top: 1px solid var(--line); }
.services__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	padding-top: clamp(48px, 5vw, 72px);
	padding-bottom: clamp(48px, 5vw, 72px);
	text-align: center;
}
@media (min-width: 800px) { .services__inner { grid-template-columns: repeat(3, 1fr); } }
.services__title { margin: 0 0 8px; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.services__item p:last-child { margin: 0; font-size: 14px; color: var(--grey-dk); }
.services__item a { border-bottom: 1px solid var(--mist); }

/* ---------- 17. Footer ---------- */
.ftr { background: var(--espresso); color: #d8cfc2; font-size: 14px; }
.ftr a { transition: color .2s ease; }
.ftr a:hover { color: var(--white); }
.ftr__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 44px;
	padding-top: clamp(64px, 7vw, 104px);
	padding-bottom: clamp(48px, 6vw, 80px);
}
@media (min-width: 700px) { .ftr__inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ftr__inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.brand--footer { justify-content: flex-start; color: #f1ebe1; margin-bottom: 14px; }
.brand--footer .brand__word { font-size: 20px; }
.ftr__line { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--gold); margin-bottom: 18px; }
.ftr__text { max-width: 320px; color: #b9ad9e; margin-bottom: 22px; }
.ftr__head { margin: 0 0 18px; font-size: 10.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.ftr ul { list-style: none; }
.ftr li { margin-bottom: 10px; }
.ftr__base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-top: 22px;
	padding-bottom: 22px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: 10.5px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: #988b7b;
}
.ftr__base p { margin: 0; }

/* ---------- 18. Image viewer ---------- */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: var(--paper);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease, visibility 0s linear .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.lightbox__stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 56px 72px; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__close { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; z-index: 2; }
.lightbox__close .ata-icon { width: 24px; height: 24px; }
.lightbox__nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; display: flex; align-items: center; justify-content: center; z-index: 2; }
.lightbox__nav .ata-icon { width: 26px; height: 26px; }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }
.lightbox.is-single .lightbox__nav, .lightbox.is-single .lightbox__count { display: none; }
.lightbox__count { position: absolute; bottom: 16px; left: 0; right: 0; margin: 0; text-align: center; font-size: 11px; letter-spacing: .18em; color: var(--grey-dk); }
@media (max-width: 699px) {
	.lightbox__stage { padding: 56px 0; }
	.lightbox__nav { display: none; }
}

/* ---------- 19. Pages: story, contact, journal, prose ---------- */
.prose { font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.prose h2 { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); margin: 1.6em 0 .6em; }
.prose h3 { font-family: var(--serif); font-size: 22px; margin: 1.4em 0 .5em; }
.prose h4 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; margin: 1.6em 0 .6em; }
.prose a { border-bottom: 1px solid var(--mist); }
.prose a:hover { border-color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose img { height: auto; }
.prose > *:first-child { margin-top: 0; }
.prose--legal { font-size: 15px; }
.entry { padding-bottom: clamp(64px, 8vw, 120px); }
.entry__media { margin-bottom: 40px; }

/* Content pasted with coloured block backgrounds sits quietly in the new palette */
.entry .wp-block-group.has-background { padding: 0 !important; background: transparent !important; color: inherit !important; }

.story { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; padding-bottom: clamp(40px, 6vw, 80px); }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1.1fr; } }
.story__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__body { padding-bottom: 0; }
.story__body h1, .story__body h2:first-child { display: none; }
.story__sign { margin-top: 32px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); }

.contact {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	padding-bottom: clamp(64px, 8vw, 120px);
}
@media (min-width: 900px) { .contact { grid-template-columns: 1.3fr 1fr; } }
.contact__card { background: var(--white); padding: clamp(32px, 4vw, 56px); border: 1px solid var(--line); }
.contact__card--plain { background: transparent; }
.contact__email { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 34px); margin-bottom: 12px; word-break: break-word; }
.contact__card > p:not(.eyebrow):not(.contact__email) { color: var(--grey-dk); margin-bottom: 28px; }
.contact__list { list-style: none; margin-bottom: 26px; }
.contact__list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 18px; }

.posts { display: grid; grid-template-columns: 1fr; gap: 48px 24px; padding-bottom: 64px; }
@media (min-width: 800px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post-card__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); margin-bottom: 18px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card .eyebrow { margin-bottom: 8px; }
.post-card__title { font-family: var(--serif); font-size: 24px; line-height: 1.2; margin-bottom: 10px; }
.post-card__text { color: var(--grey-dk); font-size: 14px; }
.pager { text-align: center; padding-bottom: 96px; }
.pager .page-numbers { display: inline-block; padding: 8px 12px; font-size: 13px; }
.pager .page-numbers.current { background: var(--ink); color: var(--white); }

/* ---------- 20. Forms, basket, checkout, account ---------- */
.commerce { padding-bottom: clamp(64px, 8vw, 120px); }
.commerce .entry { padding-bottom: 0; font-size: 15px; }

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.woocommerce form .form-row select, .woocommerce .quantity .qty,
.woocommerce-page form .form-row input.input-text,
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="search"]:not(#search-field), textarea, select:not(.orderby) {
	border: 1px solid var(--mist);
	border-radius: 0;
	background: var(--white);
	padding: 12px 14px;
	min-height: 48px;
	font-size: 14px;
	box-shadow: none;
}
.woocommerce form .form-row input.input-text:focus, textarea:focus, input:focus, select:focus { border-color: var(--ink); outline: none; }
.woocommerce form .form-row label, .woocommerce-page form .form-row label { font-size: 12px; letter-spacing: .06em; color: var(--grey-dk); }

.woocommerce table.shop_table {
	border: 0;
	border-radius: 0;
	border-collapse: collapse;
	margin-bottom: 32px;
}
.woocommerce table.shop_table th {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	padding: 14px 10px;
	border-bottom: 1px solid var(--ink);
}
.woocommerce table.shop_table td { padding: 20px 10px; border-top: 1px solid var(--line); }
.woocommerce table.shop_table td.product-thumbnail img { width: 96px; }
.woocommerce table.shop_table td.product-name a { font-family: var(--serif); font-size: 18px; }
.woocommerce a.remove { color: var(--grey) !important; font-weight: 300; }
.woocommerce a.remove:hover { background: var(--ink); color: var(--white) !important; }
.woocommerce .cart-collaterals .cart_totals h2, .woocommerce-checkout h3, .woocommerce-account h2, .woocommerce-account h3 {
	font-family: var(--serif);
	font-size: 26px;
	margin-bottom: 18px;
}
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { background: var(--white); padding: 32px; border: 1px solid var(--line); }
.woocommerce .wc-proceed-to-checkout a.checkout-button { width: 100%; font-size: 12px; padding: 0 24px; }
.woocommerce .cart .coupon .input-text { min-width: 180px; }
.woocommerce-cart .return-to-shop .button { margin-top: 12px; }
.cart-empty { text-align: center; font-family: var(--serif); font-size: 24px; }
.return-to-shop { text-align: center; }

.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; border-top: 1px solid var(--line); }
.woocommerce-account .woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--line); }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 13px 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--grey-dk); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a, .woocommerce-account .woocommerce-MyAccount-navigation a:hover { color: var(--ink); }

/* Block checkout / cart */
.wc-block-components-text-input input, .wc-block-components-combobox .components-combobox-control input,
.wc-block-components-form .wc-block-components-text-input input { border-radius: 0 !important; border-color: var(--mist) !important; }
.wc-block-components-title, .wc-block-checkout__step .wc-block-components-checkout-step__title { font-family: var(--serif) !important; font-weight: 400 !important; }
.wc-block-components-product-name { font-family: var(--serif); font-size: 17px; }
.wc-block-components-sidebar-layout .wc-block-components-main { padding-right: 4%; }

/* ---------- 21. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ---------- 22. Hold the line against plugin button styling ---------- */
.pdp .single_add_to_cart_button.button,
.pdp .single_add_to_cart_button.button:hover,
.woocommerce .pdp .single_add_to_cart_button.button.alt {
	background: var(--ink) !important;
	border: 1px solid var(--ink) !important;
	color: var(--white) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-family: var(--sans) !important;
	font-size: 12px !important;
	letter-spacing: .18em !important;
	text-transform: uppercase !important;
}
.pdp .single_add_to_cart_button.button:hover { background: var(--ink-2) !important; }
.pdp .single_add_to_cart_button.button.disabled,
.pdp .single_add_to_cart_button.button:disabled { opacity: .35 !important; }
.woocommerce-cart .cart-empty.woocommerce-info { justify-content: center; background: transparent !important; padding-top: 8px !important; }
.woocommerce .return-to-shop .button, .woocommerce .return-to-shop a.button,
.woocommerce a.button.wc-backward {
	background: var(--ink) !important; color: var(--white) !important; border: 1px solid var(--ink) !important; border-radius: 0 !important;
}
.admin-bar .lightbox { top: 32px; }
@media (max-width: 782px) { .admin-bar .lightbox { top: 46px; } }
.woocommerce-pagination ul.page-numbers { list-style: none; display: inline-flex; gap: 6px; border: 0; }
.woocommerce-pagination .page-numbers li { border: 0; }
.woocommerce-pagination a.page-numbers, .woocommerce-pagination span.page-numbers { display: inline-block; min-width: 40px; padding: 10px; font-size: 13px; color: var(--grey-dk); text-align: center; }
.woocommerce-pagination span.page-numbers.current, .woocommerce-pagination a.page-numbers:hover { background: var(--ink); color: var(--white); }
.woocommerce-pagination { margin-top: 64px; text-align: center; }
