:root {
	/* Original TUNIQ neutral surfaces with the SaffronThreads brand accents. */
	--color-text: #2A241D;
	--color-text-invert: #EDE6D9;
	--color-text-secondary: #6F665B;
	--color-accent: #2F4A3E;
	--color-accent-hover: #1E3329;
	--color-accent-invert: #EDE6D9;
	--color-background: #EFEFEF;
	--color-background-secondary: #E5E5E5;
	--color-pattern: #E8DFD1;
	--color-border: #D9D1C4;
	--color-brass: #A3875B;
	--color-wood: #5B3A24;
	--font-stack-headings: "Courier New", Courier, monospace;
  	--font-stack-body: "Courier New", Courier, monospace;
	--margin-sections-base: clamp(72px, 18vh, 180px);
	--wrapper-padding: calc(100vw / 12);
	--product-media-ratio: 4 / 5;
	--product-card-media-ratio: 5 / 6;
	--catalog-gutter: calc(100vw / 12);
	--product-media-fit: contain;
}

* {
	box-sizing: border-box;
}

html {
	min-height: 100%;
	scrollbar-gutter: stable;
	background: var(--color-background);
}

body {
	margin: 0;
	color: var(--color-text);
	background: var(--color-background);
	font-family: var(--font-stack-body);
	font-size: 15px;
	line-height: 1.65;
	letter-spacing: 0;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		linear-gradient(120deg, rgba(255, 255, 255, 0.22), transparent 38%),
		repeating-linear-gradient(135deg, rgba(232, 223, 209, 0.34) 0 1px, transparent 1px 42px);
	opacity: 0.34;
}

body.drawer-open {
	overflow: hidden;
}

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

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

p {
	margin: 0 0 1.25rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 1rem;
	font-family: var(--font-stack-headings);
	font-weight: 500;
	line-height: 1.05;
}

.h1,
h1 {
	font-size: clamp(38px, 7vw, 98px);
}

.h2,
h2 {
	font-size: clamp(32px, 5vw, 68px);
}

.h4,
h4 {
	font-size: clamp(18px, 2.4vw, 28px);
	line-height: 1.25;
}

.text-size--small,
.text-size--smaller {
	font-size: 12px;
}

.text-size--larger {
	font-size: clamp(18px, 2vw, 24px);
}

.wrapper {
	width: 100%;
	padding-inline: var(--wrapper-padding);
}

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

.skip-to-content:focus {
	position: fixed !important;
	inset-block-start: 16px;
	inset-inline-start: 16px;
	z-index: 10000;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto;
	background: var(--color-text);
	color: var(--color-text-invert);
}

.section-w-margin {
	margin-block: var(--margin-sections-base);
}

.section-w-mobile-padding {
	padding-inline: var(--wrapper-padding);
}

.section-w-mobile-padding > .push-left-one-tenth,
.section-w-mobile-padding > .grid > .push-left-one-tenth {
	margin-inline-start: 0;
}

.grid,
.collection,
.product,
.main-footer,
.post-list {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(20px, 3vw, 42px);
}

.ten-tenths {
	width: 100%;
}

.eight-tenths {
	width: min(80%, 1180px);
}

.seven-tenths {
	width: min(70%, 980px);
}

.six-tenths {
	width: calc(60% - 22px);
}

.five-tenths {
	width: calc(50% - 22px);
}

.four-tenths {
	width: calc(40% - 22px);
}

.three-tenths {
	width: calc(33.333% - 28px);
}

.two-tenths {
	width: calc(20% - 22px);
}

.push-left-one-tenth {
	margin-inline-start: 10%;
}

.push-left-half-tenth {
	margin-inline-start: 5%;
}

.push-right-one-tenth {
	margin-inline-start: auto;
	margin-inline-end: 10%;
}

.lap--push-left-padding {
	padding-inline-start: var(--wrapper-padding);
}

.header-holder {
	position: sticky;
	inset-block-start: 0;
	z-index: 50;
	padding-block: 25px;
	background: var(--color-background);
	transition: padding-block 0.2s ease;
}

.header-holder.is-sticky {
	border-bottom: 1px solid var(--color-border);
}

.header-holder.is-sticky .header {
	min-height: 40px;
	height: 40px;
	grid-template-rows: 40px;
}

.header-holder.is-sticky .custom-logo { max-height: 40px; }

.header {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 20px;
	min-height: 60px;
}

.logo {
	grid-column: 2;
	text-align: center;
}

.logo-img,
.custom-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.logo-text {
	font-family: var(--font-stack-headings);
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
}

.logo-img img,
.custom-logo {
	max-height: 60px;
	width: auto;
	display: block;
}

.menu-opener {
	grid-column: 1;
	grid-row: 1;
	justify-self: start;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-text);
	font: inherit;
	cursor: pointer;
	width: 44px;
	height: 44px;
}

.menu-opener__icon {
	width: 24px;
	height: 14px;
	display: grid;
	align-content: space-between;
}

.menu-opener__icon .line {
	display: block;
	height: 2px;
	background: currentColor;
}

.menu-opener__icon .line:first-child { width: 20px; }
.menu-opener__icon .line:last-child { width: 16px; }

.menu-meta {
	grid-column: 3;
	justify-self: end;
	margin-inline-end: -10px;
}

.menu-meta ul {
	display: flex;
	align-items: center;
	gap: 0;
	padding: 0;
	margin: 0;
	list-style: none;
}

.menu-meta__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.menu-meta__icon {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.menu-meta__icon > svg {
	display: block;
}

.menu-meta__count {
	position: absolute;
	inset: 7px 1px 1px;
	display: grid;
	place-items: center;
	padding-block-start: 3px;
	font-size: 9px;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	pointer-events: none;
}

.sidebar {
	position: fixed;
	inset-block: 0;
	inset-inline-start: 0;
	z-index: 100;
	width: min(480px, 92vw);
	background: var(--color-background);
	transform: translateX(-102%);
	transition: transform 0.25s ease;
	border-inline-end: 1px solid var(--color-border);
	visibility: hidden;
}

.sidebar.is-open {
	transform: translateX(0);
	visibility: visible;
}

.sidebar__container {
	height: 100%;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 48px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.close-sidebar {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border: 0;
	padding: 0;
	background: transparent;
	font: inherit;
	cursor: pointer;
}

.sidebar__menu {
	padding: 0;
	margin: 0;
	list-style: none;
}

.sidebar__menu a {
	display: flex;
	padding: 12px 0;
	font-family: var(--font-stack-headings);
	font-size: clamp(30px, 6vw, 58px);
	line-height: 1;
}

.underline-animation {
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0 1px;
	transition: background-size 0.18s ease;
}

a:hover .underline-animation,
a:focus .underline-animation {
	background-size: 100% 1px;
}

.drawer-scrim {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgba(42, 36, 29, 0.24);
}

.button,
button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 1px solid var(--color-accent);
	border-radius: 0;
	padding: 11px 18px;
	background: transparent;
	color: var(--color-text);
	font-family: var(--font-stack-body);
	font-size: 14px;
	line-height: 1.1;
	text-transform: none;
	cursor: pointer;
}

.button--solid,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.single_add_to_cart_button {
	background: var(--color-accent);
	color: var(--color-text-invert);
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
	border-color: var(--color-accent-hover);
	background: var(--color-accent-hover);
	color: var(--color-text-invert);
}

.menu-opener:hover,
.menu-meta__link:hover,
.close-sidebar:hover,
.button--underline:hover,
.product-gallery-navigation button:hover,
.search-drawer__form button:hover {
	border-color: transparent;
	background: transparent;
	color: inherit;
}

.button--underline {
	min-height: auto;
	border: 0;
	border-bottom: 1px solid currentColor;
	padding: 0 0 3px;
	background: transparent;
	color: inherit;
}

.button svg {
	width: 46px;
}

.vertical-slider {
	position: relative;
	isolation: isolate;
	background: var(--color-background);
	margin-block-start: 48px;
	min-height: min(820px, calc(100vh - 120px));
	padding-inline: var(--wrapper-padding);
}

.slide {
	position: relative;
	min-height: inherit;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
}

.slide-heading {
	position: relative;
	z-index: 2;
	grid-area: 1 / 1;
	width: 90%;
	margin: 0;
	padding: 50px 0;
	color: #ffffff;
	mix-blend-mode: exclusion;
	pointer-events: none;
}

.slide-heading .slide-button {
	pointer-events: auto;
}

.slide-heading .slide-title {
	font-size: 80px;
	line-height: 1.05;
	width: min(100%, 980px);
}

.slide-heading .slide-caption {
	font-size: 24px;
	max-width: 640px;
}

.slide-heading .slide-button svg {
	fill: currentColor;
}

.slide-title {
	margin-bottom: 18px;
}

.slide-caption {
	display: block;
	margin-bottom: 30px;
}

.slide-image {
	position: relative;
	z-index: 1;
	grid-area: 1 / 1;
}

.slide-image--primary {
	margin-block-start: 0;
	margin-inline-end: 0;
	width: 48%;
}

.slide-image--secondary {
	margin-inline-start: 2%;
	margin-block-start: 45%;
	width: 22%;
}

.lazy-image {
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	overflow: hidden;
	background: var(--color-background-secondary);
	aspect-ratio: 5 / 6;
}

.lazy-image[style*="--ratio"] {
	aspect-ratio: auto;
}

.lazy-image[style*="--ratio"]::before {
	content: "";
	display: block;
	padding-top: var(--ratio);
}

.lazy-image[style*="--ratio"] > img {
	position: absolute;
	inset: 0;
}

.lazy-image img,
.product-item__image img,
.woocommerce-product-gallery img,
.single-journal__image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.image-reveal--mask .animation {
	opacity: 0;
	clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
	transform: translateX(-20px);
	transition: opacity .15s linear, transform 1s linear;
	will-change: clip-path, transform, opacity;
}

.image-reveal--mask .animation.is-visible {
	opacity: 1;
	transform: none;
	animation: saffronthreads-image-reveal 1s linear forwards;
}

@keyframes saffronthreads-image-reveal {
	0% { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
	30% { clip-path: polygon(0 0, 20% 0, 5% 100%, 0 100%); }
	100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

.section-header {
	margin-bottom: 34px;
}

.section-header__title {
	overflow-wrap: anywhere;
}

.rte {
	max-width: 72ch;
}

.rte a {
	text-decoration: underline;
}

.woocommerce ul.products,
ul.products,
.collection {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 4vw, 54px);
	padding: 0 var(--wrapper-padding);
	margin: 0;
	list-style: none;
}

/* The section owns the page gutter; nested WooCommerce loops must not add it again. */
.mount-collection,
.product-recommendations {
	padding-inline: var(--catalog-gutter);
}

.saffronthreads-theme .mount-collection ul.products,
.saffronthreads-theme .product-recommendations ul.products {
	padding: 0;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: calc(100vw / 24);
	row-gap: 100px;
	align-items: start;
}

.mount-collection > .section-header { margin-bottom: 50px; }

@media (max-width: 1023px) {
	:root { --catalog-gutter: 40px; }
	.saffronthreads-theme .mount-collection ul.products,
	.saffronthreads-theme .product-recommendations ul.products {
		column-gap: 40px;
	}
}

@media (max-width: 835px) {
	.saffronthreads-theme .mount-collection ul.products,
	.saffronthreads-theme .product-recommendations ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 599px) {
	:root { --catalog-gutter: 20px; }
	.saffronthreads-theme .mount-collection ul.products,
	.saffronthreads-theme .product-recommendations ul.products {
		column-gap: 20px;
		row-gap: 60px;
	}
}

.woocommerce ul.products li.product,
.product-item {
	display: block;
	position: relative;
	width: auto !important;
	margin: 0 !important;
	float: none !important;
}

.product-item__link {
	display: block;
}

.product-item__media {
	position: relative;
	margin-bottom: 25px;
}

.product-item__image {
	position: relative;
	overflow: hidden;
}

.product-item__image .lazy-image {
	aspect-ratio: var(--product-card-media-ratio);
}

.product-item--zoom .product-item__image figure {
	transition: transform .3s cubic-bezier(0, .6, 1, 1), opacity .4s linear;
}

@media (hover: hover) and (pointer: fine) {
	.product-item--zoom .product-item__link:hover .product-item__image figure,
	.product-item--zoom .product-item__link:focus-visible .product-item__image figure {
		transform: scale(1.1);
	}
}

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

ul.products li.product .product-item__image .lazy-image img,
.product-item__image .lazy-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-height: none;
	margin: 0;
	object-fit: var(--product-media-fit);
}

.product-item__caption {
	display: block;
	font-size: 14px;
}

.product-item__title {
	display: block;
	max-width: none;
	font-size: 13px;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.product-item__price {
	display: block;
	margin-top: 5px;
	white-space: normal;
}

.product-item__price,
.price {
	color: var(--color-accent);
	white-space: nowrap;
}

.product-item del,
.price del {
	color: var(--color-text);
	opacity: 0.6;
	margin-inline-start: 6px;
}

.quick-add-to-cart {
	position: absolute;
	inset-inline: 0;
	inset-block-end: 0;
	opacity: 0;
	pointer-events: none;
	transform: translateY(6px);
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.product-item:hover .quick-add-to-cart,
.product-item:focus-within .quick-add-to-cart {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.quick-add-to-cart .button,
.quick-add-to-cart a.button,
.woocommerce ul.products li.product .quick-add-to-cart .button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 0;
	font-size: 12px;
	white-space: normal;
	text-align: center;
}

.quick-add-to-cart .added_to_cart {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0;
	background: var(--color-background);
	font-size: 12px;
}

.product-item__quick-icon { display: none; }

@media (hover: none), (pointer: coarse) {
	.quick-add-to-cart {
		position: static;
		opacity: 1;
		pointer-events: auto;
		transform: none;
	}
}

.product-item__variants {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 16px;
}

.product-item__variant {
	width: 30px;
	height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.product-item__variant > span {
	width: 14px;
	height: 14px;
	display: block;
	border: 1px solid var(--color-border);
	border-radius: 50%;
}

.product-item__variant:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.product-promotional {
	display: flex;
	align-items: center;
	min-height: 320px;
	padding: 24px;
	border-block: 1px solid var(--color-border);
}

.product-promotional .product-item__text {
	margin: 0;
}

.onsale,
.woocommerce span.onsale {
	position: absolute;
	inset-block-start: 10px;
	inset-inline-start: 10px;
	min-height: auto;
	min-width: auto;
	border-radius: 0;
	padding: 5px 8px;
	background: var(--color-accent);
	color: var(--color-text-invert);
	font-size: 11px;
	line-height: 1;
}

.collection-tools {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: min(80%, 1120px);
	margin-bottom: 34px;
}

.collection-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-start;
}

.facets__disclosure {
	position: relative;
	border-bottom: 1px solid var(--color-border);
	min-width: 140px;
}

.facets__summary {
	cursor: pointer;
	padding: 10px 28px 10px 0;
	list-style: none;
}

.facets__summary::-webkit-details-marker {
	display: none;
}

.facets__summary::after {
	content: "+";
	position: absolute;
	inset-inline-end: 8px;
}

.facets__disclosure[open] .facets__summary::after {
	content: "\2212";
}

.facets__display {
	display: grid;
	gap: 10px;
	padding: 8px 0 14px;
}

.facet-checkbox {
	display: flex;
	gap: 8px;
	align-items: center;
}

.facets__price {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.facets__price label {
	display: grid;
	gap: 4px;
}

.collection-ordering {
	display: flex;
	align-items: center;
	gap: 8px;
}

.woocommerce-ordering select,
select,
input,
textarea {
	border: 1px solid var(--color-border);
	border-radius: 0;
	background: transparent;
	color: var(--color-text);
	font-family: var(--font-stack-body);
	font-size: 14px;
	padding: 11px 12px;
}

.main-product {
	display: block;
	margin-block: 150px var(--margin-sections-base);
}

.main-product > .product {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
	align-items: start;
	gap: 60px var(--wrapper-padding);
	margin-inline: auto;
	padding-inline: var(--wrapper-padding);
}

.product__offers {
	position: sticky;
	inset-block-start: 124px;
	align-self: start;
	grid-column: 2;
	grid-row: 1 / span 2;
	width: 100%;
	min-width: 0;
	padding-block-start: calc(100vw / 24);
}

.product__header {
	display: flex;
	flex-direction: column;
}

.product__header .product__vendor {
	order: -1;
	margin-bottom: 3em;
}

.product__title {
	margin-bottom: 20px;
	font-size: 32px;
	line-height: 1.15;
	overflow-wrap: anywhere;
}

.product__vendor {
	margin: 0 0 18px;
}

.product__price {
	margin-bottom: 0;
}

.product__header {
	margin-bottom: 40px;
}

.product__header .woocommerce-product-rating {
	margin-block: 24px 0;
}

.woocommerce .main-product .product__price .price,
.main-product .product__price--original {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	color: var(--color-text);
}

.product__form form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.product__form form.variations_form {
	display: block;
}

.product__form .variations,
.product__form .single_variation_wrap {
	width: 100%;
}

.product__form .woocommerce-variation-add-to-cart {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.product__form .variations select {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.product__form form.variations_form .variations,
.product__form form.variations_form .variations tbody,
.product__form form.variations_form .variations tr,
.product__form form.variations_form .variations td,
.product__form form.variations_form .variations th {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	text-align: start;
}

.product__form form.variations_form .variations tr { margin-bottom: 30px; }
.product__form .variations .product-options__native,
.product__form .variations .has-product-options > .label { display: none !important; }

.product-options {
	min-inline-size: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.product-options legend {
	margin-bottom: 16px;
	padding: 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--color-text-secondary);
}

.product-options__choices { display: flex; flex-wrap: wrap; gap: 2px; }
.product-option { position: relative; max-width: 100%; cursor: pointer; }

.product-option input[type="radio"] {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	border: 0;
	opacity: 0;
}

.product-option__label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 44px;
	min-height: 44px;
	padding: 8px 20px;
	border: 1px solid transparent;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.product-option__label > span:last-child { min-width: 0; }
.product-option input:checked + .product-option__label { border-color: var(--color-text-secondary); }
.product-option input:focus-visible + .product-option__label { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.product-option input:disabled + .product-option__label { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.product-option:hover input:not(:disabled) + .product-option__label { border-color: var(--color-brass); }

.product-option__swatch {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	border: 1px solid rgba(42, 36, 29, .15);
}

.product__form .reset_variations { display: inline-block; margin-top: 16px; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }

.woocommerce .main-product .single_variation .price {
	font-size: 18px;
	color: var(--color-text);
}

.woocommerce .main-product .stock {
	font-size: 12px;
	color: var(--color-text-secondary);
}

.product__form button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.woocommerce .static-product-form button.button:disabled {
	color: var(--color-text-invert);
}

.static-product-form {
	display: block;
	margin-bottom: 22px;
}

.product__cart-actions-holder {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	width: 100%;
}

.product__form .quantity input.qty,
.product__form .product__quantity {
	width: 76px;
	height: 44px;
	padding-inline: 10px;
}

.product__form .single_add_to_cart_button {
	flex: 1 1 220px;
}

.product__form form.cart .button {
	flex: 1 1 220px;
}

.product__gallery {
	grid-column: 1;
	grid-row: 1;
	width: 100%;
	min-width: 0;
	padding: 0;
}

.woocommerce .main-product .product__gallery div.images {
	width: 100%;
	float: none;
	margin: 0;
}

.product__gallery .woocommerce-product-gallery__image,
.product__gallery .woocommerce-product-gallery__image--placeholder,
.product-gallery__item .lazy-image {
	aspect-ratio: var(--product-media-ratio);
	background: var(--color-background-secondary);
	overflow: hidden;
}

.product__gallery .woocommerce-product-gallery__image > a {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--color-background-secondary);
}

.main-product div.images .woocommerce-product-gallery__image img:not(.zoomImg),
.main-product div.images .woocommerce-product-gallery__image--placeholder img,
.product-gallery__item .lazy-image img {
	width: 100%;
	height: 100%;
	object-fit: var(--product-media-fit);
}

.main-product div.images .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
	margin-top: 12px;
}

.main-product div.images .flex-control-thumbs li {
	width: 100%;
	float: none;
	aspect-ratio: var(--product-media-ratio);
	background: var(--color-background-secondary);
}

.main-product div.images .flex-control-thumbs li img {
	width: 100%;
	height: 100%;
	object-fit: var(--product-media-fit);
}

.main-product div.images .flex-control-thumbs .flex-active {
	outline: 1px solid currentColor;
	outline-offset: -1px;
}

.main-product .editorial-gallery .woocommerce-product-gallery__wrapper {
	margin: 0;
	transition-timing-function: cubic-bezier(.42, 0, .1, .89) !important;
}

.main-product .editorial-gallery .woocommerce-product-gallery__image > a {
	transition: transform .49s cubic-bezier(.42, 0, .1, .89);
	cursor: zoom-in;
}

.main-product .animation--gallery {
	overflow: hidden;
}

.main-product .editorial-gallery .woocommerce-product-gallery__image.is-before > a {
	transform: translateX(45%);
}

.main-product .editorial-gallery .woocommerce-product-gallery__image.is-after > a {
	transform: translateX(-45%);
}

.main-product .editorial-gallery .woocommerce-product-gallery__image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .04);
	opacity: 0;
	pointer-events: none;
	transition: opacity .49s ease;
}

.main-product .editorial-gallery .woocommerce-product-gallery__image.is-before::after,
.main-product .editorial-gallery .woocommerce-product-gallery__image.is-after::after {
	opacity: 1;
}

.main-product .editorial-gallery .woocommerce-product-gallery__image {
	position: relative;
}

.woocommerce .main-product .product__gallery div.images .woocommerce-product-gallery__trigger {
	top: 12px;
	right: 12px;
	width: 44px;
	height: 44px;
	background: transparent;
}

.product-gallery-navigation:not([hidden]) {
	display: flex;
	align-items: center;
	gap: 20px;
	height: 60px;
	padding-top: 10px;
}

.product-gallery-navigation__count {
	margin-inline-end: auto;
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}

.product-gallery-navigation button {
	display: grid;
	place-items: center;
	width: 50px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-text);
	cursor: pointer;
}

.product-gallery-navigation button:disabled {
	opacity: .35;
	cursor: default;
}

.product-gallery-navigation svg {
	width: 32px;
	fill: currentColor;
}

.product-gallery-navigation__previous svg {
	transform: rotate(180deg);
}

.saffronthreads-theme .pswp__bg { background: var(--color-background); }
.saffronthreads-theme .pswp__top-bar,
.saffronthreads-theme .pswp__caption { background: transparent; }
.saffronthreads-theme .pswp__counter,
.saffronthreads-theme .pswp__caption__center { color: var(--color-text); }
.saffronthreads-theme .pswp__button { filter: invert(1); }

@media (prefers-reduced-motion: reduce) {
	.image-reveal--mask .animation,
	.image-reveal--mask .animation.is-visible {
		opacity: 1;
		clip-path: none;
		transform: none;
		animation: none;
		transition: none !important;
	}

	.main-product .editorial-gallery .woocommerce-product-gallery__wrapper,
	.main-product .editorial-gallery .woocommerce-product-gallery__image > a,
	.main-product .editorial-gallery .woocommerce-product-gallery__image::after {
		transition: none !important;
	}
}

.product-gallery__items {
	display: grid;
	gap: 18px;
}

.product-gallery__item {
	margin: 0;
	width: 100%;
	padding: 0;
}

.product-gallery__container {
	margin: 0;
}

.product-gallery__item .lazy-image {
	margin: 0;
}

.product__content {
	grid-column: 1;
	grid-row: 2;
	width: 100%;
	margin: 0;
}

.main-product .product__description {
	width: 100%;
	margin: 0;
	padding: 0;
}

.product__toggles .toggle__content h2 {
	font-size: 24px;
}

.product__content img,
.product__toggles img {
	display: block;
	width: 100%;
	aspect-ratio: var(--product-media-ratio);
	object-fit: var(--product-media-fit);
}

.product__offers .price {
	white-space: normal;
}

.woocommerce .main-product .stock {
	color: var(--color-accent);
}

.woocommerce .main-product .stock.out-of-stock {
	color: var(--color-text);
}

.woocommerce .main-product button.button.alt {
	background: var(--color-accent);
	color: var(--color-text-invert);
}

.woocommerce .main-product button.button.alt:hover {
	background: var(--color-accent-hover);
}

.product__toggles {
	margin-top: 24px;
	border-top: 1px solid var(--color-border);
}

.toggle {
	border-bottom: 1px solid var(--color-border);
}

.toggle__title {
	display: block;
	cursor: pointer;
	padding: 12px 0;
	list-style: none;
}

.toggle__title::-webkit-details-marker {
	display: none;
}

.toggle__title::after {
	content: "+";
	float: right;
}

.toggle[open] .toggle__title::after {
	content: "\2212";
}

.toggle__content {
	padding-bottom: 16px;
}

.product-tabs,
.product-recommendations {
	padding-inline: var(--wrapper-padding);
}

.product-recommendations { padding-inline: var(--catalog-gutter); }

.product-recommendations .related > h2,
.product-recommendations .section-header__title {
	margin: 0 0 40px;
	font-family: var(--font-stack-body);
	font-size: 22px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0;
}

.product-recommendations .section-header { margin-bottom: 0; }
.saffronthreads-theme .product-recommendations .section-header__title::after { content: none; }

@media (max-width: 599px) {
	.product-recommendations .related > h2,
	.product-recommendations .section-header__title { font-size: 18px; margin-bottom: 30px; }
}

.woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	padding: 0;
	margin: 0 0 24px;
	list-style: none;
	border-bottom: 1px solid var(--color-border);
}

.woocommerce-tabs ul.tabs li {
	border: 0 !important;
	background: transparent !important;
	padding: 0 0 10px !important;
}

.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after {
	display: none;
}

.craft-band {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
	gap: clamp(28px, 7vw, 90px);
	align-items: center;
}

.craft-band__image {
	margin: 0;
	aspect-ratio: 3 / 2;
	overflow: hidden;
}

.craft-band__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.page-content-body {
	font-size: 16px;
}

.post-list {
	padding-inline: var(--wrapper-padding);
}

.journal-card {
	width: calc(33.333% - 28px);
}

.journal-card__title {
	font-size: clamp(22px, 3vw, 38px);
	margin-top: 14px;
}

.main-footer {
	--footer-row-space: calc(25vh / 3);
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 2fr);
	gap: 0;
	padding: 0 var(--wrapper-padding);
	margin-top: var(--margin-sections-base);
	background: transparent;
	font-size: 14px;
	line-height: 1.4;
}

.footer-item {
	min-width: 0;
	margin-bottom: var(--footer-row-space);
}

.footer-item--text,
.footer-item--newsletter,
.footer-item--info {
	grid-column: 1;
}

.footer-item--social,
.footer-item--menus {
	grid-column: 3;
}

.footer-item--text .rte {
	font-size: 28px;
	line-height: 1.28;
	text-transform: uppercase;
}

.footer-item--text .rte p:last-child {
	margin-bottom: 0;
}

.footer-item--copyright {
	grid-column: 1 / -1;
}

.footer-currency {
	display: inline-block;
	font-size: 12px;
	color: var(--color-text-secondary);
}

.footer-item__title {
	margin-bottom: 3em;
	font-family: var(--font-stack-body);
	font-size: 11px;
	font-weight: 400;
	line-height: 1.1;
	color: var(--color-text-secondary);
	text-transform: uppercase;
	letter-spacing: 0;
}

.social-icons {
	display: flex;
	gap: 14px;
}

.social-icons a {
	display: inline-flex;
	width: 28px;
	height: 28px;
	align-items: center;
	justify-content: center;
}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: .75em;
	padding: 0;
	margin: 0;
	list-style: none;
	font-size: 16px;
	line-height: 1.2;
}

.footer-links a,
.footer-item--copyright a {
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.footer-links a:is(:hover, :focus-visible),
.footer-item--copyright a:is(:hover, :focus-visible) {
	color: var(--color-accent);
	text-decoration-line: underline;
}

.newsletter-form {
	display: flex;
	min-height: 60px;
	border: 1px solid var(--color-text-secondary);
}

.newsletter-input {
	flex: 1;
	border: 0;
	padding: 0 20px;
	min-width: 0;
	background: transparent;
	font-size: 16px;
}

.newsletter-submit {
	border: 0;
	width: 80px;
	flex-shrink: 0;
	padding: 0 20px;
	color: var(--color-text);
}

.newsletter-submit:hover {
	background: transparent;
	color: var(--color-accent);
}

.newsletter-submit svg {
	width: 44px;
}

@media (max-width: 1023px) {
	.main-footer {
		--footer-row-space: calc(25vh * .55 / 3);
		grid-template-columns: minmax(0, 1fr);
	}

	.main-footer > .footer-item { grid-column: 1; }
	.footer-item__title { margin-bottom: 2em; }
	.footer-item--text .rte { font-size: 22px; }
}

@media (max-width: 599px) {
	.footer-item__title { font-size: 10px; }
	.main-footer, .footer-links { font-size: 13px; }
	.footer-links a { text-decoration-line: underline; }
	.newsletter-form { min-height: 48px; }
	.newsletter-input { padding-inline: 16px; }
}

.simple-grid,
.saffronthreads-form {
	display: grid;
	gap: 18px;
	width: 100%;
}

.simple-grid-item,
.one-whole {
	width: 100%;
}

.input-full,
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select {
	width: 100%;
}

.button--fit {
	width: fit-content;
}

/* WooCommerce also adds its checkout class to body; keep gutters inside main. */
.woocommerce-cart-form,
.cart-collaterals,
:where(body.woocommerce-checkout) > #main,
:where(form).woocommerce-checkout,
.woocommerce-order {
	padding-inline: var(--wrapper-padding);
}

.saffronthreads-cart-form,
.saffronthreads-cart-summary,
.saffronthreads-checkout-form {
	padding-inline: 0;
}

.saffronthreads-cart-layout,
.saffronthreads-checkout-layout,
.saffronthreads-account-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
	gap: clamp(28px, 6vw, 86px);
	padding-inline: var(--wrapper-padding);
}

.saffronthreads-cart-shell,
.saffronthreads-cart-page {
	width: min(720px, calc(100vw * 5 / 12));
	margin-block: 150px 25vh;
	margin-inline: var(--wrapper-padding) auto;
	padding: 0;
}

.saffronthreads-cart-shell .section-header,
.saffronthreads-cart-page .section-header,
.saffronthreads-cart-page #cart-page-form {
	width: 100%;
	margin-inline: 0;
}

.saffronthreads-cart-shell .section-header__title,
.saffronthreads-cart-page .section-header__title {
	font-size: 56px;
	line-height: 1.1;
	margin: 0;
}

.saffronthreads-cart-shell .section-header,
.saffronthreads-cart-page .section-header {
	margin-bottom: 40px;
}

.saffronthreads-cart-layout {
	grid-template-columns: minmax(0, 1fr);
	gap: 40px;
	padding: 0;
}

.saffronthreads-cart-shell .wp-block-woocommerce-cart,
.saffronthreads-cart-shell .wc-block-cart {
	width: 100%;
	max-width: 100%;
	margin: 0;
}

.saffronthreads-cart-shell .wc-block-components-sidebar-layout {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.saffronthreads-cart-shell .wc-block-cart__main,
.saffronthreads-cart-shell .wc-block-cart__sidebar {
	width: 100%;
	max-width: none;
	flex-basis: auto;
	padding: 0;
	margin: 0;
	position: static;
}

.saffronthreads-cart-shell .wc-block-cart__main {
	order: 1;
}

.saffronthreads-cart-shell .wc-block-cart-items .wc-block-cart-item__image img {
	aspect-ratio: var(--product-media-ratio);
	height: auto;
	object-fit: var(--product-media-fit);
}

.saffronthreads-cart-shell .wc-block-cart__sidebar {
	order: 2;
}

.saffronthreads-cart-shell .wc-block-cart__submit-container--sticky {
	position: static;
	padding: 0;
	box-shadow: none;
}

.saffronthreads-cart-shell .wc-block-cart__empty-cart__title {
	font-size: 24px;
	line-height: 1.3;
}

.saffronthreads-cart-shell .wp-element-button,
.saffronthreads-cart-shell .wc-block-cart__submit-button {
	background: var(--color-text);
	color: var(--color-text-invert);
	border-radius: 0;
	font: inherit;
	font-size: 14px;
	min-height: 48px;
	padding: 14px 24px;
}

.saffronthreads-cart-items {
	display: grid;
	gap: 22px;
}

.saffronthreads-cart-item {
	display: grid;
	grid-template-columns: minmax(90px, 150px) minmax(0, 1fr);
	gap: clamp(16px, 3vw, 34px);
	padding-bottom: 22px;
	border-bottom: 1px solid var(--color-border);
}

.saffronthreads-cart-item__image img {
	width: 100%;
	aspect-ratio: var(--product-media-ratio);
	object-fit: var(--product-media-fit);
	display: block;
}

.saffronthreads-cart-item__title {
	margin-bottom: 8px;
}

.saffronthreads-cart-item__controls {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 18px;
	align-items: center;
	margin-top: 18px;
}

.saffronthreads-cart-item__quantity .qty {
	width: 76px;
}

.saffronthreads-cart-item__subtotal,
.saffronthreads-cart-item__price {
	color: var(--color-accent);
	white-space: nowrap;
}

.saffronthreads-cart-item__remove {
	margin-top: 10px;
}

.saffronthreads-cart-item__remove a {
	text-decoration: underline;
}

.saffronthreads-cart-actions,
.coupon {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.coupon {
	flex: 1 1 320px;
}

.coupon .input-text {
	flex: 1 1 180px;
	min-width: 0;
}

.saffronthreads-cart-summary {
	position: static;
	align-self: start;
	border-top: 1px solid var(--color-border);
	padding-top: 18px;
}

.saffronthreads-cart-summary .cart_totals {
	width: 100%;
	float: none;
}

.saffronthreads-cart-summary .wc-proceed-to-checkout .button {
	width: 100%;
}

.saffronthreads-checkout-fields,
.saffronthreads-checkout-review,
.saffronthreads-account-content,
.saffronthreads-account-nav {
	border-top: 1px solid var(--color-border);
	padding-top: 18px;
}

.saffronthreads-checkout-panel {
	padding-bottom: 32px;
	margin-bottom: 32px;
	border-bottom: 1px solid var(--color-border);
}

.saffronthreads-checkout-panel h2,
.saffronthreads-checkout-review h2,
.account-panel h2 {
	margin-bottom: 22px;
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
	display: grid;
	gap: 14px;
}

.woocommerce form .form-row {
	padding: 0;
	margin: 0 0 14px;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
	width: calc(50% - 8px);
}

.woocommerce-checkout-review-order-table,
.woocommerce table.shop_table.woocommerce-checkout-review-order-table {
	margin-bottom: 24px;
}

.woocommerce-checkout #payment {
	background: transparent;
	border-radius: 0;
	border-top: 1px solid var(--color-border);
}

.woocommerce-checkout #payment ul.payment_methods {
	border-bottom-color: var(--color-border);
	padding: 18px 0;
}

.woocommerce-checkout #payment div.form-row {
	padding: 18px 0 0;
}

.woocommerce-checkout #payment div.payment_box {
	background: var(--color-background-secondary);
	color: var(--color-text);
}

.woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: var(--color-background-secondary);
}

.saffronthreads-account-layout {
	grid-template-columns: minmax(180px, 260px) minmax(0, 760px);
}

.saffronthreads-account-nav ul {
	display: grid;
	gap: 9px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.saffronthreads-account-nav a {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.saffronthreads-account-dashboard {
	max-width: 72ch;
}

.account-login-grid {
	display: grid;
	gap: 40px;
}

.account-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
}

.account-links p {
	margin-bottom: 0.5em;
}

.woocommerce-MyAccount-content table.shop_table {
	margin-top: 20px;
}

.woocommerce table.shop_table {
	border: 1px solid var(--color-border);
	border-radius: 0;
	background: transparent;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	border-color: var(--color-border);
}

.woocommerce .cart_totals h2,
.woocommerce-checkout h3 {
	font-size: clamp(24px, 3vw, 42px);
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
	border-top-color: var(--color-accent);
	background: var(--color-background-secondary);
	color: var(--color-text);
}

.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
	color: var(--color-accent);
}

.search-form {
	display: flex;
	gap: 10px;
	max-width: 620px;
}

.search-field {
	flex: 1;
	min-width: 0;
}

.header .menu-meta__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
}

.header .menu-opener,
.sidebar .close-sidebar {
	padding: 0;
	border: 0;
}

.sidebar--right {
	inset-inline-start: auto;
	inset-inline-end: 0;
	transform: translateX(102%);
	border-inline-start: 1px solid var(--color-border);
	border-inline-end: 0;
}

.sidebar-account-link {
	margin-top: auto;
	padding-block: 20px;
	border-top: 1px solid var(--color-border);
	text-decoration: underline;
	text-underline-offset: 5px;
}

.search-drawer__content h2 {
	font-size: 36px;
	margin-bottom: 32px;
}

.search-drawer__form {
	display: flex;
	border-bottom: 1px solid var(--color-text);
}

.search-drawer__form input {
	width: 100%;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 12px 0;
	font: inherit;
	font-size: 16px;
}

.search-drawer__form button {
	flex: 0 0 44px;
	border: 0;
	padding: 0;
}

.search-drawer__status {
	min-height: 24px;
	margin: 24px 0 12px;
	font-size: 13px;
}

.search-drawer__results {
	list-style: none;
	padding: 0;
	margin: 0;
}

.search-drawer__results a {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 20px;
	align-items: center;
	padding-block: 18px;
	border-bottom: 1px solid var(--color-border);
	overflow-wrap: anywhere;
}

.search-drawer__results img {
	width: 72px;
	height: 90px;
	object-fit: var(--product-media-fit);
	background: var(--color-background-secondary);
}

#site-cart-sidebar {
	width: min(380px, 92vw);
}

#site-cart-sidebar .sidebar__container {
	gap: 24px;
	padding: 24px;
}

#cart-drawer-title {
	font-size: 32px;
	margin: 16px 0 0;
}

.cart-drawer__count,
.cart-drawer__shipping {
	font-size: 13px;
}

#site-cart-sidebar .woocommerce-mini-cart {
	margin: 24px 0;
	padding: 0;
}

#site-cart-sidebar .woocommerce-mini-cart li {
	position: relative;
	padding: 20px 32px 20px 0;
	border-top: 1px solid var(--color-border);
	margin: 0;
}

#site-cart-sidebar .woocommerce-mini-cart li a:not(.remove) {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	font-weight: 400;
	overflow-wrap: anywhere;
}

#site-cart-sidebar .woocommerce-mini-cart li img {
	width: 72px;
	height: 90px;
	margin: 0;
	float: none;
	object-fit: var(--product-media-fit);
	background: var(--color-background-secondary);
}

#site-cart-sidebar .woocommerce-mini-cart li .quantity,
#site-cart-sidebar .woocommerce-mini-cart li dl {
	display: block;
	margin: 8px 0 0 86px;
	font-size: 13px;
}

#site-cart-sidebar .woocommerce-mini-cart li a.remove {
	position: absolute;
	inset: 20px 0 auto auto;
	width: 28px;
	height: 28px;
	line-height: 28px;
	color: var(--color-text) !important;
	font-weight: 400;
}

#site-cart-sidebar .woocommerce-mini-cart__total {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	border-top: 1px solid var(--color-border);
	padding-top: 20px;
}

#site-cart-sidebar .woocommerce-mini-cart__buttons {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
}

#site-cart-sidebar .woocommerce-mini-cart__buttons::before,
#site-cart-sidebar .woocommerce-mini-cart__buttons::after {
	display: none;
}

#site-cart-sidebar .woocommerce-mini-cart__buttons .button {
	margin: 0;
	min-height: 48px;
	padding-inline: 12px;
	text-align: center;
}

#site-cart-sidebar .woocommerce-mini-cart__buttons .button:first-child {
	background: transparent;
	color: var(--color-text);
}

.wc-block-grid__product-image,
.wc-block-components-product-image,
.wc-block-product-template .wc-block-components-product-image {
	aspect-ratio: var(--product-media-ratio);
	background: var(--color-background-secondary);
}

.wc-block-grid__product-image img,
.wc-block-components-product-image img {
	width: 100%;
	height: 100%;
	object-fit: var(--product-media-fit);
}

.wc-block-grid__product-image > a,
.wc-block-components-product-image > a {
	display: block;
	width: 100%;
	height: 100%;
}

.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img {
	aspect-ratio: var(--product-media-ratio);
	height: auto;
	object-fit: var(--product-media-fit);
}

.search-drawer__results small {
	display: block;
	margin-top: 8px;
	color: var(--color-accent);
}

.saffronthreads-account-page .section-header,
.saffronthreads-account-page .account-login-grid {
	width: min(100%, 620px);
}

.saffronthreads-account-page .section-header__title {
	font-size: 56px;
}

.saffronthreads-account-page form.login,
.saffronthreads-account-page form.register {
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
}

.saffronthreads-account-page .account-panel,
.saffronthreads-account-page #loginform {
	width: 100%;
	min-width: 0;
}

.saffronthreads-account-page #loginform label {
	display: block;
}

.saffronthreads-account-page .input-full,
.saffronthreads-account-page #loginform .input {
	width: 100%;
	min-height: 52px;
	font-size: 16px;
}

.saffronthreads-account-page #loginform input[type="submit"] {
	background: var(--color-text);
	color: var(--color-text-invert);
}

:where(button, a, input):focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
	.sidebar,
	.image-reveal--mask .animation {
		transition: none;
	}
	.image-reveal--mask .animation {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 1023px) {
	:root {
		--wrapper-padding: 40px;
	}

	.header-holder {
		padding-block: 15px;
	}
	.header { min-height: 40px; height: 40px; grid-template-rows: 40px; }
	.logo-img img, .custom-logo { max-height: 40px; }
	.main-product { margin-top: 100px; }

	.saffronthreads-cart-shell,
	.saffronthreads-cart-page {
		width: calc(100% - var(--wrapper-padding) * 2);
		max-width: 720px;
		margin-block: 100px 15vh;
	}
	.slide-heading .slide-title {
		font-size: 60px;
	}
	.lap--hide {
		display: none !important;
	}

	.lap--full-width,
	.six-tenths,
	.five-tenths,
	.four-tenths {
		width: 100%;
	}

	.lap--push-left-none,
	.push-left-one-tenth,
	.push-left-half-tenth,
	.push-right-one-tenth {
		margin-inline: 0;
	}

	.woocommerce ul.products,
	ul.products,
	.collection {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.product__offers {
		position: static;
	}

	.saffronthreads-cart-layout,
	.saffronthreads-checkout-layout,
	.saffronthreads-account-layout {
		grid-template-columns: 1fr;
	}

	.saffronthreads-cart-summary {
		position: static;
	}

	.main-product .product {
		gap: 34px;
	}

	.craft-band {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.image-reveal--mask .animation {
		clip-path: none;
		transform: none;
		transition: opacity .3s linear;
	}

	.image-reveal--mask .animation.is-visible {
		animation: none;
	}

	.saffronthreads-cart-shell table.wc-block-cart-items,
	.saffronthreads-cart-shell table.wc-block-cart-items tbody {
		display: block;
		width: 100%;
		max-width: 100%;
	}

	.saffronthreads-cart-shell table.wc-block-cart-items thead {
		display: none;
	}

	.saffronthreads-cart-shell .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row {
		display: grid;
		grid-template-columns: 56px minmax(0, 1fr);
		gap: 12px 16px;
		padding-block: 24px;
	}

	.saffronthreads-cart-shell .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row td {
		padding: 0;
		width: auto;
		min-width: 0;
	}

	.saffronthreads-cart-shell .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image {
		grid-column: 1;
		grid-row: 1 / span 2;
	}

	.saffronthreads-cart-shell .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product {
		grid-column: 2;
		grid-row: 1;
	}

	.saffronthreads-cart-shell .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
		grid-column: 2;
		grid-row: 2;
		text-align: start;
		justify-content: flex-start;
	}
	.header-holder,
	.header-holder.is-sticky {
		padding-block: 10px;
		border-bottom: 1px solid var(--color-border);
	}

	.saffronthreads-cart-shell,
	.saffronthreads-cart-page {
		margin-block: 75px 14vh;
	}

	.saffronthreads-cart-shell .section-header__title,
	.saffronthreads-cart-page .section-header__title {
		font-size: 38px;
	}

	.saffronthreads-cart-shell .section-header,
	.saffronthreads-cart-page .section-header {
		margin-bottom: 30px;
	}
	.product__title {
		font-size: 24px;
	}

	.main-product {
		margin-top: 75px;
	}
	:root {
		--wrapper-padding: 20px;
		--margin-sections-base: 72px;
	}

	@media (prefers-reduced-motion: reduce) {
		.image-reveal--mask .animation {
			opacity: 1;
			transform: none;
			transition: none;
		}
	}

	.header {
		grid-template-columns: auto 1fr auto;
		gap: 8px;
	}

	.logo-text {
		font-size: 18px;
		overflow-wrap: anywhere;
	}

	.menu-meta ul {
		gap: 0;
	}

	.logo {
		grid-column: 2;
	}

	.logo-img img,
	.custom-logo {
		max-height: 40px;
	}

	.menu-meta__text,
	.menu-opener__text {
		display: none;
	}

	.vertical-slider {
		min-height: auto;
	}

	.slide {
		min-height: 680px;
	}

	.slide-heading {
		align-self: start;
		width: 100%;
		padding: 40px 0;
	}

	.slide-heading .slide-title {
		font-size: 38px;
	}

	.slide-heading .slide-caption {
		width: 100%;
		font-size: 18px;
	}

	.saffronthreads-account-page .section-header__title {
		font-size: 38px;
	}

	.slide-image--primary {
		width: 82%;
		margin: 160px 0 0 auto;
	}

	.slide-image--secondary {
		align-self: end;
		width: 36%;
		margin: 0 0 20px;
	}

	.woocommerce ul.products,
	ul.products,
	.collection {
		grid-template-columns: 1fr 1fr;
		gap: 22px 16px;
	}

	.collection-tools,
	.collection-filters,
	.collection-ordering {
		width: 100%;
		display: grid;
		justify-content: stretch;
	}

	.facets__disclosure {
		min-width: 0;
	}

	.product-item__caption {
		display: block;
	}

	.product-item__title {
		max-width: none;
		display: block;
	}

	.quick-add-to-cart {
		position: static;
		opacity: 1;
		pointer-events: auto;
		transform: none;
	}

	.product-gallery__item {
		width: 100%;
	}

	.saffronthreads-cart-item {
		grid-template-columns: 92px minmax(0, 1fr);
	}

	.saffronthreads-cart-item__controls {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.woocommerce form .form-row-first,
	.woocommerce form .form-row-last {
		width: 100%;
	}

	.journal-card {
		width: 100%;
	}
}

@media (max-width: 360px) {
	.logo-text {
		font-size: 16px;
	}
	.header .menu-meta__link, .header .menu-opener { width: 36px; }
}

@media (max-width: 1023px) {
	.product-item .quick-add-to-cart {
		position: absolute;
		inset-inline-start: auto;
		inset-inline-end: 0;
		inset-block-end: 0;
		width: 45px;
		opacity: 1;
		pointer-events: auto;
		transform: none;
	}

	.product-item .quick-add-to-cart .button,
	.woocommerce ul.products li.product .quick-add-to-cart .button,
	.product-item .quick-add-to-cart .added_to_cart {
		width: 45px;
		height: 45px;
		min-height: 45px;
		font-size: 0;
		padding: 0;
		color: var(--color-text-invert);
		background: var(--color-accent);
	}

	.product-item .quick-add-to-cart .added_to_cart { position: absolute; inset: 0; }
	.product-item .quick-add-to-cart .button::after { display: none; }
	.product-item__quick-icon {
		position: absolute;
		inset: 0;
		z-index: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		pointer-events: none;
		color: var(--color-text-invert);
	}
	.product-item__quick-icon svg { width: 24px; height: 24px; }
}

@media (max-width: 835px) {
	.main-product > .product {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
	.main-product .product__header--mobile,
	.main-product .product__gallery,
	.main-product .product__offers,
	.main-product .product__content {
		grid-column: 1;
		width: 100%;
	}
	.main-product .product__header--mobile { grid-row: 1; }
	.main-product .product__header--mobile { margin: 0; }
	.main-product .product__gallery { grid-row: 2; }
	.main-product .product__offers { grid-row: 3; position: static; padding: 0; }
	.main-product .product__content { grid-row: 4; }
	.product__header .product__vendor { margin-bottom: 2em; }
	.main-product .product__gallery {
		width: calc(100% + var(--wrapper-padding));
		overflow: hidden;
	}
	.woocommerce .main-product .product__gallery div.woocommerce-product-gallery {
		width: calc(100% - var(--wrapper-padding));
	}
	.woocommerce .main-product .product__gallery.has-multiple-images div.woocommerce-product-gallery {
		width: calc(100% - var(--wrapper-padding));
	}
	.main-product .editorial-gallery .flex-viewport { overflow: visible !important; }
	.main-product .editorial-gallery .woocommerce-product-gallery__image {
		overflow: visible;
		background: transparent;
	}
	.main-product .editorial-gallery .woocommerce-product-gallery__image > a {
		transform: none !important;
		clip-path: inset(0);
	}
	.main-product .has-multiple-images .woocommerce-product-gallery__image > a {
		width: calc(100% - 20px);
		height: auto;
		aspect-ratio: var(--product-media-ratio);
	}
	.main-product .has-multiple-images .woocommerce-product-gallery__image {
		aspect-ratio: auto;
	}
	.main-product .editorial-gallery .woocommerce-product-gallery__image::after { display: none; }
	.main-product .product-gallery-navigation {
		width: calc(100% - var(--wrapper-padding));
	}
	.woocommerce .main-product .product__gallery.has-multiple-images div.images .woocommerce-product-gallery__trigger { right: 32px; }
}
