/* =========================================================================
   Terzianne theme — layout + component CSS.
   Design tokens (fonts, colours, sizes, buttons) live in theme.json:
   --wp--preset--color--{ink,body,muted,line,silver,surface,white}  (logo colours: black / white / silver)
   --wp--preset--color--{cream,linen,sand}                          (warm section backgrounds, card borders)
   Sections: a full-width Group with .tz-section + a palette background (editable in the block sidebar).
   Components are class-based (.tz-product-cards, .tz-one-row, .tz-chip, .tz-reviews) so any pattern can reuse them.
   --wp--preset--font-size--{xs,sm,base,md,h4,h3,h2,h1,display}
   ========================================================================= */

:root {
	--tz-btn-h: 48px;
	--tz-radius-pill: 999px;
	--tz-header-h: 0px; /* set by theme.js */
	--tz-ink: var(--wp--preset--color--ink);
	--tz-line: var(--wp--preset--color--line);
}

/* The page itself never scrolls sideways; carousels scroll inside their own rows.
   (clip, not hidden, so the sticky header keeps working.) */
html, body { overflow-x: clip; }
/* Form controls don't inherit fonts by default: keep Montserrat everywhere. */
button, input, select, textarea, optgroup { font-family: inherit; }
.tz-carousel-mobile, .tz-section:not(.alignfull) { min-width: 0; max-width: 100%; }
.tz-section.alignfull { min-width: 0; }

/* ---------- Announcement bar: one centred message at a time ---------- */
.tz-announce { --tz-cycle: 12s; overflow: hidden; }
.tz-announce__list {
	position: relative;
	height: 1.4em;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	line-height: 1.4;
	text-align: center;
}
.tz-announce__list li {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	white-space: nowrap;
	animation: tz-announce var(--tz-cycle) infinite;
}
.tz-announce__list li:nth-child(2) { animation-delay: calc(var(--tz-cycle) / 3); }
.tz-announce__list li:nth-child(3) { animation-delay: calc(var(--tz-cycle) / 3 * 2); }
.tz-announce__list li:only-child { animation: none; opacity: 1; }
@keyframes tz-announce {
	0% { opacity: 0; transform: translateY(40%); }
	4%, 30% { opacity: 1; transform: none; }
	34%, 100% { opacity: 0; transform: translateY(-40%); }
}
@media (prefers-reduced-motion: reduce) {
	.tz-announce__list li { animation: none; }
	.tz-announce__list li:first-child { opacity: 1; }
}

/* ---------- Header (House-of-Masaba style) ---------- */
header.wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
	transition: transform .35s ease, background-color .2s ease;
}
header.wp-block-template-part.is-hidden { transform: translateY(-100%); }
header.wp-block-template-part.is-scrolled .tz-header { box-shadow: 0 1px 0 rgba(0, 0, 0, .08); }

.tz-header { background: #fff; border-bottom: 1px solid var(--tz-line); padding-inline: 20px; }
.tz-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	grid-template-areas: "left logo right" "nav nav nav";
	align-items: center;
	row-gap: 4px;
	max-width: var(--wp--style--global--wide-size, 1300px);
	margin-inline: auto;
	padding-top: 12px;
}
.tz-header__inner > * { margin-block: 0 !important; }
.tz-header__left { grid-area: left; gap: 16px; }
.tz-header__logo { grid-area: logo; }
.tz-header__right { grid-area: right; justify-self: end; gap: 20px; }
.tz-header__nav { grid-area: nav; padding-bottom: 6px; }
.tz-logo img { width: var(--wp--custom--header--logo, 76px); height: auto; }

.tz-nav .wp-block-navigation-item__content { padding-block: 6px; }

/* Icons: one size, one colour */
.tz-header__right :is(.wp-block-search__button, .wc-block-customer-account__account-icon, .wc-block-mini-cart__button) {
	color: var(--tz-ink);
	background: transparent;
	border: 0;
	padding: 0;
	min-height: 0;
}
.tz-header__right svg { width: 22px; height: 22px; }
/* Header search: icon button that expands into a pill field */
.tz-search { position: relative; }
.tz-search .wp-block-search__inside-wrapper { border: 0; padding: 0; align-items: center; gap: 8px; background: transparent; }
.tz-search .wp-block-search__button.wp-element-button {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; min-height: 0; margin: 0; padding: 0 !important;
	border: 0 !important; border-radius: 50%; background: transparent !important; color: inherit !important; box-shadow: none;
}
.tz-search .wp-block-search__button:focus { outline: none; }
.tz-search .wp-block-search__button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.tz-search.wp-block-search__searchfield-hidden .wp-block-search__input { display: none; }
.tz-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input {
	width: 240px; height: 40px; margin: 0; padding: 0 18px;
	border: 1px solid var(--tz-line); border-radius: var(--tz-radius-pill);
	background: #fff; color: var(--tz-ink); font-size: 14px; box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
}
.tz-search .wp-block-search__input:focus { outline: none; border-color: var(--tz-ink); }
@media (max-width: 781px) {
	/* On phones the field opens as a full-width bar under the header instead of squeezing the icons. */
	.tz-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input {
		position: fixed; left: 16px; right: 16px; width: auto; top: calc(var(--tz-header-h, 112px) + 8px); z-index: 120;
	}
}

@media (max-width: 781px) {
	.tz-header__inner {
		grid-template-columns: 1fr auto 1fr;
		grid-template-areas: "nav logo right";
		padding-block: 10px;
	}
	.tz-header__nav { justify-content: flex-start !important; padding: 0; }
	.tz-header__left { grid-area: nav; margin-left: 40px; justify-self: start; }
	.tz-header__right { gap: 14px; }
	.tz-logo img { width: var(--wp--custom--header--logo-mobile, 54px); }
}
@media (max-width: 420px) {
	.tz-header__left .bvcs-trigger :is(.bvcs-name, .bvcs-symbol) { display: none; }
}

/* Front page (desktop/tablet): transparent over the hero until scrolled.
   Phones keep the normal white sticky header — the banner artwork is landscape. */
@media (min-width: 782px) {
.has-overlay-header header.wp-block-template-part { position: fixed; left: 0; right: 0; }
.has-overlay-header header.wp-block-template-part:not(.is-scrolled):not(.is-solid):not(:hover):not(:focus-within) .tz-header {
	background: linear-gradient(to bottom, rgba(0, 0, 0, .38), rgba(0, 0, 0, 0));
	border-color: transparent;
}
.has-overlay-header header.wp-block-template-part:not(.is-scrolled):not(.is-solid):not(:hover):not(:focus-within) :is(.tz-nav .wp-block-navigation-item__content, .tz-header__right button, .tz-header__right a, .wp-block-navigation__responsive-container-open) {
	color: #fff;
}
.has-overlay-header header.wp-block-template-part:not(.is-scrolled):not(.is-solid):not(:hover):not(:focus-within) .tz-header__right svg { color: #fff; fill: currentColor; }
.has-overlay-header header.wp-block-template-part:not(.is-scrolled):not(.is-solid):not(:hover):not(:focus-within) .tz-header__right svg [stroke] { stroke: currentColor; }
}

/* ---------- Buttons: every WooCommerce / form button follows the theme button ---------- */
:where(.woocommerce, .wc-block-components-sidebar-layout, .wc-block-cart, .wc-block-checkout, .wc-block-mini-cart__drawer, .wp-block-woocommerce-product-button)
	:is(a.button, button.button, input.button, .single_add_to_cart_button, .checkout-button),
.wc-block-components-button:not(.is-link),
.wc-block-mini-cart__footer-actions .wp-block-button__link,
button#place_order,
.woocommerce-form-login__submit {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: var(--tz-btn-h);
	padding: 0 28px !important;
	border: 1px solid var(--tz-ink) !important;
	border-radius: var(--tz-radius-pill) !important;
	background: var(--tz-ink) !important;
	color: #fff !important;
	font-family: var(--wp--preset--font-family--montserrat) !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: background-color .2s ease, color .2s ease;
}
:where(.woocommerce, .wc-block-components-sidebar-layout, .wc-block-cart, .wc-block-checkout, .wc-block-mini-cart__drawer, .wp-block-woocommerce-product-button)
	:is(a.button, button.button, input.button, .single_add_to_cart_button, .checkout-button):hover,
.wc-block-components-button:not(.is-link):hover,
button#place_order:hover {
	background: transparent !important;
	color: var(--tz-ink) !important;
}

/* Product cards: outline button */
.wc-block-components-product-button .wp-block-button__link,
.wp-block-woocommerce-product-button .wp-block-button__link,
a.button.button:is(.add_to_cart_button, .product_type_variable, .product_type_grouped, .product_type_external) {
	background: transparent !important;
	color: var(--tz-ink) !important;
	min-height: 42px;
}
.wc-block-components-product-button .wp-block-button__link:hover,
.wp-block-woocommerce-product-button .wp-block-button__link:hover,
a.button.button:is(.add_to_cart_button, .product_type_variable, .product_type_grouped, .product_type_external):hover {
	background: var(--tz-ink) !important;
	color: #fff !important;
}

/* Light button (block style) for dark imagery */
.wp-block-button.is-style-light .wp-block-button__link {
	background: #fff; color: var(--tz-ink); border-color: #fff;
}
.wp-block-button.is-style-light .wp-block-button__link:hover { background: transparent; color: #fff; }

/* ---------- Cards / prices ---------- */
.tz-card-title, .wp-block-post-title.tz-card-title {
	font-size: 15px !important;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0;
}
.wc-block-components-product-price del, .price del { color: var(--wp--preset--color--muted); font-weight: 400; }
.wc-block-components-product-price ins, .price ins { text-decoration: none; font-weight: 600; color: var(--tz-ink); }

/* Small caps label (eyebrow) */
.tz-eyebrow {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

/* Block cart / checkout titles in the UI style */
.wc-block-components-title.wc-block-components-title,
.wc-block-components-checkout-step__title {
	font-size: 17px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}
.wc-block-components-text-input input,
.wc-block-components-combobox .components-combobox-control__input,
.wc-blocks-components-select__select { border-color: var(--tz-line) !important; border-radius: 8px !important; }

/* Screen-reader only */
.tz-sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Footer ---------- */
.tz-footer__links { list-style: none; padding: 0; margin: 0; }
.tz-footer__links li { margin: 0 0 10px; }
.tz-footer__links a { color: #fff; }
.tz-footer h5 { margin-bottom: 18px; }
@media (max-width: 781px) {
	.tz-footer .wp-block-columns { gap: 32px; }
}

/* ---------- Fixes after first staging review ---------- */
.tz-announce, .tz-announce__list, .tz-announce__list li { color: #fff; }

.tz-footer, .tz-footer p, .tz-footer li { color: #cfcfcf; }
.tz-footer a { color: #fff; }
.tz-footer .has-xs-font-size { color: #9a9a9a; }

/* Page / archive / product titles use the heading scale */
.wp-block-query-title, .woocommerce .wp-block-query-title { font-size: var(--wp--preset--font-size--heading-xl); }
.single-product main .wp-block-post-title:not(.wc-block-components-product-name) { font-size: var(--wp--preset--font-size--heading-l); font-weight: 500; }
.single-product .wp-block-woocommerce-product-price { font-size: 22px !important; }

/* Product cards (shop, category, related, home collections) */
:is(.wc-block-product-template, .wp-block-woocommerce-related-products, .wc-block-grid) .wp-block-post-title,
:is(.wc-block-product-template, .wp-block-woocommerce-related-products) .wc-block-components-product-name {
	font-size: 15px !important;
	font-weight: 500 !important;
	line-height: 1.4;
	letter-spacing: 0;
}
:is(.wc-block-product-template, .wp-block-woocommerce-related-products) .wc-block-components-product-price,
:is(.wc-block-product-template, .wp-block-woocommerce-related-products) .wp-block-woocommerce-product-price { font-size: 14px !important; }
.wp-block-woocommerce-product-button .wp-block-button__link,
.wc-block-components-product-button .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 42px; padding: 0 22px !important;
	border: 1px solid var(--tz-ink) !important; border-radius: var(--tz-radius-pill) !important;
	font-size: 12px !important; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
}
.wc-block-components-product-sale-badge, .wc-block-components-sale-badge {
	border-radius: var(--tz-radius-pill); border-color: var(--tz-ink); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}

/* Disabled add-to-cart (variation not chosen yet): same button, dimmed */
.single_add_to_cart_button.disabled, .single_add_to_cart_button:disabled { opacity: .45; cursor: not-allowed; }

/* Sorting / form selects */
.woocommerce-ordering select, .wc-block-components-sort-select__select {
	font-family: inherit; font-size: 13px; padding: 8px 32px 8px 14px;
	border: 1px solid var(--tz-line); border-radius: var(--tz-radius-pill); background-color: #fff;
}

/* Classic gallery sale badge → same pill as the block badges */
.woocommerce span.onsale, .wc-block-components-product-sale-badge {
	min-width: 0; min-height: 0; line-height: 1; padding: 6px 12px;
	border: 1px solid var(--tz-ink); border-radius: var(--tz-radius-pill);
	background: #fff; color: var(--tz-ink);
	font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
	top: 12px; left: 12px; right: auto;
}

/* =========================== Home =========================== */
.tz-home > .wp-block-post-content > * { margin-block-start: 0; }

/* Hero slider (scroll-snap; theme.js adds autoplay, arrows, dots) */
.tz-hero { position: relative; overflow: hidden; }
.tz-slider__track {
	display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; margin: 0 !important;
}
.tz-slider__track::-webkit-scrollbar { display: none; }
.tz-slider__track > .tz-slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0 !important; }
.tz-hero .tz-slide > a, .tz-banner > a { display: block; }
.tz-hero .tz-slide.wp-block-image img { display: block; width: 100%; max-width: none; height: min(92vh, 52.5vw); min-height: 420px; object-fit: cover; aspect-ratio: auto; }
.tz-slider__nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
	width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(255, 255, 255, .85); color: var(--tz-ink); display: grid; place-items: center;
}
.tz-slider__nav--prev { left: 16px; } .tz-slider__nav--next { right: 16px; }
.tz-slider__dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.tz-slider__dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 1px solid #fff; background: transparent; cursor: pointer; }
.tz-slider__dots button[aria-current="true"] { background: #fff; }
@media (max-width: 781px) {
	/* Banner artwork has its text baked in: show the whole image on phones (no crop). */
	.tz-hero .tz-slide.wp-block-image img { height: auto; min-height: 0; aspect-ratio: 1708 / 921; object-fit: cover; }
	.tz-slider__track { align-items: flex-start; }
	.tz-slider__nav { display: none; }
}

/* Horizontal carousels (categories) and product grids that scroll on mobile */
.tz-carousel {
	display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory;
	padding: 8px 4px 16px; margin-top: var(--wp--preset--spacing--30) !important; scrollbar-width: thin;
}
.tz-carousel > * { flex: 0 0 auto; scroll-snap-align: start; margin: 0 !important; }
.tz-categories { justify-content: safe center; }
.tz-cat { width: 168px; text-align: center; }
.tz-cat .wp-block-image img { width: 168px; height: 168px; object-fit: cover; }
.tz-cat .tz-card-title { margin-top: 12px; }
.tz-cat a { text-decoration: none; }
@media (max-width: 781px) {
	.tz-cat, .tz-cat .wp-block-image img { width: 112px; }
	.tz-cat .wp-block-image img { height: 112px; }
	.tz-carousel-mobile .wc-block-product-template {
		display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; grid-template-columns: none !important;
	}
	.tz-carousel-mobile .wc-block-product-template > li { flex: 0 0 68%; scroll-snap-align: start; }
}

/* Image cards with text (Sparkle, Weekly deals) */
.tz-card-cover { overflow: hidden; }
@media (max-width: 781px) { .tz-card-cover.wp-block-cover { min-height: 440px !important; } }
.tz-card-cover .wp-block-cover__inner-container > * { margin-block: 6px; }
.tz-card-cover h2, .tz-card-cover h3 { color: #fff; }

/* Full-width sale banner */
.tz-banner { margin-block: 0 !important; }
.tz-banner img { display: block; width: 100%; height: auto; }

/* About band */
.tz-about .wp-block-button.is-style-light .wp-block-button__link { color: var(--tz-ink); }

/* Brand promises strip */
.tz-promises__list {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px;
	margin: 0; padding: 0 20px; list-style: none;
	font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--tz-ink);
}
.tz-promises__list li { position: relative; }
.tz-promises__list li + li::before {
	content: ""; position: absolute; left: -22px; top: 50%; width: 4px; height: 4px; border-radius: 50%;
	background: var(--wp--preset--color--silver); transform: translateY(-50%);
}
@media (max-width: 781px) {
	.tz-promises__list { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
	.tz-promises__list li { white-space: nowrap; }
}

/* Mini-cart count badge: always readable */
.wc-block-mini-cart__badge {
	background: var(--tz-ink) !important; color: #fff !important; border: 0 !important;
	font-size: 10px; font-weight: 600; min-width: 16px; height: 16px;
}

/* ---------- Currency switcher (House-of-Masaba style) ----------
   Closed: compact white pill "INR ▾". Open: white panel, flag + "Indian Rupee (INR)" rows. */
.tz-currency { --bvcs-font: var(--wp--preset--font-family--montserrat); --bvcs-text-muted: var(--tz-ink); position: relative; font-family: var(--wp--preset--font-family--montserrat); }
.tz-currency .bvcs-trigger {
	min-height: 0; gap: 8px; padding: 5px 12px 5px 14px;
	border: 1px solid var(--tz-line); border-radius: 8px; background: #fff; color: var(--tz-ink);
	font-size: 13px; font-weight: 500; letter-spacing: .04em; box-shadow: none;
}
.tz-currency .bvcs-trigger :is(.bvcs-flag, .bvcs-name, .bvcs-symbol) { display: none; }
.tz-currency .bvcs-caret { display: inline-flex; transition: transform .2s ease; }
.tz-currency .bvcs-trigger[aria-expanded="true"] .bvcs-caret { transform: rotate(180deg); }

.tz-currency .bvcs-dropdown {
	top: calc(100% + 14px); left: 0; width: 300px; max-width: calc(100vw - 32px); min-width: 0;
	padding: 0; border: 0; border-radius: 10px; background: #fff; overflow: hidden;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
}
.tz-currency .bvcs-options { display: flex; flex-direction: column; max-height: min(360px, 60vh); }
.tz-currency .bvcs-option[data-currency="INR"] { order: -1; } /* home currency first */
.tz-currency .bvcs-option > * { margin: 0; }
.tz-currency .bvcs-option {
	justify-content: flex-start; gap: 14px; padding: 14px 18px; border-radius: 0; border-bottom: 1px solid #eee;
	font-size: 14px; color: var(--tz-ink); white-space: nowrap;
}
.tz-currency .bvcs-option:last-child { border-bottom: 0; }
.tz-currency .bvcs-option.is-active :is(.bvcs-name, .bvcs-code) { font-weight: 600; }
.tz-currency .bvcs-option:hover, .tz-currency .bvcs-option:focus { background: var(--wp--preset--color--surface); }
.tz-currency .bvcs-option.is-active { font-weight: 600; background: transparent; }
.tz-currency .bvcs-option .bvcs-flag {
	order: 0; flex: 0 0 auto; width: 30px; height: 20px; border-radius: 3px;
	font-size: 0; line-height: 0; background: #ddd center / cover no-repeat;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .06);
}
.tz-currency .bvcs-option .bvcs-name { order: 1; display: inline !important; color: var(--tz-ink); font-weight: 400; }
.tz-currency .bvcs-option .bvcs-code { order: 2; margin-left: -10px; font-weight: 400; letter-spacing: 0; }
.tz-currency .bvcs-option .bvcs-code::before { content: "("; }
.tz-currency .bvcs-option .bvcs-code::after { content: ")"; }
.tz-currency .bvcs-option[data-currency="INR"] .bvcs-flag { background-image: url(../flags/in.svg); }
.tz-currency .bvcs-option[data-currency="USD"] .bvcs-flag { background-image: url(../flags/us.svg); }
.tz-currency .bvcs-option[data-currency="EUR"] .bvcs-flag { background-image: url(../flags/eu.svg); }
.tz-currency .bvcs-option[data-currency="GBP"] .bvcs-flag { background-image: url(../flags/gb.svg); }
.tz-currency .bvcs-option[data-currency="AUD"] .bvcs-flag { background-image: url(../flags/au.svg); }
.tz-currency .bvcs-option[data-currency="CAD"] .bvcs-flag { background-image: url(../flags/ca.svg); }
.tz-currency .bvcs-option[data-currency="AED"] .bvcs-flag { background-image: url(../flags/ae.svg); }
.tz-currency .bvcs-option[data-currency="SGD"] .bvcs-flag { background-image: url(../flags/sg.svg); }
.tz-currency .bvcs-option[data-currency="JPY"] .bvcs-flag { background-image: url(../flags/jp.svg); }
.tz-currency .bvcs-option[data-currency="NZD"] .bvcs-flag { background-image: url(../flags/nz.svg); }
@media (max-width: 781px) {
	.tz-currency .bvcs-trigger { padding: 4px 9px 4px 10px; font-size: 12px; }
}

@media (min-width: 782px) {
	.has-overlay-header header.wp-block-template-part:not(.is-scrolled):not(.is-solid):not(:hover):not(:focus-within) .wc-block-mini-cart__badge { background: #fff !important; color: var(--tz-ink) !important; }
}

/* ---------- Mega menu: Collection (desktop) ---------- */
.tz-header { position: relative; }
.tz-mega { display: none; }
.tz-mega__links { list-style: none; margin: 0; padding: 0; }
.tz-mega__links li { margin: 0 0 12px; }
.tz-mega__links a { color: var(--tz-ink); font-size: 14px; text-decoration: none; }
.tz-mega__links a:hover, .tz-mega__links a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.tz-mega h6 { margin: 0 0 18px; color: var(--wp--preset--color--muted); }
.tz-mega__card { margin: 0; }
.tz-mega__card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 22%; border-radius: 12px; transition: transform .4s ease; }
.tz-mega__card a { display: block; overflow: hidden; border-radius: 12px; }
.tz-mega__card a:hover img { transform: scale(1.03); }
.tz-mega__card figcaption { margin: 12px 0 0; text-align: left; }
.tz-mega__card figcaption a { overflow: visible; border-radius: 0; color: var(--tz-ink); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }

@media (min-width: 782px) {
	.tz-mega {
		display: block; position: absolute; left: 0; right: 0; top: 100%; z-index: 90; margin: 0 !important;
		padding: 40px 20px 44px; background: #fff; color: var(--tz-ink);
		border-top: 1px solid var(--tz-line); box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
	}
	.tz-mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.tz-mega__inner { max-width: var(--wp--style--global--wide-size, 1300px); margin-inline: auto; }
	/* The panel replaces the default dropdown on desktop (the list still serves the mobile menu). */
	.wp-block-navigation__responsive-container:not(.is-menu-open) .tz-has-mega > .wp-block-navigation__submenu-container { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	.tz-mega, .tz-mega__card img { transition: none; }
}

/* Mobile menu: Collection's category links read as a sub-list */
.wp-block-navigation__responsive-container.is-menu-open .tz-has-mega .wp-block-navigation__submenu-container {
	gap: 14px; padding-top: 10px !important;
}
.wp-block-navigation__responsive-container.is-menu-open .tz-has-mega .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-size: 13px; font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--wp--preset--color--body);
}

/* ---------- Testimonials: centred carousel, middle card raised ---------- */
.tz-testimonials { position: relative; }
.tz-carousel.tz-reviews {
	--tz-review-w: 380px;
	position: relative; gap: 24px; justify-content: flex-start; align-items: stretch;
	scroll-snap-type: x mandatory; scrollbar-width: none;
	/* Full-bleed track so shadows and side cards are never clipped by the content column */
	width: 100vw; max-width: none !important; margin-inline: calc(50% - 50vw) !important;
	padding: 56px calc(50% - var(--tz-review-w) / 2) 64px;
}
@media (min-width: 782px) {
	.tz-carousel.tz-reviews {
		-webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
		        mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
	}
}
.tz-reviews::-webkit-scrollbar { display: none; }
.tz-reviews > .tz-review { scroll-snap-align: center; }
.tz-review {
	position: relative; width: var(--tz-review-w); margin: 0; padding: 54px 28px 28px;
	background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
	display: flex; flex-direction: column; gap: 16px; text-align: center;
	transform: scale(.94); opacity: .8; cursor: pointer;
	transition: transform .5s var(--tz-ease), opacity .5s var(--tz-ease), box-shadow .5s var(--tz-ease);
}
.tz-review::before {
	content: ""; position: absolute; inset: 0 0 auto; height: 44px; border-radius: 16px 16px 0 0;
	background: linear-gradient(180deg, var(--tz-ink), #3a3a3a); opacity: 0; transition: opacity .5s var(--tz-ease);
}
.tz-review.is-active { transform: translateY(-14px); opacity: 1; cursor: default; box-shadow: 0 16px 32px rgba(0, 0, 0, .1); }
.tz-review.is-active::before { opacity: 1; }
.tz-review > * { position: relative; margin: 0 !important; }
.tz-review__mark { display: none; }
.tz-review__quote { font-size: 15px; line-height: 1.75; color: var(--tz-ink); flex: 1; }
.tz-review__quote::before { content: "\201C"; }
.tz-review__quote::after { content: "\201D"; }
.tz-review__who { position: static !important; justify-content: center; padding: 0; border: 0; }
.tz-review__avatar {
	position: absolute !important; top: -30px; left: 50%; transform: translateX(-50%);
	display: grid; place-items: center; width: 60px; height: 60px; margin: 0;
	border: 4px solid #fff; border-radius: 50%; background: var(--tz-ink); color: #fff;
	font-size: 15px; font-weight: 600; letter-spacing: .04em; box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}
.tz-review.is-active .tz-review__avatar { background: #fff; color: var(--tz-ink); border-color: var(--wp--preset--color--silver); }
.tz-review__name { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--tz-ink); line-height: 1.5; }
.tz-review__name::before { content: "\2014\00a0"; }
.tz-review__meta { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--wp--preset--color--muted); }
@media (max-width: 781px) { .tz-carousel.tz-reviews { --tz-review-w: 76vw; gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .tz-review, .tz-review::before { transition: none; } }
.tz-carousel__nav { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.tz-carousel__nav button {
	width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--tz-ink); background: #fff; color: var(--tz-ink);
	display: grid; place-items: center; cursor: pointer; transition: background-color .2s, color .2s;
}
.tz-carousel__nav button:hover { background: var(--tz-ink); color: #fff; }
.tz-carousel__nav button:disabled { opacity: .3; cursor: default; background: #fff; color: var(--tz-ink); }

/* ---------- FAQ (native <details>, one open at a time via name="") ---------- */
.tz-faq__item { border-bottom: 1px solid var(--tz-line); margin: 0 !important; }
.tz-faq__item:first-child { border-top: 1px solid var(--tz-line); }
.tz-faq__item summary {
	position: relative; list-style: none; cursor: pointer;
	padding: 20px 44px 20px 0; font-size: 16px; font-weight: 500; color: var(--tz-ink);
}
.tz-faq__item summary::-webkit-details-marker { display: none; }
.tz-faq__item summary::before, .tz-faq__item summary::after {
	content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.5px;
	background: currentColor; transition: transform .25s ease;
}
.tz-faq__item summary::after { transform: rotate(90deg); }
.tz-faq__item[open] summary::after { transform: rotate(0deg); }
.tz-faq__item summary:focus-visible { outline: 2px solid var(--tz-ink); outline-offset: 4px; }
.tz-faq__item > :not(summary) { margin: 0 0 20px; padding-right: 44px; color: var(--wp--preset--color--body); }
@media (max-width: 781px) {
	.tz-faq .wp-block-columns { gap: 28px; }
}


/* =====================================================================
   Motion system (hover). One source of truth for every button and link.
   CSS gives the base effect (works without JS); GSAP (theme.js) adds the
   magnetic pull and directional link underlines. Off for reduced motion.
   ===================================================================== */
:root { --tz-ease: cubic-bezier(.7, 0, .2, 1); }

/* ---- Buttons: fill sweeps up from the bottom ---- */
:is(
	.wp-element-button:not(.wp-block-search__button),
	.wc-block-components-button:not(.is-link),
	:where(.woocommerce, .woocommerce-page, .wc-block-mini-cart__drawer) :is(a.button, button.button, input.button, .single_add_to_cart_button, .checkout-button),
	button#place_order,
	.woocommerce-form-login__submit,
	.tz-btn-fx
) {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	transition: color .35s var(--tz-ease), border-color .35s var(--tz-ease);
}
/* Default (black) button colours at zero specificity so the variants below always win */
:where(.wp-element-button, .wc-block-components-button, .button, button#place_order, .woocommerce-form-login__submit, .tz-btn-fx) {
	--tz-btn-bg: var(--tz-ink);
	--tz-fill: #fff;
	--tz-fill-text: var(--tz-ink);
}
/* Outline-type buttons (outline style, product cards) */
:is(.is-style-outline > .wp-element-button, .wp-block-woocommerce-product-button .wp-block-button__link, .wc-block-components-product-button .wp-block-button__link,
	a.button.button:is(.add_to_cart_button, .product_type_variable, .product_type_grouped, .product_type_external)) {
	--tz-btn-bg: transparent;
	--tz-fill: var(--tz-ink);
	--tz-fill-text: #fff;
}
/* Light buttons on dark imagery */
.is-style-light > .wp-element-button { --tz-btn-bg: #fff; --tz-fill: var(--tz-ink); --tz-fill-text: #fff; }

:is(
	.wp-element-button:not(.wp-block-search__button),
	.wc-block-components-button:not(.is-link),
	:where(.woocommerce, .woocommerce-page, .wc-block-mini-cart__drawer) :is(a.button, button.button, input.button, .single_add_to_cart_button, .checkout-button),
	button#place_order,
	.woocommerce-form-login__submit,
	.tz-btn-fx
)::before {
	content: "";
	position: absolute;
	inset: -1px;
	z-index: -1;
	background: var(--tz-fill);
	border-radius: inherit;
	transform: translateY(101%);
	transition: transform .5s var(--tz-ease);
	pointer-events: none;
}
:is(
	.wp-element-button:not(.wp-block-search__button),
	.wc-block-components-button:not(.is-link),
	:where(.woocommerce, .woocommerce-page, .wc-block-mini-cart__drawer) :is(a.button, button.button, input.button, .single_add_to_cart_button, .checkout-button),
	button#place_order,
	.woocommerce-form-login__submit,
	.tz-btn-fx
):is(:hover, :focus-visible):not(:disabled):not(.disabled) {
	background-color: var(--tz-btn-bg) !important;
	color: var(--tz-fill-text) !important;
}
:is(
	.wp-element-button:not(.wp-block-search__button),
	.wc-block-components-button:not(.is-link),
	:where(.woocommerce, .woocommerce-page, .wc-block-mini-cart__drawer) :is(a.button, button.button, input.button, .single_add_to_cart_button, .checkout-button),
	button#place_order,
	.woocommerce-form-login__submit,
	.tz-btn-fx
):is(:hover, :focus-visible):not(:disabled):not(.disabled)::before {
	transform: translateY(0);
}

/* Circle arrow buttons (slider, reviews) use the same fill idea */
.tz-slider__nav, .tz-carousel__nav button { overflow: hidden; isolation: isolate; transition: color .35s var(--tz-ease); }
.tz-carousel__nav button { position: relative; }
.tz-slider__nav::before, .tz-carousel__nav button::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%;
	background: var(--tz-ink); transform: scale(0); transition: transform .45s var(--tz-ease);
}
.tz-slider__nav:hover, .tz-carousel__nav button:hover:not(:disabled) { color: #fff; background: rgba(255, 255, 255, .85); }
.tz-carousel__nav button:hover:not(:disabled) { background: #fff; }
.tz-slider__nav:hover::before, .tz-carousel__nav button:hover:not(:disabled)::before { transform: scale(1); }

/* ---- Links: underline draws in from the left, exits to the right ---- */
:is(
	.tz-nav .wp-block-navigation-item__content,
	.tz-mega__links a, .tz-mega__card figcaption a,
	.tz-footer__links a,
	.tz-faq__item a, .tz-about p a,
	.wp-block-post-content p a,
	.woocommerce-breadcrumb a, .wc-block-components-breadcrumbs a,
	.wc-block-product-template .wp-block-post-title a, .wp-block-woocommerce-related-products .wp-block-post-title a,
	.tz-cat .tz-card-title a, .tz-occ-card__label a,
	.tz-link-fx
) {
	text-decoration: none !important;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: 100% 100%;
	background-size: 0% 1px;
	padding-bottom: 2px;
	transition: background-size .45s var(--tz-ease);
}
:is(
	.tz-nav .wp-block-navigation-item__content,
	.tz-mega__links a, .tz-mega__card figcaption a,
	.tz-footer__links a,
	.tz-faq__item a, .tz-about p a,
	.wp-block-post-content p a,
	.woocommerce-breadcrumb a, .wc-block-components-breadcrumbs a,
	.wc-block-product-template .wp-block-post-title a, .wp-block-woocommerce-related-products .wp-block-post-title a,
	.tz-cat .tz-card-title a, .tz-occ-card__label a,
	.tz-link-fx
):is(:hover, :focus-visible) {
	background-position: 0 100%;
	background-size: 100% 1px;
}
/* Current page in the menu and inline body links stay underlined */
.tz-nav :is(.current-menu-item, .current-menu-ancestor) > .wp-block-navigation-item__content,
.tz-nav [aria-current="page"],
.tz-faq__item a, .wp-block-post-content p:not(.tz-occ-card__label):not(.tz-card-title) a { background-size: 100% 1px; }
/* With GSAP running, it controls the underline (directional in/out) */
.tz-js-fx :is(.tz-nav .wp-block-navigation-item__content, .tz-mega__links a, .tz-mega__card figcaption a, .tz-footer__links a, .tz-faq__item a, .tz-about p a, .wp-block-post-content p a, .woocommerce-breadcrumb a, .wc-block-components-breadcrumbs a, .wc-block-product-template .wp-block-post-title a, .wp-block-woocommerce-related-products .wp-block-post-title a, .tz-cat .tz-card-title a, .tz-link-fx) { transition: none; }

/* ---- Images: slow zoom on hover (cards, categories, mega menu) ---- */
:is(.wc-block-components-product-image, .wc-block-grid__product-image, .tz-cat .wp-block-image a, .tz-card-cover, .tz-mega__card a) { overflow: hidden; }
:is(.wc-block-components-product-image img, .wc-block-grid__product-image img, .tz-cat .wp-block-image img, .tz-card-cover .wp-block-cover__image-background) {
	transition: transform 1.1s cubic-bezier(.2, .7, .2, 1);
}
:is(.wc-block-product, li.product, .tz-cat, .tz-card-cover):hover :is(.wc-block-components-product-image img, .wc-block-grid__product-image img, .wp-block-image img, .wp-block-cover__image-background) {
	transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; }
	:is(.wc-block-product, li.product, .tz-cat, .tz-card-cover):hover img { transform: none; }
}

/* ---------- Footer: accepted payments ---------- */
.tz-payments { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; margin-top: var(--wp--preset--spacing--40); }
.tz-payments__label { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #9a9a9a; }
.tz-payments__list { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.tz-payments__logo, .tz-payments__pill {
	display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 12px;
	border: 1px solid #3a3a3a; border-radius: 6px; color: #fff;
}
.tz-payments__logo svg { width: 30px; height: 30px; }
.tz-payments__pill { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* Outline buttons: same 1px ink border as every other button, and it never fades on hover */
.is-style-outline > .wp-element-button,
.wp-block-woocommerce-product-button .wp-block-button__link,
.wc-block-components-product-button .wp-block-button__link { border: 1px solid var(--tz-ink) !important; }
/* Text colour flips as the fill passes the middle, so the label never disappears mid-sweep */
:is(.wp-element-button:not(.wp-block-search__button), .wc-block-components-button:not(.is-link), .button, button#place_order, .woocommerce-form-login__submit, .tz-btn-fx) {
	transition: color .2s ease .14s, border-color .35s var(--tz-ease) !important;
}

/* ---------- Header logo (inline SVG) ---------- */
.tz-logo-link { display: block; line-height: 0; color: var(--tz-ink); --tz-logo-cut: #fff; }
.tz-logo-link svg { display: block; height: 84px; width: auto; }
.tz-logo-link .tz-logo__cut { fill: var(--tz-logo-cut); }
@media (max-width: 781px) { .tz-logo-link svg { height: 58px; } }
.tz-header { transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.tz-logo-link, .tz-nav .wp-block-navigation-item__content, .tz-header__right :is(a, button) { transition: color .3s ease; }
@media (min-width: 782px) {
	.has-overlay-header header.wp-block-template-part:not(.is-scrolled):not(.is-solid):not(:hover):not(:focus-within) .tz-logo-link { color: #fff; --tz-logo-cut: #000; }
	/* Solid white state (scrolled, hovered, mega menu open) */
	.has-overlay-header header.wp-block-template-part:is(.is-scrolled, .is-solid, :hover, :focus-within) .tz-header { background: #fff; }
}

/* Front page: content starts right under the header (no block-gap strip) */
.wp-site-blocks > main.tz-home, main.tz-home { margin-block-start: 0 !important; }

/* ---------- "For every occasion" collections (Masaba style) ---------- */
.tz-occasion__kicker { margin: 0 0 6px !important; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--tz-ink); }
.tz-occasion__title.wp-block-heading { margin: 0 0 18px; font-size: clamp(30px, 22px + 1.6vw, 44px); font-weight: 400; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1; }
.tz-occasion__text { max-width: 34ch; margin-bottom: 26px; font-size: 15px; line-height: 1.7; }
.tz-occasions { gap: 14px; justify-content: flex-start; margin-top: 0 !important; padding: 0 0 4px; scrollbar-width: none; }
.tz-occasions::-webkit-scrollbar { display: none; }
.tz-occ-card { width: calc((100% - 3 * 14px) / 4); }
.tz-occ-card > * { margin: 0 !important; }
.tz-occ-card__img a { display: block; overflow: hidden; }
.tz-occ-card__img img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.tz-occ-card:hover .tz-occ-card__img img { transform: scale(1.05); }
.tz-occ-card__label { margin-top: 16px !important; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.tz-occ-card__label a { color: var(--tz-ink); text-decoration: none; }
/* Video background (full-bleed; video covers the section, content sits above a soft scrim) */
.has-video-bg { position: relative; isolation: isolate; overflow: hidden; max-width: none !important; background: #2a0710; color: #fff; }
.has-video-bg > .tz-video-bg { position: absolute; inset: 0; z-index: -1; max-width: none !important; margin: 0 !important; pointer-events: none; }
.tz-video-bg__media { display: block; width: 100%; height: 100%; object-fit: cover; }
.tz-video-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .2) 45%, rgba(0, 0, 0, .1) 100%); }
.has-video-bg > .tz-video-bg + * { margin-top: 0 !important; }
.has-video-bg :is(.tz-occasion__kicker, .tz-occasion__title, .tz-occasion__text, .tz-occ-card__label a) { color: #fff; }
.has-video-bg .is-style-outline > .wp-element-button { color: #fff; border-color: #fff !important; --tz-fill: #fff; --tz-fill-text: var(--tz-ink); }
@media (max-width: 1024px) { .tz-occ-card { width: calc((100% - 2 * 14px) / 3); } }
@media (max-width: 781px) {
	.tz-occasion .wp-block-columns { gap: 28px; }
	.tz-occ-card { width: 62vw; }
}

/* ---------- Product cards (add .tz-product-cards to any Product Collection) ---------- */
.tz-product-cards {
	--tz-card-border: var(--wp--preset--color--sand);
	--tz-card-bg: transparent;
	--tz-card-radius: 12px;
	--tz-gap: 16px;
}
.tz-product-cards .wc-block-product-template { gap: var(--tz-gap) !important; margin-top: var(--wp--preset--spacing--30) !important; }
.tz-product-cards .wc-block-product {
	display: grid; grid-template-columns: minmax(0, 1fr); align-content: start;
	margin: 0 !important; padding: 8px 8px 16px; text-align: left;
	background: var(--tz-card-bg); border: 1px solid var(--tz-card-border); border-radius: var(--tz-card-radius);
	transition: border-color .35s var(--tz-ease), box-shadow .35s var(--tz-ease);
}
.tz-product-cards .wc-block-product:hover { border-color: var(--tz-ink); box-shadow: 0 12px 28px rgba(0, 0, 0, .07); }
.tz-product-cards .wc-block-product > * { margin: 0 !important; padding-inline: 6px; }
.tz-product-cards .wc-block-product > .wc-block-components-product-image { grid-area: 1 / 1; padding: 0; border-radius: calc(var(--tz-card-radius) - 4px); }
.tz-product-cards .wc-block-components-product-image img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.tz-product-cards .wp-block-post-title {
	margin-top: 14px !important; font-size: 13px !important; font-weight: 600 !important; line-height: 1.4;
	letter-spacing: .04em; text-transform: uppercase; text-align: left;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tz-product-cards .wp-block-post-title a { color: var(--tz-ink); }
.tz-product-cards .wc-block-components-product-rating { margin-top: 6px !important; justify-content: flex-start; }
.tz-product-cards .wc-block-components-product-rating__stars { margin: 0 !important; font-size: 12px; }
.tz-product-cards .wp-block-woocommerce-product-price { margin-top: 6px !important; text-align: left; font-weight: 600; }
.tz-product-cards + .wp-block-buttons { margin-top: var(--wp--preset--spacing--40) !important; }
/* Badge chip sits on the image's bottom-left corner (same grid cell). Empty text hides it. */
.tz-chip {
	grid-area: 1 / 1; align-self: end; justify-self: start; z-index: 1;
	display: inline-flex; align-items: center; gap: 6px; margin: 10px !important; padding: 6px 10px !important;
	border-radius: 999px; background: #fff; color: var(--tz-ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
	font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1;
}
.tz-chip::before {
	content: ""; width: 11px; height: 11px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tz-chip:empty { display: none; }

/* One row only: the Collection's "columns" setting = cards per row; extra cards scroll sideways.
   Tablet shows 2.5 cards and phones 1.5, so it's obvious the row scrolls. */
.tz-one-row .wc-block-product-template { --tz-cols: 4; }
.tz-one-row .wc-block-product-template.columns-2 { --tz-cols: 2; }
.tz-one-row .wc-block-product-template.columns-3 { --tz-cols: 3; }
.tz-one-row .wc-block-product-template.columns-5 { --tz-cols: 5; }
.tz-one-row .wc-block-product-template.columns-6 { --tz-cols: 6; }
.tz-one-row .wc-block-product-template {
	display: grid !important; grid-auto-flow: column; grid-template-columns: none !important;
	grid-auto-columns: calc((100% - (var(--tz-cols) - 1) * var(--tz-gap)) / var(--tz-cols));
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px;
}
.tz-one-row .wc-block-product-template::-webkit-scrollbar { display: none; }
.tz-one-row .wc-block-product { scroll-snap-align: start; }
@media (max-width: 1024px) { .tz-one-row .wc-block-product-template[class] { --tz-cols: 2.5; } }
@media (max-width: 600px) { .tz-one-row .wc-block-product-template[class] { --tz-cols: 1.5; --tz-gap: 12px; } }
