/* Certified brand — dark gray base + logo green */

@font-face {
	font-family: "Cheetah Kick";
	src: url("./fonts/CheetahKick.otf") format("opentype"),
		url("./fonts/Cheetah%20Kick%20-%20Personal%20Use.otf") format("opentype");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

:root {
	--certified-green: #49b647;
	--certified-green-dark: #3a9a38;
	--certified-gray: #2b2b2b;
	--certified-gray-dark: #1a1a1a;
	--certified-gray-alt: #222222;
	--certified-border: #3d3d3d;
}

body {
	background-color: var(--certified-gray) !important;
	color: #d1d1d1;
}

/* Shop Certified title graphic */
.certified-features__title-img {
	/* Pull up to cancel ~17% empty canvas above “Shop Certified” lettering */
	margin: -68px auto 28px !important;
	max-width: min(400px, 88%) !important;
}

.certified-features__title-img img {
	width: 100% !important;
	max-width: 400px !important;
	height: auto !important;
	display: block !important;
	margin: 0 auto !important;
	object-fit: contain !important;
	/* Knock out solid black canvas so it blends with section */
	mix-blend-mode: lighten;
}

.certified-features__icon img {
	width: 160px !important;
	height: 160px !important;
	object-fit: contain !important;
	border-radius: 0 !important;
	background: transparent !important;
}

.wp-block-group.certified-features.has-background-alt-background-color,
.certified-features.has-background-alt-background-color,
.certified-features {
	overflow: visible !important;
	background-color: #123012 !important;
	background: #123012 !important;
}

.certified-features__grid {
	align-items: stretch !important;
	gap: 40px !important;
	overflow: visible !important;
}

.certified-features__grid > .wp-block-column {
	overflow: visible !important;
}

.certified-features__card {
	position: relative !important;
	padding: 28px 22px 32px !important;
	text-align: center;
	background: #1a1a1a !important;
	border: 0 !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	overflow: hidden !important;
	transform-origin: center center;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
	will-change: transform;
}

/* Alternate ~5° tilts — opposite to the neighbor */
.certified-features__grid > .wp-block-column:nth-child(odd) .certified-features__card {
	transform: rotate(-5deg);
}

.certified-features__grid > .wp-block-column:nth-child(even) .certified-features__card {
	transform: rotate(5deg);
}

.certified-features__grid > .wp-block-column:nth-child(odd) .certified-features__card:hover,
.certified-features__grid > .wp-block-column:nth-child(even) .certified-features__card:hover {
	transform: rotate(0deg) translateY(-6px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.certified-features__card::before,
.certified-features__card::after {
	display: none !important;
	content: none !important;
}

.certified-features__card h4,
.certified-features__card p {
	color: #e8e8e8 !important;
}

/* Trust bar — sit under the overlapping logo */
.shop-trust-bar {
	background: linear-gradient(90deg, #1a1a1a 0%, #2b2b2b 50%, #1a1a1a 100%) !important;
	border-top: 2px solid var(--certified-green) !important;
	border-bottom: 2px solid var(--certified-green) !important;
	position: relative;
	z-index: 1;
	overflow: visible !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	/* Match nav/promo — slight left optical bias for the oversized logo */
	padding: 14px 280px 14px 240px !important;
	box-sizing: border-box !important;
}

.shop-trust-bar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	gap: 0 28px;
	width: auto;
	max-width: 100%;
	margin: 0;
	box-sizing: border-box;
}

.shop-trust-bar__item {
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	color: #f2f2f2;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.5px;
	line-height: 1.3;
	text-align: center;
	white-space: nowrap;
}

.shop-trust-bar__divider {
	flex: 0 0 1px;
	align-self: center;
	width: 1px;
	height: 14px;
	margin: 0;
	background: rgba(73, 182, 71, 0.5);
}

/* Legacy column styles no longer used */
.shop-trust-bar .wp-block-column {
	border-right: none;
}

@media (max-width: 1100px) {
	.shop-trust-bar {
		padding-left: 180px !important;
		padding-right: 220px !important;
	}

	.shop-trust-bar__item {
		font-size: 12px;
	}

	.shop-trust-bar__inner {
		gap: 0 18px;
	}

	header.wp-block-template-part > .wp-block-group > .wp-block-group.is-layout-flex,
	.certified-header .certified-nav-row {
		padding-left: 180px !important;
		padding-right: 220px !important;
	}

	.certified-header > .certified-promo-bar,
	.certified-header > .has-primary-background-color.certified-promo-bar {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

@media (max-width: 781px) {
	.shop-trust-bar {
		display: block !important;
		padding: 14px 24px !important;
	}

	.shop-trust-bar__inner {
		flex-direction: column;
		gap: 10px;
		width: 100%;
	}

	.shop-trust-bar__divider {
		width: 40px;
		height: 1px;
	}

	.shop-trust-bar .wp-block-column {
		border-right: none;
		border-bottom: none;
		padding-bottom: 0;
		margin-bottom: 0;
	}
}

/* Header — overflow visible so logo can bleed into promo + trust bars / page heroes */
.site-header,
header.wp-block-template-part,
.wp-site-blocks {
	background-color: var(--certified-gray-dark) !important;
	border-bottom: none;
	overflow: visible !important;
	position: relative;
	z-index: 20;
}

.wp-site-blocks {
	background: transparent !important;
	z-index: auto;
}

.certified-header,
.certified-header > .wp-block-group,
header.wp-block-template-part .wp-block-group {
	overflow: visible !important;
}

.certified-header {
	position: relative !important;
	z-index: 30;
}

/* Let the seal overlap page/shop heroes the same way it overlaps the homepage trust bar */
.wp-site-blocks > main,
.certified-page,
.certified-page-hero,
body.woocommerce-shop .wp-block-cover,
body.archive .wp-block-cover {
	overflow: visible !important;
	position: relative;
	z-index: 1;
}

footer.wp-block-template-part {
	background-color: var(--certified-gray-dark) !important;
	border-top: 3px solid var(--certified-green);
}

footer.wp-block-template-part .woxstore-footer,
footer.wp-block-template-part .has-primary-background-color {
	background-color: var(--certified-gray-dark) !important;
}

/* Hero buttons */
.woxstore-slider .wp-block-button__link,
.wp-block-button__link.has-primary-background-color {
	background-color: var(--certified-green) !important;
	border-radius: 8px !important;
	font-weight: 700 !important;
	letter-spacing: 1px !important;
	color: #fff !important;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.woxstore-slider .wp-block-button__link:hover,
.wp-block-button__link.has-primary-background-color:hover {
	background-color: var(--certified-green-dark) !important;
	transform: translateY(-1px);
}

/* Product cards */
.woocommerce ul.products li.product,
.wc-block-grid__product {
	background: var(--certified-gray-alt);
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	border: 1px solid var(--certified-border);
}

.woocommerce ul.products li.product:hover,
.wc-block-grid__product:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
	border-color: var(--certified-green);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.wc-block-grid__product-title {
	font-weight: 600;
	color: #ffffff !important;
}

.woocommerce ul.products li.product .price,
.wc-block-grid__product-price,
.woocommerce div.product p.price {
	color: var(--certified-green) !important;
	font-weight: 700;
}

.woocommerce ul.products li.product .button,
.wc-block-grid__product-add-to-cart .wp-block-button__link {
	background-color: var(--certified-green) !important;
	border-radius: 8px !important;
	font-size: 0.85rem !important;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #fff !important;
}

.woocommerce ul.products li.product .button:hover,
.wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
	background-color: var(--certified-green-dark) !important;
}

/* After add-to-cart — make "View cart" a real button under Add to Cart.
   Only style when WooCommerce has revealed it (parent span not [hidden]). */
.wc-block-components-product-button > span:not([hidden]) a.added_to_cart,
.wc-block-components-product-button > span:not([hidden]) a.added_to_cart.wc_forward {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	box-sizing: border-box;
	margin: 0 !important;
	padding: 10px 20px !important;
	border-radius: 8px !important;
	background: var(--certified-green) !important;
	color: #ffffff !important;
	font-size: 0.85rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-decoration: none !important;
	text-align: center;
	line-height: 1.2;
	border: 0 !important;
	box-shadow: none !important;
}

.wc-block-components-product-button > span:not([hidden]) a.added_to_cart:hover,
.wc-block-components-product-button > span:not([hidden]) a.added_to_cart.wc_forward:hover {
	background: var(--certified-green-dark) !important;
	color: #ffffff !important;
}

.wc-block-components-product-button > span:not([hidden]):has(a.added_to_cart) {
	display: block;
	width: 100%;
}

/* Out of stock — grayed image + dark button */
.woocommerce ul.products li.product.outofstock .woocommerce-LoopProduct-link,
.woocommerce ul.products li.product.outofstock .attachment-woocommerce_thumbnail,
.wc-block-product.outofstock .wc-block-components-product-image,
.wp-block-post.product.outofstock .wc-block-components-product-image,
.wp-block-post.product.outofstock .wp-block-woocommerce-product-image,
.wc-block-grid__product.outofstock .wc-block-grid__product-image {
	position: relative !important;
}

.woocommerce ul.products li.product.outofstock img,
.wc-block-product.outofstock .wc-block-components-product-image img,
.wp-block-post.product.outofstock .wc-block-components-product-image img,
.wp-block-post.product.outofstock .wp-block-woocommerce-product-image img,
.wc-block-grid__product.outofstock img {
	filter: grayscale(1) brightness(0.72) !important;
}

.woocommerce ul.products li.product.outofstock .woocommerce-LoopProduct-link::after,
.wc-block-product.outofstock .wc-block-components-product-image::after,
.wp-block-post.product.outofstock .wc-block-components-product-image::after,
.wp-block-post.product.outofstock .wp-block-woocommerce-product-image::after,
.wc-block-grid__product.outofstock .wc-block-grid__product-image::after {
	content: "" !important;
	position: absolute !important;
	inset: 0 !important;
	background: rgba(40, 40, 40, 0.4) !important;
	pointer-events: none !important;
	z-index: 1 !important;
	border-radius: inherit;
}

.woocommerce ul.products li.product.outofstock .button,
.woocommerce ul.products li.product.outofstock a.button,
.wc-block-product.outofstock .wp-block-button__link,
.wp-block-post.product.outofstock .wp-block-button__link,
.wc-block-grid__product.outofstock .wp-block-button__link,
.wc-block-product.outofstock .wc-block-components-product-button__button,
.wp-block-post.product.outofstock .wc-block-components-product-button__button {
	background-color: #3a3a3a !important;
	background: #3a3a3a !important;
	color: #ffffff !important;
	border-color: #3a3a3a !important;
	cursor: default !important;
	pointer-events: none !important;
}

.woocommerce ul.products li.product.outofstock .button:hover,
.wc-block-product.outofstock .wp-block-button__link:hover,
.wp-block-post.product.outofstock .wp-block-button__link:hover,
.wc-block-grid__product.outofstock .wp-block-button__link:hover {
	background-color: #3a3a3a !important;
	background: #3a3a3a !important;
	color: #ffffff !important;
}

.woocommerce span.onsale {
	background-color: var(--certified-green) !important;
	border-radius: 6px;
	font-weight: 700;
	color: #fff !important;
}

/* Headings */
.wp-block-heading,
h1, h2, h3, h4, h5, h6 {
	color: #ffffff !important;
	letter-spacing: -0.02em;
}

/* Links */
a {
	color: var(--certified-green);
}

a:hover {
	color: var(--certified-green-dark);
}

/* Sections */
.wp-block-group.has-background-alt-background-color,
.has-background-alt-background-color {
	background-color: var(--certified-gray-alt) !important;
}

.has-background-background-color {
	background-color: var(--certified-gray) !important;
}

.has-dark-shade-background-color {
	background-color: var(--certified-gray-dark) !important;
}

/* Parent theme “light” sections → dark brand */
.has-light-color-background-color {
	background-color: var(--certified-gray) !important;
	color: #d1d1d1 !important;
}

/* Footer — dark theme */
footer.wp-block-template-part,
footer.wp-block-template-part .wp-block-group,
footer.wp-block-template-part .has-light-color-background-color,
footer.wp-block-template-part .has-background-background-color,
footer.wp-block-template-part .has-background-alt-background-color {
	background-color: var(--certified-gray-dark) !important;
	color: #d1d1d1 !important;
}

footer.wp-block-template-part h1,
footer.wp-block-template-part h2,
footer.wp-block-template-part h3,
footer.wp-block-template-part h4,
footer.wp-block-template-part h5,
footer.wp-block-template-part h6,
footer.wp-block-template-part .wp-block-heading,
footer.wp-block-template-part .wp-block-site-title a {
	color: #ffffff !important;
}

footer.wp-block-template-part p,
footer.wp-block-template-part li,
footer.wp-block-template-part .wp-block-navigation-item__content,
footer.wp-block-template-part a {
	color: #cfcfcf !important;
}

footer.wp-block-template-part a:hover {
	color: var(--certified-green) !important;
}

/* Push Company + Categories to the right after Contact Us column is removed */
footer.wp-block-template-part .woxstore-footer .wp-block-columns {
	justify-content: flex-start !important;
	align-items: flex-start !important;
}

footer.wp-block-template-part .woxstore-footer .wp-block-column.woxstore-footer-list {
	flex: 0 1 200px !important;
	width: auto !important;
	max-width: 220px !important;
}

footer.wp-block-template-part .woxstore-footer .wp-block-column.woxstore-footer-list:first-of-type {
	margin-left: auto !important;
}

/* Hide theme payment-cards badge in footer credit row */
footer.wp-block-template-part img[src*="payment_cards"],
footer.wp-block-template-part .wp-image-11240,
footer.wp-block-template-part figure.wp-block-image:has(img[src*="payment_cards"]) {
	display: none !important;
}

footer.wp-block-template-part .certified-footer-logo-wrap,
footer.wp-block-template-part .certified-footer-logo {
	border-radius: 0 !important;
}

footer.wp-block-template-part .certified-footer-logo {
	width: auto !important;
	height: 72px !important;
	max-width: 120px !important;
	object-fit: contain !important;
	display: block !important;
}

/* Logos-only footer socials — white glyphs from icon sheet */
footer.wp-block-template-part .certified-footer-social.is-style-logos-only .wp-social-link {
	background: transparent !important;
}

footer.wp-block-template-part .certified-footer-social .wp-social-link a {
	background: transparent !important;
	color: #ffffff !important;
	padding: 0.2em !important;
	line-height: 0 !important;
}

footer.wp-block-template-part .certified-footer-social .wp-social-link img {
	display: block !important;
	width: 24px !important;
	height: 24px !important;
	object-fit: contain !important;
	filter: none !important;
}

footer.wp-block-template-part .certified-footer-social .wp-social-link a:hover {
	background: transparent !important;
	opacity: 0.75;
}

footer.wp-block-template-part input,
footer.wp-block-template-part .wpcf7 input[type="email"],
footer.wp-block-template-part .wpcf7 input[type="text"] {
	background: #2b2b2b !important;
	border: 1px solid var(--certified-border) !important;
	color: #ffffff !important;
	border-radius: 8px !important;
}

footer.wp-block-template-part .wp-block-button__link,
footer.wp-block-template-part .wpcf7 input[type="submit"] {
	background: var(--certified-green) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 8px !important;
}

/* Homepage bottom sections (latest posts / newsletter) */
.woxstore-newsletter-2,
body.home .has-light-color-background-color,
body.front-page .has-light-color-background-color {
	background-color: var(--certified-gray) !important;
	color: #d1d1d1 !important;
}

body.home .has-light-color-background-color p,
body.front-page .has-light-color-background-color p,
body.home .woxstore-newsletter-2,
body.front-page .woxstore-newsletter-2 {
	color: #d1d1d1 !important;
}

/* Social media section */
.certified-social {
	background-color: var(--certified-gray-alt) !important;
	color: #d1d1d1 !important;
}

.certified-social__title-img {
	/* Pull up to cancel ~9% empty canvas above “Social” lettering */
	margin: -21px auto 12px !important;
	max-width: min(420px, 90%) !important;
}

.certified-social__title-img img {
	width: 100% !important;
	max-width: 420px !important;
	height: auto !important;
	display: block !important;
	margin: 0 auto !important;
	object-fit: contain !important;
	mix-blend-mode: lighten;
}

.certified-social p {
	color: #d1d1d1 !important;
}

.certified-social__links {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	align-items: flex-start !important;
	gap: 18px 22px !important;
}

.certified-social__link {
	display: block !important;
	position: relative !important;
	overflow: visible !important;
	width: min(160px, 28vw) !important;
	text-decoration: none !important;
	line-height: 0 !important;
}

.certified-social__link img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	object-fit: contain !important;
	mix-blend-mode: lighten;
	transition: transform 0.2s ease, filter 0.2s ease;
	transform-origin: center center;
}

.certified-social__link:hover img {
	transform: translateY(-4px) scale(1.08);
	filter: brightness(1.08);
}

.certified-social__ribbon {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	transform: translate(-50%, -50%);
	pointer-events: none;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.certified-social__ribbon-face {
	position: relative;
	z-index: 2;
	background: var(--certified-green);
	color: #fff !important;
	font-family: var(--wp--preset--font-family--inter, "Inter", sans-serif) !important;
	font-size: clamp(0.72rem, 2vw, 0.84rem) !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
	padding: 6px 16px 5px;
	border-radius: 2px 2px 0 0;
}

/* Darker side folds under the face (3D wrap) */
.certified-social__ribbon-face::before,
.certified-social__ribbon-face::after {
	content: "";
	position: absolute;
	top: 100%;
	width: 0;
	height: 0;
	border-style: solid;
}

.certified-social__ribbon-face::before {
	left: 0;
	border-width: 7px 0 0 9px;
	border-color: var(--certified-green-dark) transparent transparent transparent;
}

.certified-social__ribbon-face::after {
	right: 0;
	border-width: 7px 9px 0 0;
	border-color: var(--certified-green-dark) transparent transparent transparent;
}

/* Swallowtail ribbon ends behind the face */
.certified-social__ribbon-tail {
	position: relative;
	z-index: 1;
	width: 22px;
	height: 26px;
	margin-top: 5px;
	background: var(--certified-green);
	flex-shrink: 0;
}

.certified-social__ribbon-tail--left {
	margin-right: -2px;
	clip-path: polygon(100% 0, 100% 100%, 0 100%, 35% 70%, 0 0);
}

.certified-social__ribbon-tail--right {
	margin-left: -2px;
	clip-path: polygon(0 0, 100% 0, 65% 70%, 100% 100%, 0 100%);
}

.certified-social__link--coming-soon {
	cursor: default !important;
}

/* Parent product template used light/white panels — force dark on product pages */
body.single-product .has-light-color-background-color,
body.single-product .has-background-background-color,
body.single-product .wp-block-cover.is-light .wp-block-cover__background {
	background-color: var(--certified-gray) !important;
	color: #d1d1d1 !important;
}

body.single-product .wp-block-cover.is-light {
	color: #d1d1d1 !important;
}

body.single-product .has-heading-color-color,
body.single-product .has-foreground-alt-color,
body.single-product .has-foreground-color {
	color: #d1d1d1 !important;
}

body.single-product h1.has-heading-color-color,
body.single-product .wp-block-post-title {
	color: #ffffff !important;
}

/* Cart / checkout notice */
.shop-trust-notice {
	background: var(--certified-gray-alt);
	border-left: 4px solid var(--certified-green);
	padding: 12px 16px;
	margin-bottom: 24px;
	font-weight: 500;
	color: #ffffff;
	border-radius: 0 8px 8px 0;
}

/* Added-to-cart / Woo notices — dark theme (no white bar) */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error,
.wc-block-components-notice-banner,
.wc-block-components-notice-banner.is-success,
.wc-block-components-notice-banner.is-info,
.wc-block-components-notice-banner.is-error,
.wc-block-store-notice,
.wp-block-woocommerce-store-notices .wc-block-components-notice-banner {
	background: #1a1a1a !important;
	background-color: #1a1a1a !important;
	border: 1px solid var(--certified-green) !important;
	border-top-color: var(--certified-green) !important;
	color: #ffffff !important;
	border-radius: 8px !important;
	box-shadow: none !important;
}

.woocommerce-error,
.wc-block-components-notice-banner.is-error {
	border-color: #d9534f !important;
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a,
.wc-block-components-notice-banner a,
.wc-block-components-notice-banner .wc-block-components-notice-banner__content a,
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-message .wc-forward,
.woocommerce-notices-wrapper a,
.wp-block-woocommerce-store-notices a,
/* Beat Woo blocks: .wc-block-components-notice-banner > …__content .wc-forward */
.wc-block-components-notice-banner > .wc-block-components-notice-banner__content .wc-forward,
.wc-block-components-notice-banner > .wc-block-components-notice-banner__content a.wc-forward,
.wc-block-components-notice-banner > .wc-block-components-notice-banner__content a.button,
.wc-block-components-notice-banner > .wc-block-components-notice-banner__content a.wp-element-button {
	color: var(--certified-green) !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	text-decoration: underline !important;
	font-weight: 700 !important;
	opacity: 1 !important;
}

.woocommerce-message a:hover,
.woocommerce-info a:hover,
.wc-block-components-notice-banner a:hover,
.woocommerce-message .button:hover,
.woocommerce-message a.button:hover,
.woocommerce-notices-wrapper a:hover,
.wp-block-woocommerce-store-notices a:hover,
.wc-block-components-notice-banner > .wc-block-components-notice-banner__content .wc-forward:hover,
.wc-block-components-notice-banner > .wc-block-components-notice-banner__content a.wc-forward:hover {
	color: #6fd66d !important;
	background: transparent !important;
	opacity: 1 !important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	color: var(--certified-green) !important;
}

.woocommerce-error::before {
	color: #d9534f !important;
}

.wc-block-components-notice-banner__content,
.wc-block-components-notice-banner__content *:not(a):not(a *) {
	color: #ffffff !important;
}

.wc-block-components-notice-banner svg,
.wc-block-components-notice-banner .wc-block-components-notice-banner__content svg {
	fill: var(--certified-green) !important;
	color: var(--certified-green) !important;
}

/* Single product — match checkout dark theme */
.certified-product-page,
body.single-product .certified-product-page,
body.single-product main {
	background: var(--certified-gray) !important;
	color: #d1d1d1 !important;
}

.certified-product-page .has-light-color-background-color,
.certified-product-page .has-background-background-color,
body.single-product .has-light-color-background-color {
	background-color: var(--certified-gray) !important;
	color: #d1d1d1 !important;
}

.certified-product-breadcrumbs {
	background: var(--certified-gray-dark) !important;
	border-bottom: 1px solid var(--certified-border);
}

.certified-product-breadcrumbs .woocommerce-breadcrumb,
.certified-product-breadcrumbs .wc-block-breadcrumbs,
.certified-product-breadcrumbs a,
.certified-product-breadcrumbs span,
body.single-product .woocommerce-breadcrumb,
body.single-product .wc-block-breadcrumbs,
body.single-product .wc-block-breadcrumbs a,
body.woocommerce-shop .woocommerce-breadcrumb,
body.woocommerce-shop .wc-block-breadcrumbs,
body.woocommerce-shop .wc-block-breadcrumbs a,
body.woocommerce-shop .wc-block-breadcrumbs span,
body.tax-product_cat .woocommerce-breadcrumb,
body.tax-product_cat .wc-block-breadcrumbs,
body.tax-product_cat .wc-block-breadcrumbs a,
body.tax-product_cat .wc-block-breadcrumbs span,
body.post-type-archive-product .woocommerce-breadcrumb,
body.post-type-archive-product .wc-block-breadcrumbs,
body.post-type-archive-product .wc-block-breadcrumbs a,
body.post-type-archive-product .wc-block-breadcrumbs span {
	color: #d1d1d1 !important;
	font-size: 0.95rem !important;
}

.certified-product-breadcrumbs a:hover,
body.single-product .wc-block-breadcrumbs a:hover,
body.woocommerce-shop .wc-block-breadcrumbs a:hover,
body.tax-product_cat .wc-block-breadcrumbs a:hover,
body.post-type-archive-product .wc-block-breadcrumbs a:hover {
	color: var(--certified-green) !important;
}

/* Shop sorting dropdown — dark theme */
.woocommerce-ordering,
body.woocommerce-shop .woocommerce-ordering,
.wc-block-product-catalog-sorting {
	color: #d1d1d1 !important;
}

.woocommerce-ordering select.orderby,
.woocommerce-ordering select,
select.orderby,
body.woocommerce-shop select.orderby,
body.post-type-archive-product select.orderby,
body.tax-product_cat select.orderby {
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	background-color: #1a1a1a !important;
	color: #ffffff !important;
	border: 1px solid var(--certified-border) !important;
	border-radius: 8px !important;
	padding: 10px 40px 10px 14px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.3 !important;
	min-height: 42px !important;
	cursor: pointer !important;
	box-shadow: none !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2349b647' d='M1.41 1.41L6 6l4.59-4.59L12 2.82 6 8.82 0 2.82z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	background-size: 12px 8px !important;
}

.woocommerce-ordering select.orderby:hover,
.woocommerce-ordering select:hover,
select.orderby:hover {
	border-color: var(--certified-green) !important;
}

.woocommerce-ordering select.orderby:focus,
.woocommerce-ordering select:focus,
select.orderby:focus {
	outline: none !important;
	border-color: var(--certified-green) !important;
	box-shadow: 0 0 0 2px rgba(73, 182, 71, 0.25) !important;
}

.woocommerce-ordering select.orderby option,
select.orderby option {
	background: #1a1a1a !important;
	color: #ffffff !important;
}

/* Shop price filter inputs — match sorting dropdown */
.wc-block-product-filter-price-slider__left input,
.wc-block-product-filter-price-slider__right input,
.wc-block-product-filter-price-slider input[type="text"],
.wc-block-product-filter-price input[type="text"],
.wc-block-product-filter-price-slider__left.text input,
.wc-block-product-filter-price-slider__right.text input {
	appearance: none !important;
	-webkit-appearance: none !important;
	background: #1a1a1a !important;
	background-color: #1a1a1a !important;
	color: #ffffff !important;
	border: 1px solid var(--certified-green) !important;
	border-radius: 8px !important;
	padding: 6px 10px !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	box-shadow: none !important;
	height: 34px !important;
	min-height: 34px !important;
	max-height: 34px !important;
	width: 72px !important;
	max-width: 72px !important;
	box-sizing: border-box !important;
	caret-color: var(--certified-green);
}

.wc-block-product-filter-price-slider__left input:focus,
.wc-block-product-filter-price-slider__right input:focus,
.wc-block-product-filter-price-slider input[type="text"]:focus,
.wc-block-product-filter-price input[type="text"]:focus {
	outline: none !important;
	border-color: var(--certified-green) !important;
	box-shadow: 0 0 0 2px rgba(73, 182, 71, 0.25) !important;
}

.wc-block-product-filter-price-slider__left,
.wc-block-product-filter-price-slider__right,
.wc-block-product-filter-price-slider__left.text,
.wc-block-product-filter-price-slider__right.text {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	height: auto !important;
	min-height: 0 !important;
	width: auto !important;
	flex: 0 0 auto !important;
}

.wc-block-product-filter-price-slider__range-input-wrapper,
.wc-block-product-filter-price-slider {
	gap: 8px !important;
}

.certified-product-summary,
.certified-product-summary .wp-block-post-title,
.certified-product-summary h1,
.certified-product-page h1.wp-block-post-title,
body.single-product .wp-block-post-title,
body.single-product .product_title {
	color: #ffffff !important;
}

.certified-product-summary .wc-block-components-product-summary,
.certified-product-summary .wp-block-woocommerce-product-summary,
.certified-product-summary p,
.certified-product-page .wc-block-components-product-summary,
body.single-product .woocommerce-product-details__short-description,
body.single-product .summary .woocommerce-product-details__short-description,
body.single-product .summary p {
	color: #d1d1d1 !important;
}

.certified-product-page .wc-block-components-product-price,
.certified-product-page .wp-block-woocommerce-product-price,
.certified-product-page .price,
body.single-product .price,
body.single-product .wc-block-components-product-price {
	color: var(--certified-green) !important;
	font-weight: 700 !important;
}

.certified-product-page .wc-block-components-product-rating,
.certified-product-page .star-rating,
body.single-product .star-rating span::before {
	color: var(--certified-green) !important;
}

.certified-product-page .wp-block-woocommerce-product-meta,
.certified-product-page .wp-block-post-terms,
.certified-product-page .wp-block-post-terms a,
body.single-product .product_meta,
body.single-product .product_meta a {
	color: #b0b0b0 !important;
}

.certified-product-page .wp-block-post-terms a:hover,
body.single-product .product_meta a:hover {
	color: var(--certified-green) !important;
}

/* Variable product attribute dropdown — readable + match site form controls */
body.single-product form.variations_form .variations,
.certified-product-page form.variations_form .variations,
body.single-product .variations,
.certified-product-page .variations {
	margin-bottom: 16px !important;
	border: none !important;
}

body.single-product form.variations_form .variations th,
body.single-product form.variations_form .variations td,
.certified-product-page form.variations_form .variations th,
.certified-product-page form.variations_form .variations td {
	border: none !important;
	background: transparent !important;
	padding: 6px 12px 6px 0 !important;
	vertical-align: middle !important;
}

body.single-product form.variations_form .variations label,
body.single-product .variations .label label,
.certified-product-page form.variations_form .variations label,
.certified-product-page .variations .label label {
	color: #ffffff !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

body.single-product form.variations_form .variations select,
body.single-product .variations select,
.certified-product-page form.variations_form .variations select,
.certified-product-page .variations select,
body.single-product select[name^="attribute_"],
.certified-product-page select[name^="attribute_"] {
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	background-color: #1a1a1a !important;
	color: #ffffff !important;
	border: 1px solid var(--certified-border) !important;
	border-radius: 8px !important;
	padding: 12px 40px 12px 14px !important;
	font-size: 1rem !important;
	font-weight: 500 !important;
	line-height: 1.3 !important;
	min-height: 48px !important;
	min-width: 220px !important;
	max-width: 100% !important;
	cursor: pointer !important;
	box-shadow: none !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2349b647' d='M1.41 1.41L6 6l4.59-4.59L12 2.82 6 8.82 0 2.82z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	background-size: 12px 8px !important;
}

body.single-product form.variations_form .variations select:hover,
body.single-product .variations select:hover,
.certified-product-page .variations select:hover,
body.single-product select[name^="attribute_"]:hover {
	border-color: var(--certified-green) !important;
}

body.single-product form.variations_form .variations select:focus,
body.single-product .variations select:focus,
.certified-product-page .variations select:focus,
body.single-product select[name^="attribute_"]:focus {
	outline: none !important;
	border-color: var(--certified-green) !important;
	box-shadow: 0 0 0 2px rgba(73, 182, 71, 0.25) !important;
	color: #ffffff !important;
}

body.single-product form.variations_form .variations select option,
body.single-product .variations select option,
.certified-product-page .variations select option,
body.single-product select[name^="attribute_"] option {
	background: #1a1a1a !important;
	color: #ffffff !important;
}

body.single-product .reset_variations,
.certified-product-page .reset_variations {
	color: var(--certified-green) !important;
	font-size: 0.95rem !important;
	font-weight: 500 !important;
	margin-left: 10px !important;
	text-decoration: none !important;
}

body.single-product .reset_variations:hover,
.certified-product-page .reset_variations:hover {
	color: var(--certified-green-dark) !important;
	text-decoration: underline !important;
}

/* Quantity + add to cart */
body.single-product .quantity,
.certified-product-page .quantity {
	display: inline-flex !important;
	align-items: center !important;
	/* Equal spacing handled on the +/- buttons so both sides match */
	gap: 0 !important;
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
}

/* WC add-to-cart-form uses CSS grid and sets .quantity { margin-right: 4px } — override that */
body.single-product .wp-block-woocommerce-add-to-cart-form form.cart,
.certified-product-page .wp-block-woocommerce-add-to-cart-form form.cart,
body.single-product .wp-block-add-to-cart-form form.cart,
.certified-product-page .wp-block-add-to-cart-form form.cart {
	column-gap: 24px !important;
}

body.single-product .wp-block-woocommerce-add-to-cart-form .quantity,
.certified-product-page .wp-block-woocommerce-add-to-cart-form .quantity,
body.single-product .wp-block-add-to-cart-form .quantity,
.certified-product-page .wp-block-add-to-cart-form .quantity,
body.single-product form.cart .quantity,
.certified-product-page form.cart .quantity {
	margin-right: 24px !important;
}

body.single-product .wp-block-woocommerce-add-to-cart-form form.cart > .single_add_to_cart_button,
.certified-product-page .wp-block-woocommerce-add-to-cart-form form.cart > .single_add_to_cart_button,
body.single-product form.cart > .single_add_to_cart_button,
.certified-product-page form.cart > .single_add_to_cart_button {
	margin-left: 0 !important;
}

.certified-product-page .quantity .qty,
.certified-product-page input.qty,
body.single-product .quantity .qty,
body.single-product input.qty {
	background: #2b2b2b !important;
	border: 1px solid var(--certified-border) !important;
	border-radius: 8px !important;
	color: #ffffff !important;
	padding: 10px 8px !important;
	min-height: 48px;
	width: 64px !important;
	margin: 0 !important;
	text-align: center !important;
	font-size: 1.25rem !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	-moz-appearance: textfield;
	appearance: textfield;
}

/* Hide native white spinner squares (they can push the + further out) */
body.single-product .quantity .qty::-webkit-outer-spin-button,
body.single-product .quantity .qty::-webkit-inner-spin-button,
.certified-product-page .quantity .qty::-webkit-outer-spin-button,
.certified-product-page .quantity .qty::-webkit-inner-spin-button {
	-webkit-appearance: none !important;
	margin: 0 !important;
	display: none !important;
	width: 0 !important;
	height: 0 !important;
}

body.single-product .certified-qty-btn,
.certified-product-page .certified-qty-btn {
	appearance: none !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	color: #ffffff !important;
	font-size: 22px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	width: 28px !important;
	min-width: 28px !important;
	height: 40px !important;
	padding: 0 !important;
	cursor: pointer;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 28px !important;
}

/* Same distance from the number field on both sides */
body.single-product .certified-qty-btn--minus,
.certified-product-page .certified-qty-btn--minus {
	margin: 0 6px 0 0 !important;
	order: 0;
}

body.single-product .certified-qty-btn--plus,
.certified-product-page .certified-qty-btn--plus {
	margin: 0 0 0 6px !important;
	order: 2;
}

body.single-product .quantity .qty,
.certified-product-page .quantity .qty {
	order: 1;
}

body.single-product .certified-qty-btn:hover,
.certified-product-page .certified-qty-btn:hover {
	color: var(--certified-green) !important;
	background: transparent !important;
}

/* Gallery next/prev — arrows only, no white squares */
body.single-product .wc-block-next-previous-buttons__button,
.certified-product-page .wc-block-next-previous-buttons__button,
body.single-product .wc-block-product-gallery-large-image-next-previous button {
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	width: auto !important;
	min-width: 0 !important;
	height: auto !important;
	min-height: 0 !important;
	padding: 10px !important;
	color: #ffffff !important;
	opacity: 0.9;
}

body.single-product .wc-block-next-previous-buttons__button:hover,
.certified-product-page .wc-block-next-previous-buttons__button:hover {
	background: transparent !important;
	color: var(--certified-green) !important;
	opacity: 1;
}

body.single-product .wc-block-next-previous-buttons__button[aria-disabled="true"],
.certified-product-page .wc-block-next-previous-buttons__button[aria-disabled="true"] {
	opacity: 0.35 !important;
}

body.single-product .wc-block-next-previous-buttons__icon,
body.single-product .wc-block-next-previous-buttons__icon path,
.certified-product-page .wc-block-next-previous-buttons__icon,
.certified-product-page .wc-block-next-previous-buttons__icon path {
	fill: currentColor !important;
	color: inherit !important;
}

.woocommerce div.product form.cart .button,
.certified-product-page .single_add_to_cart_button,
.certified-product-page .wp-block-button__link,
body.single-product .single_add_to_cart_button {
	background-color: var(--certified-green) !important;
	border-radius: 8px !important;
	padding: 14px 32px !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #fff !important;
	border: none !important;
}

.woocommerce div.product form.cart .button:hover,
.certified-product-page .single_add_to_cart_button:hover,
body.single-product .single_add_to_cart_button:hover {
	background-color: var(--certified-green-dark) !important;
}

/* Related products — titles max 2 lines with ellipsis */
body.single-product .wp-block-woocommerce-product-collection .wp-block-post-title,
.certified-product-page .wp-block-woocommerce-product-collection .wp-block-post-title,
body.single-product .wp-block-woocommerce-product-collection .wp-block-post-title a,
.certified-product-page .wp-block-woocommerce-product-collection .wp-block-post-title a {
	display: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	line-clamp: 2 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	line-height: 1.35 !important;
	max-height: calc(1.35em * 2) !important;
}

/* Related products — price same size as title */
body.single-product .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-price,
.certified-product-page .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-price,
body.single-product .wp-block-woocommerce-product-collection .wc-block-components-product-price,
.certified-product-page .wp-block-woocommerce-product-collection .wc-block-components-product-price,
body.single-product .wp-block-woocommerce-product-collection .wc-block-components-product-price__value,
.certified-product-page .wp-block-woocommerce-product-collection .wc-block-components-product-price__value {
	font-size: var(--wp--preset--font-size--medium, 20px) !important;
}

/* Product details / tabs */
.certified-product-details,
.certified-product-page .woocommerce-tabs,
body.single-product .woocommerce-Tabs-panel,
body.single-product .wc-tabs-wrapper {
	color: #d1d1d1 !important;
}

.certified-product-details h2,
.certified-product-details h3,
.certified-product-page .woocommerce-Tabs-panel h2,
body.single-product .woocommerce-tabs ul.tabs li a {
	color: #ffffff !important;
}

body.single-product .woocommerce-tabs ul.tabs {
	border-bottom: 1px solid #ffffff !important;
	padding: 0 !important;
	margin-bottom: 24px !important;
	overflow: visible !important;
}

body.single-product .woocommerce-tabs ul.tabs li {
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

/* Remove WooCommerce tab corner “divots” on the underline */
body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after,
.certified-product-details .woocommerce-tabs ul.tabs li::before,
.certified-product-details .woocommerce-tabs ul.tabs li::after {
	display: none !important;
	content: none !important;
	border: none !important;
	width: 0 !important;
	height: 0 !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active a,
body.single-product .woocommerce-tabs ul.tabs li a:hover {
	color: var(--certified-green) !important;
}

/* Hide Additional information tab if a plugin/theme re-adds it */
body.single-product .woocommerce-tabs ul.tabs li.additional_information_tab,
body.single-product #tab-additional_information,
.certified-product-details .woocommerce-tabs ul.tabs li.additional_information_tab,
.certified-product-details #tab-additional_information {
	display: none !important;
}

.certified-product-page .wc-block-product-gallery,
.certified-product-page .wc-block-product-gallery img {
	border-radius: 12px;
	background: var(--certified-gray-alt);
}

/* Variation colour must hide every other slide, including [hidden] overrides. */
body.single-product .wc-block-product-gallery-large-image__wrapper[hidden],
body.single-product .wc-block-product-gallery-thumbnails__thumbnail[hidden] {
	display: none !important;
}

body.single-product .wc-block-product-gallery.certified-gallery-variation-locked .wc-block-product-gallery-large-image-next-previous,
body.single-product .wc-block-product-gallery.certified-gallery-variation-locked .wc-block-product-gallery-thumbnails {
	display: none !important;
}

body.single-product .wc-block-product-gallery.certified-gallery-variation-locked .wc-block-product-gallery-large-image__wrapper:not([data-certified-active="1"]) {
	display: none !important;
}

/* Related products title already uses global white headings */

/* Bulk / Gadgets / Glassware — replaced cover blocks with responsive image tiles */
.certified-cat-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-areas:
		"gadgets bulk"
		"gadgets glass";
	gap: 16px;
	width: 100%;
}

.certified-cat-tile {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 24px;
	background: #000;
	line-height: 0;
	text-decoration: none;
}

.certified-cat-tile--gadgets {
	grid-area: gadgets;
}

.certified-cat-tile--bulk {
	grid-area: bulk;
}

.certified-cat-tile--glassware {
	grid-area: glass;
}

.certified-cat-tile img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	object-fit: contain;
	object-position: center center;
	transition: transform 0.23s ease;
}

.certified-cat-tile:hover img {
	transform: scale(1.03);
}

/* Overlay CTAs removed — the images themselves are the links. */
.certified-cat-tile__btn {
	display: none !important;
}

/*
 * Coming soon tiles reuse the swallowtail ribbon from the social links so the
 * two always match, angled bottom-left to top-right and slung across the
 * bottom-right corner so it hangs off the edge of the artwork. The tile is
 * not a link while the ribbon is showing, though the image still zooms on
 * hover — the ribbon keeps pointer-events:none so it never blocks that.
 */
.certified-cat-tile--coming-soon {
	cursor: default;
	/* The ribbon can only overhang the corner if the tile stops clipping. */
	overflow: visible;
}

/*
 * With the tile no longer clipping, the photo needs a clip of its own or the
 * hover zoom would spill past the rounded corners. Only the coming soon tile
 * carries this wrapper; the others are still clipped by the tile itself.
 */
.certified-cat-tile__media {
	display: block;
	overflow: hidden;
	border-radius: 24px;
	line-height: 0;
}

/*
 * Anchored by its centre rather than its edges: rotating the ribbon grows its
 * bounding box, so edge offsets would not track where the visible band lands.
 * A centre 54px in from the corner leaves an even 37px overhang on both sides
 * at desktop width.
 */
.certified-cat-tile .certified-social__ribbon {
	top: calc(100% - 54px);
	left: calc(100% - 54px);
	transform: translate(-50%, -50%) rotate(-45deg);
	z-index: 3;
}

.certified-cat-tile .certified-social__ribbon-face {
	font-size: clamp(0.8rem, 1.5vw, 1.05rem) !important;
	letter-spacing: 0.06em;
	padding: 8px 22px 7px;
}

.certified-cat-tile .certified-social__ribbon-face::before {
	border-width: 8px 0 0 10px;
}

.certified-cat-tile .certified-social__ribbon-face::after {
	border-width: 8px 10px 0 0;
}

.certified-cat-tile .certified-social__ribbon-tail {
	width: 24px;
	height: 28px;
	margin-top: 6px;
}

/*
 * One column below this, so the tile drops to about a third of its desktop
 * size while the ribbon would stay put and bury the title lettering. Scaling
 * it keeps the proportions, and the tighter offset holds the overhang at 10px
 * so it still clears the 16px page gutter on a 320px phone.
 */
@media (max-width: 899px) {
	.certified-cat-tile .certified-social__ribbon {
		top: calc(100% - 52px);
		left: calc(100% - 52px);
		transform: translate(-50%, -50%) rotate(-45deg) scale(0.78);
	}
}

/* Legacy cover classes kept as no-ops if old markup is cached */
.certified-cover-bulk,
.certified-cover-gadgets,
.certified-cover-glassware {
	overflow: hidden !important;
}

@media (max-width: 899px) {
	.certified-featured-categories {
		padding-left: 16px !important;
		padding-right: 16px !important;
		padding-top: 40px !important;
		padding-bottom: 40px !important;
	}

	.certified-cat-grid {
		grid-template-columns: 1fr;
		grid-template-areas:
			"gadgets"
			"bulk"
			"glass";
		gap: 14px;
	}

	.certified-cat-tile,
	.certified-cat-tile__media {
		border-radius: 16px;
	}

	.certified-cat-tile img {
		width: 100%;
		height: auto;
		object-fit: contain;
		transform: none !important;
	}

	.certified-cat-tile:hover img {
		transform: none;
	}
}

.certified-slider-bulk .wp-block-cover__image-background {
	object-fit: cover !important;
	object-position: center center !important;
}

/* Homepage banner slider — slightly shorter than theme default 800px */
.woxstore-slider .wp-block-cover.swiper-slide,
.woxstore-slider-holder .wp-block-cover.swiper-slide,
.woxstore-slider .certified-slider-bulk {
	min-height: 620px !important;
	height: 620px !important;
}

.woxstore-slider,
.woxstore-slider .swiper,
.woxstore-slider-holder {
	min-height: 620px !important;
}

@media (max-width: 781px) {
	.woxstore-slider .wp-block-cover.swiper-slide,
	.woxstore-slider-holder .wp-block-cover.swiper-slide,
	.woxstore-slider .certified-slider-bulk,
	.woxstore-slider,
	.woxstore-slider .swiper,
	.woxstore-slider-holder {
		min-height: 420px !important;
		height: 420px !important;
	}
}

/* Hide duplicate site title in headers (logo only) */
header .wp-block-site-title,
.wp-block-template-part .wp-block-site-title,
.certified-header .wp-block-site-title,
header h1.wp-block-site-title,
.wp-block-template-part h1.wp-block-site-title {
	display: none !important;
}

/* Old PHP top bar — permanently removed */
.certified-topbar {
	display: none !important;
}

/*
 * Nav row: logo left | centered links | icons right
 * Logo is oversized and bleeds into green promo + trust bars; nav height stays 64px.
 */
header.wp-block-template-part > .wp-block-group > .wp-block-group.is-layout-flex,
.wp-block-template-part > .wp-block-group > .wp-block-group.is-layout-flex,
.certified-header .certified-nav-row,
.certified-header > .wp-block-group > .wp-block-group.is-layout-flex {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0 !important;
	width: 100% !important;
	min-height: 80px;
	height: 80px;
	overflow: visible !important;
	position: static !important; /* let logo position against .certified-header */
	/* Clearance for the fluid seal + right icons */
	padding-left: clamp(90px, 24vw, 240px) !important;
	padding-right: clamp(84px, 22vw, 280px) !important;
	box-sizing: border-box !important;
}

/* Dark nav shell — match graffiti image canvas (#131313) so plate disappears */
.certified-header > .has-dark-shade-background-color,
.certified-header .has-dark-shade-background-color {
	position: static !important;
	overflow: visible !important;
	z-index: 2;
	background-color: #131313 !important;
	background: #131313 !important;
}

/* Allow bleed through every header wrapper */
.certified-header .has-primary-background-color,
.certified-header .has-dark-shade-background-color,
header.wp-block-template-part .wp-block-group {
	overflow: visible !important;
}

/* Keep promo bar under the overlapping logo — match trust bar thickness */
.certified-header > .has-primary-background-color,
.certified-header > .certified-promo-bar {
	position: relative;
	z-index: 1;
	padding-top: 14px !important;
	padding-bottom: 14px !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
}

.certified-header > .has-primary-background-color p {
	font-size: 15px !important;
	font-weight: 600 !important;
	letter-spacing: 0.5px !important;
	line-height: 1.2 !important;
	margin: 0 auto !important;
	padding: 0 !important;
	text-align: center !important;
	width: 100% !important;
}

/* Rolling green promo ticker — packed full on load, scrolls continuously to the right */
.certified-promo-bar__viewport {
	width: 100%;
	overflow: hidden;
}

.certified-promo-bar__track {
	display: flex;
	width: max-content;
	/* Match the 0% keyframe so first paint is already a full bar of text */
	transform: translateX(-50%);
	animation: certified-promo-marquee-right 45s linear infinite;
	will-change: transform;
}

.certified-promo-bar__group {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	gap: 0;
	/* Each half is at least full viewport width → no empty green on load */
	min-width: 100vw;
	box-sizing: border-box;
}

.certified-promo-bar__item {
	flex: 0 0 auto;
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.5px;
	line-height: 1.2;
	white-space: nowrap;
	padding: 0 8px;
}

.certified-promo-bar__dot {
	flex: 0 0 auto;
	color: rgba(255, 255, 255, 0.55);
	font-size: 14px;
	line-height: 1;
	padding: 0 28px;
	user-select: none;
}

@keyframes certified-promo-marquee-right {
	from {
		transform: translateX(-50%);
	}
	to {
		transform: translateX(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.certified-promo-bar__track {
		animation: none;
		transform: none;
		justify-content: center;
		width: 100%;
	}

	.certified-promo-bar__group[aria-hidden="true"],
	.certified-promo-bar__dot {
		display: none;
	}

	.certified-promo-bar__group {
		justify-content: center;
		width: 100%;
	}

	.certified-promo-bar__item:not(:first-child) {
		display: none;
	}
}

/* Injected brand logo — oversized on desktop; JS + media queries shrink on smaller screens */
.certified-nav-logo-wrap {
	display: block !important;
	position: absolute !important;
	left: 28px !important;
	top: 104px !important;
	transform: translateY(-50%) !important;
	z-index: 50;
	margin: 0 !important;
	line-height: 0 !important;
	width: 255px !important;
	height: 196px !important;
	pointer-events: auto;
}

/* Prefer injected logo; hide block site-logo to avoid duplicates */
header .wp-block-site-logo,
.wp-block-template-part .wp-block-site-logo,
.certified-header .wp-block-site-logo {
	display: none !important;
}

.certified-nav-logo-wrap .custom-logo-link,
.certified-nav-logo-link {
	display: block !important;
	line-height: 0 !important;
	width: 100% !important;
	height: 100% !important;
}

.certified-nav-logo-wrap .custom-logo,
.certified-nav-logo-wrap .certified-nav-logo,
.certified-nav-logo-wrap .custom-logo-link img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
	object-position: left center !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	padding: 0 !important;
	filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5));
}

@media (max-width: 1199px) {
	html body .certified-nav-logo-wrap {
		left: 14px !important;
		top: 100px !important;
		width: 180px !important;
		height: 138px !important;
	}
}

@media (max-width: 899px) {
	html body header.wp-block-template-part > .wp-block-group > .wp-block-group.is-layout-flex,
	html body .certified-header .certified-nav-row {
		padding-right: 8px !important;
	}
}

/* Nav links centered across the middle of the page */
header .wp-block-navigation,
.wp-block-template-part .wp-block-navigation,
.certified-header .wp-block-navigation {
	flex: 1 1 auto !important;
	width: 100% !important;
	max-width: 100% !important;
	position: static !important;
	transform: none !important;
	left: auto !important;
	margin: 0 !important;
	overflow: visible !important;
}

header .wp-block-navigation .wp-block-navigation__container,
.wp-block-template-part .wp-block-navigation .wp-block-navigation__container,
.certified-header .wp-block-navigation .wp-block-navigation__container {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	justify-content: center !important;
	align-items: center !important;
	width: 100% !important;
	max-width: 1100px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	gap: 48px !important;
	white-space: nowrap !important;
	overflow: visible !important;
}

header .wp-block-navigation-item,
.wp-block-template-part .wp-block-navigation-item {
	display: inline-flex !important;
	white-space: nowrap !important;
	flex: 0 0 auto;
	position: relative;
}

/* Image-based primary nav */
.certified-image-nav {
	flex: 1 1 auto !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	width: 100% !important;
	overflow: visible !important;
	z-index: 40;
}

.certified-image-nav__list {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 72px !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
}

.certified-image-nav__item {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	position: relative !important;
	display: flex !important;
	align-items: center !important;
}

.certified-image-nav__link {
	display: block !important;
	line-height: 0 !important;
	text-decoration: none !important;
}

.certified-image-nav__text {
	display: none;
}

.certified-image-nav__img {
	display: block !important;
	height: 64px !important;
	width: auto !important;
	max-width: none !important;
	object-fit: contain !important;
	background: transparent !important;
	/* Grow visuals without growing the 80px nav bar */
	transform: scale(1.45);
	transform-origin: center center;
	transition: transform 0.2s ease, filter 0.2s ease;
	/* Canvas matches nav #131313 — no blend needed */
	mix-blend-mode: normal;
}

/* Longer graffiti words read smaller — bump these up to match Shop / My Account / About Us */
.certified-image-nav__item:nth-child(2) .certified-image-nav__img,
.certified-image-nav__item:nth-child(4) .certified-image-nav__img {
	transform: scale(1.7);
}

.certified-image-nav__link:hover .certified-image-nav__img {
	transform: scale(1.55);
	filter: brightness(1.08);
}

.certified-image-nav__item:nth-child(2) .certified-image-nav__link:hover .certified-image-nav__img,
.certified-image-nav__item:nth-child(4) .certified-image-nav__link:hover .certified-image-nav__img {
	transform: scale(1.8);
}

/* Products dropdown */
.certified-header .certified-nav-products,
.certified-header .wp-block-navigation-item.has-child.certified-nav-products,
.certified-image-nav .certified-nav-products {
	position: relative !important;
	/* Don’t open from empty nav padding — only from the image / menu */
	pointer-events: none;
}

.certified-header .certified-nav-products > .wp-block-navigation-item__content,
.certified-header .certified-nav-products > button.wp-block-navigation-submenu__toggle,
.certified-image-nav .certified-nav-products > .certified-image-nav__submenu {
	pointer-events: auto;
	cursor: pointer;
}

/*
 * Products asset is square with empty padding above/below the word.
 * Keep the image layout unchanged; only a centered hit strip receives hover.
 */
.certified-image-nav .certified-nav-products__toggle {
	position: relative !important;
	pointer-events: none;
	cursor: pointer;
}

.certified-image-nav .certified-nav-products__toggle::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 30px;
	pointer-events: auto;
	z-index: 2;
}

.certified-image-nav .certified-nav-products__toggle .certified-image-nav__img {
	pointer-events: none;
}

/* Keep submenu toggle but hide chevron so it reads as a normal “Products” label */
.certified-header .certified-nav-products > .wp-block-navigation-submenu__toggle svg {
	display: none !important;
}

.certified-header .certified-nav-products > .wp-block-navigation-submenu__toggle {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 0 0 4px !important;
	min-width: 0 !important;
	width: auto !important;
	height: auto !important;
}

.certified-header .certified-nav-products .wp-block-navigation__submenu-container,
.certified-header .wp-block-navigation .certified-nav-products > .wp-block-navigation__submenu-container,
.certified-image-nav .certified-nav-products > .certified-image-nav__submenu {
	display: none !important;
	position: absolute !important;
	left: 50% !important;
	top: calc(100% + 10px) !important;
	transform: translateX(-50%) !important;
	min-width: 200px !important;
	padding: 10px 0 !important;
	margin: 0 !important;
	background: #1a1a1a !important;
	border: 1px solid var(--certified-green) !important;
	border-radius: 8px !important;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4) !important;
	z-index: 100 !important;
	opacity: 1 !important;
	visibility: visible !important;
	width: max-content !important;
	height: auto !important;
	overflow: visible !important;
	list-style: none !important;
}

/* Open only when the Products image is hovered (same as zoom), or while on the menu */
.certified-header .certified-nav-products:has(> .wp-block-navigation-item__content:hover) > .wp-block-navigation__submenu-container,
.certified-header .certified-nav-products:has(> .wp-block-navigation__submenu-container:hover) > .wp-block-navigation__submenu-container,
.certified-header .certified-nav-products.is-open > .wp-block-navigation__submenu-container,
.certified-header .certified-nav-products:focus-within > .wp-block-navigation__submenu-container,
.certified-image-nav .certified-nav-products:has(> .certified-nav-products__toggle:hover) > .certified-image-nav__submenu,
.certified-image-nav .certified-nav-products:has(> .certified-image-nav__submenu:hover) > .certified-image-nav__submenu,
.certified-image-nav .certified-nav-products.is-open > .certified-image-nav__submenu,
.certified-image-nav .certified-nav-products:focus-within > .certified-image-nav__submenu {
	display: flex !important;
	flex-direction: column !important;
}

.certified-header .certified-nav-products .wp-block-navigation__submenu-container .wp-block-navigation-item {
	display: block !important;
	width: 100% !important;
	white-space: nowrap !important;
}

.certified-header .certified-nav-products .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: block !important;
	padding: 10px 18px !important;
	color: #ffffff !important;
	text-decoration: none !important;
	font-weight: 500 !important;
}

.certified-header .certified-nav-products .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.certified-image-nav .certified-nav-products .wp-block-navigation-item__content:hover {
	color: var(--certified-green) !important;
	background: rgba(73, 182, 71, 0.12) !important;
}

.certified-image-nav .certified-nav-products .wp-block-navigation-item__content {
	display: block !important;
	padding: 10px 18px !important;
	color: #ffffff !important;
	text-decoration: none !important;
	font-weight: 500 !important;
}

/* Brands / Categories nested flyouts */
.certified-image-nav .certified-nav-flyout {
	position: relative !important;
}

.certified-image-nav .certified-nav-flyout__label {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 28px !important;
	min-width: 200px !important;
}

.certified-image-nav .certified-nav-flyout__label::after {
	content: "›";
	font-size: 18px;
	line-height: 1;
	color: var(--certified-green);
	opacity: 0.9;
	margin-left: 12px;
}

.certified-image-nav .certified-nav-flyout__menu {
	display: none !important;
	position: absolute !important;
	left: calc(100% + 2px) !important;
	top: -10px !important;
	min-width: 200px !important;
	margin: 0 !important;
	padding: 10px 0 !important;
	list-style: none !important;
	background: #1a1a1a !important;
	border: 1px solid var(--certified-green) !important;
	border-radius: 8px !important;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4) !important;
	z-index: 110 !important;
}

.certified-image-nav .certified-nav-flyout:hover > .certified-nav-flyout__menu,
.certified-image-nav .certified-nav-flyout:focus-within > .certified-nav-flyout__menu {
	display: block !important;
}

.certified-image-nav .certified-nav-flyout:hover > .certified-nav-flyout__label,
.certified-image-nav .certified-nav-flyout:focus-within > .certified-nav-flyout__label {
	color: var(--certified-green) !important;
	background: rgba(73, 182, 71, 0.12) !important;
}

/* Keep submenu open when moving from label into menu */
.certified-header .certified-nav-products > .wp-block-navigation__submenu-container::before,
.certified-image-nav .certified-nav-products > .certified-image-nav__submenu::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -22px;
	height: 22px;
}

.certified-image-nav .certified-nav-flyout__menu::before {
	content: "";
	position: absolute;
	left: -10px;
	top: 0;
	width: 10px;
	height: 100%;
}

/* Search / account / cart icons on the far right — relative to full header */
header .wp-block-group.is-layout-flex > .wp-block-group.is-layout-flex,
.wp-block-template-part .wp-block-group.is-layout-flex > .wp-block-group.is-layout-flex,
.certified-header .certified-header-actions,
.certified-header .wp-block-group.is-layout-flex > .wp-block-group.is-layout-flex {
	position: absolute !important;
	right: 24px !important;
	top: 104px !important; /* middle of dark nav band */
	transform: translateY(-50%) !important;
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 10px !important;
	column-gap: 10px !important;
	z-index: 40;
}

.certified-header .certified-header-actions > *,
.certified-header-actions .wp-block-search,
.certified-header-actions .wp-block-woocommerce-customer-account,
.certified-header-actions .wc-block-mini-cart,
.certified-header-actions .certified-checkout-cart-link {
	margin: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	align-self: center !important;
}

.certified-header-actions .wc-block-mini-cart,
.certified-header-actions .wc-block-mini-cart__button {
	margin: 0 !important;
}

/* Graffiti action icons (search / account / cart) — match prior ~24px visual weight */
.certified-header-actions .wp-block-search__button,
.certified-header-actions .wp-block-woocommerce-customer-account a,
.certified-header-actions .wc-block-mini-cart__button,
.certified-header-actions .certified-checkout-cart-link {
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	align-self: center !important;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	min-height: 40px !important;
	max-height: 40px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background-color: transparent !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: contain !important;
	box-shadow: none !important;
	overflow: visible !important;
	color: transparent !important;
	line-height: 0 !important;
	vertical-align: middle !important;
}

.certified-header-actions .wp-block-search__button {
	background-image: url("./brand/icon-search.png") !important;
}

/* Expanded search: full icon, same size as account/cart, inset so green border stays clear */
.certified-header-actions .wp-block-search .wp-block-search__inside-wrapper {
	overflow: hidden !important;
	align-items: center !important;
}

.certified-header-actions .wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button {
	width: 40px !important;
	min-width: 40px !important;
	height: 40px !important;
	min-height: 40px !important;
	max-height: 40px !important;
	align-self: center !important;
	flex-shrink: 0 !important;
	margin: 0 3px 0 0 !important;
	padding: 0 !important;
	border-radius: 0 5px 5px 0 !important;
	overflow: hidden !important;
	background-color: #131313 !important;
	background-image: url("./brand/icon-search.png") !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
	background-size: 40px 40px !important;
	box-shadow: none !important;
	aspect-ratio: 1 / 1 !important;
}

.certified-header-actions .wp-block-search .wp-block-search__inside-wrapper:focus-within {
	outline: 2px solid var(--certified-green) !important;
	outline-offset: 0 !important;
	box-shadow: 0 0 0 2px var(--certified-green) !important;
	border-color: var(--certified-green) !important;
}

.certified-header-actions .wp-block-search .wp-block-search__inside-wrapper .wp-block-search__input:focus,
.certified-header-actions .wp-block-search .wp-block-search__inside-wrapper .wp-block-search__input:focus-visible {
	outline: none !important;
	box-shadow: none !important;
	border-color: transparent !important;
}

.certified-header-actions .wp-block-woocommerce-customer-account a {
	background-image: url("./brand/icon-account.png") !important;
}

.certified-header-actions .wc-block-mini-cart__button {
	background-image: url("./brand/icon-cart.png") !important;
}

.certified-header-actions .wp-block-search__button svg,
.certified-header-actions .wp-block-woocommerce-customer-account svg,
.certified-header-actions .wc-block-mini-cart__button > svg,
.certified-header-actions .wc-block-mini-cart__button .wc-block-mini-cart__icon {
	opacity: 0 !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	position: absolute !important;
}

.certified-header-actions .wc-block-mini-cart__quantity-badge {
	position: relative !important;
	display: block !important;
	width: 40px !important;
	height: 40px !important;
	background-color: transparent !important;
	background-image: none !important;
}

.certified-header-actions .wc-block-mini-cart__badge {
	position: absolute !important;
	top: 2px !important;
	right: 0 !important;
	z-index: 2;
	opacity: 1 !important;
	visibility: visible !important;
	min-width: 16px !important;
	height: 16px !important;
	padding: 0 4px !important;
	border-radius: 999px !important;
	font-size: 10px !important;
	line-height: 16px !important;
	text-align: center !important;
	box-sizing: border-box !important;
	background: #49b647 !important;
	color: #000000 !important;
	font-weight: 700 !important;
}

.certified-header-actions .wc-block-mini-cart__badge:empty,
.certified-header-actions .wc-block-mini-cart__badge[hidden] {
	display: none !important;
}

/* Hide duplicate account icon outside the cart/actions group */
.certified-header .certified-nav-row > .wp-block-woocommerce-customer-account,
header .certified-nav-row > .wp-block-woocommerce-customer-account {
	display: none !important;
}

/* Search field focus — green outline to match search button */
header .wp-block-search .wp-block-search__input,
.certified-header .wp-block-search .wp-block-search__input,
.certified-search .wp-block-search__input,
.woxstore-search-icon .wp-block-search__input {
	outline: none !important;
	border-color: transparent;
	box-shadow: none;
	border-radius: 8px !important;
}

header .wp-block-search .wp-block-search__inside-wrapper,
.certified-header .wp-block-search .wp-block-search__inside-wrapper,
.certified-search .wp-block-search__inside-wrapper,
.woxstore-search-icon .wp-block-search__inside-wrapper {
	border-radius: 8px !important;
	overflow: hidden;
}

header .wp-block-search .wp-block-search__button,
.certified-header .wp-block-search .wp-block-search__button,
.certified-search .wp-block-search__button,
.woxstore-search-icon .wp-block-search__button {
	border-radius: 8px !important;
}

header .wp-block-search .wp-block-search__input:focus,
header .wp-block-search .wp-block-search__input:focus-visible,
.certified-header .wp-block-search .wp-block-search__input:focus,
.certified-header .wp-block-search .wp-block-search__input:focus-visible,
.certified-search .wp-block-search__input:focus,
.certified-search .wp-block-search__input:focus-visible,
.woxstore-search-icon .wp-block-search__input:focus,
.woxstore-search-icon .wp-block-search__input:focus-visible {
	outline: 2px solid var(--certified-green) !important;
	outline-offset: 0 !important;
	border-color: var(--certified-green) !important;
	box-shadow: 0 0 0 2px var(--certified-green) !important;
	caret-color: var(--certified-gray-dark);
	border-radius: 8px !important;
}

header .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper:focus-within,
.certified-search .wp-block-search__inside-wrapper:focus-within,
.woxstore-search-icon .wp-block-search__inside-wrapper:focus-within {
	outline: 2px solid var(--certified-green) !important;
	outline-offset: 0 !important;
	box-shadow: 0 0 0 2px var(--certified-green) !important;
	border-color: var(--certified-green) !important;
	border-radius: 8px !important;
}

.certified-nav-toggle {
	display: none;
}

@media (max-width: 899px) {
	body.certified-nav-locked {
		overflow: hidden;
	}

	/*
	 * Phone/tablet header is logo | icons | hamburger. The five graffiti
	 * words cannot share that row, so they move into a drop-down panel.
	 */
	html body header.wp-block-template-part > .wp-block-group > .wp-block-group.is-layout-flex,
	html body .certified-header .certified-nav-row,
	html body .certified-header .certified-nav-row.is-layout-flex {
		position: relative !important;
		justify-content: flex-end !important;
		align-items: center !important;
		height: 64px !important;
		min-height: 64px !important;
		padding-left: 10px !important;
		padding-right: 8px !important;
		gap: 8px !important;
	}

	/*
	 * Same bleed as desktop: the seal sits on the nav row but hangs
	 * into the green shipping ticker above and the green trust line below.
	 * Kept smaller than desktop so search / account / cart still fit.
	 */
	html body .certified-nav-logo-wrap {
		position: absolute !important;
		left: 0 !important;
		top: 94px !important;
		transform: translateY(-50%) !important;
		width: 152px !important;
		height: 128px !important;
		flex: 0 0 auto;
		z-index: 50;
		pointer-events: auto;
	}

	.certified-nav-toggle {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		position: absolute !important;
		right: 6px !important;
		top: 96px !important;
		transform: translateY(-50%) !important;
		order: 3;
		width: 44px;
		height: 44px;
		min-width: 44px;
		padding: 0;
		margin: 0;
		border: 0;
		border-radius: 8px;
		background: transparent;
		color: #fff;
		cursor: pointer;
		z-index: 42;
		flex: 0 0 auto;
	}

	.certified-nav-toggle__box {
		position: relative;
		display: block;
		width: 22px;
		height: 16px;
	}

	.certified-nav-toggle__bar {
		position: absolute;
		left: 0;
		right: 0;
		height: 2px;
		border-radius: 1px;
		background: #fff;
		transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
	}

	.certified-nav-toggle__bar:nth-child(1) { top: 0; }
	.certified-nav-toggle__bar:nth-child(2) { top: 7px; }
	.certified-nav-toggle__bar:nth-child(3) { top: 14px; }

	.certified-header.is-nav-open .certified-nav-toggle__bar:nth-child(1) {
		top: 7px;
		transform: rotate(45deg);
	}

	.certified-header.is-nav-open .certified-nav-toggle__bar:nth-child(2) {
		opacity: 0;
	}

	.certified-header.is-nav-open .certified-nav-toggle__bar:nth-child(3) {
		top: 7px;
		transform: rotate(-45deg);
	}

	html body .certified-header .certified-header-actions,
	.certified-header .wp-block-group.is-layout-flex > .wp-block-group.is-layout-flex {
		position: absolute !important;
		right: 52px !important;
		/* Same header coordinate space as the seal — centre of the 64px nav row. */
		top: 96px !important;
		transform: translateY(-50%) !important;
		order: 2;
		margin-left: 0 !important;
		gap: 2px !important;
		column-gap: 2px !important;
		z-index: 41;
	}

	.certified-header-actions .wp-block-search__button,
	.certified-header-actions .wp-block-woocommerce-customer-account a,
	.certified-header-actions .wc-block-mini-cart__button,
	.certified-header-actions .certified-checkout-cart-link {
		width: 44px !important;
		height: 44px !important;
		min-width: 44px !important;
		min-height: 44px !important;
		max-height: 44px !important;
	}

	.certified-image-nav {
		display: none !important;
		position: absolute !important;
		left: 0 !important;
		right: 0 !important;
		top: 100% !important;
		width: 100% !important;
		max-height: calc(100dvh - 120px);
		overflow-x: hidden !important;
		overflow-y: auto !important;
		padding: 12px 16px 28px !important;
		background: #131313 !important;
		border-top: 1px solid #2b2b2b;
		box-shadow: 0 18px 32px rgba(0, 0, 0, 0.45);
		z-index: 80 !important;
		justify-content: stretch !important;
	}

	.certified-header.is-nav-open .certified-image-nav {
		display: block !important;
	}

	.certified-header.is-nav-open .certified-image-nav__list {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		justify-content: flex-start !important;
		gap: 4px !important;
		width: 100% !important;
	}

	.certified-header.is-nav-open .certified-image-nav__item {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		width: 100% !important;
	}

	.certified-header.is-nav-open .certified-image-nav__link {
		display: flex !important;
		align-items: center !important;
		justify-content: flex-start !important;
		min-height: 52px;
		padding: 10px 12px;
		line-height: 1.2 !important;
	}

	.certified-header.is-nav-open .certified-image-nav__img {
		display: none !important;
	}

	.certified-header.is-nav-open .certified-image-nav__text {
		display: block !important;
		color: #ffffff !important;
		font-family: var(--wp--preset--font-family--inter, "Inter", sans-serif) !important;
		font-size: 1.15rem !important;
		font-weight: 700 !important;
		letter-spacing: 0.04em;
		text-transform: uppercase;
	}

	.certified-header.is-nav-open .certified-nav-products,
	.certified-header.is-nav-open .certified-nav-products__toggle,
	.certified-header.is-nav-open .certified-nav-products__toggle::after {
		pointer-events: auto !important;
	}

	.certified-header.is-nav-open .certified-image-nav .certified-nav-products > .certified-image-nav__submenu {
		position: static !important;
		left: auto !important;
		top: auto !important;
		transform: none !important;
		display: flex !important;
		flex-direction: column !important;
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 0 8px !important;
		padding: 4px 0 8px !important;
		background: #1a1a1a !important;
		border: 1px solid var(--certified-border) !important;
		border-radius: 8px !important;
		box-shadow: none !important;
	}

	.certified-header.is-nav-open .certified-image-nav .certified-nav-flyout__menu {
		position: static !important;
		display: block !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 0 6px 16px !important;
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
	}

	.certified-header.is-nav-open .certified-image-nav .certified-nav-flyout__label::after {
		content: none;
	}
}

@media (max-width: 900px) {
	.certified-header > .certified-promo-bar,
	.certified-header > .has-primary-background-color.certified-promo-bar {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.shop-trust-bar {
		padding-left: clamp(24px, 18vw, 155px) !important;
		padding-right: clamp(24px, 18vw, 185px) !important;
	}

	header .wp-block-navigation .wp-block-navigation__container,
	.wp-block-template-part .wp-block-navigation .wp-block-navigation__container {
		max-width: 100% !important;
		padding: 0 8px;
		gap: 12px !important;
		justify-content: center !important;
		flex-wrap: wrap !important;
	}
}

@media (max-width: 781px) {
	.shop-trust-bar {
		padding-left: 24px !important;
		padding-right: 24px !important;
	}
}

/* Best Sellers — match Shop Certified section gray (#222) */
.certified-best-sellers {
	background-color: var(--certified-gray-alt) !important;
}

.certified-best-sellers > .wp-block-buttons,
.certified-best-sellers .wp-block-buttons:has(a[href*="/shop"]) {
	display: none !important;
}

/* Best Sellers title graphic */
.certified-best-sellers__title-img {
	/* Pull up to cancel ~17% empty canvas above “Best Sellers” lettering */
	margin: -50px auto 12px !important;
	max-width: min(520px, 92%) !important;
}

.certified-best-sellers__title-img img {
	width: 100% !important;
	max-width: 520px !important;
	height: auto !important;
	display: block !important;
	margin: 0 auto !important;
	object-fit: contain !important;
	background: transparent !important;
	/* Knock out solid black canvas so it blends with section */
	mix-blend-mode: lighten;
}

/* Testimonials title graphic */
.certified-testimonials {
	padding-bottom: 24px !important;
}

.certified-testimonials__title-img {
	/* Pull up to cancel ~9% empty canvas above review title lettering */
	margin: -39px auto 12px !important;
	max-width: min(720px, 94%) !important;
}

.certified-testimonials__title-img img {
	width: 100% !important;
	max-width: 720px !important;
	height: auto !important;
	display: block !important;
	margin: 0 auto !important;
	object-fit: contain !important;
	background: transparent !important;
	mix-blend-mode: lighten;
}

.certified-testimonials__title-wrap {
	max-width: 720px;
	margin: 0 auto 44px;
	padding: 0 var(--wp--preset--spacing--40, 24px);
}

/* Reviews marquee — scroll left */
.certified-reviews-marquee {
	overflow: hidden;
	width: 100%;
	mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.certified-reviews-marquee__track {
	display: flex;
	align-items: stretch;
	gap: 16px;
	width: max-content;
	padding: 4px 0;
	animation: certified-reviews-scroll-left 90s linear infinite;
}

@keyframes certified-reviews-scroll-left {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

.certified-review-card {
	position: relative;
	flex: 0 0 320px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	box-sizing: border-box;
	min-height: 220px;
	padding: 20px 20px 28px;
	border: 1px solid #3a3a3a;
	border-radius: 16px;
	background: #2b2b2b;
	color: #f2f2f2;
}

.certified-review-card__stars {
	font-size: 18px;
	line-height: 1;
	letter-spacing: 2px;
	color: #49b647;
}

.certified-review-card__quote {
	margin: 0 !important;
	flex: 1 1 auto;
	font-size: 15px !important;
	line-height: 1.45 !important;
	color: #e8e8e8 !important;
}

.certified-review-card__author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
}

.certified-review-card__avatar {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #49b647;
	color: #111;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

.certified-review-card__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.certified-review-card__name {
	font-size: 15px;
	font-weight: 600;
	color: #ffffff;
}

.certified-review-card__label {
	font-size: 13px;
	font-weight: 300;
	color: #49b647;
}

.certified-review-card__ebay {
	position: absolute;
	right: 14px;
	bottom: 12px;
	width: 54px;
	height: auto;
	opacity: 0.92;
	pointer-events: none;
}

@media (max-width: 781px) {
	.certified-review-card {
		flex-basis: 280px;
		min-height: 200px;
	}

	.certified-reviews-marquee__track {
		animation-duration: 75s;
	}
}

@media (prefers-reduced-motion: reduce) {
	.certified-reviews-marquee__track {
		animation: none;
		flex-wrap: wrap;
		width: 100%;
		justify-content: center;
		padding: 0 16px;
	}
}

/* Best Sellers — full 600×700 images (no crop) */
.certified-best-sellers .is-style-woxstore-product-group,
.certified-best-sellers .wc-block-components-product-image,
.certified-best-sellers .wp-block-woocommerce-product-image {
	overflow: hidden !important;
	border-radius: 12px !important;
	background: #1a1a1a !important;
}

.certified-best-sellers .wc-block-components-product-image,
.certified-best-sellers .wc-block-components-product-image a,
.certified-best-sellers .wp-block-woocommerce-product-image,
.certified-best-sellers .wp-block-woocommerce-product-image a {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 600 / 700 !important;
	max-height: none !important;
}

.certified-best-sellers .wc-block-components-product-image img,
.certified-best-sellers .wp-block-woocommerce-product-image img,
.certified-best-sellers .is-style-woxstore-product-group img {
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	aspect-ratio: 600 / 700 !important;
	object-fit: contain !important;
	object-position: center !important;
	display: block !important;
	border-radius: 12px !important;
}

/*
 * Homepage product cards: show Add to Cart on image hover, but keep the
 * button still when the cursor moves onto it (no lift / chase).
 */
body.home .is-style-woxstore-product-holder .is-style-woxstore-product-group,
.certified-best-sellers .is-style-woxstore-product-group {
	position: relative !important;
}

body.home .is-style-woxstore-product-holder .wc-block-components-product-button,
.certified-best-sellers .wc-block-components-product-button {
	z-index: 6 !important;
	transform: none !important;
	/* Only fade/slide the wrapper — never animate transforms on the button itself */
	transition: opacity 0.2s ease, bottom 0.2s ease, visibility 0.2s ease !important;
}

body.home .is-style-woxstore-product-holder:hover .wc-block-components-product-button,
body.home .is-style-woxstore-product-holder:focus-within .wc-block-components-product-button,
body.home .is-style-woxstore-product-holder .wc-block-components-product-button:hover,
.certified-best-sellers .is-style-woxstore-product-holder:hover .wc-block-components-product-button,
.certified-best-sellers .is-style-woxstore-product-holder:focus-within .wc-block-components-product-button,
.certified-best-sellers .wc-block-components-product-button:hover {
	bottom: 13px !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}

body.home .is-style-woxstore-product-holder .wc-block-components-product-button__button,
body.home .is-style-woxstore-product-holder .wc-block-components-product-button__button:hover,
body.home .is-style-woxstore-product-holder .wc-block-components-product-button .wp-block-button__link,
body.home .is-style-woxstore-product-holder .wc-block-components-product-button .wp-block-button__link:hover,
.certified-best-sellers .wc-block-components-product-button__button,
.certified-best-sellers .wc-block-components-product-button__button:hover,
.certified-best-sellers .wc-block-components-product-button .wp-block-button__link,
.certified-best-sellers .wc-block-components-product-button .wp-block-button__link:hover {
	transform: none !important;
	translate: none !important;
	box-shadow: none !important;
}

/* Image lift under the cursor makes the overlay button jump — disable it */
body.home .woxstore-product-box:hover .woxstore-product-image,
body.home .is-style-woxstore-product-holder:hover .wc-block-components-product-image,
body.home .is-style-woxstore-product-holder:hover .wp-block-woocommerce-product-image,
body.home .is-style-woxstore-product-holder:hover img,
.certified-best-sellers .is-style-woxstore-product-holder:hover img {
	transform: none !important;
}

/* Keep the Add / View cart stack visible after an add (no need to re-hover) */
body.home .is-style-woxstore-product-holder:has(span:not([hidden]) > a.added_to_cart) .wc-block-components-product-button,
.certified-best-sellers .is-style-woxstore-product-holder:has(span:not([hidden]) > a.added_to_cart) .wc-block-components-product-button {
	bottom: 13px !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}

/* Homepage product grid fallback (Best Sellers) */
body.home main .wp-block-woocommerce-product-collection .wc-block-components-product-image,
body.blog main .wp-block-woocommerce-product-collection .wc-block-components-product-image,
body.home main .wp-block-woocommerce-product-collection .wc-block-components-product-image a,
body.blog main .wp-block-woocommerce-product-collection .wc-block-components-product-image a {
	aspect-ratio: 600 / 700 !important;
	height: auto !important;
	max-height: none !important;
	overflow: hidden !important;
	background: var(--certified-gray-alt) !important;
	border-radius: 12px !important;
}

body.home main .wp-block-woocommerce-product-collection .wc-block-components-product-image img,
body.blog main .wp-block-woocommerce-product-collection .wc-block-components-product-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
	object-position: center !important;
	aspect-ratio: 600 / 700 !important;
	max-height: none !important;
}

/* Coming Soon image object-fit for covers */
.wp-block-cover__image-background {
	object-fit: cover;
}

/* Section hairline dividers — same as social → help */
.woxstore-slider,
.certified-featured-categories,
.certified-best-sellers,
.certified-testimonials,
.certified-features,
.certified-social {
	border-top: 1px solid var(--certified-border);
}

/* Equal section padding; title images then pull up to cancel built-in canvas padding */
.certified-best-sellers,
.certified-testimonials,
.certified-features,
.certified-social,
.certified-contact-cta {
	padding-top: 48px !important;
}

/* Homepage Contact Us CTA */
.certified-contact-cta {
	background: var(--certified-gray-dark) !important;
	border-top: 1px solid var(--certified-border);
	text-align: center;
	padding-bottom: 48px !important;
}

.certified-help__title-img {
	/* Almost full-bleed lettering — tiny pull only */
	margin: -4px auto 8px !important;
	max-width: min(280px, 72%) !important;
	line-height: 0 !important;
}

.certified-help__title-img img {
	width: 100% !important;
	max-width: 280px !important;
	height: auto !important;
	display: block !important;
	margin: 0 auto !important;
	object-fit: contain !important;
	background: transparent !important;
	mix-blend-mode: lighten;
}

.certified-contact-cta > p,
.certified-contact-cta p.has-text-align-center {
	color: #d1d1d1 !important;
	margin-top: 0 !important;
	margin-bottom: 18px !important;
}

.certified-contact-cta .wp-block-button__link,
.certified-contact-cta__button .wp-block-button__link {
	background: var(--certified-green) !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-radius: 8px !important;
}

.certified-contact-cta .wp-block-button__link:hover,
.certified-contact-cta__button .wp-block-button__link:hover {
	background: var(--certified-green-dark) !important;
}

/* Contact Us page + form */
body.page-contact-us,
body.page-slug-contact-us,
body.page-bulk-orders,
body.page-slug-bulk-orders,
body.page-about-us,
body.page-slug-about-us,
body.page-terms-and-conditions,
body.page-slug-terms-and-conditions,
.certified-contact-page,
.certified-about-page,
.certified-legal-page {
	color: #d1d1d1 !important;
}

.certified-contact-page,
.certified-bulk-orders-page,
.certified-about-page {
	padding: 48px 24px 80px !important;
	max-width: 720px;
	margin: 0 auto;
}

.certified-bulk-orders-page h1,
.certified-contact-page h1 {
	color: #ffffff !important;
	margin-bottom: 12px !important;
}

.certified-bulk-orders-page p.has-text-align-center {
	color: #d1d1d1 !important;
	line-height: 1.65 !important;
}

.certified-legal-page {
	padding: 8px 0 40px !important;
	max-width: 800px;
	margin: 0 auto;
}

.certified-legal-page h2 {
	color: #ffffff !important;
	margin-top: 2rem !important;
	margin-bottom: 0.75rem !important;
	font-size: 1.25rem !important;
}

.certified-legal-page p,
.certified-legal-page li {
	color: #d1d1d1 !important;
	line-height: 1.65 !important;
}

.certified-legal-page ul {
	margin: 0 0 1rem 1.25rem !important;
	padding: 0 !important;
}

.certified-legal-page li {
	margin-bottom: 0.4rem !important;
}

/* Graffiti page title images (About / Contact / Terms / My Account) */
.certified-page-hero {
	background: #131313 !important;
	min-height: 180px !important;
}

.certified-page-hero .wp-block-cover__background {
	background-color: #131313 !important;
}

.certified-page-title-img {
	margin: 0 auto !important;
	line-height: 0 !important;
	text-align: center !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	/* Shared frame so all page titles read the same size */
	max-width: min(580px, 94%) !important;
	width: 100% !important;
}

.certified-page-title-img img {
	display: block !important;
	margin: 0 auto !important;
	width: auto !important;
	max-width: 100% !important;
	height: auto !important;
	/* Cap height so longer titles (Terms) match About / Contact / My Account */
	max-height: 140px !important;
	object-fit: contain !important;
	background: transparent !important;
	mix-blend-mode: lighten;
}

.certified-page-title-img--terms-and-conditions,
.certified-page-title-img--about-us,
.certified-page-title-img--contact-us,
.certified-page-title-img--bulk-orders,
.certified-page-title-img--my-account,
.certified-page-title-img--shop {
	max-width: min(580px, 94%) !important;
}

/* Shop archive hero — match other Certified page title bands */
body.woocommerce-shop .wp-block-cover.is-light:first-of-type,
body.post-type-archive-product .wp-block-cover.is-light:first-of-type {
	background: #131313 !important;
	min-height: 180px !important;
}

body.woocommerce-shop .wp-block-cover.is-light:first-of-type .wp-block-cover__background,
body.post-type-archive-product .wp-block-cover.is-light:first-of-type .wp-block-cover__background {
	background-color: #131313 !important;
}

/* Hide empty featured-image slot on standard pages */
.certified-page .wp-block-post-featured-image:not(:has(img)) {
	display: none !important;
	margin: 0 !important;
	height: 0 !important;
}

.certified-page > .wp-block-group:has(> .wp-block-post-featured-image:not(:has(img))) {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	min-height: 0 !important;
}

.certified-contact-form-wrap {
	margin-top: 32px;
}

.certified-contact-form {
	display: grid;
	gap: 16px;
}

.certified-contact-form__field {
	display: grid;
	gap: 8px;
	color: #cfcfcf;
	font-weight: 600;
	font-size: 0.9rem;
}

.certified-contact-form__field input,
.certified-contact-form__field textarea {
	width: 100%;
	box-sizing: border-box;
	background: #2b2b2b !important;
	border: 1px solid var(--certified-border) !important;
	border-radius: 8px !important;
	color: #ffffff !important;
	padding: 12px 14px !important;
	font: inherit;
}

.certified-contact-form__field input:focus,
.certified-contact-form__field textarea:focus {
	outline: none !important;
	border-color: var(--certified-green) !important;
	box-shadow: 0 0 0 2px rgba(73, 182, 71, 0.25) !important;
}

.certified-contact-form__submit {
	justify-self: start;
	background: var(--certified-green) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 14px 28px !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	cursor: pointer;
}

.certified-contact-form__submit:hover {
	background: var(--certified-green-dark) !important;
}

.certified-contact-form__notice {
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 16px;
	font-weight: 600;
}

.certified-contact-form__notice--success {
	background: rgba(73, 182, 71, 0.15);
	border-left: 4px solid var(--certified-green);
	color: #ffffff;
}

.certified-contact-form__notice--error {
	background: rgba(180, 40, 40, 0.2);
	border-left: 4px solid #d9534f;
	color: #ffffff;
}

/* Generic pages — keep dark like checkout */
body.page main.wp-block-group,
body.page .has-light-color-background-color {
	background-color: var(--certified-gray) !important;
	color: #d1d1d1 !important;
}

@media (max-width: 768px) {
	.woxstore-slider .wp-block-heading {
		font-size: 2rem !important;
	}
}

/*
 * Shop / archive pagination.
 *
 * The core query-pagination blocks ship with no styling of their own, so the
 * numbers rendered as small, tightly packed plain text. Give them the same
 * green pill treatment as the rest of the site's buttons.
 */
/*
 * display:flex normally arrives via the generated
 * wp-container-core-query-pagination-is-layout-* class. Restate it here so the
 * row does not collapse into a vertical stack if that hashed class changes.
 */
.wp-block-query-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px !important;
	margin-top: 48px !important;
}

.wp-block-query-pagination-numbers {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 !important;
}

.wp-block-query-pagination .page-numbers,
.wp-block-query-pagination .wp-block-query-pagination-next,
.wp-block-query-pagination .wp-block-query-pagination-previous {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 48px;
	min-height: 48px;
	padding: 0 14px;
	background: var(--certified-gray-dark) !important;
	border: 1px solid var(--certified-border) !important;
	border-radius: 8px !important;
	color: #ffffff !important;
	font-size: 1.1rem !important;
	font-weight: 700 !important;
	line-height: 1;
	text-decoration: none !important;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Prev / Next carry words rather than a digit, so they read as wider pills. */
.wp-block-query-pagination .wp-block-query-pagination-next,
.wp-block-query-pagination .wp-block-query-pagination-previous {
	padding: 0 22px;
	font-size: 0.85rem !important;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.wp-block-query-pagination .page-numbers.current {
	background: var(--certified-green) !important;
	border-color: var(--certified-green) !important;
}

.wp-block-query-pagination a.page-numbers:hover,
.wp-block-query-pagination a.page-numbers:focus-visible,
.wp-block-query-pagination a.wp-block-query-pagination-next:hover,
.wp-block-query-pagination a.wp-block-query-pagination-next:focus-visible,
.wp-block-query-pagination a.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination a.wp-block-query-pagination-previous:focus-visible {
	background: var(--certified-green) !important;
	border-color: var(--certified-green) !important;
}

/* The ellipsis between distant pages is a label, not a button. */
.wp-block-query-pagination .page-numbers.dots {
	min-width: 0;
	padding: 0 4px;
	background: transparent !important;
	border-color: transparent !important;
	color: #9a9a9a !important;
}

@media (max-width: 600px) {
	.wp-block-query-pagination {
		gap: 8px !important;
	}

	.wp-block-query-pagination-numbers {
		gap: 8px;
	}

	.wp-block-query-pagination .page-numbers,
	.wp-block-query-pagination .wp-block-query-pagination-next,
	.wp-block-query-pagination .wp-block-query-pagination-previous {
		min-width: 44px;
		min-height: 44px;
		font-size: 1rem !important;
	}

	.wp-block-query-pagination .wp-block-query-pagination-next,
	.wp-block-query-pagination .wp-block-query-pagination-previous {
		padding: 0 16px;
	}
}

/*
 * Shop / archive listings — same responsive grid as homepage Best Sellers.
 *
 * Best Sellers uses .wc-block-product-template__responsive with
 * minmax(max(150px, …)), so a phone fits two cards. Shop still rendered
 * the older flex template (width:100% below 600px). Mirror that grid here
 * as a fallback, and shrink the photos on phones.
 */
body.woocommerce-shop .wc-block-product-template.is-flex-container,
body.post-type-archive-product .wc-block-product-template.is-flex-container,
body.tax-product_cat .wc-block-product-template.is-flex-container,
body.tax-product_tag .wc-block-product-template.is-flex-container,
body.tax-product_brand .wc-block-product-template.is-flex-container,
body.search .wc-block-product-template.is-flex-container,
body.woocommerce-shop ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(max(150px, 33.333% - 0.83333em), 1fr)) !important;
	gap: 1.25em !important;
}

body.woocommerce-shop .wc-block-product-template.is-flex-container > li,
body.post-type-archive-product .wc-block-product-template.is-flex-container > li,
body.tax-product_cat .wc-block-product-template.is-flex-container > li,
body.tax-product_tag .wc-block-product-template.is-flex-container > li,
body.tax-product_brand .wc-block-product-template.is-flex-container > li,
body.search .wc-block-product-template.is-flex-container > li,
body.woocommerce-shop ul.products li.product {
	width: 100% !important;
	max-width: none !important;
	flex: none !important;
	box-sizing: border-box !important;
}

@media (max-width: 899px) {
	body.woocommerce-shop .wc-block-product-template .wc-block-components-product-image,
	body.woocommerce-shop .wc-block-product-template .wc-block-components-product-image a,
	body.post-type-archive-product .wc-block-product-template .wc-block-components-product-image,
	body.tax-product_cat .wc-block-product-template .wc-block-components-product-image,
	body.search .wc-block-product-template .wc-block-components-product-image {
		aspect-ratio: 1 / 1;
		max-height: 170px;
		overflow: hidden;
	}

	body.woocommerce-shop .wc-block-product-template .wc-block-components-product-image img,
	body.post-type-archive-product .wc-block-product-template .wc-block-components-product-image img,
	body.tax-product_cat .wc-block-product-template .wc-block-components-product-image img,
	body.search .wc-block-product-template .wc-block-components-product-image img {
		width: 100% !important;
		height: 100% !important;
		max-height: 170px;
		object-fit: contain !important;
		object-position: center;
	}

	body.woocommerce-shop .wc-block-product-template .wp-block-post-title,
	body.woocommerce-shop .wc-block-product-template .wp-block-post-title a,
	body.post-type-archive-product .wc-block-product-template .wp-block-post-title,
	body.tax-product_cat .wc-block-product-template .wp-block-post-title {
		font-size: 0.78rem !important;
		line-height: 1.25 !important;
	}
}

/* My Account — hide WooCommerce's default registration privacy blurb. */
body.woocommerce-account .woocommerce-privacy-policy-text {
	display: none !important;
}

/* PayPal belongs on checkout, not the product page. */
.single-product .ppc-button-wrapper,
.single-product #ppc-button,
.single-product [id^="ppc-button"],
.single-product .paypal-buttons,
.single-product .ppcp-messages,
.single-product #ppcp-messages {
	display: none !important;
}
