/* Elegant — theme-level gap-fills layered on top of the Broadcast base.
   Only additive layout/branding fixes live here. */

/* ---- Text wordmark logo (used when no custom-logo image is set) ---- */
.header__logo__link {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	line-height: 1;
	text-decoration: none;
	color: inherit;
}
.logo-wordmark {
	font-family: var(--FONT-STACK-HEADING, "EB Garamond", serif);
	font-size: 26px;
	letter-spacing: .22em;
	text-transform: uppercase;
	font-weight: 500;
}
.logo-sub {
	font-family: var(--FONT-STACK-SUBHEADING, Jost, sans-serif);
	font-size: 9px;
	letter-spacing: .42em;
	text-transform: uppercase;
	margin-top: 5px;
	opacity: .85;
}

/* ---- Header icon spacing (bar__r links sit in a row, comfortable gaps) ---- */
.header__desktop__bar__r { gap: 26px; }
.header__desktop__bar__r .navlink--toplevel { white-space: nowrap; }

/* ============================================================
   Mobile off-canvas drawer
   ============================================================ */
.elegant-drawer-overlay {
	position: fixed; inset: 0; background: rgba(0,0,0,.42);
	opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; z-index: 5990;
}
.elegant-drawer-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.elegant-mobile-drawer {
	position: fixed; top: 0; left: 0; bottom: 0; width: 86%; max-width: 380px;
	background: var(--COLOR-BG, #fbfbf9); color: var(--COLOR-TEXT, #1a1a1a); z-index: 5991;
	transform: translateX(-100%); transition: transform .35s cubic-bezier(.215,.61,.355,1);
	display: flex; flex-direction: column; overflow-y: auto; box-shadow: 0 0 40px rgba(0,0,0,.14);
}
.elegant-mobile-drawer.is-open { transform: none; }
.elegant-mobile-drawer__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 20px 22px; border-bottom: 1px solid rgba(0,0,0,.08);
}
.elegant-mobile-drawer__logo {
	font-family: var(--FONT-STACK-HEADING, "EB Garamond", serif); letter-spacing: .2em;
	font-size: 17px; text-transform: uppercase; text-decoration: none; color: inherit;
}
.elegant-mobile-drawer__close { background: none; border: 0; cursor: pointer; color: inherit; padding: 4px; line-height: 0; }
.elegant-mobile-drawer__nav { flex: 1 0 auto; padding: 10px 0; }
.mobile-menu-list, .mobile-menu-list .sub-menu { list-style: none; margin: 0; padding: 0; }
.mobile-menu-list > li > a {
	display: block; padding: 15px 24px; text-decoration: none; color: inherit;
	font-family: var(--FONT-STACK-HEADING, "EB Garamond", serif); font-size: 20px;
}
.mobile-menu-list .menu-item-has-children > a::after { content: '+'; float: right; font-size: 19px; opacity: .55; }
.mobile-menu-list li.is-expanded.menu-item-has-children > a::after { content: '\2013'; }
.mobile-menu-list .sub-menu { display: none; padding: 4px 0 10px; background: rgba(0,0,0,.02); }
.mobile-menu-list li.is-expanded > .sub-menu { display: block; }
.mobile-menu-list .sub-menu a { display: block; padding: 11px 36px; text-decoration: none; color: inherit; font-size: 15px; opacity: .82; }
.elegant-mobile-drawer__foot {
	padding: 18px 24px 32px; border-top: 1px solid rgba(0,0,0,.08); display: flex; gap: 26px;
}
.elegant-mobile-drawer__foot a { text-decoration: none; color: inherit; font-size: 15px; }
body.drawer-open { overflow: hidden; }
@media (min-width: 990px) { .elegant-mobile-drawer, .elegant-drawer-overlay { display: none !important; } }

/* ---- Header mega-menu (pure-CSS hover dropdown) ---- */
.header__menu .menu__item { position: relative; display: inline-flex; }
.header__dropdown { min-width: 230px; left: 0; z-index: 2400; padding: 26px 28px; box-shadow: 0 16px 40px rgba(0,0,0,.06); }
.header__dropdown .header__dropdown__inner { display: block; }
.header__dropdown .dropdown__family { display: flex; flex-direction: column; gap: 14px; }
.header__dropdown .navlink--child { white-space: nowrap; text-decoration: none; font-size: 15px; }
.header__dropdown .navlink--child:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Header placement ----
   Base theme sets .theme__header{position:absolute} (transparent-over-hero),
   relying on JS to offset content via --header-height. We don't run that JS,
   so: keep the header in normal flow everywhere (content sits below it), and
   only let it overlay on the homepage hero. */
.theme__header { position: relative; }
.template-index .theme__header { position: absolute; }
.template-index .main-content { padding-top: 0; }
/* solid header bg on inner pages (no hero behind it) */
body:not(.template-index) .theme__header { background: var(--COLOR-BG, #fafafa); }

/* ---- Footer bottom (supporting) bar ---- */
.site-footer__aside {
	border-top: 1px solid rgba(0,0,0,.1);
	padding-top: 28px;
	padding-bottom: 40px;
}
.footer__aside-grid {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}
.footer__policies {
	display: flex;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
}
.footer__policies a { text-decoration: none; opacity: .8; }
.footer__policies a:hover { opacity: 1; }
.footer__copyright { font-size: 13px; opacity: .7; }
.footer__payment { display: flex; gap: 10px; align-items: center; }
.footer__payment .payment-icon {
	font-size: 10px;
	letter-spacing: .08em;
	border: 1px solid rgba(0,0,0,.18);
	border-radius: 3px;
	padding: 3px 6px;
	opacity: .65;
}

/* keep the empty front before content from collapsing oddly */
.site-content:empty { min-height: 0; }

@media (max-width: 749px) {
	.footer__aside-grid { flex-direction: column; align-items: flex-start; }
	.logo-wordmark { font-size: 21px; }
}

/* ============================================================
   WooCommerce — collection (archive) + product detail layouts
   ============================================================ */

/* Collection header — matches reference */
.collection__title { padding-top: 16px !important; padding-bottom: 16px !important; }
.collection-image-with-title { margin-bottom: 0 !important; }
.collection-image-with-title .hero__title { margin: 0 0 .4em; color: #111 !important; font-size: 26px; font-weight: 400; letter-spacing: 0; }
.collection-image-with-title .hero__description { max-width: 52ch; color: #111; margin: 0; font-size: 16px; line-height: 1.65; }

/* Sub-collection nav cards — match reference dimensions */
.collection-nav { padding-left: 16px; padding-bottom: 15px; }
.collection-nav__scroller {
	display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none;
}
.collection-nav__scroller::-webkit-scrollbar { display: none; }
.collection-nav__item { flex: 0 0 auto; width: 120px; text-decoration: none; color: #111; }
.collection-nav__image {
	display: block; overflow: hidden; margin-bottom: 8px;
	height: 145px !important;
	aspect-ratio: unset !important;
	background-color: #f2f2f2;
}
.collection-nav__image img { width: 100% !important; height: 100% !important; object-fit: cover !important; position: relative !important; }
.collection-nav__title { font-size: 12px; color: #111; font-family: Jost, sans-serif; }

/* Toolbar — three cells divided by full-height vertical borders, matching reference */
.collection-toolbar {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: stretch;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	margin-bottom: 12px;
	gap: 0;
	padding: 0;
}
/* Each cell */
.collection-toolbar__filters,
.collection-toolbar__count,
.collection-toolbar__sort {
	display: flex !important; align-items: center;
	padding: 16px 18px;
	min-width: 0;
}
@media (max-width: 749px) {
	.collection-toolbar__filters,
	.collection-toolbar__count,
	.collection-toolbar__sort { padding: 10px 18px; }
}
.collection-toolbar__filters {
	flex: 0 0 auto;
	border-right: 1px solid #000;
}
.collection-toolbar__count {
	flex: 1 1 auto;
	border-right: 1px solid #000;
	overflow: hidden;
}
.collection-toolbar__count .woocommerce-result-count { display: none; }
.collection-toolbar__sort {
	flex: 0 0 auto;
	position: relative;
}

/* Filter button — italic serif matching reference */
.collection-toolbar__filter-btn {
	display: inline-flex; align-items: center; gap: 8px; background: none; border: 0;
	cursor: pointer;
	font-family: var(--FONT-STACK-NAV, "EB Garamond", serif);
	font-size: 17px; font-style: italic;
	color: #000; padding: 0; white-space: nowrap;
}
.collection-toolbar__filter-btn svg { opacity: .7; }
@media (max-width: 749px) {
	.collection-toolbar__filter-btn { font-size: 13px; }
}

/* Sort — italic serif matching reference */
.collection-toolbar__sort .woocommerce-ordering,
.collection-toolbar__sort form {
	display: flex !important; align-items: center; margin: 0; max-width: 95px;
}
.collection-toolbar__sort .woocommerce-ordering select,
.collection-toolbar__sort select {
	border: 0; background: transparent; margin: 0;
	font-family: var(--FONT-STACK-NAV, "EB Garamond", serif);
	font-size: 17px; font-style: italic;
	cursor: pointer;
	-webkit-appearance: none; appearance: none;
	padding-right: 22px;
	max-width: 90px;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 749px) {
	.collection-toolbar__sort .woocommerce-ordering select,
	.collection-toolbar__sort select { font-size: 13px; }
}
/* Chevron */
.collection-toolbar__sort::after {
	content: '';
	display: block; pointer-events: none;
	position: absolute; right: 20px; top: 50%;
	transform: translateY(-50%);
	width: 10px; height: 6px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6' fill='none' stroke='%23111' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat center;
}

/* Base theme lays out .collection__products as a flex row (sidebar + grid).
   Filters live in a drawer here, so flow the products full-width instead. */
.collection__products { display: block; }
.collection__products .grid-container,
.collection__products .grid-outer { width: 100%; max-width: 100%; }

/* Product grids: explicit responsive columns (4 desktop / 3 tablet / 2 mobile)
   for both the homepage tab grid and shop/category archives. */
.collection-grid,
.index-tab-collections .grid {
	display: grid;
	/* Defaults to the faithful 4 columns; the Product Grid block can set --grid-cols. */
	grid-template-columns: repeat(var(--grid-cols, 4), 1fr);
	gap: 22px 18px;
}
@media (max-width: 989px) {
	.collection-grid,
	.index-tab-collections .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 749px) {
	.collection-grid,
	.index-tab-collections .grid { grid-template-columns: repeat(2, 1fr); gap: 0px 14px; }
}

/* Product card outer spacing */
.product-item { padding-bottom: 10px; margin-bottom: 0px; }

/* Section blocks vertical rhythm */
.shopify-section { margin-bottom: 15px; }

/* Homepage grid "Shop All" */
.index-tab-collections__footer { margin-top: 40px; text-align: center; }

/* Product Grid block — optional section header (heading + "View all").
   Heading is the primary; "View all" is a quiet secondary action. The short
   accent underline ties the section to the brand without competing. */
.index-tab-collections .collection__header {
	display: flex; align-items: baseline; justify-content: space-between;
	gap: 16px; flex-wrap: wrap; margin-bottom: 28px;
}
.index-tab-collections .collection__title {
	margin: 0; position: relative; padding-bottom: 12px;
}
.index-tab-collections .collection__title::after {
	content: ""; position: absolute; left: 0; bottom: 0;
	width: 44px; height: 2px;
	background: var(--BTN-SECONDARY-BG, var(--accent, #ab8c52));
}
.index-tab-collections .collection__viewall {
	display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
	font-family: var(--FONT-STACK-SUBHEADING, Jost, sans-serif);
	font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
	color: var(--text, #111); text-decoration: none;
	border-bottom: 1px solid transparent; padding-bottom: 2px;
	transition: border-color .2s ease, gap .2s ease;
}
.index-tab-collections .collection__viewall:hover { border-bottom-color: currentColor; gap: 11px; }
.index-tab-collections .collection__viewall svg { transition: transform .2s ease; }
.index-tab-collections .collection__viewall:hover svg { transform: translateX(2px); }

/* Designed empty state (shown in the editor when a grid resolves to no products). */
.elegant-grid-empty {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; gap: 4px; padding: 64px 24px;
	border: 1px dashed rgba(0,0,0,.14); background: rgba(0,0,0,.015);
	color: var(--text-light, #6c6864);
}
.elegant-grid-empty__icon { display: inline-flex; opacity: .45; margin-bottom: 8px; }
.elegant-grid-empty__icon svg { width: 30px; height: 30px; }
.elegant-grid-empty__title { margin: 0; font-family: var(--FONT-STACK-HEADING, "EB Garamond", serif); font-size: 21px; color: var(--text, #111); }
.elegant-grid-empty__hint { margin: 0; font-size: 13px; }

/* Quick-add: hidden, revealed on card hover, overlaid near the image bottom (matches storefront) */
.product-item__image { position: relative; }

/* ============================================================
   Product-card image — 2:3 box, desktop hover-swap, mobile swipe slider
   (matches 800×1200 sources, no crop). Both image layers stay full-height
   in EVERY mode so un-stacking for the mobile slider can't collapse them.
   ============================================================ */
.product-item__image {
	aspect-ratio: 2 / 3 !important;
	padding-top: 0 !important;
	height: auto !important;
	position: relative;
	overflow: hidden;
}
.product-item__image .product-link { position: absolute; inset: 0; display: block; height: 100% !important; width: 100%; }

/* Both image layers fill the box, stacked — primary above the hover layer. */
.product-item__bg,
.product-item__bg__under {
	position: absolute; inset: 0; height: 100% !important; width: 100%;
}
.product-item__bg[data-product-image-default] { z-index: 2; }
.product-item__bg__under { z-index: 1; }

/* Inner figure chain fills; both images cover. */
.product-item__bg figure.image-wrapper,
.product-item__bg__under figure.image-wrapper,
.product-item__bg__slider,
.product-item__bg__slide {
	height: 100% !important; padding-top: 0 !important;
}
.product-item__bg img,
.product-item__bg__under img,
.product-item__bg .fit-cover,
.product-item__bg__under .fit-cover {
	width: 100% !important; height: 100% !important; object-fit: cover !important;
}

/* ---- Desktop: crossfade to the 2nd image on hover ---- */
@media (hover: hover) {
	.product-item--has-hover .product-item__bg[data-product-image-default] { transition: opacity .45s ease; }
	.product-item--has-hover:hover .product-item__bg[data-product-image-default] { opacity: 0; }
}

/* ---- Touch: horizontal swipe slider between the two images ---- */
@media (hover: none) {
	.product-item--has-hover .product-link {
		display: flex; flex-wrap: nowrap;
		overflow-x: auto; overflow-y: hidden;
		scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.product-item--has-hover .product-link::-webkit-scrollbar { display: none; }
	.product-item--has-hover .product-item__bg,
	.product-item--has-hover .product-item__bg__under {
		position: relative !important; inset: auto !important;
		flex: 0 0 100%; width: 100%; height: 100% !important;
		scroll-snap-align: start; z-index: auto !important; opacity: 1 !important;
	}
	/* swipe progress line — thin segmented bar centered at the bottom (touch only) */
	.product-item__dots {
		position: absolute; left: 0; right: 0; bottom: 0; z-index: 6;
		display: flex; gap: 0; height: 3px; background: rgba(0,0,0,.18); pointer-events: none;
	}
	.product-item__dots span {
		flex: 30 1 0; height: 100%; border-radius: 0;
		background: transparent; transition: flex-grow .35s ease, background .25s ease;
	}
	.product-item__dots span.is-active { flex: 70 1 0; background: rgba(0,0,0,.85); }
}
/* dots never show on hover (mouse) devices */
@media (hover: hover) { .product-item__dots { display: none !important; } }
/* The custom element must not box-position itself (it also picks up width:100%
   from the base theme, which shifts the holder right). Let the holder be the only
   positioned layer so it centers symmetrically over the image. */
/* Quick-add: absolute positioned 28×28 button at bottom-left of image */
.product-item quick-add-product { display: contents; }
.product-item .quick-add__holder {
	position: absolute;
	bottom: 8px; left: 8px;
	z-index: 10;
	opacity: 1; transform: none; pointer-events: auto;
}
.product-item .quick-add__button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px; height: 28px;
	min-width: 28px; min-height: 28px;
	background-color: rgb(245, 243, 241);
	border: 1px solid rgba(0,0,0,0);
	overflow: hidden;
	color: #000;
	cursor: pointer;
	font-family: "EB Garamond", serif;
	font-size: 14px;
	font-style: italic;
	font-weight: 400;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	position: relative;
	transition: color .25s ease-out, background .25s ease-out, border .25s ease-out;
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
	padding: 0;
}
.product-item .quick-add__button:hover { background-color: var(--BTN-PRIMARY-BG, #000); color: var(--BTN-PRIMARY-TEXT, #fff); }
.product-item .quick-add__button .btn__add { display: inline; line-height: 1; }
.product-item .quick-add__button .btn__text { display: none; }

/* Hide WooCommerce's "View cart" link that appears after AJAX add-to-cart
   (the cart drawer opens instead, so the link is redundant). */
.added_to_cart.wc-forward { display: none !important; }

/* Success state on the "+" button after add — flash black bg with a checkmark. */
.product-item .quick-add__button.added,
.product-item .quick-add__button.is-success { background-color: var(--BTN-PRIMARY-BG, #000); color: var(--BTN-PRIMARY-TEXT, #fff); }
.product-item .quick-add__button.is-success .btn__add { visibility: hidden; }
.product-item .quick-add__button.is-success::after {
	content: "✓"; position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	font-size: 15px; font-style: normal;
}

/* ---- Product detail ---- */
.product-single__grid {
	display: grid; grid-template-columns: 55% 45%; align-items: start;
}
/* Let the summary cell fill the (tall gallery) row height so its sticky inner has
   room to travel — otherwise the cell is content-height and the sticky scrolls away,
   leaving images on the left and empty space on the right. */
.product-single__info { align-self: stretch; }
.product-single__info-inner {
	position: sticky; top: 90px; padding: 10px 0 0 6%;
	max-width: 520px;
}
.product-single__title { margin: 0 0 .35em; }
.product-single__price { font-size: 19px; margin-bottom: 1.4em; }
.product-single__description { margin-bottom: 1.8em; line-height: 1.55; }
.product-single__form { margin-bottom: 2em; }

/* Accordions */
.product-accordion { border-bottom: 1px solid rgba(0,0,0,.14); }
.product-accordion .accordion__title {
	display: flex; align-items: center; justify-content: space-between;
	cursor: pointer; list-style: none; padding: 18px 0;
	font-family: var(--FONT-STACK-HEADING, "EB Garamond", serif); font-size: 17px;
}
.product-accordion .accordion__title::-webkit-details-marker { display: none; }
.product-accordion[open] .icon-nav-arrow-down { transform: rotate(180deg); }
.product-accordion .icon-nav-arrow-down { transition: transform .3s ease; }
.product-accordion .accordion__content { padding: 0 0 20px; line-height: 1.55; }

/* ---- Product summary: description ---- */
.product-single__description { margin-bottom: 1.9em; line-height: 1.62; font-size: 15px; }
.product-single__description p { margin: 0 0 .7em; }
.product-single__description h1, .product-single__description h2, .product-single__description h3 { font-size: 18px; margin: 1em 0 .4em; }

/* ---- Add-to-cart form: black full-width button + quantity stepper ---- */
/* Simple products: qty + button are direct children → flex row.
   Variable products keep form.cart as a block (variations stack full-width); their
   qty + button live in .woocommerce-variation-add-to-cart, which is the flex row. */
/* Action row = [qty stepper] + gap + [Add to cart], both EXACTLY 56px tall. */
.product-single__form form.cart:not(.variations_form),
.product-single__form .woocommerce-variation-add-to-cart {
	display: flex; align-items: stretch; gap: 14px; flex-wrap: nowrap; margin: 0; width: 100%;
}
.product-single__form form.variations_form.cart { margin: 0; }

/* Quantity stepper: − [number] + evenly spread, number centred, fixed height. */
.product-single__form .quantity {
	display: inline-flex; align-items: stretch;
	border: 1px solid rgba(0,0,0,.25);
	flex: 0 0 140px; width: 140px; height: 56px; margin: 0; box-sizing: border-box;
}
.product-single__form .qty-btn {
	flex: 0 0 44px; width: 44px; border: 0; background: transparent; cursor: pointer;
	font-size: 18px; line-height: 1; color: inherit;
	display: inline-flex; align-items: center; justify-content: center;
}
.product-single__form .quantity .qty {
	flex: 1 1 auto; width: auto; min-width: 0; height: auto;
	text-align: center; border: 0; background: transparent;
	font-size: 15px; -moz-appearance: textfield; appearance: textfield; padding: 0;
}
.product-single__form .quantity .qty::-webkit-outer-spin-button,
.product-single__form .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Add to cart: fills the rest, exactly 56px tall. */
.product-single__form .single_add_to_cart_button,
.product-single__form button.button.alt,
.product-single__form .single_add_to_cart_button.button {
	flex: 1 1 0%; min-width: 0; white-space: nowrap;
	background: var(--BTN-PRIMARY-BG, #000) !important; color: var(--BTN-PRIMARY-TEXT, #fff) !important;
	border: 0 !important; border-radius: 0 !important; padding: 0 24px !important;
	height: 56px !important; min-height: 56px;
	cursor: pointer; font-family: var(--FONT-STACK-NAV, "EB Garamond", serif) !important;
	font-style: italic; font-size: 16px !important; letter-spacing: .01em; text-transform: none !important;
	transition: opacity .2s ease; box-shadow: none !important;
}
.product-single__form .single_add_to_cart_button:hover { opacity: .85; }

/* ---- Variations (Color / Style) ---- */
.product-single__form .variations { width: 100%; border: 0; margin: 0 0 18px; border-collapse: collapse; }
.product-single__form .variations tr { display: block; margin-bottom: 14px; }
.product-single__form .variations td, .product-single__form .variations th { display: block; padding: 0; border: 0; text-align: left; }
.product-single__form .variations th.label { font-weight: 500; margin: 0 0 8px; font-family: var(--FONT-STACK-HEADING, "EB Garamond", serif); font-size: 16px; }
.product-single__form .variations select {
	width: 100%; padding: 13px 14px; border: 1px solid rgba(0,0,0,.22); border-radius: 0; background: #fff;
	font-size: 15px; font-family: var(--FONT-STACK-BODY, Jost, sans-serif);
}
.product-single__form .woocommerce-variation-add-to-cart { display: flex; gap: 12px; align-items: stretch; flex-wrap: nowrap; }
.product-single__form .reset_variations { display: inline-block; font-size: 13px; opacity: .7; margin-top: 6px; }
.product-single__form .woocommerce-variation-price { margin-bottom: 14px; font-size: 18px; }

@media (max-width: 749px) {
	.product-single__grid { grid-template-columns: 1fr; }
	.product-single__info-inner { position: static; padding: 28px 18px 0; max-width: none; }
	.collection-toolbar { flex-wrap: wrap; }
}

/* Product page: gallery sits flush under the header (no top gap), like the live site. */
.product-template { padding-top: 0; }
/* Vertical stacked gallery (matches storefront) */
.product-single__media { position: relative; }
.product-gallery-stack { display: flex; flex-direction: column; gap: 8px; }
.product-gallery-stack__item { margin: 0; overflow: hidden; background: var(--COLOR-BG-BRIGHTER, #f1efea); }
.product-gallery-stack__item img { display: block; width: 100%; height: auto; }
.product-single__media .product-badge, .product-single__media .onsale {
	position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--COLOR-BG,#fff); padding: 4px 10px; font-size: 12px;
}
.product-single .related.products,
.product-single .up-sells.products {
	margin-top: 80px; padding-top: 48px; border-top: 1px solid rgba(0,0,0,.1);
}
.product-single .related.products > h2,
.product-single .up-sells.products > h2 {
	text-align: center; margin-bottom: 32px;
	font-family: var(--FONT-STACK-HEADING, "EB Garamond", serif); font-size: 26px; font-weight: 500;
}

/* Product card short description */
.product-item__short-desc {
	margin: 2px 0 0; font-size: 12px; color: rgba(0,0,0,.55); line-height: 1.4;
}

/* Pagination: clear + center under the grid */
.woocommerce-pagination {
	clear: both; float: none; width: 100%; text-align: center; margin: 48px 0 0;
}
.woocommerce-pagination ul { display: inline-flex; gap: 6px; border: 0 !important; }
.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce-pagination ul li a, .woocommerce-pagination ul li span {
	min-width: 38px; padding: 8px 10px; border: 1px solid rgba(0,0,0,.15) !important;
}
.woocommerce-pagination ul li span.current { background: #000; color: #fff; }

/* Sale price: strip any inherited highlight box; muted strike + accent sale */
.price del, .product-item__price del { opacity: .5; margin-right: 8px; font-weight: 400; }
.price ins, .product-item__price ins, .price .new-price ins { text-decoration: none; background: none; color: inherit; }
.product-item__price .price { background: none; }

/* ============================================================
   Pages + Blog
   ============================================================ */
.wrapper--narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

/* Static page */
.page-article__header { margin-bottom: 48px; }
.page-article__title { margin: 0; }
.page-article__hero { margin: 0 auto 48px; max-width: 1100px; }
.page-article__content { font-size: 17px; line-height: 1.7; }
.page-article__content > * + * { margin-top: 1.1em; }

/* Blog post */
.blog-post__header { margin-bottom: 28px; }
.blog-post__title { margin: 0 0 .4em; max-width: 16ch; margin-left: auto; margin-right: auto; }
.blog-post__meta { font-size: 13px; opacity: .65; }
.blog-post__meta-sep { margin: 0 8px; }
.blog-post__hero { max-width: 520px; margin: 0 auto 44px; }
.blog-post__content { font-size: 17px; line-height: 1.75; }
.blog-post__content > * + * { margin-top: 1.15em; }
.blog-post__content h2, .blog-post__content h3 { margin-top: 1.6em; }

/* Blog featured hero */
.blog-featured__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.blog-featured__text { display: flex; flex-direction: column; justify-content: center; padding: 72px 8% ; }
.color-scheme-3.blog-featured { background: #000; color: #fff; }
.blog-featured__eyebrow { font-size: 12px; letter-spacing: .18em; opacity: .8; margin: 0 0 24px; }
.blog-featured__title { margin: 0 0 .5em; }
.blog-featured__title a { color: inherit; text-decoration: none; }
.blog-featured__excerpt { opacity: .85; margin-bottom: 1.6em; max-width: 44ch; }
.blog-featured__media { min-height: 520px; }
.blog-featured__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured__more, .link-underline { text-decoration: underline; text-underline-offset: 4px; }

/* Blog index filter + grid */
.blog-index__filter { margin-bottom: 44px; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.blog-index__filter-link { text-decoration: none; opacity: .6; font-size: 15px; padding-bottom: 4px; }
.blog-index__filter-link.is-active { opacity: 1; border-bottom: 1px solid currentColor; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.post-grid--3 { grid-template-columns: repeat(3, 1fr); }
.post-card__image { display: block; aspect-ratio: 4/3; overflow: hidden; margin-bottom: 18px; }
.post-card__cat { font-size: 11px; letter-spacing: .14em; opacity: .55; margin: 0 0 8px; }
.post-card__title { margin: 0 0 8px; }
.post-card__title a { text-decoration: none; color: inherit; }
.post-card__meta { font-size: 12px; opacity: .6; }

/* Recent articles */
.recent-articles { margin-top: 80px; }
.recent-articles__title { border-bottom: 1px solid rgba(0,0,0,.12); padding-bottom: 16px; margin-bottom: 32px; }

@media (max-width: 749px) {
	.blog-featured__inner { grid-template-columns: 1fr; }
	.blog-featured__text { padding: 48px 24px; }
	.blog-featured__media { min-height: 320px; order: -1; }
	.post-grid, .post-grid--3 { grid-template-columns: 1fr; gap: 36px; }
	.page-article__content, .blog-post__content { font-size: 16px; }
}


/* ============================================================
   PIXEL-AUDIT FIXES — live verafiedny.com parity (overrides above)
   ============================================================ */

/* [1] baked-in lazy images must stay visible (lazy JS not running) */
.lazy-image img.is-loading { opacity: 1 !important; }
.lazy-image--backfill.is-loading { background: transparent !important; }
.lazy-image--backfill.is-loading::after { content: none !important; animation: none !important; }

/* [9] homepage hero headline real serif scale */
.template-index .index-hero .hero__title { font-size: 60px; line-height: 1.05; }

/* [10] announcement bar height to match live */
.announcement__bar { padding: 14px 0; }
.announcement__text, .announcement__text p { font-size: 13px; margin: 0; }
/* [11] before flickity upgrades, show only the first message (no stacked flash) */
.announcement__slider:not(.flickity-enabled) .announcement__slide:not([data-slide="text-0"]) { display: none; }

/* [16] logo wordmark */
.logo-wordmark { letter-spacing: .12em; font-weight: 600; font-size: 28px; }
.logo-sub { letter-spacing: .30em; font-size: 9px; }

/* [15] header locale chip */
.header__locale { font-size: 15px; }

/* [14] cart link: bag icon + corner count badge */
.navlink--cart { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.navlink__cart__icon { display: inline-flex; }
.navlink--cart .cart-link__count {
  position: absolute; top: -4px; right: -7px;
  min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--COLOR-ACCENT, #ab8c52); color: #fff;
  border: 0; border-radius: 50%;
  font-family: "Jost", sans-serif; font-size: 10px; font-weight: 500; line-height: 1; letter-spacing: 0;
}
.navlink--cart .cart-link__count.is-empty { display: none; }

/* [17] footer link columns: newsletter left, menus spread right */
@media (min-width: 990px) {
  .footer__blocks { justify-content: space-between; }
  .footer__block--newsletter { flex: 0 0 32%; }
  .footer__block--menu { flex: 0 0 16%; }
  .footer__block--divider { display: none; }
}

/* [7][8] footer bottom bar — dark scheme, locale left, copyright+policies right */
.site-footer__aside { background: #000; color: #f5f3f1; border-top: 1px solid rgba(255,255,255,.14); }
.site-footer__aside a, .site-footer__aside .footer__policies a, .site-footer__aside .footer__copyright { color: #f5f3f1; }
.footer__aside-grid { display: flex; align-items: center; justify-content: space-between; }
.footer__aside-right { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer__locale { font-size: 13px; border: 1px solid rgba(255,255,255,.4); padding: 6px 12px; }

/* [3] price color near-black (override gold default) */
.product-single__price, .product-single__price .amount, .product-single__price .woocommerce-Price-amount, .product-single__price bdi { color: #111 !important; font-weight: 400; }
.product-item__price .amount, .product-item__price .woocommerce-Price-amount, .price .amount { color: #111; }

/* Neutralize WooCommerce core's auto olive price/stock colour (rgb 149,142,9 = #958e09).
   The <del> strikethrough inherits .price colour, which made the sale line olive. */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.product-single__price, .product-item__price, .price, .price ins {
	color: #111 !important;
}
.price del, .product-item__price del, .product-single__price del {
	color: rgba(0,0,0,.45) !important;   /* muted grey strikethrough */
}
.woocommerce div.product .stock, .woocommerce .stock {
	color: rgba(0,0,0,.55) !important;   /* "In stock" — neutral, not olive */
}

/* [4] add-to-cart solid black even in disabled/variation state, upright label */
.product-single__form .single_add_to_cart_button,
.product-single__form .single_add_to_cart_button.disabled,
.product-single__form .single_add_to_cart_button:disabled,
.product-single__form .single_add_to_cart_button[disabled],
.product-single__form button.button.alt {
  flex: 1 1 0%; min-width: 0; width: auto; white-space: nowrap;
  background: var(--BTN-PRIMARY-BG, #000) !important; color: var(--BTN-PRIMARY-TEXT, #fff) !important; opacity: 1 !important;
  border: 0 !important; border-radius: 0 !important; padding: 0 24px !important; min-height: 45px;
  font-family: var(--FONT-STACK-NAV, "EB Garamond", serif) !important;
  font-style: normal; font-size: 16px !important; letter-spacing: .01em; text-transform: none !important;
}

/* [6] gallery aspect cap + tighter split */
.product-single__grid { grid-template-columns: 52% 48%; column-gap: 48px; }
.product-gallery-stack__item { aspect-ratio: 4/5; }
.product-gallery-stack__item img { width: 100%; height: 100%; object-fit: cover; }

/* [18] product title + summary width + collection-nav portrait + sort chevron */
.product-single__title { font-size: 30px; line-height: 1.15; font-weight: 400; letter-spacing: 0; margin: 0 0 .35em; }
.product-single__info-inner { padding: 6px 0 0 56px; max-width: 560px; }
.collection-nav__image { aspect-ratio: 4/5; }
.collection-toolbar__count { display: flex; justify-content: center; }
.collection-toolbar__count .woocommerce-result-count { float: none; margin: 0; text-align: center; font-size: 13px; opacity: .65; }
.collection-toolbar__sort { position: relative; }

/* [13] blog index centered container with gutters */
.blog-index { max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 50px; padding-right: 50px; box-sizing: border-box; padding-top: 64px; }

/* [19] low-impact polish */
.theme__header .section-padding { padding: 0; }
.blog-featured__more { font-family: var(--FONT-STACK-HEADING, "EB Garamond", serif); font-style: italic; font-size: 17px; text-decoration: underline; text-underline-offset: 4px; }
.blog-featured__eyebrow { font-size: 12px; letter-spacing: .08em; opacity: 1; margin: 0 0 24px; }
.blog-featured__text { padding: 72px clamp(50px, 8vw, 110px); }
.product-accordion .accordion__title { font-size: 16px; padding: 20px 0; }
.product-single__price { margin-bottom: 1.1em; }

/* mobile resets (must come after the desktop overrides above) */
@media (max-width: 749px) {
  .template-index .index-hero .hero__title { font-size: 34px; }
  .logo-wordmark { font-size: 19px; letter-spacing: .18em; }
  .product-single__grid { grid-template-columns: 1fr; column-gap: 0; }
  .product-single__info-inner { position: static; padding: 28px 18px 0; max-width: none; }
  .product-gallery-stack { gap: 6px; }
  .footer__aside-grid { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* [5] Variation swatches — pill buttons matching the live Style/Color selectors */
.elegant-swatches { display: none; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.variations.elegant-swatches-ready .elegant-swatches { display: flex; }
.variations.elegant-swatches-ready select {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; opacity: 0; pointer-events: none;
}
.elegant-swatch {
	display: inline-block; padding: 12px 22px; border: 1px solid rgba(0,0,0,.25); background: #fff; color: #111;
	font-family: var(--FONT-STACK-NAV, "EB Garamond", serif); font-style: italic; font-size: 14px; line-height: 1;
	cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.elegant-swatch:hover { border-color: #000; }
.elegant-swatch.is-selected { background: #000; color: #fff; border-color: #000; }
.elegant-swatch[disabled] { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
/* the attribute label sits above its pills */
.product-single__form .variations .label { display: block; margin: 0 0 8px; font-family: var(--FONT-STACK-HEADING, "EB Garamond", serif); font-size: 16px; }

/* ============================================================
   MOBILE-FIRST FIXES (parity with live at 320–390px)
   ============================================================ */
@media (max-width: 749px) {
	/* Product gallery flush under the nav (live has no gap above the image) */
	.product-template { padding-top: 0; }
	.product-single { margin-top: 0; }
	.product-single__media { margin-top: 0; }
	.product-gallery-stack { gap: 4px; }
	/* full-bleed gallery edge to edge */
	.product-single__grid { column-gap: 0; }

	/* Header right icons: clean single circles (account = icon, cart = count) like live */
	.header__mobile__right { display: flex; align-items: center; gap: 12px; }
	.header__mobile__right > a {
		width: 34px; height: 34px; min-width: 34px; padding: 0;
		display: inline-flex; align-items: center; justify-content: center;
		border: 1px solid currentColor; border-radius: 50%;
	}
	.header__mobile__right svg { width: 18px; height: 18px; }

	/* Mobile hero title a touch smaller to match live proportions */
	.template-index .index-hero .hero__title { font-size: 30px; line-height: 1.08; }

	/* Footer: stack columns cleanly, full-width newsletter */
	.footer__block--newsletter { flex: 0 0 100%; }
	.footer__block--menu { flex: 0 0 50%; }
}

/* ============================================================
   Colorway swatches + quantity stepper (PDP parity)
   ============================================================ */
/* Color image-swatch row (sibling colorways) */
.product-single__colors { display: flex; gap: 24px; align-items: flex-start; margin: 0 0 24px; }
.product-single__colors-head { flex: 0 0 auto; min-width: 90px; }
.product-single__colors-label { display: block; font-family: var(--FONT-STACK-HEADING, "EB Garamond", serif); font-size: 16px; }
.product-single__colors-current { display: block; font-size: 14px; opacity: .7; margin-top: 4px; }
.product-single__colors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex: 0 1 auto; max-width: 300px; }
.colorway-swatch { display: block; border: 1px solid transparent; aspect-ratio: 1/1; overflow: hidden; background: var(--COLOR-BG-BRIGHTER, #f1efea); }
.colorway-swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.colorway-swatch.is-current { border-color: #000; }
.colorway-swatch:hover { border-color: rgba(0,0,0,.4); }

/* Quantity stepper: −  [number]  +  evenly spread, number always centred. */
.product-single__form .quantity {
	display: inline-flex; align-items: stretch; border: 1px solid #000;
	height: 56px; flex: 0 0 140px; width: 140px; box-sizing: border-box;
}
.product-single__form .quantity .qty {
	flex: 1 1 auto; width: auto; min-width: 0; height: auto;
	text-align: center; border: 0; background: transparent; font-size: 15px;
	-moz-appearance: textfield; appearance: textfield; padding: 0;
}
.product-single__form .quantity .qty::-webkit-outer-spin-button,
.product-single__form .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-single__form .qty-btn {
	flex: 0 0 44px; width: 44px; border: 0; background: transparent; cursor: pointer; font-size: 18px; line-height: 1; color: inherit;
	display: inline-flex; align-items: center; justify-content: center;
}
.product-single__form .qty-btn:hover { background: rgba(0,0,0,.04); }

@media (max-width: 749px) {
	.product-single__colors { gap: 18px; }
	.product-single__colors-grid { max-width: 220px; gap: 6px; }
}

/* ---- Fix: product grid columns(100%) + 48px gap overflowed the viewport ---- */
.product-single__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.product-single__media, .product-single__info { min-width: 0; }   /* prevent grid blowout from wide media */
@media (max-width: 749px) {
	.product-single__grid { grid-template-columns: 1fr; column-gap: 0; }
}

/* ---- Mobile product gallery = horizontal swipe carousel (next image peeks right) ---- */
@media (max-width: 749px) {
	.product-single__media { overflow: hidden; }
	.product-gallery-stack {
		flex-direction: row;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		gap: 8px;
		/* padding-right lets the next slide peek without being clipped */
		padding-right: 48px;
		box-sizing: content-box;
	}
	.product-gallery-stack::-webkit-scrollbar { display: none; height: 0; }
	.product-gallery-stack__item {
		/* each slide = full container width so next slide peeks via padding-right */
		flex: 0 0 100%;
		scroll-snap-align: start;
		aspect-ratio: 5/6;
		margin: 0;
	}
	.product-gallery-stack__item img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---- PDP summary text + color swatch sizing (match live proportions) ---- */
.product-single__description { font-size: 16px; line-height: 1.62; }
.product-single__price { font-size: 20px; }
.product-single__colors-grid { max-width: 320px; }
.colorway-swatch { aspect-ratio: 1/1; }

@media (max-width: 749px) {
	.product-single__title { font-size: 30px; line-height: 1.12; }
	.product-single__description { font-size: 16px; line-height: 1.66; }
	.product-single__price { font-size: 20px; }
	/* let the swatch grid fill the row so swatches are large like live */
	.product-single__colors { gap: 16px; align-items: flex-start; }
	.product-single__colors-head { flex: 0 0 76px; min-width: 76px; }
	.product-single__colors-label { font-size: 17px; }
	.product-single__colors-current { font-size: 15px; }
	.product-single__colors-grid { max-width: none; flex: 1 1 auto; gap: 8px; }
}

/* ---- Match live PDP exactly (measured at 320px): desc 12.375px Jost, swatch 45px ---- */
.product-single__description { font-size: 12.5px; line-height: 1.45; }
.product-single__colors-grid {
	display: grid;
	grid-template-columns: repeat(3, 46px);
	gap: 8px;
	max-width: none;
	flex: 0 0 auto;
}
.colorway-swatch { width: 46px; height: 46px; aspect-ratio: 1/1; }
@media (max-width: 749px) {
	.product-single__description { font-size: 12.5px; line-height: 1.45; }
	.product-single__colors { gap: 22px; align-items: flex-start; }
	.product-single__colors-head { flex: 0 0 auto; min-width: 70px; }
	.product-single__colors-grid { grid-template-columns: repeat(3, 46px); flex: 0 0 auto; }
}

/* ---- Mobile: qty stepper + Add-to-cart on one line, equal height, elegant gap ---- */
@media (max-width: 749px) {
	.product-single__form form.cart:not(.variations_form),
	.product-single__form .woocommerce-variation-add-to-cart {
		display: flex !important; flex-wrap: nowrap; gap: 0px; align-items: stretch;
		width: 100%; margin: 0; padding: 0; justify-content: flex-start;
	}
	.product-single__form .quantity {
		flex: 0 0 120px; width: 120px; min-width: 120px; height: 45px; margin: 0; box-sizing: border-box;
	}
	.product-single__form .quantity .qty { flex: 1 1 auto; width: auto; min-width: 0; }
	.product-single__form .qty-btn { flex: 0 0 40px; width: 40px; }
	.product-single__form .single_add_to_cart_button,
	.product-single__form button.button.alt,
	.product-single__form .single_add_to_cart_button.button {
		flex: 1 1 0% !important; width: auto !important; min-width: 0 !important; margin: 0;
		padding: 0 12px !important; height: 45px !important; min-height: 45px !important; text-align: center;
		font-size: 14px !important; font-weight: 400;
	}
}

/* ============================================================
   Sticky mobile add-to-cart bar (matches live)
   ============================================================ */
.elegant-sticky-atc {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 2500;
	display: none; flex-direction: column; align-items: stretch; gap: 10px;
	padding: 12px 16px 16px; background: var(--COLOR-BG, #fbfbf9);
	border-top: 1px solid rgba(0,0,0,.14); box-shadow: 0 -6px 24px rgba(0,0,0,.06);
	transform: translateY(110%); transition: transform .3s cubic-bezier(.215,.61,.355,1);
}
.elegant-sticky-atc.is-visible { transform: none; }
.elegant-sticky-atc__info {
	display: flex; align-items: baseline; justify-content: center; gap: 8px; min-width: 0;
	font-family: var(--FONT-STACK-HEADING, "EB Garamond", serif); font-size: 16px;
}
.elegant-sticky-atc__title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.elegant-sticky-atc__sep { opacity: .5; }
.elegant-sticky-atc__price { white-space: nowrap; }
.elegant-sticky-atc__btn {
	width: 100%; background: transparent; color: var(--COLOR-TEXT, #000); border: 1px solid currentColor;
	padding: 15px; font-family: var(--FONT-STACK-NAV, "EB Garamond", serif); font-style: italic; font-size: 15px;
	cursor: pointer; transition: background .2s ease, color .2s ease;
}
.elegant-sticky-atc__btn:hover { background: var(--BTN-PRIMARY-BG, #000); color: var(--BTN-PRIMARY-TEXT, #fff); }
@media (min-width: 750px) { .elegant-sticky-atc { display: none !important; } }
@media (max-width: 749px) {
	.elegant-sticky-atc { display: flex; }
	.site-footer__aside { padding-bottom: 96px; } /* room so the bar doesn't hide footer text */
}

/* ---- Related products = horizontal swipe slider on mobile (matches live) ---- */
@media (max-width: 749px) {
	.related.products .collection-grid,
	.up-sells.products .collection-grid {
		display: flex; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden;
		scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 14px;
	}
	.related.products .collection-grid::-webkit-scrollbar,
	.up-sells.products .collection-grid::-webkit-scrollbar { display: none; height: 0; }
	.related.products .grid-item,
	.up-sells.products .grid-item { flex: 0 0 72%; scroll-snap-align: start; }
	/* quick-add "+" stays visible on the related cards (touch) */
	.related.products .quick-add__holder, .up-sells.products .quick-add__holder { opacity: 1; transform: none; pointer-events: auto; }
}

/* ============================================================
   Header premium refinement (match live: light logo, hairline icons)
   ============================================================ */
.theme__header svg, .elegant-mobile-drawer__head svg { stroke-width: 1 !important; }
.logo-wordmark { font-weight: 400; letter-spacing: .24em; font-size: 23px; }
.logo-sub { font-weight: 400; letter-spacing: .42em; font-size: 8px; opacity: .92; margin-top: 6px; }
.header__desktop__bar__r .navlink--toplevel,
.header__menu .navlink--toplevel { font-weight: 400; }

@media (max-width: 749px) {
	/* Header mobile: flex column — top row never inherits width from scrollable bottom */
	.theme__header .header__mobile { min-height: 0; padding: 0 !important; display: flex; flex-direction: column; overflow: hidden; width: 100%; box-sizing: border-box; }

	/* header__mobile__top: left | logo (centered) | right — pinned to parent width */
	.header__mobile__top {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
		min-height: 46px;
		width: 100%;
		flex-shrink: 0;
		padding: 0 14px;
		box-sizing: border-box;
	}

	/* bottom nav can scroll without pushing the top wider */
	.header__mobile__bottom { width: 100%; overflow: hidden; flex-shrink: 0; margin-left: 0 !important; margin-right: 0 !important; }
	.header__mobile__top .header__logo { justify-self: center; }
	.header__mobile__top .header__mobile__right { justify-self: center; }

	.logo-wordmark { font-size: 20px; letter-spacing: .22em; }
	.logo-sub { font-size: 8px; letter-spacing: .4em; margin-top: 5px; }

	/* Icons at 30px */
	.header__mobile__left svg, .header__mobile__right svg { width: 30px; height: 30px; }
	.header__mobile__left { gap: 8px; }
	.header__mobile__left .header__mobile__button { padding: 0; }

	/* Right icons */
	.header__mobile__right { gap: 10px; align-items: center; }
	.header__mobile__right > a { width: auto; height: auto; min-width: 0; border: 0; border-radius: 0; padding: 0; display: inline-flex; align-items: center; }

	/* Cart = circle with count number, no bag icon */
	.header__mobile__right .cart-link__count {
		display: inline-flex; align-items: center; justify-content: center;
		width: 30px; height: 30px; border-radius: 50%;
		border: 1.2px solid currentColor;
		font-size: 13px; font-family: "Jost", sans-serif;
		font-style: normal; line-height: 1; color: inherit;
		position: static !important; top: auto !important; right: auto !important; background: none !important; background-color: transparent !important;
	}
	.header__mobile__right .cart-link__count.is-empty { display: inline-flex !important; opacity: 1; visibility: visible; }

	/* Category nav row */
	.header__mobile__nav__scroller a { font-size: 15px; letter-spacing: 0; font-weight: 400; padding-top: 4px; padding-bottom: 4px; }
	.header__mobile__nav__scroller { gap: 1px; display: flex; width: 100%; justify-content: space-between; }
}

/* Right-edge fade on the scrollable category nav — hints there's more to scroll.
   Shown via .is-scrollable (toggled by JS while the row can scroll right). */
.header__mobile__nav { position: relative; }
.header__mobile__nav:after {
	content: ""; position: absolute; z-index: 1; right: 0; top: 0; bottom: 0;
	width: 56px; pointer-events: none;
	background: linear-gradient(to right, var(--COLOR-BG-TRANSPARENT, transparent) 0%, var(--COLOR-BG, #fbfbf9) 90%);
	transition: opacity .2s cubic-bezier(.215, .61, .355, 1), visibility .2s;
	opacity: 0; visibility: hidden;
}
.header__mobile__nav.is-scrollable:after { opacity: 1; visibility: visible; }

/* ============================================================
   SLIDE-OUT CART DRAWER
   ============================================================ */
.cart-drawer-overlay {
	position: fixed; inset: 0; background: rgba(20, 18, 14, .38);
	opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s .35s;
	z-index: 6000;
}
.cart-drawer-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .35s ease; }

.cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%; height: 100dvh;
	width: 420px; max-width: 92vw;
	background: var(--COLOR-BG, #fbfbf9); color: var(--COLOR-TEXT, #1a1a1a);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform .4s cubic-bezier(.22, .61, .36, 1);
	z-index: 6001; box-shadow: -18px 0 50px rgba(0, 0, 0, .12);
	will-change: transform;
}
.cart-drawer.is-open { transform: translateX(0); }
body.cart-open { overflow: hidden; }

/* Cart drawer — Jost throughout (only "Check Out" stays italic serif), tight spacing */
.cart-drawer { font-family: "Jost", sans-serif; }
.cart-drawer__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px 20px; border-bottom: 1px solid #000; flex: 0 0 auto;
}
.cart-drawer__heading {
	font-family: "Jost", sans-serif; font-size: 16px; font-weight: 600; color: #000; letter-spacing: .01em;
}
.cart-drawer__close {
	background: none; border: 0; padding: 4px; margin: -4px; cursor: pointer;
	color: #000; display: inline-flex; line-height: 0;
}
.cart-drawer__close svg { width: 20px; height: 20px; stroke-width: 1.2; }

.cart-drawer__inner { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }

/* Items list */
.cart-drawer__items {
	list-style: none; margin: 0; padding: 0 20px; overflow-y: auto; flex: 1 1 auto;
	-webkit-overflow-scrolling: touch;
}
.cart-drawer__item {
	display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,.14);
}
.cart-drawer__item:first-child { border-top: 1px solid rgba(0,0,0,.14); }

/* Image */
.cart-drawer__item-media { flex: 0 0 96px; width: 96px; }
.cart-drawer__item-media img {
	width: 96px; height: 110px; object-fit: cover; display: block; background: #f2f2f2;
}

/* Info column */
.cart-drawer__item-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }

/* Name + line total on same row */
.cart-drawer__item-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.cart-drawer__item-title {
	font-family: "Jost", sans-serif; font-size: 14px; line-height: 1.3; color: #111; text-decoration: none; flex: 1;
}
.cart-drawer__item-title:hover { text-decoration: underline; }
.cart-drawer__item-linetotal {
	font-family: "Jost", sans-serif; font-size: 14px; font-weight: 600; color: #000; white-space: nowrap; flex-shrink: 0;
}

/* Unit price */
.cart-drawer__item-price { font-family: "Jost", sans-serif; font-size: 13px; color: #555; }

/* Meta */
.cart-drawer__item-meta { font-family: "Jost", sans-serif; font-size: 12px; color: #777; line-height: 1.5; }
.cart-drawer__item-meta p, .cart-drawer__item-meta dl { margin: 0; }

/* Qty */
.cart-drawer__qty {
	display: flex; align-items: center; border: 1px solid rgba(0,0,0,.3);
	width: 100%; max-width: 170px; margin-top: 2px;
}
.cart-drawer__qty-btn {
	flex: 0 0 auto; width: 38px; height: 38px; background: none; border: 0; cursor: pointer; color: #111;
	font-size: 16px; display: inline-flex; align-items: center; justify-content: center;
}
.cart-drawer__qty-btn:hover { background: rgba(0,0,0,.04); }
.cart-drawer__qty-val {
	flex: 1 1 auto; text-align: center; font-family: "Jost", sans-serif; font-size: 14px; color: #111;
}

/* Remove link */
.cart-drawer__item-remove {
	font-family: "Jost", sans-serif; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
	color: #111; text-decoration: none; opacity: .7; transition: opacity .2s; margin-top: 2px;
}
.cart-drawer__item-remove:hover { opacity: 1; }

/* Order notes / Discount code collapsible */
.cart-drawer__extra {
	border-top: 1px solid rgba(0,0,0,.14);
}
.cart-drawer__extra-toggle {
	display: flex; align-items: center; justify-content: space-between;
	padding: 14px 20px; cursor: pointer; list-style: none;
	font-family: "Jost", sans-serif; font-size: 14px; font-weight: 500; color: #111;
}
.cart-drawer__extra-toggle::-webkit-details-marker { display: none; }
.cart-drawer__extra-chevron { font-size: 16px; opacity: .6; transition: transform .2s; }
details.cart-drawer__extra[open] .cart-drawer__extra-chevron { transform: rotate(180deg); }
.cart-drawer__extra-body { padding: 0 20px 14px; }
.cart-drawer__notes-input {
	width: 100%; border: 1px solid rgba(0,0,0,.22); padding: 10px 12px;
	font-family: "Jost", sans-serif; font-size: 13px; resize: vertical; background: transparent;
	box-sizing: border-box;
}
.cart-drawer__coupon-body { display: flex; gap: 8px; align-items: stretch; }
.cart-drawer__coupon-input {
	flex: 1; height: 44px; margin: 0; border: 1px solid rgba(0,0,0,.22); padding: 0 12px;
	font-family: "Jost", sans-serif; font-size: 13px; background: transparent;
	box-sizing: border-box;
}
.cart-drawer__coupon-apply {
	height: 44px; padding: 0 18px; background: var(--BTN-PRIMARY-BG, #000); color: var(--BTN-PRIMARY-TEXT, #fff); border: 0; cursor: pointer;
	box-sizing: border-box;
	font-family: "Jost", sans-serif; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.cart-drawer__coupon-msg {
	display: block; margin-top: 8px; font-family: "Jost", sans-serif; font-size: 12px;
}
.cart-drawer__coupon-msg.is-error { color: #b3261e; }
.cart-drawer__coupons { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cart-drawer__coupon-tag {
	display: inline-flex; align-items: center; gap: 8px;
	border: 1px solid rgba(0,0,0,.25); padding: 5px 10px;
	font-family: "Jost", sans-serif; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.cart-drawer__coupon-remove { background: none; border: 0; cursor: pointer; font-size: 16px; line-height: 1; color: #111; padding: 0; }
.cart-drawer__note-save {
	margin-top: 8px; padding: 9px 16px; background: var(--BTN-PRIMARY-BG, #000); color: var(--BTN-PRIMARY-TEXT, #fff); border: 0; cursor: pointer;
	font-family: "Jost", sans-serif; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.cart-drawer__note-saved { margin-left: 10px; font-family: "Jost", sans-serif; font-size: 12px; color: #2e7d32; }
.cart-drawer__totals { margin-bottom: 14px; }
.cart-drawer__discount-row,
.cart-drawer__total-row {
	display: flex; align-items: baseline; justify-content: space-between; margin-top: 8px;
}
.cart-drawer__discount-label,
.cart-drawer__total-row .cart-drawer__subtotal-label {
	font-family: "Jost", sans-serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #111;
}
.cart-drawer__discount-val { font-family: "Jost", sans-serif; font-size: 14px; color: #b3261e; }
.cart-drawer__total-row .cart-drawer__subtotal-val { font-size: 22px; }

/* Footer */
.cart-drawer__footer { flex: 0 0 auto; padding: 18px 20px 20px; border-top: 1px solid rgba(0,0,0,.14); }
.cart-drawer__subtotal {
	display: flex; align-items: baseline; justify-content: space-between;
	margin-bottom: 14px;
}
.cart-drawer__subtotal-label {
	font-family: "Jost", sans-serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #111;
}
.cart-drawer__subtotal-val {
	font-family: "Jost", sans-serif; font-size: 22px; font-weight: 600; color: #000;
}
.cart-drawer__checkout {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	text-decoration: none; background: var(--BTN-PRIMARY-BG, #000); color: var(--BTN-PRIMARY-TEXT, #fff);
	padding: 15px; transition: opacity .2s ease; width: 100%; box-sizing: border-box;
}
.cart-drawer__checkout em {
	font-family: "EB Garamond", serif; font-size: 18px; font-style: italic; font-weight: 400;
}
.cart-drawer__checkout svg { flex-shrink: 0; }
.cart-drawer__checkout:hover { opacity: .85; }
.cart-drawer__note {
	font-family: "Jost", sans-serif; font-size: 12px; color: #555;
	margin: 12px 0 0; text-align: center; font-style: italic; line-height: 1.5;
}

/* empty + loading states */
.cart-drawer__empty {
	flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; padding: 40px 26px; gap: 16px;
}
.cart-drawer__empty-icon { color: rgba(0, 0, 0, .28); }
.cart-drawer__empty-icon svg { width: 44px; height: 44px; stroke-width: .9; }
.cart-drawer__empty-text { font-family: "EB Garamond", serif; font-size: 18px; margin: 0; }
.cart-drawer__empty-btn {
	font-family: "Jost", sans-serif; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
	color: var(--COLOR-TEXT, #1a1a1a); text-decoration: underline; text-underline-offset: 3px;
}
.cart-drawer.is-loading .cart-drawer__inner { opacity: .55; pointer-events: none; transition: opacity .2s ease; }

@media (max-width: 749px) {
	.cart-drawer { width: 100%; max-width: 100%; }
	.cart-drawer__head { padding: 18px 20px; }
	.cart-drawer__items { padding: 4px 20px; }
	.cart-drawer__footer { padding: 18px 20px 22px; }
}

/* Hide WooCommerce Cart block's sticky floating "Proceed to Checkout" bar
   (we use our own drawer checkout button instead). */
.wc-block-cart__submit-container--sticky { display: none !important; }

/* ============================================================
   FOOTER WIDGET COLUMNS (Appearance → Widgets → Footer Column 1–3)
   ============================================================ */
.footer__block--widget .footer__widget + .footer__widget { margin-top: 26px; }
.footer__block--widget .footer__block__title { margin: 0 0 16px; }
.footer__block--widget ul { list-style: none; margin: 0; padding: 0; }
.footer__block--widget li { margin: 0 0 .55em; line-height: 1.5; }
.footer__block--widget a { color: inherit; text-decoration: none; opacity: .85; transition: opacity .2s ease; }
.footer__block--widget a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer__block--widget .textwidget,
.footer__block--widget p { line-height: 1.6; opacity: .85; }

/* ============================================================
   SEARCH DRAWER (slide-down overlay; opened by [data-drawer-toggle="search"])
   ============================================================ */
.search-drawer-overlay {
	position: fixed; inset: 0; background: rgba(20, 18, 14, .38);
	opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; z-index: 6000;
}
.search-drawer-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.search-drawer {
	position: fixed; top: 0; left: 0; right: 0; z-index: 6001;
	background: var(--COLOR-BG, #fbfbf9); color: var(--COLOR-TEXT, #1a1a1a);
	transform: translateY(-100%); transition: transform .4s cubic-bezier(.22, .61, .36, 1);
	box-shadow: 0 18px 50px rgba(0, 0, 0, .12); will-change: transform;
}
.search-drawer.is-open { transform: translateY(0); }
body.search-open { overflow: hidden; }
.search-drawer__inner {
	display: flex; align-items: center; gap: 18px;
	max-width: 1100px; margin: 0 auto; padding: 30px 28px;
}
.search-drawer__form { flex: 1 1 auto; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid rgba(0, 0, 0, .25); padding-bottom: 10px; }
.search-drawer__icon { display: inline-flex; color: rgba(0, 0, 0, .55); }
.search-drawer__icon svg { width: 22px; height: 22px; stroke-width: 1; }
.search-drawer__input {
	flex: 1 1 auto; border: 0; background: transparent; outline: none; color: inherit;
	font-family: "EB Garamond", serif; font-size: 26px; line-height: 1.2; padding: 4px 0;
}
.search-drawer__input::placeholder { color: rgba(0, 0, 0, .4); }
.search-drawer__submit {
	flex: 0 0 auto; background: none; border: 0; cursor: pointer; color: inherit;
	font-family: "Jost", sans-serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
	padding: 6px 4px; opacity: .8; transition: opacity .2s ease;
}
.search-drawer__submit:hover { opacity: 1; }
.search-drawer__close {
	flex: 0 0 auto; background: none; border: 0; cursor: pointer; color: inherit; padding: 6px; line-height: 0;
}
.search-drawer__close svg { width: 24px; height: 24px; stroke-width: 1; }

@media (max-width: 749px) {
	.search-drawer__inner { padding: 18px 18px; gap: 10px; }
	.search-drawer__input { font-size: 20px; }
	.search-drawer__submit { display: none; } /* enter key submits on mobile */
}

/* ---- Add-to-cart loading state (AJAX in flight) ---- */
.product-single__form .single_add_to_cart_button.loading,
.product-item .ajax_add_to_cart.loading,
.quick-add__button.loading { opacity: .6; pointer-events: none; position: relative; }
.product-single__form .single_add_to_cart_button.loading::after,
.quick-add__button.loading::after {
	content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px;
	border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%;
	animation: elegant-spin .6s linear infinite;
}
@keyframes elegant-spin { to { transform: rotate(360deg); } }

/* ---- Footer newsletter notice ---- */
.footer__newsletter__notice { margin: 12px 0 0; font-family: "Jost", sans-serif; font-size: 13px; }
.footer__newsletter__notice.is-success { color: #2e7d32; }
.footer__newsletter__notice.is-error { color: #c0392b; }

/* ============================================================
   Video Carousel block (elegant/video-carousel)
   Mobile-first: carousel above text. Desktop: text beside carousel.
   ========================================================== */
.elegant-vcarousel { overflow: hidden; padding-bottom: 52px; }
.evc { display: flex; flex-direction: column; gap: 28px; }
.evc__viewport { order: 1; min-width: 0; }
.evc__intro { order: 2; padding: 0 var(--outer, 20px); text-align: center; }
.evc__title { margin: 0 0 12px; }
.evc__desc { margin: 0 auto 18px; max-width: 46ch; }
.evc__desc p { margin: 0 0 8px; }
.evc__desc p:last-child { margin-bottom: 0; }
.evc__cta .btn { display: inline-flex; }

.evc__track {
	display: flex; gap: 14px; list-style: none; margin: 0;
	padding: 10px var(--outer, 20px);
	overflow-x: auto; overflow-y: hidden;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.evc__track::-webkit-scrollbar { display: none; }
.evc__track.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.evc__track.is-dragging, .evc__track.is-dragging * { user-select: none; }

.evc__card {
	flex: 0 0 auto; width: 70%; max-width: 320px;
	scroll-snap-align: center;
	transform: scale(.9); opacity: .55;
	transition: transform .35s ease, opacity .35s ease;
}
.evc__card.is-active { transform: scale(1); opacity: 1; }

.evc__media { display: block; position: relative; color: inherit; text-decoration: none; }
.evc__frame {
	position: relative; aspect-ratio: var(--evc-aspect, .5625);
	border-radius: 16px; overflow: hidden; background: #e9e6e1;
	box-shadow: 0 10px 30px rgba(0,0,0,.10);
}
.evc__video, .evc__poster {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; display: block;
}
.evc__play {
	position: absolute; left: 50%; top: 50%; width: 54px; height: 54px;
	transform: translate(-50%,-50%); border-radius: 50%;
	background: rgba(0,0,0,.32); transition: opacity .3s ease; pointer-events: none;
}
.evc__play::after {
	content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%,-50%);
	border-style: solid; border-width: 9px 0 9px 15px;
	border-color: transparent transparent transparent #fff;
}
.evc__card.is-active .evc__play { opacity: 0; }

.evc__dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 16px; padding: 0 var(--outer, 20px); }
.evc__dot {
	width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
	background: rgba(0,0,0,.18); cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}
.evc__dot.is-active { background: var(--accent, #ab8c52); transform: scale(1.3); }
.evc__empty { padding: 40px var(--outer, 20px); text-align: center; opacity: .55; }

@media (min-width: 990px) {
	.evc {
		display: grid; grid-template-columns: minmax(280px, 30%) 1fr;
		align-items: center; gap: 48px;
	}
	.evc__viewport { order: 0; }
	.evc__intro { order: 0; text-align: left; padding: 0 0 0 var(--outer, 40px); }
	.evc__desc { margin-left: 0; }
	.evc--text-right .evc__intro { order: 1; padding: 0 var(--outer, 40px) 0 0; }
	.evc--text-right .evc__viewport { order: 0; }
	/* Cards wide enough that the track overflows (so it can be swiped/scrolled),
	   height-capped so the portrait frame doesn't get absurdly tall. */
	.evc__card { width: max(320px, 28vw); max-width: 480px; }
	.evc__card .evc__frame { max-height: 600px; }
	.evc__track { padding-block: 16px; cursor: grab; }
	.elegant-vcarousel { padding-bottom: 76px; }
}

/* Hover-to-play (desktop / fine pointer): cards rest at full opacity showing
   their poster; hovering one lifts it and plays the video (JS), the rest pause. */
@media (hover: hover) and (pointer: fine) and (min-width: 990px) {
	.evc__card { transform: none; opacity: 1; }
	.evc__media { cursor: pointer; }
	.evc__card:hover { transform: scale(1.03); z-index: 2; }
	.evc__card:hover .evc__frame { box-shadow: 0 16px 40px rgba(0,0,0,.18); }
	.evc__card:hover .evc__play { opacity: 0; }
}

/* Brand grey-green for scheme-9 sections (the About section). */
.color-scheme-9 {
	--COLOR-BG: #8c948a;
	--COLOR-BG-GRADIENT: #8c948a;
	--COLOR-BG-RGB: 140, 148, 138;
}
