/* LoloPet shop page: one authoritative desktop frame. */
@media (min-width: 901px) {
	html body.woocommerce-shop .codzan-jp-mobile-sort-toggle,
	html body.tax-product_cat .codzan-jp-mobile-sort-toggle {
		display: none !important;
	}
}

@media (max-width: 900px) {
	html body.woocommerce-shop #codzan-native-shop-fallback #codzan-jp-shop-sidebar .codzan-jp-filter-card .codzan-jp-filter-heading .codzan-jp-filter-close,
	html body.tax-product_cat #codzan-native-shop-fallback #codzan-jp-shop-sidebar .codzan-jp-filter-card .codzan-jp-filter-heading .codzan-jp-filter-close {
		display: none !important;
	}
	html body.woocommerce-shop #codzan-native-shop-fallback #codzan-jp-shop-sidebar > .codzan-jp-filter-close,
	html body.tax-product_cat #codzan-native-shop-fallback #codzan-jp-shop-sidebar > .codzan-jp-filter-close {
		position: absolute !important;
		top: 14px !important;
		left: 12px !important;
		right: auto !important;
		z-index: 3 !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 38px !important;
		height: 38px !important;
		min-height: 38px !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 1px solid #704199 !important;
		border-radius: 10px !important;
		background: #704199 !important;
		box-shadow: 0 4px 12px rgba(112, 65, 153, .22) !important;
		color: #ffffff !important;
		font: 700 25px/1 Tahoma, sans-serif !important;
	}
}

@media (min-width: 901px) {
	html:has(body.woocommerce-shop),
	html:has(body.tax-product_cat) {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}

	body.woocommerce-shop,
	body.tax-product_cat {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}

	body.woocommerce-shop #wpadminbar,
	body.tax-product_cat #wpadminbar {
		display: none !important;
		height: 0 !important;
		min-height: 0 !important;
	}

	body.woocommerce-shop .wd-page-wrapper,
	body.tax-product_cat .wd-page-wrapper,
	body.woocommerce-shop .wd-page-content,
	body.tax-product_cat .wd-page-content {
		margin-top: 0 !important;
		padding-top: 0 !important;
		transform: none !important;
	}

	body.woocommerce-shop .whb-header,
	body.tax-product_cat .whb-header {
		position: relative !important;
		top: auto !important;
		bottom: auto !important;
		height: 86px !important;
		min-height: 86px !important;
		margin: 0 !important;
		transform: none !important;
	}

	body.woocommerce-shop .whb-header .whb-main-header,
	body.tax-product_cat .whb-header .whb-main-header {
		height: 86px !important;
		min-height: 86px !important;
	}

	body.woocommerce-shop .whb-header .whb-general-header,
	body.tax-product_cat .whb-header .whb-general-header {
		display: none !important;
		height: 0 !important;
		min-height: 0 !important;
	}

	html body.woocommerce-shop .wd-page-wrapper.website-wrapper > .whb-header,
	html body.tax-product_cat .wd-page-wrapper.website-wrapper > .whb-header,
	html body.woocommerce-shop .wd-page-wrapper.website-wrapper > .whb-header .whb-main-header,
	html body.tax-product_cat .wd-page-wrapper.website-wrapper > .whb-header .whb-main-header {
		height: 86px !important;
		min-height: 86px !important;
	}

	html body.woocommerce-shop .wd-page-wrapper.website-wrapper > .whb-header .whb-main-header .whb-general-header,
	html body.tax-product_cat .wd-page-wrapper.website-wrapper > .whb-header .whb-main-header .whb-general-header {
		display: none !important;
		height: 0 !important;
		min-height: 0 !important;
	}

	body.woocommerce-shop .whb-header .whb-main-header .whb-row,
	body.tax-product_cat .whb-header .whb-main-header .whb-row {
		height: 86px !important;
		min-height: 86px !important;
	}

	body.woocommerce-shop #main-content.wd-content-layout,
	body.tax-product_cat #main-content.wd-content-layout {
		position: relative !important;
		top: auto !important;
		margin: 0 !important;
		padding-top: 0 !important;
		transform: none !important;
	}

	body.woocommerce-shop .codzan-global-breadcrumb,
	body.tax-product_cat .codzan-global-breadcrumb {
		display: flex !important;
		visibility: visible !important;
		opacity: 1 !important;
		margin: 0 !important;
		transform: none !important;
	}

	body.woocommerce-shop #codzan-native-shop-fallback,
	body.tax-product_cat #codzan-native-shop-fallback {
		margin-top: 0 !important;
		transform: none !important;
	}
}

@media (max-width: 900px) {
	html body.woocommerce-shop #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-shop-sort,
	html body.tax-product_cat #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-shop-sort {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		grid-template-rows: auto auto !important;
		height: auto !important;
		min-height: 0 !important;
		gap: 8px !important;
		padding: 0 !important;
		direction: ltr !important;
	}
	html body.woocommerce-shop #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-mobile-sort-toggle,
	html body.tax-product_cat #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-mobile-sort-toggle {
		grid-column: 1 !important;
		grid-row: 1 !important;
	}
	html body.woocommerce-shop #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-mobile-filter,
	html body.tax-product_cat #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-mobile-filter {
		grid-column: 2 !important;
		grid-row: 1 !important;
		width: 100% !important;
	}
	html body.woocommerce-shop #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-sort-options,
	html body.tax-product_cat #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-sort-options {
		grid-column: 1 / -1 !important;
		grid-row: 2 !important;
		height: auto !important;
		min-height: 42px !important;
		padding: 6px !important;
	}
	html body.woocommerce-shop #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-mobile-sort-toggle,
	html body.tax-product_cat #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-mobile-sort-toggle {
		font-size: 0 !important;
	}
	html body.woocommerce-shop #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-mobile-sort-toggle::after,
	html body.tax-product_cat #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-mobile-sort-toggle::after {
		content: none !important;
	}
	html body.woocommerce-shop #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-mobile-sort-toggle,
	html body.tax-product_cat #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-mobile-sort-toggle,
	html body.woocommerce-shop #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-mobile-filter,
	html body.tax-product_cat #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-mobile-filter {
		font-size: .78rem !important;
		gap: 5px !important;
	}
	html body.woocommerce-shop #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-mobile-sort-icon,
	html body.tax-product_cat #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-mobile-sort-icon,
	html body.woocommerce-shop #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-mobile-category-icon,
	html body.tax-product_cat #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-mobile-category-icon {
		display: inline-flex !important;
		align-items: center !important;
		font-size: 1rem !important;
		line-height: 1 !important;
	}
	html body.woocommerce-shop #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-shop-sort.codzan-jp-sort-open .codzan-jp-sort-options,
	html body.tax-product_cat #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-shop-sort.codzan-jp-sort-open .codzan-jp-sort-options {
		display: grid !important;
		grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
		direction: rtl !important;
		gap: 4px !important;
		height: auto !important;
		min-height: 42px !important;
		overflow: hidden !important;
		padding: 5px !important;
	}
	html body.woocommerce-shop #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-sort-options .codzan-jp-sort-option,
	html body.tax-product_cat #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-sort-options .codzan-jp-sort-option {
		min-width: 0 !important;
		width: 100% !important;
		max-width: none !important;
		height: 34px !important;
		min-height: 34px !important;
		padding: 2px !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		text-align: center !important;
		font-size: .70rem !important;
		font-weight: 700 !important;
		line-height: 1.2 !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		text-overflow: clip !important;
		box-sizing: border-box !important;
	}
}

@media (max-width: 900px) {
	html body.woocommerce-shop #codzan-native-shop-fallback .codzan-jp-shop-sort,
	html body.tax-product_cat #codzan-native-shop-fallback .codzan-jp-shop-sort {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		grid-template-rows: auto auto !important;
		gap: 8px !important;
		height: auto !important;
		min-height: 0 !important;
		margin-top: 8px !important;
		padding: 0 !important;
		direction: rtl !important;
	}

	html body.woocommerce-shop #codzan-native-shop-fallback .codzan-jp-sort-label,
	html body.tax-product_cat #codzan-native-shop-fallback .codzan-jp-sort-label {
		display: none !important;
	}

	html body.woocommerce-shop #codzan-native-shop-fallback .codzan-jp-mobile-sort-toggle,
	html body.woocommerce-shop #codzan-native-shop-fallback .codzan-jp-mobile-filter,
	html body.tax-product_cat #codzan-native-shop-fallback .codzan-jp-mobile-sort-toggle,
	html body.tax-product_cat #codzan-native-shop-fallback .codzan-jp-mobile-filter {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		height: 42px !important;
		min-height: 42px !important;
		margin: 0 !important;
		padding: 7px 10px !important;
		border: 0 !important;
		border-radius: 8px !important;
		font: 700 .78rem/1.5 "iranyekanwebbold_FaNum", Tahoma, sans-serif !important;
		cursor: pointer !important;
		box-sizing: border-box !important;
	}

	html body.woocommerce-shop #codzan-native-shop-fallback .codzan-jp-mobile-sort-toggle,
	html body.tax-product_cat #codzan-native-shop-fallback .codzan-jp-mobile-sort-toggle {
		grid-column: 1 !important;
		grid-row: 1 !important;
		background: #fce4f3 !important;
		color: #704199 !important;
	}

	html body.woocommerce-shop #codzan-native-shop-fallback .codzan-jp-mobile-filter,
	html body.tax-product_cat #codzan-native-shop-fallback .codzan-jp-mobile-filter {
		grid-column: 2 !important;
		grid-row: 1 !important;
		background: #704199 !important;
		color: #fff !important;
	}

	html body.woocommerce-shop #codzan-native-shop-fallback .codzan-jp-sort-options,
	html body.tax-product_cat #codzan-native-shop-fallback .codzan-jp-sort-options {
		grid-column: 1 / -1 !important;
		grid-row: 2 !important;
		display: none !important;
		align-items: center !important;
		gap: 6px !important;
		width: 100% !important;
		min-height: 42px !important;
		padding: 6px !important;
		border: 1px solid #ead9e8 !important;
		border-radius: 9px !important;
		background: #fff !important;
		overflow-x: auto !important;
		box-sizing: border-box !important;
	}

	html body.woocommerce-shop #codzan-native-shop-fallback .codzan-jp-shop-sort.codzan-jp-sort-open .codzan-jp-sort-options,
	html body.tax-product_cat #codzan-native-shop-fallback .codzan-jp-shop-sort.codzan-jp-sort-open .codzan-jp-sort-options {
		display: flex !important;
	}
}

@media (max-width: 900px) {
	html body.woocommerce-shop #codzan-native-shop-fallback #codzan-jp-shop-sidebar .codzan-jp-filter-card .codzan-jp-filter-heading .codzan-jp-filter-close,
	html body.tax-product_cat #codzan-native-shop-fallback #codzan-jp-shop-sidebar .codzan-jp-filter-card .codzan-jp-filter-heading .codzan-jp-filter-close {
		display: none !important;
	}
	html body.woocommerce-shop #codzan-native-shop-fallback #codzan-jp-shop-sidebar > .codzan-jp-filter-close,
	html body.tax-product_cat #codzan-native-shop-fallback #codzan-jp-shop-sidebar > .codzan-jp-filter-close {
		position: absolute !important;
		top: 14px !important;
		left: 12px !important;
		right: auto !important;
		z-index: 3 !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 38px !important;
		height: 38px !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 1px solid #704199 !important;
		border-radius: 10px !important;
		background: #704199 !important;
		box-shadow: 0 4px 12px rgba(112, 65, 153, .22) !important;
		color: #ffffff !important;
		font: 700 25px/1 Tahoma, sans-serif !important;
	}
}
/* Keep the shop SEO heading and description in the semantic document structure
 * without displaying them in the visual shop layout. */
.codzan-shop-seo-heading {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Keep the mobile category trigger and catalogue search in one row on both
 * the shop archive and product-category archives. */
@media (max-width: 900px) {
	html body.woocommerce-shop #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-shop-top,
	html body.tax-product_cat #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-shop-top {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		gap: 8px !important;
		width: 100% !important;
		min-width: 0 !important;
		direction: rtl !important;
	}
	html body.woocommerce-shop #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-mobile-filter,
	html body.tax-product_cat #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-mobile-filter {
		order: 1 !important;
		flex: 0 0 auto !important;
		width: auto !important;
		min-width: 94px !important;
		margin: 0 !important;
	}
	html body.woocommerce-shop #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-shop-search,
	html body.tax-product_cat #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-shop-search {
		order: 2 !important;
		flex: 1 1 auto !important;
		width: auto !important;
		min-width: 0 !important;
		margin: 0 !important;
		display: flex !important;
	}
	html body.woocommerce-shop #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-shop-top,
	html body.tax-product_cat #codzan-native-shop-fallback.codzan-jp-shop-layout .codzan-jp-shop-top {
		width: calc(100% + 44px) !important;
		margin-inline: -22px !important;
	}
	html body.woocommerce-shop #codzan-native-shop-fallback.codzan-jp-shop-layout .products,
	html body.tax-product_cat #codzan-native-shop-fallback.codzan-jp-shop-layout .products {
		width: calc(100% + 44px) !important;
		max-width: none !important;
		margin-inline: -22px !important;
	}
}

