/* ==========================================================================
   Tezmy Premium Redesign v4 — "Editorial Atelier"
   Design system from the approved Tezmy homepage mockup:
   ink / warm paper / brass, Libre Caslon Display + Figtree.
   Visual layer only — product images, titles and descriptions untouched.
   ========================================================================== */

:root{
	--ink: #191B20;
	--ink-2: #22252C;
	--paper: #F3EFE6;
	--paper-2: #EAE3D4;
	--paper-3: #FBF9F4;
	--brass: #C89B3C;
	--brass-deep: #A97F28;
	--moss: #4B6358;
	--clay: #8C3B2E;
	--ink-soft: #5B564C;
	--read: #2B2F33;
	--line: #D8D0BE;
	--line-2: #E6E0D2;
	--line-dark: #33353C;
	--r: 2px;
	--ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Foundations ---------- */
body{
	background: var(--paper) !important;
	font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
/* The site loads an inline snippet that forces a system font stack with
   !important on `body, p, a, span, div, h1..h6, input, …`. These rules carry
   one extra element (`html`) so they outrank it. Icon fonts set font-family
   on a class, which still wins over these. */
html body,
html p,
html a,
html span,
html li,
html div,
html input,
html textarea,
html select,
html button{
	font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}
html h1, html h2, html h3, html h4, html h5, html h6{
	font-family: 'Libre Caslon Display', Georgia, 'Times New Roman', serif !important;
}

.site-content, .content-area, #content, .inside-article, .entry-content{
	background: transparent !important;
}
::selection{ background: rgba(200,155,60,.28); }

h1, h2, h3,
.woocommerce-Tabs-panel h2,
.woocommerce-Tabs-panel h3,
.related > h2, .up-sells > h2, .upsells > h2,
.tz-band h3, .tz-slim h2{
	font-family: 'Libre Caslon Display', Georgia, 'Times New Roman', serif !important;
	font-weight: 400 !important;
}

.woocommerce a:focus-visible,
.woocommerce button:focus-visible,
.woocommerce input:focus-visible{
	outline: 2px solid var(--brass);
	outline-offset: 3px;
}

/* ==========================================================================
   Header
   ========================================================================== */

/* Slim announcement strip above the nav */
.tz-topbar{
	background: var(--paper-2);
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	text-align: center;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .06em;
	padding: 9px 16px;
	line-height: 1.4;
}
.tz-topbar span{ color: var(--ink-soft); }
.tz-topbar b{ font-weight: 600; color: var(--ink-soft); }
.tz-topbar .tz-dot{
	display: inline-block;
	width: 3px; height: 3px;
	border-radius: 50%;
	background: var(--brass-deep);
	vertical-align: middle;
	margin: 0 10px;
}

html .main-navigation,
html .main-navigation.is_stuck{
	background: var(--paper-3) !important;
	box-shadow: none !important;
	border-bottom: 1px solid var(--line);
}
.main-navigation .inside-navigation{
	padding-top: 6px;
	padding-bottom: 6px;
}
.navigation-branding img,
.site-logo img{
	max-height: 42px !important;
	width: auto !important;
	height: auto !important;
}

/* Nav links */
html .main-navigation .main-nav ul li a{
	font-family: 'Figtree', sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	letter-spacing: .01em;
	color: var(--ink-soft) !important;
	padding-left: 16px !important;
	padding-right: 16px !important;
	position: relative;
	transition: color .16s var(--ease);
	background: none !important;
}
html .main-navigation .main-nav ul li a::after{
	content: "";
	position: absolute;
	left: 16px; right: 16px; bottom: 12px;
	height: 1.5px;
	background: var(--brass);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .2s var(--ease);
}
html .main-navigation .main-nav ul li a:hover,
html .main-navigation .main-nav ul li.current-menu-item > a,
html .main-navigation .main-nav ul li.current_page_item > a{
	color: var(--ink) !important;
}
html .main-navigation .main-nav ul li a:hover::after,
html .main-navigation .main-nav ul li.current-menu-item > a::after,
html .main-navigation .main-nav ul li.current_page_item > a::after{
	transform: scaleX(1);
}

/* Promo link in the menu bar becomes a brass pill.
   The site prints its label through an ::after ("Mega Deals") and leaves the
   raw link text hidden, so the anchor stays font-size:0 and the label sizes
   itself — otherwise both strings show, stacked. */
html .main-navigation .menu-bar-items{
	display: flex;
	align-items: center;
	gap: 10px;
}
html .main-navigation .menu-bar-items a,
html .main-navigation .menu-bar-item a{
	display: inline-flex;
	align-items: center;
	background: var(--brass) !important;
	color: var(--ink) !important;
	font-family: 'Figtree', sans-serif !important;
	font-size: 0 !important;
	font-weight: 600 !important;
	letter-spacing: .02em;
	padding: 9px 18px !important;
	border-radius: var(--r);
	line-height: 1.2;
	margin-left: 14px;
	white-space: nowrap;
	transition: background .16s var(--ease);
}
/* The label is absolutely positioned by the site's own snippet, so it would
   spill outside the pill. Put it back in flow so the pill sizes to it. */
html .main-navigation .menu-bar-items a::after,
html .main-navigation .menu-bar-item a::after{
	position: static !important;
	top: auto !important;
	left: auto !important;
	display: inline-block !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: .02em;
	color: var(--ink) !important;
	line-height: 1.2;
}
html .main-navigation .menu-bar-items a:hover{
	background: var(--brass-deep) !important;
	color: var(--ink) !important;
}

/* Mobile toggle */
html .main-navigation .menu-toggle{
	font-family: 'Figtree', sans-serif !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: .08em;
	color: var(--ink) !important;
	background: none !important;
}

@media (max-width: 1024px){
	html .main-navigation .main-nav ul li a{
		padding-left: 12px !important;
		padding-right: 12px !important;
		font-size: 13.5px !important;
	}
}

@media (max-width: 768px){
	.tz-topbar{ font-size: 11px; letter-spacing: .04em; padding: 8px 14px; }
	.tz-topbar .tz-dot{ margin: 0 7px; }
	.navigation-branding img,
	.site-logo img{ max-height: 34px !important; }
	.main-navigation .inside-navigation{ padding-top: 4px; padding-bottom: 4px; }
	html .main-navigation .menu-bar-items a,
	html .main-navigation .menu-bar-item a{
		padding: 8px 13px !important;
		margin-left: 8px;
	}
	html .main-navigation .menu-bar-items a::after,
	html .main-navigation .menu-bar-item a::after{ font-size: 12px !important; }
	/* Nav links inside the opened mobile panel: full-width rows */
	html .main-navigation .main-nav ul li a{
		padding: 14px 20px !important;
		font-size: 15px !important;
		border-bottom: 1px solid var(--line-2);
	}
	html .main-navigation .main-nav ul li a::after{ display: none; }
}

/* ---------- Page rhythm ---------- */
.woocommerce div.product{
	position: relative;
	max-width: 1220px;
	margin: 0 auto;
	display: block;
	text-align: left;
}

/* Hero = gallery + purchase panel. Its height bounds the sticky panel. */
.tz-hero{
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
	column-gap: 72px;
	align-items: start;
}

.woocommerce .woocommerce-breadcrumb{
	max-width: 1220px;
	margin: 0 auto 28px !important;
	font-size: 11px !important;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink-soft) !important;
	font-weight: 500;
}
.woocommerce .woocommerce-breadcrumb a{ color: var(--ink-soft) !important; }
.woocommerce .woocommerce-breadcrumb a:hover{ color: var(--ink) !important; }

/* ---------- Gallery ---------- */
.woocommerce div.product div.images{
	grid-column: 1;
	margin: 0 !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0;
	float: none !important;
	position: relative;
	background: var(--paper-3);
	overflow: hidden;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: var(--r);
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper{ overflow: hidden; }
.woocommerce div.product div.images img{ border-radius: 0; display: block; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger{
	background: var(--paper-3) !important;
	border: 1px solid var(--line);
	border-radius: 50%;
	box-shadow: none !important;
	top: 26px; right: 26px;
}
/* Thumbnails: one horizontal strip, drag / swipe to reach the rest */
.woocommerce div.product div.images .flex-control-thumbs{
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: flex-start;
	gap: 10px;
	margin: 14px 0 0 !important;
	padding: 0 0 9px !important;
	list-style: none;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	cursor: grab;
	scrollbar-width: thin;
	scrollbar-color: var(--line) transparent;
}
.woocommerce div.product div.images .flex-control-thumbs.is-dragging{
	cursor: grabbing;
	scroll-snap-type: none;
}
.woocommerce div.product div.images .flex-control-thumbs li{
	flex: 0 0 auto !important;
	width: 92px !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	list-style: none;
	scroll-snap-align: start;
}
.woocommerce div.product div.images .flex-control-thumbs li img{
	width: 100% !important;
	height: auto;
	display: block;
}
.flex-control-thumbs::-webkit-scrollbar{ height: 6px; }
.flex-control-thumbs::-webkit-scrollbar-track{ background: transparent; }
.flex-control-thumbs::-webkit-scrollbar-thumb{ background: var(--line); border-radius: 99px; }
.flex-control-thumbs::-webkit-scrollbar-thumb:hover{ background: var(--ink-soft); }

.flex-control-thumbs li img{
	border-radius: 1px !important;
	border: 1px solid var(--line) !important;
	opacity: .55;
	transition: opacity .18s var(--ease), border-color .18s var(--ease);
}
.flex-control-thumbs li img:hover,
.flex-control-thumbs li img.flex-active{ opacity: 1; border-color: var(--ink) !important; }

/* Sale badge — anchored to the product block, sits over the gallery */
.tz-sale-badge{
	display: inline-block !important;
	visibility: visible !important;
	position: absolute;
	top: 16px; left: 16px;
	z-index: 6;
	background: var(--ink);
	color: var(--paper);
	font-family: 'Figtree', sans-serif;
	font-weight: 600;
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	padding: 8px 14px;
	border-radius: var(--r);
}

/* ---------- Purchase column (sticky) ---------- */
.woocommerce div.product div.summary{
	grid-column: 2;
	float: none !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0;
	margin: 0 !important;
	position: sticky;
	top: 28px;
	text-align: left;
}

.tz-eyebrow{
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--brass-deep);
	margin-bottom: 14px;
}

/* Product title: bold sans reads clearer than the serif at this size.
   Needs to outrank the generic `html h1..h6` serif rule above. */
.woocommerce div.product .product_title,
html .woocommerce div.product .product_title{
	font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
	font-size: clamp(21px, 1.85vw, 29px) !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	letter-spacing: -.02em;
	color: var(--ink);
	margin: 0 0 18px !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price{
	font-family: 'Figtree', sans-serif !important;
	font-size: 30px !important;
	font-weight: 600 !important;
	color: var(--ink) !important;
	margin: 0 0 6px !important;
	line-height: 1.2;
	display: flex;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
}
.woocommerce div.product p.price del{
	color: var(--ink-soft) !important;
	font-weight: 400;
	opacity: .75;
	font-size: 17px;
	order: 2;
}
.woocommerce div.product p.price ins{
	text-decoration: none !important;
	color: var(--ink) !important;
	order: 1;
}

.tz-saving{
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .06em;
	color: var(--moss);
	margin: 0 0 22px;
}
.tz-saving::before{
	content: "";
	width: 18px; height: 1px;
	background: var(--moss);
	display: inline-block;
}

/* Purchase card */
.woocommerce div.product form.cart{
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 24px;
	margin: 0 !important;
	background: var(--paper-3);
	display: block;
}
.woocommerce div.product form.cart .quantity{
	margin: 0 0 14px !important;
	display: flex;
	float: none;
}
.woocommerce div.product form.cart .quantity input.qty{
	height: 50px;
	width: 62px;
	border-radius: var(--r);
	border: 1px solid var(--line);
	text-align: center;
	font-weight: 600;
	font-size: 15px;
	color: var(--ink);
	background: #fff;
}
.woocommerce div.product form.cart .quantity .minus,
.woocommerce div.product form.cart .quantity .plus{
	height: 50px; width: 44px;
	border: 1px solid var(--line) !important;
	background: #fff !important;
	color: var(--ink) !important;
	font-size: 16px;
	border-radius: var(--r);
	transition: background .15s var(--ease);
}
.woocommerce div.product form.cart .quantity .minus:hover,
.woocommerce div.product form.cart .quantity .plus:hover{ background: var(--paper-2) !important; }

.woocommerce div.product form.cart .button,
.woocommerce div.product .single_add_to_cart_button,
a.single_add_to_cart_button{
	background: var(--brass) !important;
	border: 1px solid var(--brass) !important;
	color: var(--ink) !important;
	font-family: 'Figtree', sans-serif !important;
	font-weight: 600 !important;
	font-size: 15px !important;
	letter-spacing: .04em;
	padding: 17px 26px !important;
	border-radius: var(--r) !important;
	box-shadow: none !important;
	width: 100%;
	float: none;
	text-align: center;
	transition: background .18s var(--ease), border-color .18s var(--ease);
	line-height: 1.2;
}
.woocommerce div.product form.cart .button:hover,
.woocommerce div.product .single_add_to_cart_button:hover{
	background: var(--brass-deep) !important;
	border-color: var(--brass-deep) !important;
	color: var(--ink) !important;
}

/* Live preview secondary button */
.live-preview{ margin-top: 10px; }
.live-preview .button{
	background: transparent !important;
	border: 1px solid var(--ink) !important;
	color: var(--ink) !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	padding: 14px 22px !important;
	border-radius: var(--r) !important;
	width: 100%;
	text-align: center;
	display: block;
	transition: background .18s var(--ease), color .18s var(--ease);
}
.live-preview .button:hover{ background: var(--ink) !important; color: var(--paper) !important; }

/* Spec strip inside the purchase card */
.tz-specs{
	display: grid;
	grid-template-columns: 1fr;
	margin-top: 22px;
	padding-top: 4px;
	border-top: 1px solid var(--line);
}
.tz-spec{
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line-2);
}
.tz-spec:last-child{ border-bottom: none; padding-bottom: 0; }
.tz-spec svg{ flex: 0 0 auto; width: 17px; height: 17px; color: var(--moss); margin-top: 1px; }
.tz-spec-label{
	font-size: 13.5px;
	font-weight: 600;
	color: var(--ink);
	line-height: 1.35;
}
.tz-spec-note{
	display: block;
	font-size: 12.5px;
	font-weight: 400;
	color: var(--ink-soft);
	margin-top: 2px;
}

/* Meta */
.woocommerce div.product .product_meta{
	margin-top: 22px;
	font-size: 12.5px;
	color: var(--ink-soft);
	line-height: 1.9;
}
.woocommerce div.product .product_meta > span{ display: block; }
.woocommerce div.product .product_meta a{
	color: var(--ink-soft);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: var(--line);
	text-underline-offset: 3px;
	transition: color .15s var(--ease);
}
.woocommerce div.product .product_meta a:hover{ color: var(--brass-deep); }

/* ---------- Full-bleed value band ---------- */
.tz-band{
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background: var(--paper-3);
	color: var(--ink);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	margin-top: 88px;
	padding: 64px 0;
}
.tz-band-inner{
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 32px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	box-sizing: border-box;
}
.tz-band-item{ padding: 0 30px; border-left: 1px solid var(--line); }
.tz-band-item:first-child{ padding-left: 0; border-left: none; }
.tz-band-item:last-child{ padding-right: 0; }
.tz-band-item svg{ width: 24px; height: 24px; color: var(--brass-deep); }
.tz-band h3{
	font-size: 18px !important;
	color: var(--ink);
	margin: 16px 0 8px !important;
	line-height: 1.3;
}
.tz-band p{
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--ink-soft);
	margin: 0;
}

/* ---------- Description ---------- */
.woocommerce div.product .woocommerce-tabs{
	margin-top: 88px;
	max-width: 780px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs{
	border-bottom: 1px solid var(--line) !important;
	padding: 0 !important;
	margin: 0 0 -1px 0 !important;
	text-align: left;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{ display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li{
	background: none !important;
	border: none !important;
	border-radius: 0 !important;
	margin: 0 28px 0 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after{ display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
	font-family: 'Figtree', sans-serif !important;
	font-weight: 600 !important;
	font-size: 11px !important;
	letter-spacing: .16em !important;
	text-transform: uppercase;
	color: var(--ink-soft) !important;
	padding: 14px 0 !important;
	display: inline-block;
	border-bottom: 2px solid transparent !important;
	background: none !important;
	transition: color .15s var(--ease);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover{
	color: var(--ink) !important;
	border-bottom: 2px solid var(--brass) !important;
}

.woocommerce-Tabs-panel{
	background: transparent;
	border: none;
	padding: 40px 0 0 0;
	margin: 0;
	box-shadow: none;
	max-width: 680px;
}
.woocommerce-Tabs-panel > h2:first-child{
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.woocommerce-Tabs-panel h2,
.woocommerce-Tabs-panel h3{
	font-size: 25px !important;
	color: var(--ink);
	margin: 44px 0 16px !important;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
	line-height: 1.25;
}
.woocommerce-Tabs-panel p{
	color: var(--read);
	line-height: 1.62;
	font-size: 16px;
	margin: 0 0 20px;
	letter-spacing: 0;
}
.woocommerce-Tabs-panel p strong{ color: var(--ink); font-weight: 600; }
/* Lead paragraph */
.woocommerce-Tabs-panel > p:first-of-type{
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
}
.woocommerce-Tabs-panel ul:not(.tabs){
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}
.woocommerce-Tabs-panel ul:not(.tabs) li{
	position: relative;
	padding: 9px 0 9px 26px;
	line-height: 1.62;
	color: var(--read);
	font-size: 16px;
	border-bottom: 1px solid var(--line-2);
}
.woocommerce-Tabs-panel ul:not(.tabs) li:last-child{ border-bottom: none; }
.woocommerce-Tabs-panel ul:not(.tabs) li::before{
	content: "";
	position: absolute;
	left: 2px; top: 19px;
	width: 7px; height: 1px;
	background: var(--brass);
}

/* ---------- Slim closing band ---------- */
.tz-slim{
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background: var(--paper-2);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	margin-top: 88px;
	padding: 44px 0;
}
.tz-slim-inner{
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	box-sizing: border-box;
}
.tz-slim h2{ font-size: 24px !important; margin: 0 !important; color: var(--ink); }
.tz-slim p{ margin: 6px 0 0; font-size: 14.5px; color: var(--ink-soft); }
.tz-slim a.tz-slim-cta{
	flex: 0 0 auto;
	border: 1px solid var(--ink);
	color: var(--ink);
	padding: 14px 26px;
	border-radius: var(--r);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .03em;
	transition: background .18s var(--ease), color .18s var(--ease);
	text-decoration: none;
}
.tz-slim a.tz-slim-cta:hover{ background: var(--ink); color: var(--paper); }

/* ---------- Product cards (related / upsells / shop grids) ---------- */
.woocommerce div.product .related,
.woocommerce div.product .up-sells,
.woocommerce div.product .upsells{ margin-top: 88px; }

.related > h2, .up-sells > h2, .upsells > h2{
	font-size: 28px !important;
	color: var(--ink);
	margin: 0 0 28px !important;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--line);
}

.woocommerce ul.products li.product{
	background: var(--paper-3);
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 16px;
	box-shadow: none;
	text-align: left !important;
	transition: border-color .18s var(--ease), background .18s var(--ease);
}
.woocommerce ul.products li.product:hover{ border-color: var(--ink); background: #fff; }
.woocommerce ul.products li.product a img{
	border-radius: 1px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin-bottom: 14px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
	font-family: 'Figtree', sans-serif !important;
	font-weight: 600 !important;
	color: var(--ink) !important;
	font-size: 14.5px !important;
	line-height: 1.45;
	margin: 0 0 10px !important;
	padding: 0 !important;
	text-align: left;
}
.woocommerce ul.products li.product .price{
	font-family: 'Figtree', sans-serif !important;
	font-weight: 600 !important;
	color: var(--ink) !important;
	font-size: 15px !important;
	display: block;
	text-align: left;
	margin-bottom: 12px;
}
.woocommerce ul.products li.product .price del{
	color: var(--ink-soft) !important;
	font-weight: 400;
	font-size: 13px;
	opacity: .75;
	margin-right: 6px;
}
.woocommerce ul.products li.product .price ins{ color: var(--ink) !important; text-decoration: none; }
/* Outranks an inline rule that forces WooCommerce green on sale prices
   (same selector + !important, so it needs one more element in the chain). */
html .woocommerce ul.products li.product .price ins,
html .woocommerce ul.products li.product .price ins bdi,
html .woocommerce div.product p.price ins,
html .woocommerce div.product p.price ins bdi{
	color: var(--ink) !important;
	text-decoration: none !important;
}
html .woocommerce ul.products li.product .price del,
html .woocommerce ul.products li.product .price del bdi{
	color: var(--ink-soft) !important;
}
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button{
	background: transparent !important;
	border: 1px solid var(--ink) !important;
	color: var(--ink) !important;
	font-family: 'Figtree', sans-serif !important;
	font-weight: 600 !important;
	font-size: 13.5px !important;
	padding: 12px 18px !important;
	border-radius: var(--r) !important;
	width: 100%;
	text-align: center;
	box-shadow: none !important;
	transition: background .18s var(--ease), color .18s var(--ease);
}
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover{
	background: var(--ink) !important;
	color: var(--paper) !important;
	border-color: var(--ink) !important;
}
.woocommerce ul.products li.product .onsale,
.woocommerce ul.products li.product .tz-sale-badge{
	position: absolute;
	top: 24px; left: 24px;
	background: var(--ink);
	color: var(--paper);
	font-size: 10px;
	letter-spacing: .12em;
	padding: 6px 11px;
}

/* Keep the photo filling its box (no letterboxing), so the bag icon below
   lands ON the photo instead of in empty centered space beside it.
   GeneratePress's hover-gallery wrapper (.wc-product-image /
   .inside-wc-product-image) is display:inline-block with no defined width,
   so it shrink-wraps to the image's intrinsic size — a percentage width on
   the <img> then has nothing real to resolve against. Give the wrapper an
   explicit block width first, then size the image inside it.
   Outranks .tezmy-inner ... a img{object-fit:contain} from tezmy-site.css. */
html .woocommerce ul.products li.product .wc-product-image,
html .woocommerce ul.products li.product .inside-wc-product-image{
	display: block !important;
	width: 100% !important;
}
html .woocommerce ul.products li.product a img,
html .tezmy-inner .woocommerce ul.products li.product a img{
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1 !important;
	object-fit: cover !important;
}

/* Small "Bag" icon, top-right of the image — replaces the site's legacy
   full-width hover "Buy Now" bar (position:absolute/bottom/opacity:0 on
   hover), which has no !important, so these !important overrides win. */
.woocommerce ul.products li.product a.button.tz-bag-btn,
.woocommerce ul.products li.product .button.tz-bag-btn,
.woocommerce-page ul.products li.product a.button.tz-bag-btn{
	position: absolute !important;
	top: 14px !important;
	right: 14px !important;
	left: auto !important;
	bottom: auto !important;
	width: 34px !important;
	height: 34px !important;
	min-width: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	color: transparent !important;
	font-size: 0 !important;
	line-height: 0 !important;
	white-space: nowrap;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	transform: none !important;
	transition: transform .15s var(--ease), opacity .15s var(--ease);
	z-index: 5;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
}
.woocommerce ul.products li.product .tz-bag-btn::before{
	content: "";
	width: 25px;
	height: 25px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M5 7h14l1 14H4L5 7Z'/><path d='M8 8V6a4 4 0 0 1 8 0v2'/></svg>");
	background-size: contain;
	background-repeat: no-repeat;
	display: block;
	filter: drop-shadow(0 1px 1px rgba(0,0,0,.55)) drop-shadow(0 1px 4px rgba(0,0,0,.35));
}
.woocommerce ul.products li.product .tz-bag-btn:hover{
	transform: scale(1.12) !important;
}
.woocommerce ul.products li.product .tz-bag-btn.added::before{
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6L9 17l-5-5'/></svg>");
}
/* WooCommerce's own post-add "View cart" link: keep it small and quiet. */
.woocommerce ul.products li.product a.added_to_cart{
	position: absolute !important;
	top: 12px !important;
	right: 52px !important;
	font-size: 10px !important;
	background: var(--paper-3);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 6px 10px !important;
	color: var(--ink-soft) !important;
	white-space: nowrap;
	z-index: 5;
}

/* ---------- Mobile sticky buy bar ---------- */
.tz-stickybar{
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 9990;
	background: var(--ink);
	border-top: 1px solid var(--line-dark);
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
	display: none;
	align-items: center;
	gap: 14px;
	transform: translateY(110%);
	transition: transform .28s var(--ease);
}
.tz-stickybar.is-visible{ transform: translateY(0); }
.tz-stickybar-price{
	flex: 1 1 auto;
	min-width: 0;
	color: var(--paper);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.2;
}
.tz-stickybar-price small{
	display: block;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
	opacity: .55;
	margin-bottom: 3px;
}
.tz-stickybar-price del{ font-size: 13px; opacity: .5; font-weight: 400; margin-left: 7px; }
.tz-stickybar button{
	flex: 0 0 auto;
	background: var(--brass);
	color: var(--ink);
	border: none;
	font-family: 'Figtree', sans-serif;
	font-weight: 600;
	font-size: 15px;
	letter-spacing: .03em;
	padding: 15px 28px;
	border-radius: var(--r);
	cursor: pointer;
	min-height: 48px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px){
	.woocommerce div.product{ column-gap: 44px; }
	.tz-band-inner{ grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
	.tz-band-item:nth-child(3){ padding-left: 0; border-left: none; }
	.tz-band-item{ padding: 0 22px; }
}

@media (max-width: 782px){
	.tz-hero{
		grid-template-columns: minmax(0, 1fr);
		column-gap: 0;
		row-gap: 0;
	}
	.woocommerce div.product div.images,
	.woocommerce div.product div.summary{ grid-column: 1; }

	.woocommerce .woocommerce-breadcrumb{
		margin-bottom: 18px !important;
		font-size: 10px !important;
		letter-spacing: .12em;
	}

	.woocommerce div.product div.images{ padding: 10px; }
	.woocommerce div.product div.images .flex-control-thumbs{ gap: 8px; margin-top: 10px !important; }
	.woocommerce div.product div.images .flex-control-thumbs li{ width: 74px !important; }
	.tz-sale-badge{ top: 10px; left: 10px; font-size: 10px; padding: 7px 11px; }

	.woocommerce div.product div.summary{
		position: static;
		margin-top: 28px !important;
	}
	.tz-eyebrow{ margin-bottom: 10px; font-size: 10px; }
	/* Title size is handled by the clamp() in the base rule. */
	.woocommerce div.product p.price,
	.woocommerce div.product span.price{ font-size: 26px !important; }
	.woocommerce div.product p.price del{ font-size: 15px; }
	.tz-saving{ margin-bottom: 18px; }

	.woocommerce div.product form.cart{ padding: 18px; }
	.woocommerce div.product form.cart .button,
	.woocommerce div.product .single_add_to_cart_button{
		padding: 18px 22px !important;
		font-size: 16px !important;
		min-height: 54px;
	}
	.tz-specs{ margin-top: 18px; }
	.tz-spec{ padding: 12px 0; }

	/* Bands stack into a clean list */
	.tz-band{ margin-top: 56px; padding: 44px 0; }
	.tz-band-inner{
		grid-template-columns: 1fr;
		row-gap: 0;
		padding: 0 20px;
	}
	.tz-band-item{
		padding: 24px 0 !important;
		border-left: none !important;
		border-top: 1px solid var(--line);
	}
	.tz-band-item:first-child{ border-top: none; padding-top: 0 !important; }
	.tz-band-item:last-child{ padding-bottom: 0 !important; }
	.tz-band h3{ font-size: 18px !important; margin: 12px 0 6px !important; }
	.tz-band p{ font-size: 14px; }

	.woocommerce div.product .woocommerce-tabs{ margin-top: 56px; }
	.woocommerce div.product .woocommerce-tabs ul.tabs li{ margin-right: 20px !important; }
	.woocommerce-Tabs-panel{ padding-top: 28px; }
	.woocommerce-Tabs-panel > p:first-of-type{ font-size: 16.5px; }
	.woocommerce-Tabs-panel p{ font-size: 16px; }
	.woocommerce-Tabs-panel ul:not(.tabs) li{ font-size: 16px; }
	.woocommerce-Tabs-panel h2,
	.woocommerce-Tabs-panel h3{
		font-size: 21px !important;
		margin: 34px 0 12px !important;
		padding-bottom: 11px;
	}
	.woocommerce-Tabs-panel ul:not(.tabs) li{ padding: 10px 0 10px 24px; }

	.tz-slim{ margin-top: 56px; padding: 32px 0; }
	.tz-slim-inner{
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
		padding: 0 20px;
	}
	.tz-slim h2{ font-size: 21px !important; }
	.tz-slim a.tz-slim-cta{ width: 100%; text-align: center; min-height: 48px; box-sizing: border-box; }

	.woocommerce div.product .related,
	.woocommerce div.product .up-sells,
	.woocommerce div.product .upsells{ margin-top: 56px; }
	.related > h2, .up-sells > h2, .upsells > h2{
		font-size: 22px !important;
		margin-bottom: 20px !important;
		padding-bottom: 12px;
	}
	.woocommerce ul.products li.product{ padding: 12px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title{ font-size: 14px !important; }

	/* Sticky bar on */
	.tz-stickybar{ display: flex; }
	body.single-product{ padding-bottom: 84px; }
}

@media (max-width: 420px){
	.woocommerce div.product p.price, .woocommerce div.product span.price{ font-size: 23px !important; }
	.tz-stickybar button{ padding: 15px 20px; font-size: 14.5px; }
	.tz-stickybar-price{ font-size: 16px; }
}

/* ==========================================================================
   Simplified catalog top section.
   - All Products (body.woocommerce-shop) and every product category archive
     (body.tax-product_cat): one centred title, then the products.
   - Categories directory (body.tezmy-categories-directory): same treatment
     for its own hero, plus the second "All categories" heading that repeated
     the page title.
   Hides the eyebrow, the side column (intro line + search box + "All
   categories" link) and the result count. The header search icon remains.
   ========================================================================== */
html body.woocommerce-shop .tc-hero .th-eyebrow,
html body.woocommerce-shop .tc-hero .tc-hero-side,
html body.woocommerce-shop .woocommerce-result-count,
html body.tax-product_cat .tc-hero .th-eyebrow,
html body.tax-product_cat .tc-hero .tc-hero-side,
html body.tax-product_cat .woocommerce-result-count,
html body.tezmy-categories-directory .tcd-hero .th-eyebrow,
html body.tezmy-categories-directory .tcd-hero .tcd-hero-copy,
html body.tezmy-categories-directory #tcd-title{
	display: none !important;
}
/* The heroes keep a large min-height and bottom-align the title, which left
   ~140px of empty space above it once the side column was hidden.
   Collapse them and centre the title. */
html body.woocommerce-shop .tc-hero,
html body.tax-product_cat .tc-hero,
html body.tezmy-categories-directory .tcd-hero{
	display: block !important;
	min-height: 0 !important;
	padding: 36px 60px 20px !important;
	text-align: center !important;
}
html body.woocommerce-shop .tc-hero h1,
html body.tax-product_cat .tc-hero h1,
html body.tezmy-categories-directory .tcd-hero h1{
	text-align: center !important;
	margin: 0 auto !important;
}
/* "Shop by<br><em>category.</em>" — keep it on one line. */
html body.tezmy-categories-directory .tcd-hero h1 br{ display: none; }
html body.tezmy-categories-directory .tcd-hero h1 em::before{ content: " "; }

html body.woocommerce-shop .tc-catalog,
html body.tax-product_cat .tc-catalog,
html body.tezmy-categories-directory .tcd-directory{
	padding-top: 8px !important;
}
@media (max-width: 782px){
	html body.woocommerce-shop .tc-hero,
	html body.tax-product_cat .tc-hero,
	html body.tezmy-categories-directory .tcd-hero{ padding: 26px 20px 12px !important; }
	html body.woocommerce-shop .tc-catalog,
	html body.tax-product_cat .tc-catalog,
	html body.tezmy-categories-directory .tcd-directory{ padding-top: 4px !important; }
}

/* Header bag: icon only. The link keeps aria-label="Shopping bag". */
html .th-cart > span{
	display: none !important;
}

/* Homepage: remove "Shop by category" (#collections) and "Search products"
   (the header already has search). Targeted by id, not position, because the
   sections were reordered. */
html body.home #collections,
html body.home .th-search-section{
	display: none !important;
}

/* tezmy-home.css gives `.th-feature-price > span:last-child` width:100%.
   WooCommerce appends a screen-reader "Current price is: …" span as that
   last child, so it became a viewport-wide absolute box offset to the right,
   widening the page by ~46px on phones. Restore screen-reader sizing. */
html .tezmy-home .th-feature-price > .screen-reader-text,
html .tezmy-home .th-price .screen-reader-text{
	width: 1px !important;
	height: 1px !important;
}

/* Homepage hero: "Ready when you are" copy on the left, the complete-bundle
   panel (books + price + View bundle) on the right. The panel is stacked —
   books on top, copy below — so it fits the half-width column. */
html body.home .th-hero-bundle{ min-width: 0; }
html body.home .th-hero-bundle .th-feature{ grid-template-columns: 1fr !important; }
@media (min-width: 601px){
	html body.home .th-hero-bundle .th-feature-art{ min-height: 262px !important; }
	html body.home .th-hero-bundle .th-feature-orbit{ width: 380px; height: 380px; left: -30px; top: 28px; }
	html body.home .th-hero-bundle .th-library-book{
		width: 150px; height: 204px; left: calc(50% - 75px); top: 34px; padding: 16px;
	}
	html body.home .th-hero-bundle .th-library-book strong{ font-size: 26px; margin-top: 20px; }
	html body.home .th-hero-bundle .th-library-book b{ font-size: 36px; right: 14px; bottom: 18px; }
	html body.home .th-hero-bundle .th-library-book > span,
	html body.home .th-hero-bundle .th-library-book small{ font-size: 5px; }
	html body.home .th-hero-bundle .th-library-book small{ bottom: 16px; }
	html body.home .th-hero-bundle .th-book-three{ transform: translate(46px,-10px) rotate(15deg); }
	html body.home .th-hero-bundle .th-book-two{ transform: translate(-40px,-2px) rotate(-15deg); }
	html body.home .th-hero-bundle .th-feature-copy{ padding: 6px 40px 38px !important; }
	html body.home .th-hero-bundle .th-feature h2{ font-size: clamp(30px,3vw,40px); margin-bottom: 14px; }
	html body.home .th-hero-bundle .th-feature-price{ margin: 16px 0 20px; }
}
@media (min-width: 601px) and (max-width: 800px){
	html body.home .th-hero-bundle .th-feature-copy{ padding: 4px 24px 30px !important; }
}

/* The "Ready to create / Make it yours" artwork now sits on its own just
   above "Common questions", as a full-width banner with the papers centred. */
html body.home .th-art-strip{ padding-top: 68px; }
@media (min-width: 601px){
	html body.home .th-art-strip .th-hero-art{ height: 430px; }
	html body.home .th-art-strip .th-orbit{ left: calc(50% - 280px); top: 40px; }
	html body.home .th-art-strip .th-orbit-two{ left: calc(50% - 215px); top: 105px; }
	html body.home .th-art-strip .th-art-paper-back{ left: calc(50% - 250px); top: 70px; }
	html body.home .th-art-strip .th-art-paper-front{ right: calc(50% - 255px); left: auto; top: 62px; }
	html body.home .th-art-strip .th-art-stamp{ right: calc(50% - 300px); top: 36px; }
}
@media (max-width: 600px){
	html body.home .th-art-strip{ padding-top: 45px; }
}

/* Header logo "tezmy" — a little smaller on every page (was 38px / 34px on phones). */
html .tezmy-home .th-logo{ font-size: 33px !important; letter-spacing: -2.2px !important; }
html .tezmy-home .th-logo span{ font-size: 22px !important; }
@media (max-width: 600px){
	html .tezmy-home .th-logo{ font-size: 30px !important; letter-spacing: -2px !important; }
	html .tezmy-home .th-logo span{ font-size: 20px !important; }
}

/* Footer brand — logo and "Useful digital products." a little smaller than the header. */
html .tezmy-home .th-footer-brand .th-logo{ font-size: 27px !important; letter-spacing: -1.8px !important; }
html .tezmy-home .th-footer-brand .th-logo span{ font-size: 18px !important; }
html .tezmy-home .th-footer-brand p{ font-size: 16px !important; line-height: 1.35 !important; }
@media (max-width: 600px){
	html .tezmy-home .th-footer-brand .th-logo{ font-size: 26px !important; }
	html .tezmy-home .th-footer-brand .th-logo span{ font-size: 17px !important; }
}

/* Product search results: smaller title, and the filter bar reads
   "By text: reels  [Clear All]" — no red ⊗ icon, Clear All after the label
   at the same text size, in the site's dark green. */
html body.search.woocommerce-shop h1{ font-size: clamp(34px, 3.2vw, 46px) !important; line-height: 1.08 !important; }
html body.search .woof_products_top_panel_ul{
	display: flex !important; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0; padding: 0;
}
html body.search .woof_products_top_panel_ul > li{ float: none !important; margin: 0 !important; list-style: none; }
html body.search .woof_products_top_panel_ul > li:has(.woof_reset_button_2){ order: 2; }
html body.search .woof_products_top_panel_ul .woof_remove_ppi{
	background: none !important; padding: 0 !important;
}
html body.search .woof_products_top_panel_ul li a[data-tax]{
	pointer-events: none; cursor: default; text-decoration: none !important;
	font-size: 15px !important; line-height: 34px !important; color: #243d32 !important;
}
html body.search .woof_products_top_panel_ul li a[data-tax] i{ font-style: normal; font-weight: 600; margin-left: 3px; }
html body.search .woof_reset_button_2{
	background: #243d32 !important; color: #f4f2e7 !important; border: 1px solid #243d32 !important;
	font-size: 15px !important; line-height: 1 !important; height: 34px !important; padding: 0 16px !important;
	border-radius: 0 !important; cursor: pointer; transition: background .2s;
}
html body.search .woof_reset_button_2:hover{ background: #395746 !important; border-color: #395746 !important; }
@media (max-width: 600px){
	html body.search.woocommerce-shop h1{ font-size: 30px !important; }
}
