/**
 * GoldenCommerce – Toys & Beauty storefront styles
 */

:root {
	--canifex-blue: #D946A8;
	--canifex-blue-dark: #BE3589;
	--canifex-navy: #2B1B3D;
	--canifex-orange: #A855F7;
	--canifex-border: #EDE9F5;
	--canifex-surface: #FAF5FF;
}

/* ── Header ─────────────────────────────────────────── */

.canifex-promo-bar p {
	margin: 5px 0 5px 0;
	font-size: 0.8125rem;
}

.canifex-main-header {
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.canifex-header-row {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 1.5rem;
}

.canifex-header-logo {
	flex-shrink: 0;
	gap: 0.5rem;
}

.canifex-header-logo .wp-block-site-title a {
	color: var(--canifex-blue) !important;
	text-decoration: none;
}

.canifex-header-search {
	flex: 1 1 auto;
	max-width: none;
	
	padding-bottom: 0.5rem;
	min-width: 0;
	display: flex;
	justify-content: center;
}

.canifex-header-search .canifex-product-search,
.canifex-header-search .wp-block-search {
	width: 100%;
	max-width: 560px;
}

.canifex-header-actions {
	flex-shrink: 0;
	margin-left: auto;
}

/* Hamburger – hidden on desktop */
.canifex-mobile-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	border-radius: 4px;
	color: var(--canifex-blue);
}

.canifex-mobile-menu-toggle:hover,
.canifex-mobile-menu-toggle:focus {
	background: var(--canifex-surface);
}

.canifex-hamburger-icon,
.canifex-hamburger-icon::before,
.canifex-hamburger-icon::after {
	display: block;
	width: 22px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	position: relative;
	transition: transform 0.2s, opacity 0.2s;
}

.canifex-hamburger-icon::before,
.canifex-hamburger-icon::after {
	content: "";
	position: absolute;
	left: 0;
}

.canifex-hamburger-icon::before {
	top: -7px;
}

.canifex-hamburger-icon::after {
	top: 7px;
}

.canifex-mobile-menu-toggle.is-active .canifex-hamburger-icon {
	background: transparent;
}

.canifex-mobile-menu-toggle.is-active .canifex-hamburger-icon::before {
	top: 0;
	transform: rotate(45deg);
}

.canifex-mobile-menu-toggle.is-active .canifex-hamburger-icon::after {
	top: 0;
	transform: rotate(-45deg);
}

/* Mobile slide-out drawer */
.canifex-mobile-nav-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(18, 26, 69, 0.5);
	z-index: 9998;
}

.canifex-mobile-nav-overlay.is-visible {
	display: block;
}

.canifex-mobile-nav-drawer {
	position: fixed;
	top: 0;
	left: 0;
	width: min(320px, 85vw);
	height: 100%;
	background: #fff;
	z-index: 9999;
	transform: translateX(-100%);
	transition: transform 0.25s ease;
	overflow-y: auto;
	box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
}

.canifex-mobile-nav-drawer.is-open {
	transform: translateX(0);
}

.canifex-mobile-nav-drawer[hidden] {
	display: block;
	visibility: hidden;
}

.canifex-mobile-nav-drawer.is-open[hidden] {
	visibility: visible;
}

.canifex-mobile-nav-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.25rem;
	background: var(--canifex-blue);
	color: #fff;
}

.canifex-mobile-nav-title {
	font-weight: 700;
	font-size: 1.125rem;
}

.canifex-mobile-nav-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: none;
	background: transparent;
	color: #fff;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	border-radius: 4px;
}

.canifex-mobile-nav-close:hover {
	background: rgba(255, 255, 255, 0.15);
}

.canifex-mobile-nav-list {
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
}

.canifex-mobile-nav-list li {
	border-bottom: 1px solid var(--canifex-border);
}

.canifex-mobile-nav-list a {
	display: block;
	padding: 0.875rem 1.25rem;
	color: var(--canifex-navy);
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
}

.canifex-mobile-nav-list a:hover,
.canifex-mobile-nav-list a:focus {
	background: var(--canifex-surface);
	color: var(--canifex-blue);
}

.canifex-mobile-nav-list .canifex-deals-link a {
	color: var(--canifex-orange);
}

.canifex-mobile-nav-list .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	background: var(--canifex-surface);
}

.canifex-mobile-nav-list .sub-menu li {
	border-bottom: 1px solid var(--canifex-border);
}

.canifex-mobile-nav-list .sub-menu a {
	padding-left: 2rem;
	font-size: 0.9375rem;
	font-weight: 500;
}

body.canifex-nav-open {
	overflow: hidden;
}

.canifex-product-search {
	margin-top: 0.25rem;
	margin-bottom: 0.25rem;
}

.canifex-product-search .wp-block-search__inside-wrapper {
	border: 2px solid var(--canifex-blue);
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
}

.canifex-product-search .wp-block-search__input {
	border: none !important;
	border-radius: 0 !important;
	padding: 0.75rem 1rem !important;
	font-size: 0.9375rem;
	min-height: 44px;
}

.canifex-product-search .wp-block-search__button {
	background: var(--canifex-blue) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 0 1.25rem !important;
	min-height: 44px;
	cursor: pointer;
}

.canifex-product-search .wp-block-search__button:hover {
	background: var(--canifex-blue-dark) !important;
}

.canifex-header-actions {
	flex-shrink: 0;
}

/* Header account nav (Chewy-style) */
.canifex-account-nav {
	position: relative;
}

.canifex-account-nav__item {
	display: flex;
	align-items: center;
}

.canifex-account-nav__trigger {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: var(--canifex-navy);
	border-radius: 6px;
	padding: 0.25rem 0.35rem 0.25rem 0.25rem;
	transition: background 0.15s ease;
}

.canifex-account-nav__trigger:hover,
.canifex-account-nav__trigger:focus {
	background: var(--canifex-surface);
	color: var(--canifex-blue);
	text-decoration: none;
}

.canifex-account-nav__content {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.canifex-account-nav__icon {
	width: 1.75rem;
	height: 1.75rem;
	flex-shrink: 0;
	color: var(--canifex-blue);
}

.canifex-account-nav__text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.canifex-account-nav__label {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--canifex-navy);
	white-space: nowrap;
}

.canifex-account-nav__label--mobile {
	display: none;
}

.canifex-account-nav__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	color: var(--canifex-navy);
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.2s ease;
}

.canifex-account-nav__toggle:hover,
.canifex-account-nav__toggle:focus {
	background: var(--canifex-surface);
	color: var(--canifex-blue);
}

.canifex-account-nav__toggle[aria-expanded="true"] .canifex-account-nav__chevron {
	transform: rotate(180deg);
}

.canifex-account-nav__chevron {
	width: 1.25rem;
	height: 1.25rem;
	transition: transform 0.2s ease;
}

.canifex-account-nav__flyout {
	position: absolute;
	top: calc(100% + 0.5rem);
	right: 0;
	min-width: 240px;
	padding: 0.75rem;
	background: #fff;
	border: 1px solid var(--canifex-border);
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(18, 26, 69, 0.12);
	z-index: 200;
}

.canifex-account-nav__flyout[hidden] {
	display: none;
}

.canifex-account-nav__flyout.is-open {
	display: block;
}

.canifex-account-nav__cta {
	display: block;
	width: 100%;
	padding: 0.75rem 1rem;
	border-radius: 6px;
	background: var(--canifex-blue);
	color: #fff !important;
	font-size: 0.9375rem;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	transition: background 0.2s ease;
	box-sizing: border-box;
}

.canifex-account-nav__cta:hover,
.canifex-account-nav__cta:focus {
	background: var(--canifex-blue-dark);
	color: #fff !important;
	text-decoration: none;
}

.canifex-account-nav__menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.canifex-account-nav__menu li {
	margin: 0;
}

.canifex-account-nav__menu a {
	display: block;
	padding: 0.625rem 0.75rem;
	border-radius: 6px;
	color: var(--canifex-navy);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.canifex-account-nav__menu a:hover,
.canifex-account-nav__menu a:focus,
.canifex-account-nav__menu li.is-active a {
	background: var(--canifex-surface);
	color: var(--canifex-blue);
}

/* Category navigation bar */
.canifex-category-nav {
	position: sticky;
	top: 0;
	z-index: 100;
}

.canifex-pet-nav .wp-block-navigation-item__content {
	color: #fff !important;
	padding: 0.875rem 1rem !important;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9375rem;
	border-radius: 0;
	transition: background 0.15s;
}

.canifex-pet-nav__list {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	list-style: none;
	margin: 0;
	padding: 0;
}

.canifex-pet-nav__list > li {
	margin: 0;
}

.canifex-pet-nav__list a {
	display: block;
	color: #fff !important;
	padding: 0.875rem 1rem;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9375rem;
	transition: background 0.15s;
}

.canifex-pet-nav__list a:hover,
.canifex-pet-nav__list a:focus {
	background: var(--canifex-blue-dark);
	text-decoration: none;
}

.canifex-pet-nav__list .current-menu-item > a,
.canifex-pet-nav__list .current-menu-ancestor > a {
	background: var(--canifex-blue-dark);
}

.canifex-pet-nav .wp-block-navigation-item__content:hover {
	background: var(--canifex-blue-dark);
	text-decoration: none;
}

.canifex-deals-link .wp-block-navigation-item__content,
.canifex-pet-nav__list .canifex-deals-link > a {
	color: #F9A8D4 !important;
}

/* ── Hero ───────────────────────────────────────────── */

.canifex-hero {
	background: linear-gradient(135deg, var(--canifex-blue) 0%, var(--canifex-orange) 45%, var(--canifex-navy) 100%) !important;
}

.canifex-hero .wp-block-cover__background {
	background: transparent !important;
}

.canifex-hero-cta .wp-block-button__link {
	font-weight: 700;
	padding: 0.875rem 2rem !important;
	border-radius: 4px;
}

.canifex-hero .is-style-outline .wp-block-button__link {
	border: 2px solid #fff !important;
	color: #fff !important;
	background: transparent !important;
}

/* ── Shop by Category ───────────────────────────────── */

.canifex-pet-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 1.5rem 2rem;
	margin-top: 1.5rem;
}

.canifex-pet-grid > .canifex-pet-card {
	margin: 10px;
}

.canifex-pet-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 7rem;
	gap: 0.625rem;
	text-align: center;
	transition: transform 0.15s;
	cursor: pointer;
}

.canifex-pet-card:hover {
	transform: translateY(-3px);
}

.canifex-pet-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 6.5rem;
	height: 6.5rem;
	margin: 0;
	padding: 0;
	border-radius: 50%;
	border: 1px solid var(--canifex-border, #e8ecf4);
	box-shadow: 0 2px 8px rgba(18, 26, 69, 0.06);
	overflow: hidden;
	aspect-ratio: 1 / 1;
	box-sizing: border-box;
	transition: box-shadow 0.15s;
}

.canifex-pet-card:hover .canifex-pet-card__icon {
	box-shadow: 0 6px 20px rgba(28, 73, 194, 0.14);
}

.canifex-pet-card__icon a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-size: 2.5rem;
	line-height: 1;
	color: inherit;
	text-decoration: none;
}

.canifex-pet-card__label {
	margin: 0 !important;
}

.canifex-pet-card a {
	color: var(--canifex-navy);
	text-decoration: none;
}

.canifex-pet-card a:hover {
	color: var(--canifex-blue);
}

/* ── Product cards ──────────────────────────────────── */

.canifex-product-grid .wc-block-product-template {
	gap: 1.25rem;
}

.canifex-product-card-inner {
	height: 100%;
	transition: box-shadow 0.15s, transform 0.15s;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.canifex-product-card-inner:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.canifex-product-card-inner .wc-block-components-product-image {
	border-radius: 4px;
	overflow: hidden;
}

.canifex-product-card-inner .wp-block-post-title {
	text-align: center;
}

.canifex-product-card-inner .wc-block-components-product-rating {
	text-align: center;
}

.canifex-product-card-inner .wc-block-components-product-rating__container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

.canifex-product-card-inner .wc-block-components-product-rating__stars {
	color: #ff9900;
}

.canifex-product-card-inner .wp-block-post-title a {
	color: var(--canifex-navy);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9375rem;
}

.canifex-product-card-inner .wp-block-post-title a:hover {
	color: var(--canifex-blue);
}

.canifex-product-card-inner .wc-block-components-product-price {
	color: var(--canifex-navy);
	text-align: center;
}

.canifex-product-card-inner .wc-block-components-product-price del {
	color: #999;
	font-weight: 400;
}

.canifex-product-card-inner .wc-block-components-product-price ins {
	color: var(--canifex-orange);
	text-decoration: none;
}

.canifex-product-card-inner .wp-block-button.wc-block-components-product-button {
	width: 100%;
	max-width: 100%;
	margin-top: auto;
	align-items: stretch !important;
	align-self: stretch;
	box-sizing: border-box;
}

.canifex-product-card-inner .wp-block-button.wc-block-components-product-button.align-left,
.canifex-product-card-inner .wp-block-button.wc-block-components-product-button.align-right {
	align-items: stretch !important;
}

.canifex-product-card-inner .wp-block-button__link,
.canifex-product-card-inner .wc-block-components-product-button__button {
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
	display: flex !important;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: var(--canifex-blue) !important;
	border-radius: 6px !important;
	font-weight: 700;
	font-size: 0.9375rem !important;
	line-height: 1.3;
	padding: 0.75rem 1rem !important;
	margin-top: 0;
	white-space: normal;
	word-break: break-word;
}

.canifex-product-card-inner .wp-block-button__link:hover,
.canifex-product-card-inner .wc-block-components-product-button__button:hover {
	background: var(--canifex-blue-dark) !important;
}

.canifex-product-card-inner .wc-block-components-product-sale-badge,
.canifex-product-card-inner .wc-block-components-product-image .wc-block-components-product-sale-badge {
	background: var(--canifex-orange);
	color: #fff;
	border-radius: 4px;
	font-weight: 700;
	font-size: 0.75rem;
}

/* ── Support section ────────────────────────────────── */

.canifex-support-section__title {
	margin: 0;
	line-height: 1.3;
	color: #fff !important;
}

.canifex-support-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.75rem 1.25rem;
}

.canifex-support-section .canifex-support-action,
.canifex-support-section a.canifex-support-action,
.canifex-support-section button.canifex-support-action {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.625rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.35) !important;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.12) !important;
	color: #fff !important;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.canifex-support-section .canifex-support-action:hover,
.canifex-support-section .canifex-support-action:focus,
.canifex-support-section a.canifex-support-action:hover,
.canifex-support-section a.canifex-support-action:focus,
.canifex-support-section button.canifex-support-action:hover,
.canifex-support-section button.canifex-support-action:focus {
	background: rgba(255, 255, 255, 0.22) !important;
	border-color: rgba(255, 255, 255, 0.65) !important;
	color: #fff !important;
	transform: translateY(-1px);
}

.canifex-support-section .canifex-support-action__icon,
.canifex-support-section .canifex-support-action__text {
	color: #fff !important;
}

.canifex-support-section .canifex-support-action__icon {
	display: inline-flex;
	flex-shrink: 0;
}

.canifex-support-section .canifex-support-action__icon svg {
	color: #fff;
}

.canifex-support-section .canifex-support-action__text {
	white-space: nowrap;
}

.canifex-support-section button.canifex-support-action {
	font-family: inherit;
	-webkit-appearance: none;
	appearance: none;
}

@media (max-width: 781px) {
	.canifex-support-section__columns {
		gap: 1.25rem;
	}

	.canifex-support-section__title {
		text-align: center;
	}

	.canifex-support-actions {
		justify-content: center;
	}

	.canifex-support-section .canifex-support-action {
		flex: 1 1 calc(50% - 0.375rem);
		justify-content: center;
		min-width: 0;
	}

	.canifex-back-to-top {
		flex: 1 1 100%;
	}
}

/* ── Trust badges ───────────────────────────────────── */

.canifex-trust-badges .wp-block-column {
	text-align: center;
}

@media (min-width: 782px) {
	.canifex-trust-badges .wp-block-column {
		text-align: left;
	}
}

/* ── Shop / Category page ───────────────────────────── */

.canifex-shop-page {
	background: #fff;
}

/* ── Interactive archive hero (shop / category / deals) ── */

.canifex-archive-hero {
	position: relative;
	overflow: hidden;
	padding: 1.25rem 1.5rem 0.625rem;
	margin: 1rem auto 0.75rem;
	color: #fff;
	border-bottom: none;
	border-radius: 12px;
	max-width: calc(100% - 2rem);
	width: calc(100% - 2rem);
	box-sizing: border-box;
}

.canifex-archive-hero--has-height {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

@media (min-width: 782px) {
	.canifex-archive-hero--has-height {
		min-height: var(--canifex-hero-height-desktop, auto);
	}
}

@media (max-width: 781px) {
	.canifex-archive-hero--has-height {
		min-height: var(--canifex-hero-height-mobile, auto);
	}
}

.canifex-archive-hero.alignfull {
	margin-left: auto !important;
	margin-right: auto !important;
}

@media (min-width: 782px) {
	.canifex-archive-hero--hide-desktop {
		display: none !important;
	}
}

@media (max-width: 781px) {
	.canifex-archive-hero--hide-mobile {
		display: none !important;
	}
}

.canifex-archive-hero__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
	border-radius: inherit;
}

.canifex-archive-hero__gradient {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(135deg, #D946A8 0%, #2B1B3D 55%, #1F1330 100%);
}

.canifex-archive-hero__image {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.canifex-archive-hero--has-image .canifex-archive-hero__gradient {
	mix-blend-mode: multiply;
	opacity: var(--canifex-hero-overlay, 0.65);
}

.canifex-archive-hero--has-image.canifex-archive-hero--deals .canifex-archive-hero__gradient {
	background: linear-gradient(135deg, rgba(168, 85, 247, 0.95) 0%, rgba(217, 70, 168, 0.92) 45%, rgba(43, 27, 61, 0.95) 100%);
}

.canifex-archive-hero--has-image.canifex-archive-hero--category .canifex-archive-hero__gradient {
	background: linear-gradient(135deg, rgba(190, 53, 137, 0.95) 0%, rgba(168, 85, 247, 0.92) 40%, rgba(43, 27, 61, 0.95) 100%);
}

.canifex-archive-hero--has-image.canifex-archive-hero--shop .canifex-archive-hero__gradient {
	background: linear-gradient(135deg, rgba(217, 70, 168, 0.95) 0%, rgba(43, 27, 61, 0.95) 55%, rgba(31, 19, 48, 0.98) 100%);
}

.canifex-archive-hero--deals .canifex-archive-hero__gradient {
	background: linear-gradient(135deg, #A855F7 0%, #D946A8 45%, #2B1B3D 100%);
}

.canifex-archive-hero--category .canifex-archive-hero__gradient {
	background: linear-gradient(135deg, #BE3589 0%, #D946A8 40%, #2B1B3D 100%);
}

.canifex-archive-hero__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(40px);
	opacity: 0.45;
	transition: transform 0.3s ease-out;
}

.canifex-archive-hero__orb--1 {
	width: 140px;
	height: 140px;
	background: rgba(255, 255, 255, 0.18);
	top: -40px;
	right: 10%;
	animation: canifex-orb-float 8s ease-in-out infinite;
}

.canifex-archive-hero__orb--2 {
	width: 100px;
	height: 100px;
	background: rgba(255, 107, 53, 0.35);
	bottom: -20px;
	left: 5%;
	animation: canifex-orb-float 10s ease-in-out infinite reverse;
}

.canifex-archive-hero__orb--3 {
	width: 70px;
	height: 70px;
	background: rgba(255, 255, 255, 0.12);
	top: 40%;
	left: 45%;
	animation: canifex-orb-float 12s ease-in-out infinite 1s;
}

.canifex-archive-hero__spark {
	position: absolute;
	color: rgba(255, 255, 255, 0.35);
	font-size: 1.25rem;
	animation: canifex-sparkle 3s ease-in-out infinite;
}

.canifex-archive-hero__spark--1 { top: 18%; right: 22%; animation-delay: 0s; }
.canifex-archive-hero__spark--2 { top: 55%; right: 8%; animation-delay: 1s; font-size: 0.875rem; }
.canifex-archive-hero__spark--3 { bottom: 25%; left: 38%; animation-delay: 2s; font-size: 1rem; }

@keyframes canifex-orb-float {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(12px, -16px) scale(1.05); }
}

@keyframes canifex-sparkle {
	0%, 100% { opacity: 0.2; transform: scale(0.9); }
	50% { opacity: 0.7; transform: scale(1.15); }
}

.canifex-archive-hero__content {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 1rem;
	align-items: center;
	max-width: 1280px;
	margin: 0 auto;
}

.canifex-archive-hero__main {
	min-width: 0;
}

.canifex-archive-hero__breadcrumbs,
.canifex-archive-hero .wc-block-breadcrumbs {
	margin-bottom: 0.375rem !important;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.75);
}

.canifex-archive-hero__breadcrumbs a,
.canifex-archive-hero .wc-block-breadcrumbs a {
	color: rgba(255, 255, 255, 0.85) !important;
}

.canifex-archive-hero__breadcrumbs a:hover,
.canifex-archive-hero .wc-block-breadcrumbs a:hover {
	color: #fff !important;
}

.canifex-archive-hero .wc-block-breadcrumbs,
.canifex-archive-hero .woocommerce-breadcrumb {
	color: rgba(255, 255, 255, 0.65);
}

.canifex-archive-hero__badge-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.375rem;
	margin-bottom: 0.375rem;
}

.canifex-archive-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.2rem 0.625rem;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	backdrop-filter: blur(6px);
}

.canifex-archive-hero--deals .canifex-archive-hero__badge {
	background: rgba(255, 107, 53, 0.35);
	border-color: rgba(255, 200, 150, 0.5);
}

.canifex-archive-hero__badge-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #7CFC00;
	box-shadow: 0 0 6px rgba(124, 252, 0, 0.8);
	animation: canifex-pulse-dot 2s ease-in-out infinite;
}

.canifex-archive-hero--deals .canifex-archive-hero__badge-dot {
	background: #F9A8D4;
	box-shadow: 0 0 10px rgba(249, 168, 212, 0.9);
}

@keyframes canifex-pulse-dot {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.6; transform: scale(0.85); }
}

.canifex-archive-hero__title,
.canifex-archive-hero .canifex-category-title {
	margin: 0 0 0.375rem !important;
	color: #fff !important;
	font-weight: 800;
	line-height: 1.15;
	font-size: clamp(1.35rem, 3vw, 2rem) !important;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.canifex-archive-hero__subtitle {
	margin: 0 0 0.5rem;
	font-size: 0.875rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.88);
	max-width: 520px;
}

.canifex-archive-hero__term-desc,
.canifex-archive-hero .canifex-category-description {
	margin: -0.25rem 0 0.5rem;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.75);
	max-width: 520px;
}

.canifex-archive-hero__term-desc:empty,
.canifex-archive-hero .canifex-category-description:empty {
	display: none;
}

/* Hide PHP subtitle when WP term description exists */
.canifex-archive-hero:has(.canifex-category-description:not(:empty)) .canifex-category-hero-subtitle {
	display: none;
}

.canifex-archive-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
}

.canifex-archive-hero__stat {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.3rem 0.625rem;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 6px;
	font-size: 0.6875rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.95);
	transition: background 0.2s, transform 0.2s, border-color 0.2s;
	cursor: default;
}

.canifex-archive-hero__stat:hover {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.3);
	transform: translateY(-2px);
}

.canifex-archive-hero__stat-icon {
	font-size: 0.875rem;
	line-height: 1;
}

.canifex-archive-hero__visual {
	flex-shrink: 0;
}

.canifex-archive-hero__icon-ring {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.12);
	border: 2px solid rgba(255, 255, 255, 0.25);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 0 12px rgba(255, 255, 255, 0.08);
	animation: canifex-icon-float 4s ease-in-out infinite;
	transition: transform 0.3s ease;
}

.canifex-archive-hero__icon-ring:hover {
	transform: scale(1.08) rotate(5deg);
}

.canifex-archive-hero__icon {
	font-size: 2rem;
	line-height: 1;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes canifex-icon-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-5px); }
}

/* Legacy hero aliases */
.canifex-category-hero {
	border-bottom: none;
}

.canifex-shop-breadcrumbs,
.canifex-category-hero .wc-block-breadcrumbs {
	margin-bottom: 0.25rem !important;
	font-size: 0.8125rem;
}

.canifex-category-title {
	margin: 0 !important;
	font-weight: 800;
	line-height: 1.15;
}

.canifex-category-description {
	margin: 0.25rem 0 0;
	font-size: 1rem;
	line-height: 1.5;
	max-width: 720px;
}

.canifex-category-description:empty {
	display: none;
}

.canifex-shop-content {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
}

/* Two-column layout: sidebar + products */
.canifex-shop-layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
}

.canifex-shop-main {
	min-width: 0;
}

/* Toolbar: results count + sort */
.canifex-shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.875rem 1.25rem;
	margin-bottom: 1.25rem;
	background: #fff;
	border: 1px solid var(--canifex-border);
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(18, 26, 69, 0.04);
}

.canifex-results-count,
.canifex-results-count .woocommerce-result-count {
	margin: 0 !important;
	font-size: 0.9375rem;
	color: var(--canifex-navy);
	font-weight: 600;
}

.canifex-catalog-sorting,
.canifex-catalog-sorting .woocommerce-ordering {
	margin: 0 !important;
	float: none !important;
}

.canifex-catalog-sorting form {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
}

.canifex-catalog-sorting label.orderby-label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--canifex-muted, #666);
	margin: 0;
	white-space: nowrap;
}

.canifex-catalog-sorting select.orderby {
	appearance: none;
	-webkit-appearance: none;
	min-width: 200px;
	padding: 0.625rem 2.25rem 0.625rem 0.875rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--canifex-navy);
	background: var(--canifex-surface) 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='%23121A45' d='M1.41 0 6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
	border: 1px solid var(--canifex-border);
	border-radius: 6px;
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.canifex-catalog-sorting select.orderby:hover,
.canifex-catalog-sorting select.orderby:focus {
	border-color: var(--canifex-blue);
	box-shadow: 0 0 0 3px rgba(28, 73, 194, 0.12);
	outline: none;
}

/* Active filter chips */
.canifex-active-filters {
	margin-bottom: 1rem;
}

.canifex-active-filters:empty,
.canifex-active-filters:not(:has(.wc-block-product-filter-removable-chips__items li)) {
	display: none;
}

.canifex-active-filters .wc-block-product-filter-removable-chips__items {
	gap: 0.5rem;
}

.canifex-active-filters .wc-block-product-filter-removable-chips__item {
	background: var(--canifex-surface);
	border: 1px solid var(--canifex-border);
	border-radius: 999px;
	padding: 0.35rem 0.75rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--canifex-navy);
}

/* Filter sidebar panel */
.canifex-filter-panel {
	background: #fff;
	border: 1px solid var(--canifex-border);
	border-radius: 10px;
	padding: 1.25rem;
	box-shadow: 0 1px 3px rgba(18, 26, 69, 0.04);
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 1rem);
}

.canifex-filter-panel__title {
	margin: 0 0 1rem !important;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--canifex-blue);
	color: var(--canifex-navy);
	font-weight: 700;
	font-size: 1rem !important;
}

.canifex-shop-sidebar .wc-block-product-filters,
.canifex-product-filters {
	display: flex !important;
	flex-direction: column;
	width: 100%;
	gap: 0;
}

.canifex-shop-sidebar .wc-block-product-filters > .wp-block-woocommerce-product-filter-price,
.canifex-shop-sidebar .wc-block-product-filters > .wp-block-woocommerce-product-filter-rating,
.canifex-shop-sidebar .wc-block-product-filters > .wp-block-woocommerce-product-filter-status,
.canifex-shop-sidebar .wc-block-product-filters > .wp-block-woocommerce-product-filter-clear-button,
.canifex-product-filters > .wp-block-woocommerce-product-filter-price,
.canifex-product-filters > .wp-block-woocommerce-product-filter-rating,
.canifex-product-filters > .wp-block-woocommerce-product-filter-status,
.canifex-product-filters > .wp-block-woocommerce-product-filter-clear-button {
	padding: 1rem 0;
	border-bottom: 1px solid var(--canifex-border);
}

.canifex-shop-sidebar .wc-block-product-filters > *:last-child,
.canifex-product-filters > *:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.canifex-shop-sidebar .wc-block-product-filter-price,
.canifex-shop-sidebar .wc-block-product-filter-rating,
.canifex-shop-sidebar .wc-block-product-filter-status {
	width: 100%;
}

.canifex-shop-sidebar .wc-block-product-filter-price h3,
.canifex-shop-sidebar .wc-block-product-filter-rating h3,
.canifex-shop-sidebar .wc-block-product-filter-status h3,
.canifex-shop-sidebar .wc-block-product-filter-price .wp-block-heading,
.canifex-shop-sidebar .wc-block-product-filter-rating .wp-block-heading,
.canifex-shop-sidebar .wc-block-product-filter-status .wp-block-heading {
	font-size: 0.875rem !important;
	font-weight: 700 !important;
	color: var(--canifex-navy) !important;
	margin: 0 0 0.75rem !important;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.canifex-shop-sidebar .wc-block-product-filter-checkbox-list__label {
	font-size: 0.875rem;
	color: var(--canifex-navy);
}

.canifex-shop-sidebar .wc-block-product-filter-checkbox-list__input {
	accent-color: var(--canifex-blue);
}

.canifex-shop-sidebar .wc-block-product-filter-price-slider__range {
	--range-color: var(--canifex-blue);
}

.canifex-shop-sidebar .wp-block-woocommerce-product-filter-clear-button .wp-block-button__link {
	width: 100%;
	text-align: center;
	background: transparent !important;
	color: var(--canifex-blue) !important;
	border: 1px solid var(--canifex-blue) !important;
	border-radius: 6px !important;
	font-weight: 600;
	font-size: 0.875rem;
	padding: 0.625rem 1rem !important;
}

.canifex-shop-sidebar .wp-block-woocommerce-product-filter-clear-button .wp-block-button__link:hover {
	background: var(--canifex-surface) !important;
}

/* Category product grid */
.canifex-category-products .wc-block-product-template {
	gap: 1.25rem;
}

.canifex-category-products .canifex-product-card-inner {
	height: 100%;
}

.canifex-category-products .canifex-product-card-inner .wp-block-button__link,
.canifex-category-products .canifex-product-card-inner .wc-block-components-product-button__button {
	font-size: 1rem !important;
	padding: 0.8125rem 1rem !important;
}

/* Shop catalog (no sidebar): 4 products per row */
.canifex-shop-main--full {
	width: 100%;
}

.canifex-shop-catalog {
	width: 100%;
}

.canifex-shop-catalog .wc-block-product-template,
.canifex-shop-catalog .wc-block-product-template.is-flex-container,
.canifex-shop-catalog .wc-block-product-template__responsive {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 1.25rem;
	width: 100%;
	list-style: none;
	padding: 0;
	margin: 0;
}

.canifex-shop-catalog .wc-block-product-template > li,
.canifex-shop-catalog .wc-block-product-template__responsive > li {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	flex: none !important;
	margin: 0 !important;
}

.canifex-shop-catalog .wc-block-product,
.canifex-shop-catalog .canifex-product-card,
.canifex-shop-catalog .canifex-product-card-inner {
	width: 100%;
	min-width: 0;
}

.canifex-shop-catalog .wc-block-components-product-image img {
	width: 100%;
	height: auto;
}

@media (min-width: 782px) and (max-width: 1023px) {
	.canifex-shop-catalog .wc-block-product-template,
	.canifex-shop-catalog .wc-block-product-template__responsive {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 781px) {
	.canifex-shop-catalog .wc-block-product-template,
	.canifex-shop-catalog .wc-block-product-template__responsive {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 480px) {
	.canifex-shop-catalog .wc-block-product-template,
	.canifex-shop-catalog .wc-block-product-template__responsive {
		grid-template-columns: 1fr !important;
	}
}

/* Pagination */
.canifex-shop-pagination {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--canifex-border);
	display: flex !important;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.canifex-shop-pagination .wp-block-query-pagination-numbers .page-numbers,
.canifex-shop-pagination .wp-block-query-pagination-previous,
.canifex-shop-pagination .wp-block-query-pagination-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 0.625rem;
	margin: 0 0.125rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--canifex-navy);
	background: #fff;
	border: 1px solid var(--canifex-border);
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.canifex-shop-pagination .wp-block-query-pagination-numbers .page-numbers.current {
	background: var(--canifex-blue);
	border-color: var(--canifex-blue);
	color: #fff;
}

.canifex-shop-pagination .wp-block-query-pagination-numbers .page-numbers:hover:not(.current),
.canifex-shop-pagination .wp-block-query-pagination-previous:hover,
.canifex-shop-pagination .wp-block-query-pagination-next:hover {
	border-color: var(--canifex-blue);
	color: var(--canifex-blue);
}

.canifex-no-products {
	padding: 3rem 1.5rem;
	text-align: center;
	background: var(--canifex-surface);
	border-radius: 10px;
	border: 1px dashed var(--canifex-border);
}

@media (min-width: 782px) {
	.canifex-shop-sidebar .wc-block-product-filters__open-overlay,
	.canifex-shop-sidebar .wc-block-product-filters__close-overlay {
		display: none !important;
	}
}

/* ── Shop page sidebar (legacy) ─────────────────────── */

.canifex-shop-sidebar h3 {
	margin-top: 0;
	color: var(--canifex-navy);
}

/* ── Single product ─────────────────────────────────── */

.canifex-product-gallery-col .wp-block-woocommerce-product-image-gallery {
	max-width: none;
	width: 100%;
}

.canifex-product-page .woocommerce-product-gallery.canifex-product-gallery {
	position: relative;
	width: 100%;
	max-width: 100%;
	opacity: 1 !important;
}

/* Main image box */
.canifex-product-page .woocommerce-product-gallery .flex-viewport {
	border: 1px solid var(--canifex-border);
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	margin-bottom: 0.75rem;
	box-shadow: 0 1px 3px rgba(18, 26, 69, 0.06);
}

.canifex-product-page .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
	margin: 0;
}

.canifex-product-page .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image,
.canifex-product-page .woocommerce-product-gallery .flex-viewport li {
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-height: 320px;
	background: #fff;
}

.canifex-product-page .woocommerce-product-gallery .flex-viewport img {
	width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: contain;
	display: block;
	margin: 0 auto;
	padding: 1rem;
	box-sizing: border-box;
	cursor: pointer;
}

.canifex-product-page .woocommerce-product-gallery .woocommerce-product-gallery__image a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 320px;
	cursor: pointer;
}

.canifex-product-page .woocommerce-product-gallery .zoomImg {
	display: none !important;
}

/* Hide magnifier icon; the full image opens the lightbox. */
.canifex-product-page .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	display: none !important;
}

/* Hide flexslider slide arrows (thumbnails + scroll buttons handle navigation). */
.canifex-product-page .woocommerce-product-gallery .flex-direction-nav {
	display: none !important;
}

.canifex-gallery-zoom-hint {
	position: absolute;
	bottom: 0.75rem;
	left: 50%;
	transform: translateX(-50%);
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: rgba(18, 26, 69, 0.75);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	pointer-events: none;
	z-index: 2;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.canifex-product-page .woocommerce-product-gallery .flex-viewport:hover .canifex-gallery-zoom-hint {
	opacity: 1;
}

/* Thumbnail strip with scroll arrows */
.canifex-gallery-thumbs {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.25rem;
}

.canifex-gallery-thumbs__track {
	flex: 1;
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.canifex-gallery-thumbs__track::-webkit-scrollbar {
	display: none;
}

.canifex-gallery-thumbs__arrow {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 1px solid var(--canifex-border);
	border-radius: 50%;
	background: #fff;
	color: var(--canifex-navy);
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.canifex-gallery-thumbs__arrow:hover:not(:disabled),
.canifex-gallery-thumbs__arrow:focus {
	border-color: var(--canifex-blue);
	color: var(--canifex-blue);
}

.canifex-gallery-thumbs__arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

.canifex-gallery-thumbs:not(.canifex-gallery-thumbs--scrollable) .canifex-gallery-thumbs__arrow {
	display: none;
}

.canifex-product-page .woocommerce-product-gallery ol.flex-control-thumbs {
	display: flex !important;
	flex-wrap: nowrap;
	gap: 0.5rem;
	width: max-content;
	min-width: 100%;
	margin: 0 !important;
	padding: 0.25rem 0;
	list-style: none;
	overflow: visible;
}

.canifex-product-page .woocommerce-product-gallery ol.flex-control-thumbs li {
	float: none !important;
	width: 72px !important;
	flex: 0 0 72px;
	margin: 0 !important;
}

.canifex-product-page .woocommerce-product-gallery ol.flex-control-thumbs li img {
	width: 72px !important;
	height: 72px !important;
	object-fit: cover;
	border: 2px solid var(--canifex-border);
	border-radius: 8px;
	opacity: 0.65;
	cursor: pointer;
	transition: border-color 0.2s ease, opacity 0.2s ease;
	box-sizing: border-box;
}

.canifex-product-page .woocommerce-product-gallery ol.flex-control-thumbs li img:hover {
	opacity: 1;
	border-color: var(--canifex-blue);
}

.canifex-product-page .woocommerce-product-gallery ol.flex-control-thumbs li.flex-active img {
	opacity: 1;
	border-color: var(--canifex-blue);
	box-shadow: 0 0 0 1px var(--canifex-blue);
}

/* Sale badge on gallery */
.canifex-product-page .wp-block-woocommerce-product-image-gallery > span.onsale {
	top: 0.75rem;
	left: 0.75rem;
	right: auto;
	z-index: 3;
	border-radius: 4px;
	background: var(--canifex-orange);
	font-weight: 700;
}

/* Before flexslider initializes (fallback layout) */
.canifex-product-page .woocommerce-product-gallery:not(.canifex-product-gallery--ready) .woocommerce-product-gallery__wrapper {
	border: 1px solid var(--canifex-border);
	border-radius: 12px;
	background: #fff;
	padding: 1rem;
}

.canifex-product-page .woocommerce-product-gallery:not(.canifex-product-gallery--ready) .woocommerce-product-gallery__image:not(:first-child) {
	display: none;
}

.canifex-product-page .woocommerce-product-gallery:not(.canifex-product-gallery--ready) .woocommerce-product-gallery__image img {
	max-height: 520px;
	object-fit: contain;
	width: 100%;
	margin: 0 auto;
}

@media (max-width: 781px) {
	.canifex-product-page .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image,
	.canifex-product-page .woocommerce-product-gallery .flex-viewport li {
		min-height: 240px;
	}

	.canifex-product-page .woocommerce-product-gallery .flex-viewport img {
		max-height: 360px;
		padding: 0.75rem;
	}

	.canifex-product-page .woocommerce-product-gallery ol.flex-control-thumbs li,
	.canifex-product-page .woocommerce-product-gallery ol.flex-control-thumbs li img {
		width: 60px !important;
		height: 60px !important;
		flex-basis: 60px;
	}
}

.canifex-product-summary .wp-block-post-title {
	color: var(--canifex-navy);
	font-weight: 700;
}

.canifex-product-summary .wc-block-components-product-price {
	color: var(--canifex-navy);
	font-size: 1.75rem;
}

.canifex-product-trust {
	border-color: var(--canifex-border) !important;
	color: var(--canifex-blue);
}

.canifex-product-trust p {
	color: var(--canifex-blue);
	margin: 0;
	font-size: 0.875rem !important
}

/* Variable product attribute radios */
.canifex-product-page .variations {
	width: 100%;
	margin-bottom: 1.25rem;
}

.canifex-product-page .variations tr {
	display: block;
	margin-bottom: 1rem;
}

.canifex-product-page .variations th.label {
	display: block;
	padding: 0 0 0.5rem;
	text-align: left;
}

.canifex-product-page .variations th.label label {
	font-weight: 600;
	color: var(--canifex-navy);
	font-size: 0.9375rem;
}

.canifex-product-page .variations td.value {
	display: block;
	padding: 0;
}

.canifex-variation-radios {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.canifex-variation-attribute {
	position: relative;
}

.canifex-variation-radio {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.5rem;
	min-width: 2.5rem;
	padding: 0.4rem 0.85rem;
	border: 2px solid var(--canifex-border);
	border-radius: 8px;
	background: #fff;
	color: var(--canifex-navy);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
	user-select: none;
}

.canifex-variation-radio__input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.canifex-variation-radio__label {
	pointer-events: none;
}

.canifex-variation-radio:hover:not(.is-disabled) {
	border-color: var(--canifex-orange);
}

.canifex-variation-radio.is-selected {
	border-color: var(--canifex-blue);
	background: var(--canifex-blue);
	color: #fff;
	box-shadow: 0 2px 8px rgba(28, 73, 194, 0.22);
}

.canifex-variation-radio.is-disabled {
	opacity: 0.45;
	cursor: not-allowed;
	text-decoration: line-through;
}

.canifex-variation-select {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.canifex-product-page .reset_variations {
	display: inline-block;
	margin-top: 0.5rem;
	font-size: 0.8125rem;
	color: var(--canifex-blue);
	text-decoration: none;
}

.canifex-product-page .reset_variations:hover {
	text-decoration: underline;
}

.canifex-product-page .quantity select.qty.canifex-quantity-select {
	min-width: 4.5rem;
	height: 2.75rem;
	padding: 0.375rem 2rem 0.375rem 0.75rem;
	border: 1px solid var(--canifex-border);
	border-radius: 8px;
	background-color: #fff;
	color: var(--canifex-navy);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	appearance: none;
	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='%23121A45' d='M1.41.59 6 5.17 10.59.59 12 2 6 8 0 2z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 12px 8px;
}

.canifex-product-page .quantity select.qty.canifex-quantity-select:focus {
	border-color: var(--canifex-blue);
	outline: 2px solid rgba(28, 73, 194, 0.2);
	outline-offset: 1px;
}

.canifex-product-page .wc-block-add-to-cart-form .quantity {
	margin-bottom: 1rem;
}

/* ── Login / Register (My Account) ──────────────────── */

.canifex-account-page-wrap {
	padding-top: 2rem;
	padding-bottom: 3rem;
}

.canifex-account-page-title {
	margin-bottom: 1.5rem !important;
	color: var(--canifex-navy);
	text-align: center;
}

/* Login page: full-width form (no dashboard sidebar grid). */
.canifex-account-page.canifex-account-login .woocommerce {
	display: block;
	max-width: none;
	margin: 0;
	width: 100%;
}

.canifex-auth-shell {
	max-width: 960px;
	margin: 0 auto;
	width: 100%;
}

.canifex-auth-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
	width: 100%;
}

.canifex-auth-grid--login-only {
	grid-template-columns: minmax(0, 480px);
	justify-content: center;
}

.canifex-auth-shell--centered {
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
}

.canifex-lost-password-card {
	text-align: center;
}

.canifex-lost-password-form__message {
	margin: 0 0 1.25rem;
	color: #5a6478;
	font-size: 0.9375rem;
	line-height: 1.5;
	text-align: center;
}

.canifex-lost-password-form .woocommerce-form-row {
	margin: 0 0 1rem;
	padding: 0;
	text-align: center;
}

.canifex-lost-password-form .woocommerce-form-row label {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--canifex-navy);
	font-weight: 600;
	font-size: 0.875rem;
	text-align: center;
}

.canifex-lost-password-form .input-text {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 0.75rem 0.875rem;
	border: 1px solid var(--canifex-border);
	border-radius: 6px;
	font-size: 0.9375rem;
	box-sizing: border-box;
	text-align: center;
}

.canifex-lost-password-form .input-text:focus {
	border-color: var(--canifex-blue);
	outline: none;
	box-shadow: 0 0 0 3px rgba(28, 73, 194, 0.15);
}

.canifex-lost-password-form .canifex-auth-form__actions {
	justify-content: center;
	margin-top: 0.5rem;
}

.canifex-lost-password-form__back {
	margin: 1rem 0 0;
	text-align: center;
	font-size: 0.875rem;
}

.canifex-lost-password-form__back a {
	color: var(--canifex-blue);
	font-weight: 600;
	text-decoration: none;
}

.canifex-lost-password-form__back a:hover {
	text-decoration: underline;
}

/* Lost password modal */
body.canifex-modal-open {
	overflow: hidden;
}

.canifex-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
}

.canifex-modal[hidden] {
	display: none;
}

.canifex-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(18, 26, 69, 0.55);
}

.canifex-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 440px;
	max-height: calc(100vh - 2.5rem);
	overflow-y: auto;
}

.canifex-modal__content {
	margin: 0;
}

.canifex-modal__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: var(--canifex-blue-dark);
	color: #ffffff;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.canifex-modal__close:hover {
	background:#406eec;
	color: #ffffff;
}

.canifex-lost-password-form__message--success {
	color: #2d6a4f;
}

.canifex-lost-password-modal__back-btn {
	padding: 0;
	border: none;
	background: none;
	color: var(--canifex-blue);
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
}

.canifex-lost-password-modal__back-btn:hover {
	text-decoration: underline;
}

.canifex-auth-card .lost_password a.canifex-open-lost-password-modal {
	cursor: pointer;
}

.canifex-auth-card {
	background: #fff;
	border: 1px solid var(--canifex-border);
	border-radius: 12px;
	padding: 1.75rem;
	box-shadow: 0 1px 3px rgba(18, 26, 69, 0.06);
}

.canifex-auth-card__title {
	margin: 0 0 0.5rem;
	color: var(--canifex-navy);
	font-size: 1.5rem;
	font-weight: 700;
}

.canifex-auth-card__lead {
	margin: 0 0 1.25rem;
	color: #5a6478;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.canifex-auth-card .woocommerce-form-row {
	margin: 0 0 1rem;
	padding: 0;
}

.canifex-auth-card .form-row-wide {
	width: 100%;
	float: none;
}

.canifex-auth-card .woocommerce-form-row label {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--canifex-navy);
	font-weight: 600;
	font-size: 0.875rem;
}

.canifex-auth-card .input-text {
	width: 100%;
	padding: 0.75rem 0.875rem;
	border: 1px solid var(--canifex-border);
	border-radius: 6px;
	font-size: 0.9375rem;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.canifex-auth-card .input-text:focus {
	border-color: var(--canifex-blue);
	outline: none;
	box-shadow: 0 0 0 3px rgba(28, 73, 194, 0.15);
}

.canifex-auth-form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	margin-top: 0.5rem;
}

.canifex-auth-form__actions--unified {
	justify-content: space-between;
}

.canifex-auth-form__actions--unified .woocommerce-form-login__rememberme {
	margin: 0;
}

.canifex-unified-auth-form .woocommerce-privacy-policy-text {
	margin: 0 0 1rem;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: #5a6478;
}

.canifex-auth-card .woocommerce-form-login__rememberme {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 500;
}

.canifex-auth-card .button,
.canifex-auth-card .woocommerce-button {
	background: var(--canifex-blue) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 6px !important;
	padding: 0.75rem 1.5rem !important;
	font-size: 0.9375rem !important;
	font-weight: 700 !important;
	cursor: pointer;
	transition: background 0.2s ease;
}

.canifex-auth-card .button:hover,
.canifex-auth-card .woocommerce-button:hover {
	background: var(--canifex-blue-dark) !important;
	color: #fff !important;
}

.canifex-auth-card .lost_password {
	margin: 0.75rem 0 0;
	font-size: 0.875rem;
}

.canifex-auth-card .lost_password a {
	color: var(--canifex-blue);
	font-weight: 600;
	text-decoration: none;
}

.canifex-auth-card .lost_password a:hover {
	text-decoration: underline;
}

/* Logged-in account dashboard — menu left, content right (see .canifex-account-layout) */
body.canifex-account-dashboard .entry-content > .woocommerce,
body.canifex-account-dashboard main .woocommerce {
	max-width: 1100px;
	margin: 0 auto;
	width: 100%;
}

body.canifex-account-dashboard .canifex-account-layout {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 2rem;
	width: 100%;
}

body.canifex-account-dashboard .canifex-account-layout .woocommerce-MyAccount-navigation {
	flex: 0 0 220px;
	width: 220px;
	max-width: 220px;
	float: none !important;
}

body.canifex-account-dashboard .canifex-account-layout .woocommerce-MyAccount-content {
	flex: 1 1 0%;
	min-width: 0;
	width: auto;
	max-width: none;
	float: none !important;
}

.canifex-account-page .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid var(--canifex-border);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}

.canifex-account-page .woocommerce-MyAccount-navigation li {
	margin: 0;
	border-bottom: 1px solid var(--canifex-border);
}

.canifex-account-page .woocommerce-MyAccount-navigation li:last-child {
	border-bottom: none;
}

.canifex-account-page .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 0.875rem 1rem;
	color: var(--canifex-navy);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.canifex-account-page .woocommerce-MyAccount-navigation a:hover,
.canifex-account-page .woocommerce-MyAccount-navigation li.is-active a {
	background: var(--canifex-surface);
	color: var(--canifex-blue);
}

.canifex-account-page .woocommerce-MyAccount-content {
	background: #fff;
	border: 1px solid var(--canifex-border);
	border-radius: 12px;
	padding: 1.75rem;
	box-shadow: 0 1px 3px rgba(18, 26, 69, 0.06);
}

.canifex-account-page .woocommerce-MyAccount-content h2,
.canifex-account-page .woocommerce-MyAccount-content h3 {
	color: var(--canifex-navy);
}

.canifex-account-page .woocommerce-MyAccount-content .button,
.canifex-account-page .woocommerce-MyAccount-content .woocommerce-button {
	background: var(--canifex-blue) !important;
	color: #fff !important;
	border-radius: 6px !important;
}

.canifex-account-page .addresses .title .edit {
	float: none;
	display: block;
	margin: 0.35rem 0 0.75rem;
	text-align: left;
}

/* Empty account states (e.g. no downloads / orders) */
.canifex-account-page .woocommerce-MyAccount-content .woocommerce-info,
.canifex-account-page .woocommerce-MyAccount-content .woocommerce-message {
	text-align: center;
	padding: 2rem 1.5rem;
	margin: 0;
	background: linear-gradient(180deg, #f4f7ff 0%, #fff 100%);
	border: 1px solid var(--canifex-border);
	border-radius: 12px;
	color: #5a6478;
	font-size: 1rem;
	line-height: 1.5;
}

.canifex-account-page .woocommerce-MyAccount-content a.button.wc-forward,
.canifex-account-page .woocommerce-MyAccount-content a.woocommerce-Button.wc-forward {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	width: fit-content;
	margin: 1.25rem auto 0;
	padding: 0.8rem 1.6rem !important;
	background: var(--canifex-blue) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	font-size: 0.9375rem !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	line-height: 1.3;
	box-shadow: 0 2px 8px rgba(28, 73, 194, 0.22);
	transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.canifex-account-page .woocommerce-MyAccount-content a.button.wc-forward::after,
.canifex-account-page .woocommerce-MyAccount-content a.woocommerce-Button.wc-forward::after {
	content: "→";
	font-size: 1.05em;
	line-height: 1;
}

.canifex-account-page .woocommerce-MyAccount-content a.button.wc-forward:hover,
.canifex-account-page .woocommerce-MyAccount-content a.button.wc-forward:focus,
.canifex-account-page .woocommerce-MyAccount-content a.woocommerce-Button.wc-forward:hover,
.canifex-account-page .woocommerce-MyAccount-content a.woocommerce-Button.wc-forward:focus {
	background: var(--canifex-blue-dark) !important;
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(28, 73, 194, 0.28);
}

@media (max-width: 781px) {
	.canifex-auth-grid {
		grid-template-columns: 1fr;
	}

	.canifex-auth-form__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.canifex-auth-form__actions .button,
	.canifex-auth-form__actions .woocommerce-button {
		width: 100%;
		text-align: center;
	}
}

@media (max-width: 767px) {
	body.canifex-account-dashboard .canifex-account-layout {
		flex-direction: column;
		gap: 1.25rem;
	}

	body.canifex-account-dashboard .canifex-account-layout .woocommerce-MyAccount-navigation {
		flex: none;
		width: 100%;
		max-width: none;
	}

	body.canifex-account-dashboard .woocommerce-MyAccount-navigation ul {
		display: flex;
		flex-wrap: wrap;
		border-radius: 8px;
	}

	body.canifex-account-dashboard .woocommerce-MyAccount-navigation li {
		flex: 1 1 auto;
		border-bottom: none;
		border-right: 1px solid var(--canifex-border);
	}

	body.canifex-account-dashboard .woocommerce-MyAccount-navigation li:last-child {
		border-right: none;
	}

	body.canifex-account-dashboard .woocommerce-MyAccount-navigation a {
		padding: 0.625rem 0.75rem;
		font-size: 0.8125rem;
		text-align: center;
	}
}

/* ── Footer (Chewy-style) ───────────────────────────── */

.canifex-footer {
	background: #fff;
	color: var(--canifex-navy);
	border-top: 1px solid var(--canifex-border);
}

.canifex-footer__container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.25rem;
}

.canifex-footer__main {
	padding: 1.25rem 0;
}

.canifex-footer__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
}

.canifex-footer__links ul,
.canifex-footer__social ul,
.canifex-footer__legal-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.canifex-footer__links ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
}

.canifex-footer__links a {
	color: var(--canifex-navy);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.15s ease;
}

.canifex-footer__links a:hover,
.canifex-footer__links a:focus {
	color: var(--canifex-blue);
}

.canifex-footer__region {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--canifex-navy);
	font-size: 0.875rem;
	font-weight: 600;
}

.canifex-footer__flag {
	flex-shrink: 0;
}

.canifex-footer__social ul {
	display: flex;
	align-items: center;
	gap: 0.875rem;
}

.canifex-footer a.canifex-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	line-height: 0;
	text-decoration: none !important;
	flex-shrink: 0;
	border-radius: 50%;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.canifex-footer__social-link:hover,
.canifex-footer__social-link:focus {
	transform: translateY(-1px);
	opacity: 0.92;
}

.canifex-footer__social-link svg {
	width: 34px !important;
	height: 34px !important;
	min-width: 34px;
	min-height: 34px;
	max-width: none !important;
	display: block;
	overflow: visible;
	flex-shrink: 0;
}

/* Preserve branded icon colors (block theme link styles can override SVG fill) */
.canifex-footer__social-link--facebook svg circle {
	fill: #1877f2 !important;
}

.canifex-footer__social-link--facebook svg path {
	fill: #fff !important;
}

.canifex-footer__social-link--youtube svg circle {
	fill: #ed1d24 !important;
}

.canifex-footer__social-link--youtube svg path:first-of-type {
	fill: #fff !important;
}

.canifex-footer__social-link--youtube svg path:last-of-type {
	fill: #ed1d24 !important;
}

.canifex-footer__social-link--instagram .canifex-icon-instagram__bg {
	fill: #f00075 !important;
}

.canifex-footer__social-link--instagram .canifex-icon-instagram__frame,
.canifex-footer__social-link--instagram .canifex-icon-instagram__lens {
	fill: none !important;
	stroke: #fff !important;
	stroke-width: 1.55;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.canifex-footer__social-link--instagram .canifex-icon-instagram__dot {
	fill: #fff !important;
	stroke: none !important;
}

.canifex-footer__social-link--tiktok svg path:first-of-type {
	fill: #000 !important;
}

.canifex-footer__social-link--tiktok svg path:last-of-type {
	fill: #fff !important;
}

.canifex-footer__promises {
	border-top: 1px solid var(--canifex-border);
	background: var(--canifex-surface);
	padding: 1rem 0;
}

.canifex-footer__promises-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.canifex-footer__promise {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--canifex-navy);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.15s ease;
}

.canifex-footer__promise:hover,
.canifex-footer__promise:focus {
	color: var(--canifex-blue);
}

.canifex-footer__promise-icon {
	font-size: 1.125rem;
	line-height: 1;
}

.canifex-footer__legal {
	border-top: 1px solid var(--canifex-border);
	padding: 1rem 0 1.25rem;
	background: #fff;
}

.canifex-footer__legal-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.25rem;
}

.canifex-footer__legal-list li {
	color: #5a6478;
	font-size: 0.8125rem;
	line-height: 1.4;
}

.canifex-footer__legal-list a {
	color: #5a6478;
	text-decoration: none;
	transition: color 0.15s ease;
}

.canifex-footer__legal-list a:hover,
.canifex-footer__legal-list a:focus {
	color: var(--canifex-blue);
}

.canifex-newsletter-form {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.75rem;
}

.canifex-newsletter-form input[type="email"] {
	flex: 1;
	padding: 0.625rem 0.875rem;
	border: 1px solid var(--canifex-border);
	border-radius: 4px;
	background: #fff;
	color: var(--canifex-navy);
	font-size: 0.875rem;
}

.canifex-newsletter-form input[type="email"]::placeholder {
	color: #8a94a6;
}

.canifex-newsletter-form button {
	padding: 0.625rem 1.25rem;
	background: var(--canifex-orange);
	color: #fff;
	border: none;
	border-radius: 4px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.canifex-newsletter-form button:hover {
	background: #e55a28;
}

/* ── WooCommerce global overrides ───────────────────── */

.woocommerce-breadcrumb,
.wc-block-breadcrumbs {
	font-size: 0.8125rem;
	color: #666;
	margin-bottom: 1rem;
}

.wc-block-breadcrumbs a {
	color: var(--canifex-blue);
}

.wc-block-components-button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	background: var(--canifex-blue) !important;
	border-radius: 4px !important;
	font-weight: 600 !important;
}

.wc-block-components-button:hover {
	background: var(--canifex-blue-dark) !important;
}

/* ── Responsive ─────────────────────────────────────── */

@media (max-width: 781px) {
	.canifex-promo-text {
		font-size: 0.75rem !important;
		line-height: 1.4;
	}

	.canifex-promo-sep {
		display: none;
	}

	.canifex-main-header {
		padding-top: 0.75rem !important;
		padding-bottom: 0.875rem !important;
	}

	.canifex-header-row {
		display: grid;
		grid-template-columns: 44px 1fr auto;
		grid-template-rows: auto auto;
		align-items: center;
		gap: 0.75rem;
	}

	.canifex-mobile-menu-toggle {
		display: flex;
		grid-column: 1;
		grid-row: 1;
	}

	.canifex-header-logo {
		grid-column: 2;
		grid-row: 1;
		justify-content: center;
		min-width: 0;
	}

	.canifex-header-logo .wp-block-site-title {
		font-size: 1.25rem !important;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.canifex-header-logo .wp-block-site-logo img {
		max-height: 36px;
		width: auto;
	}

	.canifex-header-actions {
		grid-column: 3;
		grid-row: 1;
		margin-left: 0;
		gap: 0.5rem !important;
	}

	.canifex-account-nav__label:not(.canifex-account-nav__label--mobile) {
		display: none;
	}

	.canifex-account-nav__label--mobile {
		display: block;
		font-size: 0.75rem;
	}

	.canifex-account-nav__icon {
		width: 1.5rem;
		height: 1.5rem;
	}

	.canifex-header-search {
		grid-column: 1 / -1;
		grid-row: 2;
		max-width: 100%;
		padding-top: 0.25rem;
		padding-bottom: 0;
		display: block;
	}

	.canifex-product-search .wp-block-search__input {
		font-size: 0.875rem !important;
		min-height: 40px;
		padding: 0.625rem 0.875rem !important;
	}

	.canifex-product-search .wp-block-search__button {
		min-height: 40px;
		padding: 0 1rem !important;
	}

	/* Hide desktop category bar on mobile */
	.canifex-category-nav--desktop {
		display: none !important;
	}

	.canifex-shop-layout {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.canifex-shop-sidebar {
		order: 1;
	}

	.canifex-shop-main {
		order: 2;
	}

	.canifex-filter-panel {
		position: static;
		padding: 0;
		background: transparent;
		border: none;
		box-shadow: none;
	}

	.canifex-filter-panel__title {
		display: none;
	}

	/* Mobile: show WooCommerce filter overlay button in toolbar area */
	.canifex-shop-sidebar .wc-block-product-filters {
		display: flex !important;
		flex-direction: row;
		justify-content: flex-start;
	}

	.canifex-shop-sidebar .wc-block-product-filters__open-overlay {
		display: inline-flex !important;
		align-items: center;
		gap: 0.5rem;
		padding: 0.625rem 1rem;
		background: #fff;
		border: 1px solid var(--canifex-border);
		border-radius: 6px;
		font-size: 0.875rem;
		font-weight: 700;
		color: var(--canifex-navy);
		cursor: pointer;
	}

	.canifex-shop-sidebar .wc-block-product-filters__open-overlay:hover {
		border-color: var(--canifex-blue);
		color: var(--canifex-blue);
	}

	.canifex-shop-sidebar .wc-block-product-filters > .wp-block-woocommerce-product-filter-price,
	.canifex-shop-sidebar .wc-block-product-filters > .wp-block-woocommerce-product-filter-rating,
	.canifex-shop-sidebar .wc-block-product-filters > .wp-block-woocommerce-product-filter-status,
	.canifex-shop-sidebar .wc-block-product-filters > .wp-block-woocommerce-product-filter-clear-button {
		display: none;
	}

	.canifex-shop-toolbar {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		padding: 1rem;
	}

	.canifex-results-count {
		flex: 1 1 auto;
		min-width: 0;
	}

	.canifex-catalog-sorting {
		flex: 1 1 100%;
	}

	.canifex-catalog-sorting form {
		justify-content: space-between;
	}

	.canifex-archive-hero {
		padding: 0.875rem 1rem 0.5rem;
		margin: 0.75rem auto 0.5rem;
		border-radius: 10px;
		max-width: calc(100% - 1rem);
		width: calc(100% - 1rem);
	}

	.canifex-archive-hero__content {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}

	.canifex-archive-hero__visual {
		display: none;
	}

	.canifex-archive-hero__title,
	.canifex-archive-hero .canifex-category-title {
		font-size: 1.375rem !important;
	}

	.canifex-archive-hero__subtitle {
		font-size: 0.8125rem;
	}

	.canifex-archive-hero__stats {
		gap: 0.25rem;
	}

	.canifex-archive-hero__stat {
		flex: 1 1 calc(50% - 0.125rem);
		min-width: 0;
		font-size: 0.625rem;
		padding: 0.25rem 0.5rem;
	}

	.canifex-category-hero {
		padding-top: 1rem !important;
		padding-bottom: 1.25rem !important;
	}

	.canifex-category-title {
		font-size: 1.5rem !important;
	}

	.canifex-shop-content {
		padding-top: 1.25rem !important;
		padding-bottom: 2rem !important;
	}

	.canifex-product-grid:not(.canifex-shop-catalog) .wc-block-product-template {
		grid-template-columns: repeat(2, 1fr) !important;
	}

	.canifex-footer__row {
		flex-direction: column;
		align-items: flex-start;
	}

	.canifex-footer__links ul {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	.canifex-footer__legal-list {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.625rem;
	}

	.canifex-newsletter-form {
		flex-direction: column;
	}
}

@media (max-width: 480px) {
	.canifex-product-grid:not(.canifex-shop-catalog) .wc-block-product-template {
		grid-template-columns: 1fr !important;
	}

	.canifex-pet-grid {
		gap: 1.25rem 1.5rem;
	}

	.canifex-pet-card {
		width: 6.25rem;
	}

	.canifex-pet-card__icon {
		width: 5.75rem;
		height: 5.75rem;
	}
}
