/**
 * TemplatesPrime component styles.
 * Colors, fonts and spacing come from theme.json presets (editable in the Site Editor).
 * GENERATED from theme.src.css by tools/build-css.php. Edit the source file, then rebuild.
 */

/* ---------- Base ---------- */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

:where(a) {
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}

:focus-visible {
	outline: 3px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
	border-radius: 4px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

mark.tp-highlight {
	background: linear-gradient(transparent 62%, var(--wp--preset--color--accent-soft) 62%, var(--wp--preset--color--accent-soft) 92%, transparent 92%);
	color: var(--wp--preset--color--primary);
	padding: 0 0.08em;
}

img {
	height: auto;
}

/* ---------- Icons (mask-based, follow currentColor) ---------- */
.tp-ico::before,
.tp-feature__icon::before,
.tp-link-arrow a::after,
.is-style-tp-checklist li::before,
.tp-logo a::before {
	content: "";
	display: inline-block;
	flex: none;
	background-color: currentColor;
	-webkit-mask: var(--tp-icon) center / contain no-repeat;
	mask: var(--tp-icon) center / contain no-repeat;
}

.tp-ico-download { --tp-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203v12m0%200-4.5-4.5M12%2015l4.5-4.5%22%2F%3E%3Cpath%20d%3D%22M4%2017v2a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2v-2%22%2F%3E%3C%2Fsvg%3E"); }
.tp-ico-sheets { --tp-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223.5%22%20y%3D%223.5%22%20width%3D%2217%22%20height%3D%2217%22%20rx%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M3.5%209h17M3.5%2014.5h17M9.5%209v11.5%22%2F%3E%3C%2Fsvg%3E"); }
.tp-ico-sparkle { --tp-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203.5%2013.9%209l5.6%201.9-5.6%201.9L12%2018.5l-1.9-5.7L4.5%2011l5.6-1.9Z%22%2F%3E%3Cpath%20d%3D%22M19%203v3m-1.5-1.5h3%22%2F%3E%3C%2Fsvg%3E"); }
.tp-ico-infinity { --tp-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6.5%208.5c-2%200-3.5%201.6-3.5%203.5s1.5%203.5%203.5%203.5C10%2015.5%2014%208.5%2017.5%208.5c2%200%203.5%201.6%203.5%203.5s-1.5%203.5-3.5%203.5C14%2015.5%2010%208.5%206.5%208.5Z%22%2F%3E%3C%2Fsvg%3E"); }
.tp-ico-lock { --tp-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224.5%22%20y%3D%2210.5%22%20width%3D%2215%22%20height%3D%2210%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%2010.5V7.5a4%204%200%200%201%208%200v3%22%2F%3E%3C%2Fsvg%3E"); }
.tp-ico-shield { --tp-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203%205%206v5.5c0%204.3%203%208%207%209.5%204-1.5%207-5.2%207-9.5V6Z%22%2F%3E%3Cpath%20d%3D%22m9%2012%202.2%202.2L15.5%2010%22%2F%3E%3C%2Fsvg%3E"); }
.tp-ico-heart { --tp-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2020s-7.5-4.6-7.5-10A4.5%204.5%200%200%201%2012%207.4%204.5%204.5%200%200%201%2019.5%2010c0%205.4-7.5%2010-7.5%2010Z%22%2F%3E%3C%2Fsvg%3E"); }
.tp-ico-mail { --tp-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222.5%22%2F%3E%3Cpath%20d%3D%22m3.5%207%208.5%206%208.5-6%22%2F%3E%3C%2Fsvg%3E"); }

.tp-ico {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
}

.tp-ico::before {
	width: 1.15em;
	height: 1.15em;
	margin-top: 0.2em;
	color: var(--wp--preset--color--primary);
}

.tp-footer .tp-ico::before {
	color: currentColor;
}

/* ---------- Header ---------- */
.tp-site-header {
	position: sticky;
	top: 0;
	/* Above WooCommerce gallery controls (zoom trigger uses z-index 99). */
	z-index: 1000;
}

.admin-bar .tp-site-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

@media (max-width: 600px) {
	.admin-bar .tp-site-header {
		top: 0;
	}
}

.tp-header {
	background-color: color-mix(in srgb, var(--wp--preset--color--surface) 92%, transparent);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.tp-header__inner {
	gap: 1rem;
	min-height: 48px;
}

.tp-logo a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	--tp-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223.5%22%20y%3D%223.5%22%20width%3D%2217%22%20height%3D%2217%22%20rx%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M3.5%209h17M3.5%2014.5h17M9.5%209v11.5%22%2F%3E%3C%2Fsvg%3E");
}

.tp-logo a::before {
	width: 1.5rem;
	height: 1.5rem;
	color: var(--wp--preset--color--primary);
}

.tp-logo--light a,
.tp-logo--light a::before {
	color: #FFFFFF;
}

.tp-primary-nav {
	flex: 1 1 auto;
}

.tp-primary-nav .wp-block-navigation-item__content {
	padding: 0.35rem 0;
	border-bottom: 2px solid transparent;
}

.tp-primary-nav .current-menu-item > .wp-block-navigation-item__content,
.tp-primary-nav .wp-block-navigation-item__content[aria-current="page"] {
	color: var(--wp--preset--color--primary);
	border-bottom-color: var(--wp--preset--color--primary);
}

.tp-header__actions {
	flex: none;
}

.tp-header__actions .wp-block-search__button,
.tp-header__actions .wc-block-customer-account a,
.tp-header__actions .wc-block-mini-cart__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0.5rem;
	border-radius: var(--wp--custom--radius--small);
	background: transparent;
	color: var(--wp--preset--color--contrast);
	box-shadow: none;
}

.tp-header__actions .wp-block-search__button:hover,
.tp-header__actions .wc-block-customer-account a:hover,
.tp-header__actions .wc-block-mini-cart__button:hover {
	background: var(--wp--preset--color--mint);
	color: var(--wp--preset--color--primary);
}

.tp-header__actions .wp-block-search__button svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.tp-header-search .wp-block-search__inside-wrapper {
	border: 0;
	padding: 0;
}

.tp-header-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--small);
	padding: 0.6rem 0.8rem;
	min-width: 14rem;
	background: var(--wp--preset--color--surface);
}

.wc-block-mini-cart__badge {
	background-color: var(--wp--preset--color--accent) !important;
	color: var(--wp--preset--color--contrast) !important;
	font-weight: 700;
}

.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	min-width: 44px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 2rem;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	font-size: 1.25rem;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
}

@media (max-width: 599px) {
	/* Mobile: logo left, actions + hamburger right. */
	.tp-header__inner {
		gap: 0.25rem;
	}
	.tp-logo {
		margin-right: auto;
	}
	.tp-primary-nav {
		flex: none;
		order: 3;
	}
	.tp-header__actions {
		order: 2;
	}
	.tp-header__actions .wc-block-customer-account {
		display: none;
	}
	.tp-header-search:not(.wp-block-search__searchfield-hidden) {
		position: absolute;
		left: 1rem;
		right: 1rem;
		top: 100%;
		background: var(--wp--preset--color--surface);
		padding: 0.75rem;
		border-radius: var(--wp--custom--radius--small);
		box-shadow: var(--wp--preset--shadow--lift);
	}
	.tp-header-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input {
		min-width: 0;
		width: 100%;
	}
}

.tp-announcement p {
	margin: 0;
	letter-spacing: 0.01em;
}

/* ---------- Typography helpers & block styles ---------- */
.is-style-tp-eyebrow {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary);
}

.is-style-tp-badge {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	width: fit-content;
	margin: 0;
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	line-height: 1.3;
	background: var(--wp--preset--color--mint);
	color: var(--wp--preset--color--primary-dark);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--primary) 20%, transparent);
}

.has-text-align-center.is-style-tp-badge {
	margin-left: auto;
	margin-right: auto;
}

.is-style-tp-badge.tp-badge--accent {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--contrast);
	border-color: transparent;
}

.is-style-tp-badge.tp-badge--dark {
	background: rgba(255, 255, 255, 0.08);
	color: #D1E7E3;
	border-color: rgba(255, 255, 255, 0.14);
}

.is-style-tp-badge.tp-badge--excel::before,
.is-style-tp-badge.tp-badge--sheets::before {
	content: "";
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 2px;
	background: #1D6F42;
}

.is-style-tp-badge.tp-badge--sheets::before {
	background: #0F9D58;
}

ul.is-style-tp-checklist {
	list-style: none;
	padding-left: 0;
	display: grid;
	gap: 0.5rem;
}

.is-style-tp-checklist li {
	display: flex;
	gap: 0.55rem;
	align-items: flex-start;
	--tp-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m5%2012.5%204.5%204.5L19%207.5%22%2F%3E%3C%2Fsvg%3E");
}

.is-style-tp-checklist li::before {
	width: 1.2em;
	height: 1.2em;
	margin-top: 0.15em;
	color: var(--wp--preset--color--primary);
}

.tp-hero__checks {
	display: flex !important;
	flex-wrap: wrap;
	gap: 0.4rem 1.1rem !important;
	margin-top: 1rem;
	font-weight: 600;
}

.tp-link-arrow {
	margin: 0;
}

.tp-link-arrow a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-weight: 700;
	text-decoration: none;
	--tp-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2012h14m-5-5%205%205-5%205%22%2F%3E%3C%2Fsvg%3E");
}

.tp-link-arrow a::after {
	width: 1.1em;
	height: 1.1em;
	transition: transform 0.2s ease;
}

.tp-link-arrow a:hover::after {
	transform: translateX(3px);
}

/* Cards */
.is-style-tp-card {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--medium);
	box-shadow: var(--wp--preset--shadow--soft);
	padding: var(--wp--preset--spacing--30);
}

/* Spreadsheet grid background */
.is-style-tp-grid-bg {
	position: relative;
	isolation: isolate;
}

.is-style-tp-grid-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image:
		linear-gradient(to right, rgba(15, 118, 110, 0.07) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(15, 118, 110, 0.07) 1px, transparent 1px);
	background-size: 88px 30px;
	-webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
	border-radius: inherit;
}

.tp-newsletter.is-style-tp-grid-bg::before {
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
}

/* ---------- Sections ---------- */
.tp-section-head {
	gap: 1rem;
}

.tp-section-head h2 {
	margin: 0;
}

.tp-section-head--center {
	text-align: center;
}

.tp-hero h1 {
	margin-top: 0.5rem;
	margin-bottom: 0.75rem;
}

.tp-hero .wp-block-column > * + * {
	margin-block-start: 1rem;
}

.tp-hero__image img {
	max-height: 420px;
	object-fit: contain;
}

.tp-hero__image {
	margin: 0;
}

.tp-hero__image img {
	display: block;
	width: 100%;
}

.tp-btn-lg .wp-block-button__link {
	padding: 1rem 1.75rem;
	font-size: 1.0625rem;
}

.tp-btn-lg.is-style-outline .wp-block-button__link {
	padding: calc(1rem - 2px) calc(1.75rem - 2px);
}

@media (max-width: 599px) {
	.tp-hero .wp-block-buttons,
	.tp-hero .wp-block-button {
		width: 100%;
	}
	.tp-hero .wp-block-button__link {
		width: 100%;
	}
}

/* Feature cards */
.tp-feature {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tp-feature:hover {
	transform: translateY(-3px);
	box-shadow: var(--wp--preset--shadow--lift);
}

.tp-feature h3 {
	margin: 0.25rem 0 0;
}

.tp-feature p {
	margin: 0;
}

.tp-feature__icon {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	margin: 0 0 0.25rem !important;
	border-radius: 12px;
	background: var(--wp--preset--color--mint);
	color: var(--wp--preset--color--primary);
}

.tp-feature__icon::before {
	width: 1.6rem;
	height: 1.6rem;
}

/* Steps */
.tp-steps {
	counter-reset: tp-step;
}

.tp-step {
	position: relative;
	padding: var(--wp--preset--spacing--30);
	border-radius: var(--wp--custom--radius--medium);
	border: 1px dashed color-mix(in srgb, var(--wp--preset--color--primary) 35%, transparent);
	background: var(--wp--preset--color--surface);
}

.tp-step h3,
.tp-step p {
	margin: 0;
}

.tp-step__num {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	margin: 0 !important;
	border-radius: 999px;
	background: var(--wp--preset--color--primary);
	color: #FFFFFF;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800;
	font-size: 1.15rem;
}

/* Category cards */
.tp-cat-grid {
	list-style: none;
	margin: var(--wp--preset--spacing--30) 0 0;
	padding: 0;
	display: grid;
	gap: var(--wp--preset--spacing--20);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr));
	max-width: var(--wp--style--global--wide-size);
	margin-left: auto !important;
	margin-right: auto !important;
}

.tp-cat-card a {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--medium);
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	box-shadow: var(--wp--preset--shadow--soft);
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tp-cat-card a:hover {
	transform: translateY(-4px);
	box-shadow: var(--wp--preset--shadow--lift);
}

.tp-cat-card__img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: var(--wp--preset--color--mint);
}

.tp-cat-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1rem 1.1rem 1.2rem;
	flex: 1;
}

.tp-cat-card__title {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800;
	font-size: 1.1rem;
	line-height: 1.25;
}

.tp-cat-card__desc {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
}

.tp-cat-card__meta {
	margin-top: auto;
	padding-top: 0.35rem;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--wp--preset--color--primary);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--small);
}

/* Testimonials */
.tp-testimonial p {
	margin: 0;
}

.tp-stars {
	height: 1.1rem;
	width: 6rem;
	background-color: var(--wp--preset--color--accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%203.5%202.6%205.3%205.9.9-4.3%204.1%201%205.8-5.2-2.7-5.2%202.7%201-5.8L3.5%209.7l5.9-.9Z%22%20fill%3D%22%23000%22%20stroke%3D%22none%22%2F%3E%3C%2Fsvg%3E") left center / 1.2rem 1.1rem repeat-x;
	mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%203.5%202.6%205.3%205.9.9-4.3%204.1%201%205.8-5.2-2.7-5.2%202.7%201-5.8L3.5%209.7l5.9-.9Z%22%20fill%3D%22%23000%22%20stroke%3D%22none%22%2F%3E%3C%2Fsvg%3E") left center / 1.2rem 1.1rem repeat-x;
}

.tp-testimonial__author {
	margin-top: auto !important;
	padding-top: 0.75rem;
	border-top: 1px solid var(--wp--preset--color--border);
	color: var(--wp--preset--color--muted);
}

.tp-placeholder-note {
	display: inline-block;
	width: fit-content;
	margin: 0.5rem auto 0 !important;
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	background: var(--wp--preset--color--accent-soft);
	color: #92400E;
	font-weight: 600;
}

/* FAQ accordion */
.tp-faq-list,
.tp-product-faq {
	border-top: 1px solid var(--wp--preset--color--border);
}

.tp-product-faq > h2 {
	border: 0;
}

.tp-product-faq {
	border-top: 0;
}

.is-style-tp-faq {
	margin: 0 !important;
}

.is-style-tp-faq summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding-right: 2.5rem;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 1.075rem;
	line-height: 1.4;
}

.is-style-tp-faq summary::-webkit-details-marker {
	display: none;
}

.is-style-tp-faq summary::after {
	content: "";
	position: absolute;
	right: 0.25rem;
	top: 50%;
	width: 1.75rem;
	height: 1.75rem;
	margin-top: -0.875rem;
	border-radius: 999px;
	background: var(--wp--preset--color--mint) center / 0.9rem no-repeat;
	background-image:
		linear-gradient(var(--wp--preset--color--primary), var(--wp--preset--color--primary)),
		linear-gradient(var(--wp--preset--color--primary), var(--wp--preset--color--primary));
	background-size: 0.8rem 2px, 2px 0.8rem;
	background-position: center;
	background-repeat: no-repeat;
	transition: transform 0.2s ease;
}

.is-style-tp-faq[open] summary::after {
	background-size: 0.8rem 2px, 0 0;
	transform: rotate(180deg);
}

.is-style-tp-faq summary:hover {
	color: var(--wp--preset--color--primary);
}

.is-style-tp-faq > :not(summary) {
	margin-top: 0.6rem;
	margin-bottom: 0;
}

/* Bundle */
.tp-bundle h2 {
	margin-top: 0.4rem;
}

.tp-bundle__price {
	margin: 0.25rem 0 1rem;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800;
	color: var(--wp--preset--color--primary-dark);
}

.tp-bundle__price del {
	font-size: 0.6em;
	font-weight: 600;
	color: var(--wp--preset--color--muted);
	margin-right: 0.35rem;
}

.tp-bundle__price ins {
	text-decoration: none;
}

/* Newsletter */
.tp-newsletter h2 {
	margin-top: 0.75rem;
}

.tp-form {
	display: grid;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.tp-form--inline {
	grid-template-columns: 1fr;
}

@media (min-width: 600px) {
	.tp-form--inline {
		grid-template-columns: 1fr auto;
	}
}

.tp-form label {
	display: block;
	margin-bottom: 0.3rem;
	font-weight: 600;
	font-size: var(--wp--preset--font-size--small);
}

.tp-form input[type="email"],
.tp-form input[type="text"],
.tp-form select,
.tp-form textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 48px;
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--small);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
	font: inherit;
}

.tp-form textarea {
	min-height: 150px;
	resize: vertical;
}

.tp-form input:focus,
.tp-form select:focus,
.tp-form textarea:focus {
	outline: 3px solid color-mix(in srgb, var(--wp--preset--color--primary) 30%, transparent);
	border-color: var(--wp--preset--color--primary);
}

.tp-form button {
	min-height: 48px;
	cursor: pointer;
}

.tp-newsletter .tp-form button {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--contrast);
}

.tp-newsletter .tp-form button:hover {
	background: #FBBF24;
	color: var(--wp--preset--color--contrast);
}

.tp-form__note {
	margin: 0;
	font-size: var(--wp--preset--font-size--x-small);
	opacity: 0.85;
}

.tp-form__hp {
	position: absolute !important;
	left: -9999px;
}

.tp-notice {
	margin-top: 1rem;
	padding: 0.9rem 1rem;
	border-radius: var(--wp--custom--radius--small);
	background: var(--wp--preset--color--mint);
	color: var(--wp--preset--color--primary-dark);
	font-weight: 600;
}

.tp-notice--error {
	background: #FEE2E2;
	color: #991B1B;
}

.tp-notice code {
	background: var(--wp--preset--color--accent-soft);
	color: var(--wp--preset--color--contrast);
	padding: 0.1rem 0.4rem;
	border-radius: 6px;
	font-weight: 800;
}

/* ---------- Shop ---------- */
.tp-page-header .wp-block-query-title,
.tp-page-header .wp-block-post-title {
	margin-top: 0.5rem;
}

.tp-page-header .wp-block-term-description p,
.tp-page-header .wp-block-post-excerpt__excerpt {
	margin: 0;
}

.tp-shop-header .wp-block-term-description {
	max-width: 640px;
}

.woocommerce-breadcrumb,
.wc-block-breadcrumbs {
	color: var(--wp--preset--color--muted);
}

.wc-block-breadcrumbs a,
.woocommerce-breadcrumb a {
	color: var(--wp--preset--color--muted);
	text-decoration: none;
}

.tp-category-nav ul {
	display: flex;
	gap: 0.5rem;
	margin: 0;
	padding: 0 0 0.25rem;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.tp-category-nav ul::-webkit-scrollbar {
	display: none;
}

@media (min-width: 782px) {
	.tp-category-nav ul {
		flex-wrap: wrap;
		overflow: visible;
	}
}

.tp-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	white-space: nowrap;
	min-height: 44px;
	box-sizing: border-box;
	padding: 0.55rem 1rem;
	border-radius: 999px;
	border: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--small);
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.tp-pill:hover {
	border-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
}

.tp-pill.is-active {
	background: var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--primary);
	color: #FFFFFF;
}

.tp-pill__count {
	display: inline-grid;
	place-items: center;
	min-width: 1.5rem;
	height: 1.5rem;
	padding: 0 0.35rem;
	border-radius: 999px;
	background: var(--wp--preset--color--mint);
	color: var(--wp--preset--color--primary-dark);
	font-size: 0.75rem;
	font-weight: 700;
}

.tp-pill.is-active .tp-pill__count {
	background: rgba(255, 255, 255, 0.2);
	color: #FFFFFF;
}

.tp-shop-toolbar {
	margin-top: var(--wp--preset--spacing--20);
}

.tp-shop-toolbar p,
.tp-shop-toolbar .woocommerce-result-count {
	margin: 0;
	color: var(--wp--preset--color--muted);
}

.tp-shop-toolbar select {
	min-height: 44px;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--small);
	background-color: var(--wp--preset--color--surface);
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
}

/* Product cards */
.tp-products .wc-block-product-template {
	gap: var(--wp--preset--spacing--20) !important;
}

@media (max-width: 599px) {
	.tp-products .wc-block-product-template.is-flex-container,
	.tp-products .wc-block-product-template.is-product-collection-layout-flex {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem !important;
	}
	.tp-products .wc-block-product-template > li {
		width: auto !important;
		margin: 0 !important;
	}
}

.tp-products .wc-block-product {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--medium);
	box-shadow: var(--wp--preset--shadow--soft);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tp-products .wc-block-product:hover {
	transform: translateY(-4px);
	box-shadow: var(--wp--preset--shadow--lift);
}

.tp-products .wc-block-components-product-image {
	margin: 0 !important;
	background: var(--wp--preset--color--mint);
}

.tp-products .wc-block-components-product-image img {
	border-radius: 0;
	transition: transform 0.35s ease;
}

.tp-products .wc-block-product:hover .wc-block-components-product-image img {
	transform: scale(1.03);
}

.tp-card-body {
	flex: 1;
	padding: 0.9rem 1rem 1rem;
}

.tp-card-body > * {
	margin: 0 !important;
}

/* Show only the primary category on cards. */
.tp-card-cat a ~ a,
.tp-card-cat .wp-block-post-terms__separator {
	display: none;
}

.tp-card-cat,
.tp-card-cat a {
	color: var(--wp--preset--color--primary);
	text-decoration: none;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.tp-card-title a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tp-card-body .wc-block-components-product-price {
	font-weight: 800;
	color: var(--wp--preset--color--contrast);
}

.wc-block-components-product-price del {
	color: var(--wp--preset--color--muted);
	font-weight: 500;
	font-size: 0.85em;
}

.wc-block-components-product-price ins {
	text-decoration: none;
}

.tp-card-body .tp-card-button {
	margin-top: auto !important;
	padding-top: 0.5rem;
	width: 100%;
	align-items: stretch;
}

.tp-card-button .wp-block-button__link,
.tp-card-button .wc-block-components-product-button__button {
	width: 100%;
	justify-content: center;
	padding: 0.7rem 1rem;
	box-shadow: none;
	font-size: var(--wp--preset--font-size--small);
}

.tp-card-button .added_to_cart {
	display: block;
	margin-top: 0.4rem;
	text-align: center;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}

.wc-block-components-product-sale-badge,
.wc-block-components-product-image .wc-block-components-product-sale-badge {
	margin: 0.75rem !important;
	padding: 0.25rem 0.6rem;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--contrast);
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

@media (max-width: 599px) {
	.tp-card-body {
		padding: 0.7rem 0.75rem 0.8rem;
	}
	.tp-card-title {
		font-size: 0.95rem !important;
	}
	.tp-card-cat {
		display: none;
	}
}

/* ---------- Single product ---------- */
.tp-product-gallery .woocommerce-product-gallery {
	margin: 0;
}

.tp-product-gallery .woocommerce-product-gallery__wrapper img,
.tp-product-gallery .flex-viewport {
	border-radius: var(--wp--custom--radius--medium);
}

.tp-product-gallery .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.6rem;
	margin-top: 0.75rem !important;
	padding: 0;
	list-style: none;
}

.tp-product-gallery .flex-control-thumbs li {
	width: auto !important;
	margin: 0 !important;
}

.tp-product-gallery .flex-control-thumbs img {
	border-radius: 10px;
	border: 2px solid transparent;
	opacity: 0.7;
	cursor: pointer;
	transition: opacity 0.15s ease, border-color 0.15s ease;
}

.tp-product-gallery .flex-control-thumbs img.flex-active,
.tp-product-gallery .flex-control-thumbs img:hover {
	opacity: 1;
	border-color: var(--wp--preset--color--primary);
}

.tp-product-gallery .woocommerce-product-gallery__trigger {
	top: 1rem;
	right: 1rem;
}

@media (min-width: 782px) {
	.tp-product-summary {
		position: sticky;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 96px);
		align-self: flex-start;
	}
}

.tp-product-summary > * {
	margin-top: 0 !important;
	margin-bottom: 1rem !important;
}

.tp-product-summary h1 {
	margin-bottom: 0.5rem !important;
}

.tp-single-price {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800;
	color: var(--wp--preset--color--primary-dark);
}

.tp-single-excerpt,
.tp-single-excerpt p {
	color: var(--wp--preset--color--muted);
}

.tp-single-excerpt p {
	margin: 0 0 0.75rem;
}

.tp-single-excerpt li {
	color: var(--wp--preset--color--contrast);
	font-weight: 500;
}

.woocommerce .tp-product-gallery .wp-block-woocommerce-product-image-gallery span.onsale,
.tp-product-gallery .onsale {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 9;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--contrast);
	font-size: 0.8rem;
	font-weight: 800;
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.tp-product-gallery {
	position: relative;
}

.tp-add-to-cart form.cart {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 0;
}

.tp-add-to-cart .quantity {
	display: none;
}

.tp-add-to-cart .single_add_to_cart_button,
.tp-add-to-cart button[type="submit"] {
	width: 100%;
	min-height: 56px;
	padding: 1rem 1.5rem;
	border: 0;
	border-radius: var(--wp--custom--radius--small);
	background: var(--wp--preset--color--primary);
	color: #FFFFFF;
	box-shadow: var(--wp--preset--shadow--button);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.1rem;
	font-weight: 800;
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.tp-add-to-cart .single_add_to_cart_button:hover,
.tp-add-to-cart button[type="submit"]:hover {
	background: var(--wp--preset--color--primary-dark);
	transform: translateY(-1px);
}

.tp-trust p {
	margin: 0;
}

.tp-product-description {
	font-size: 1.0625rem;
}

.tp-product-description h2 {
	font-size: var(--wp--preset--font-size--x-large);
	margin-top: var(--wp--preset--spacing--40);
}

.tp-product-description h2:first-child {
	margin-top: 0;
}

.tp-product-description ul,
.tp-single-excerpt ul {
	list-style: none;
	padding-left: 0;
	display: grid;
	gap: 0.5rem;
}

.tp-product-description ul li,
.tp-single-excerpt ul li {
	position: relative;
	padding-left: 1.75rem;
}

.tp-product-description ul li::before,
.tp-single-excerpt ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.25em;
	width: 1.15em;
	height: 1.15em;
	background-color: var(--wp--preset--color--primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m5%2012.5%204.5%204.5L19%207.5%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m5%2012.5%204.5%204.5L19%207.5%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}

.tp-compat {
	border-top: 4px solid var(--wp--preset--color--primary) !important;
}

.tp-compat--excel {
	border-top-color: #1D6F42 !important;
}

.tp-compat--sheets {
	border-top-color: #0F9D58 !important;
}

.tp-compat--devices {
	border-top-color: var(--wp--preset--color--accent) !important;
}

.tp-compat h3,
.tp-compat p {
	margin: 0;
}

/* ---------- Cart & checkout ---------- */
.tp-cart-page .wc-block-cart,
.tp-checkout-page .wc-block-checkout {
	margin-top: var(--wp--preset--spacing--20);
}

.wc-block-components-sidebar-layout .wc-block-components-sidebar .wc-block-components-totals-wrapper,
.wp-block-woocommerce-checkout-order-summary-block,
.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block {
	border-color: var(--wp--preset--color--border);
}

.wc-block-cart__sidebar,
.wc-block-checkout__sidebar {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--medium);
	padding: var(--wp--preset--spacing--20) !important;
	box-shadow: var(--wp--preset--shadow--soft);
}

.wc-block-components-button:not(.is-link) {
	border-radius: var(--wp--custom--radius--small);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800;
}

.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	min-height: 56px;
	font-size: 1.1rem !important;
}

.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-blocks-components-select .wc-blocks-components-select__select {
	border-radius: var(--wp--custom--radius--small) !important;
}

.tp-header--checkout .tp-secure-badge {
	margin: 0;
}

.tp-checkout-footer p {
	margin: 0;
}

/* ---------- Pages ---------- */
.tp-page-header .wp-block-post-title {
	margin-bottom: 0.5rem;
}

.tp-legal {
	font-size: 1.0625rem;
}

.tp-legal h2 {
	font-size: var(--wp--preset--font-size--large);
	margin-top: var(--wp--preset--spacing--40);
}

.tp-legal .tp-legal-note {
	padding: 1rem 1.25rem;
	border-radius: var(--wp--custom--radius--small);
	background: var(--wp--preset--color--accent-soft);
	color: #78350F;
	font-size: var(--wp--preset--font-size--small);
}

.tp-post-card .wp-block-post-title,
.tp-post-card p {
	margin: 0;
}

/* ---------- Footer ---------- */
.tp-footer .wp-block-site-title {
	margin-bottom: 0.75rem;
}

.tp-footer__title {
	margin: 0 0 0.75rem;
	color: #FFFFFF;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.8rem !important;
}

.tp-footer__links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.55rem;
}

.tp-footer__links a {
	text-decoration: none;
}

.tp-footer__links a:hover {
	text-decoration: underline;
}

.tp-footer__sep {
	width: 100%;
	max-width: var(--wp--style--global--wide-size) !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
	background: rgba(255, 255, 255, 0.12) !important;
	opacity: 1;
}

.tp-footer p {
	margin: 0;
}

.tp-footer .wp-block-column > * + * {
	margin-top: 0.75rem;
}

@media (max-width: 781px) {
	.tp-footer .wp-block-columns {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
	}
	.tp-footer .wp-block-column:first-child {
		grid-column: 1 / -1;
	}
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto !important;
	}
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

/* ---------- Product card hover: second image + Quick View / Buy Now ---------- */
.tp-products .wc-block-product {
	container-type: inline-size;
}

.tp-products .wc-block-components-product-image {
	position: relative;
}

.tp-products .wc-block-components-product-image > a {
	position: relative;
	display: block;
}

.tp-card-hover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.35s ease, transform 0.35s ease;
	pointer-events: none;
}

.tp-card-actions {
	position: absolute;
	left: 0.75rem;
	right: 0.75rem;
	bottom: 0.75rem;
	z-index: 3;
	display: flex;
	gap: 0.5rem;
}

.tp-card-actions .tp-card-action,
.wc-block-components-product-image .tp-card-actions a.tp-card-action {
	box-sizing: border-box;
	min-width: 0;
	flex: 1 1 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 44px;
	padding: 0.5rem 0.75rem;
	border: 0;
	border-radius: var(--wp--custom--radius--small);
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.tp-quickview {
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
}

.tp-quickview:hover,
.tp-quickview:focus-visible {
	background: var(--wp--preset--color--mint);
	color: var(--wp--preset--color--primary-dark);
}

.tp-card-actions a.tp-buynow,
.tp-card-actions a.tp-buynow:visited {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--contrast);
}

.tp-card-actions a.tp-buynow:hover,
.tp-card-actions a.tp-buynow:focus-visible {
	background: #FBBF24;
	color: var(--wp--preset--color--contrast);
}

/* Narrow cards: icon-only Quick View so both buttons fit. */
@container (max-width: 230px) {
	.tp-card-actions .tp-quickview .tp-card-action__label {
		display: none;
	}
	.tp-card-actions .tp-quickview {
		flex: none;
		width: 44px;
		padding: 0;
	}
}

/* Desktop / mouse: reveal on hover or keyboard focus. */
@media (hover: hover) and (pointer: fine) {
	.tp-card-actions {
		opacity: 0;
		transform: translateY(10px);
		pointer-events: none;
		transition: opacity 0.2s ease, transform 0.2s ease;
	}

	.wc-block-product:hover .tp-card-actions,
	.wc-block-product:focus-within .tp-card-actions {
		opacity: 1;
		transform: none;
		pointer-events: auto;
	}

	.wc-block-product:hover .tp-card-hover-img {
		opacity: 1;
	}

	.tp-products .wc-block-product:hover .wc-block-components-product-image img {
		transform: none;
	}
}

/* Touch: no hover, so show a compact Quick View icon; Buy Now lives on the product page. */
@media (hover: none), (pointer: coarse) {
	.tp-card-hover-img,
	.tp-buynow {
		display: none !important;
	}

	.tp-card-actions {
		left: auto;
		right: 0.5rem;
		top: 0.5rem;
		bottom: auto;
	}

	.tp-card-actions .tp-quickview {
		flex: none;
		width: 44px;
		padding: 0;
		border-radius: 999px;
	}

	.tp-card-actions .tp-quickview .tp-card-action__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

/* ---------- Quick View dialog ---------- */
html.tp-qv-open {
	overflow: hidden;
}

.tp-qv {
	width: min(920px, calc(100vw - 2rem));
	max-height: calc(100vh - 2rem);
	max-height: calc(100dvh - 2rem);
	padding: 0;
	border: 0;
	border-radius: var(--wp--custom--radius--large);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
	box-shadow: 0 30px 80px rgba(11, 31, 29, 0.35);
	overflow: auto;
}

.tp-qv::backdrop {
	background: rgba(11, 31, 29, 0.55);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}

.tp-qv[open] {
	animation: tp-qv-in 0.2s ease-out;
}

@keyframes tp-qv-in {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.tp-qv__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
	box-shadow: var(--wp--preset--shadow--soft);
	cursor: pointer;
}

.tp-qv__close:hover {
	background: var(--wp--preset--color--mint);
}

.tp-qv__body {
	padding: clamp(1rem, 3vw, 2rem);
}

.tp-qv__loading,
.tp-qv__error {
	margin: 3rem 0;
	text-align: center;
	color: var(--wp--preset--color--muted);
}

.tp-qv__grid {
	display: grid;
	gap: clamp(1.25rem, 3vw, 2.25rem);
	grid-template-columns: 1fr;
}

@media (max-width: 639px) {
	.tp-qv__media {
		max-width: 320px;
		margin: 0 auto;
	}
}

@media (min-width: 640px) {
	.tp-qv__grid {
		grid-template-columns: 1.05fr 1fr;
		align-items: start;
	}
}

.tp-qv__media {
	position: relative;
}

.tp-qv__image {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--medium);
	background: var(--wp--preset--color--mint);
}

.tp-qv__sale {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--contrast);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tp-qv__thumbs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.5rem;
	margin-top: 0.6rem;
}

.tp-qv__thumb {
	padding: 0;
	border: 2px solid transparent;
	border-radius: 10px;
	background: none;
	overflow: hidden;
	opacity: 0.7;
	cursor: pointer;
}

.tp-qv__thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.tp-qv__thumb.is-active,
.tp-qv__thumb:hover {
	border-color: var(--wp--preset--color--primary);
	opacity: 1;
}

.tp-qv__info {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding-right: 2.5rem;
}

@media (max-width: 639px) {
	.tp-qv__info {
		padding-right: 0;
	}
}

.tp-qv__cat {
	color: var(--wp--preset--color--primary);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
}

.tp-qv__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--x-large);
	outline: none;
}

.tp-qv__price {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--wp--preset--color--primary-dark);
}

.tp-qv__price del {
	margin-right: 0.35rem;
	font-size: 0.7em;
	font-weight: 600;
	color: var(--wp--preset--color--muted);
}

.tp-qv__price ins {
	text-decoration: none;
}

.tp-qv__desc {
	color: var(--wp--preset--color--muted);
}

.tp-qv__desc p {
	margin: 0 0 0.6rem;
}

.tp-qv__desc ul {
	display: grid;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tp-qv__desc li {
	position: relative;
	padding-left: 1.6rem;
	color: var(--wp--preset--color--contrast);
	font-weight: 500;
}

.tp-qv__desc li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.25em;
	width: 1.1em;
	height: 1.1em;
	background-color: var(--wp--preset--color--primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m5%2012.5%204.5%204.5L19%207.5%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m5%2012.5%204.5%204.5L19%207.5%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}

.tp-qv__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tp-qv__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	background: var(--wp--preset--color--mint);
	color: var(--wp--preset--color--primary-dark);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
}

.tp-qv__badge--excel::before,
.tp-qv__badge--sheets::before {
	content: "";
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 2px;
	background: #1D6F42;
}

.tp-qv__badge--sheets::before {
	background: #0F9D58;
}

.tp-qv__actions {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	margin-top: 0.5rem;
}

.tp-qv__buy {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	text-align: center;
	text-decoration: none;
	font-size: 1.05rem;
}

.tp-qv__details {
	align-self: center;
	font-weight: 700;
}
