/* Dental Express — DX Mobile V1: catalog toolbar, cards and filter surfaces */
@media only screen and (max-width: 849px) {
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title.category-page-title .page-title-inner {
		width: calc(100% - (var(--dx-mobile-edge) * 2)) !important;
		padding: 14px 0 12px !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-header-layout {
		gap: 10px !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title.category-page-title h1,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title.category-page-title .entry-title {
		font-size: 21px !important;
		line-height: 1.5 !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		gap: 8px !important;
		width: 100% !important;
		overflow: visible !important;
		padding: 0 !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .woocommerce-ordering,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box form.dx-unified-orderby-form {
		width: 100% !important;
		margin: 0 !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box select.orderby,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .orderby,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .filter-button,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box a.filter-button {
		width: 100% !important;
		min-width: 0 !important;
		height: 44px !important;
		min-height: 44px !important;
		padding: 0 12px !important;
		border-radius: 0 !important;
		font-size: 12px !important;
		font-weight: 850 !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .woocommerce-result-count,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .dx-result-count {
		grid-column: 1 / -1 !important;
		width: 100% !important;
		min-height: 36px !important;
		height: auto !important;
		margin: 0 !important;
		padding: 7px 10px !important;
		font-size: 11px !important;
		border-radius: 0 !important;
	}

	body.dx-mobile-v1-enabled.archive.woocommerce .shop-container,
	body.dx-mobile-v1-enabled.tax-product_cat .shop-container,
	body.dx-mobile-v1-enabled.post-type-archive-product .shop-container {
		width: calc(100% - (var(--dx-mobile-edge) * 2)) !important;
	}

	body.dx-mobile-v1-enabled.archive.woocommerce .products,
	body.dx-mobile-v1-enabled.tax-product_cat .products,
	body.dx-mobile-v1-enabled.post-type-archive-product .products,
	body.dx-mobile-v1-enabled .dx-archive-products {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: var(--dx-mobile-gap) !important;
		margin-top: 12px !important;
	}

	body.dx-mobile-v1-enabled .dx-cat-product {
		min-width: 0 !important;
		padding: 0 !important;
	}

	body.dx-mobile-v1-enabled .dx-cat-card {
		height: 100% !important;
		border-radius: 0 !important;
	}

	body.dx-mobile-v1-enabled .dx-cat-card-image-wrap {
		height: clamp(150px, 42vw, 182px) !important;
		padding: 10px !important;
	}

	body.dx-mobile-v1-enabled .dx-cat-card-image {
		max-height: calc(clamp(150px, 42vw, 182px) - 22px) !important;
	}

	body.dx-mobile-v1-enabled .dx-cat-card-body {
		display: flex !important;
		flex-direction: column !important;
		min-height: 176px !important;
		padding: 10px !important;
	}

	body.dx-mobile-v1-enabled .dx-cat-card-meta {
		gap: 5px !important;
		min-height: 20px !important;
	}

	body.dx-mobile-v1-enabled .dx-cat-brand-text,
	body.dx-mobile-v1-enabled .dx-cat-sku {
		font-size: 10.3px !important;
		line-height: 1.45 !important;
	}

	body.dx-mobile-v1-enabled .dx-cat-card-title {
		display: -webkit-box !important;
		-webkit-box-orient: vertical !important;
		-webkit-line-clamp: 2 !important;
		overflow: hidden !important;
		min-height: 42px !important;
		margin: 7px 0 9px !important;
		font-size: 12.4px !important;
		font-weight: 850 !important;
		line-height: 1.7 !important;
	}

	body.dx-mobile-v1-enabled .dx-cat-card-footer {
		margin-top: auto !important;
	}

	body.dx-mobile-v1-enabled .dx-cat-price-row {
		align-items: flex-start !important;
		flex-direction: column-reverse !important;
		gap: 6px !important;
	}

	body.dx-mobile-v1-enabled .dx-cat-price,
	body.dx-mobile-v1-enabled .dx-cat-price .amount,
	body.dx-mobile-v1-enabled .dx-cat-call-price {
		font-size: 12px !important;
		line-height: 1.55 !important;
	}

	body.dx-mobile-v1-enabled .dx-cat-stock {
		min-height: 24px !important;
		padding: 0 8px !important;
		font-size: 10px !important;
		line-height: 24px !important;
		border-radius: 0 !important;
	}

	body.dx-mobile-v1-enabled .dx-cat-card-btn {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		height: 42px !important;
		min-height: 42px !important;
		margin-top: 9px !important;
		padding: 0 8px !important;
		border-radius: 0 !important;
		font-size: 11px !important;
		font-weight: 900 !important;
	}

	body.dx-mobile-v1-enabled .dx-cat-sale-badge-v7 {
		transform: scale(.92) !important;
		transform-origin: top right !important;
	}

	/* Active filters: title/actions above, chips in a full-width scroll row. */
	body.dx-mobile-v1-enabled .dx-filter-v32-bar {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto !important;
		gap: 8px !important;
		padding: 10px !important;
		border-radius: 0 !important;
	}

	body.dx-mobile-v1-enabled .dx-filter-v32-chips {
		grid-column: 1 / -1 !important;
		display: flex !important;
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		scrollbar-width: none !important;
		-webkit-overflow-scrolling: touch;
	}

	body.dx-mobile-v1-enabled .dx-filter-v32-chips::-webkit-scrollbar {
		display: none !important;
	}

	body.dx-mobile-v1-enabled .dx-filter-v32-chip,
	body.dx-mobile-v1-enabled .dx-filter-v32-clear {
		flex: 0 0 auto !important;
		min-height: 36px !important;
		border-radius: 0 !important;
		font-size: 10.5px !important;
	}

	/* The filter drawer remains independently scrollable and touch-friendly. */
	body.dx-mobile-v1-enabled #shop-sidebar.dx-filter-v29 .dx-filter-v29-close,
	body.dx-mobile-v1-enabled #shop-sidebar.dx-filter-v29 .dx-filter-v29-toggle {
		width: 44px !important;
		height: 44px !important;
		min-height: 44px !important;
		border-radius: 0 !important;
	}

	body.dx-mobile-v1-enabled #shop-sidebar.dx-filter-v29 .dx-filter-v29-brand-link {
		min-height: 58px !important;
		border-radius: 0 !important;
	}

	body.dx-mobile-v1-enabled #shop-sidebar.dx-filter-v29 .dx-filter-v29-brand-name {
		font-size: 12px !important;
	}

	body.dx-mobile-v1-enabled #shop-sidebar.dx-filter-v29 .dx-filter-v29-brand-count,
	body.dx-mobile-v1-enabled #shop-sidebar.dx-filter-v29 .dx-filter-v29-brand-summary {
		font-size: 10px !important;
	}
}

@media only screen and (max-width: 380px) {
	body.dx-mobile-v1-enabled .dx-cat-card-image-wrap {
		height: 145px !important;
	}

	body.dx-mobile-v1-enabled .dx-cat-card-image {
		max-height: 123px !important;
	}

	body.dx-mobile-v1-enabled .dx-cat-card-body {
		min-height: 170px !important;
		padding: 9px !important;
	}

	body.dx-mobile-v1-enabled .dx-cat-brand-text,
	body.dx-mobile-v1-enabled .dx-cat-sku {
		font-size: 9.8px !important;
	}
}

/* V11.3 — Mobile shop header focused redesign */
@media only screen and (max-width: 849px) {
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title.category-page-title {
		margin: 0 !important;
		padding: 0 !important;
		border-top: 0 !important;
		border-bottom: 3px solid #005596 !important;
		background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%) !important;
		box-shadow: inset 0 -2px 0 #d71920 !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title.category-page-title .page-title-inner {
		width: calc(100% - 24px) !important;
		padding: 14px 0 13px !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-header-layout {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 12px !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-title-box {
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 8px !important;
		padding: 0 2px !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title.category-page-title h1,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title.category-page-title .entry-title {
		width: 100% !important;
		margin: 0 !important;
		padding: 0 0 9px !important;
		font-size: clamp(20px, 5.4vw, 25px) !important;
		font-weight: 950 !important;
		line-height: 1.45 !important;
		color: #0b3554 !important;
		text-align: right !important;
		border-bottom: 1px solid #dce6ec !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title.category-page-title h1::after,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title.category-page-title .entry-title::after {
		width: 72px !important;
		height: 4px !important;
		margin-top: 8px !important;
		background: linear-gradient(90deg, #d71920 0 58%, #005596 58% 100%) !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title .woocommerce-breadcrumb,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title .breadcrumbs,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title .dx-hs-breadcrumb,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title .dx-unified-breadcrumb,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title .dxch-breadcrumb {
		display: flex !important;
		align-items: center !important;
		justify-content: flex-start !important;
		width: 100% !important;
		min-height: 38px !important;
		margin: 0 !important;
		padding: 7px 11px !important;
		border: 1px solid #d8e3ea !important;
		border-right: 3px solid #005596 !important;
		border-radius: 0 !important;
		background: #ffffff !important;
		box-shadow: 0 4px 12px rgba(11,53,84,.035) !important;
		overflow-x: auto !important;
		white-space: nowrap !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		grid-template-areas:
			"filter ordering"
			"count count" !important;
		gap: 8px !important;
		width: 100% !important;
		padding: 10px !important;
		border: 1px solid #d8e3ea !important;
		border-top: 3px solid #005596 !important;
		background: #f8fafb !important;
		box-shadow: 0 6px 16px rgba(11,53,84,.045) !important;
		overflow: visible !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .filter-button,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box a.filter-button {
		grid-area: filter !important;
		width: 100% !important;
		min-width: 0 !important;
		height: 44px !important;
		min-height: 44px !important;
		margin: 0 !important;
		padding: 0 10px !important;
		border: 1px solid #005596 !important;
		border-bottom: 3px solid #d71920 !important;
		border-radius: 0 !important;
		background: linear-gradient(180deg, #0966a7 0%, #005596 100%) !important;
		font-size: 11.4px !important;
		font-weight: 900 !important;
		box-shadow: none !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .woocommerce-ordering,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box form.dx-unified-orderby-form,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box form.dxch-orderby-form {
		grid-area: ordering !important;
		display: block !important;
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box select.orderby,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .orderby,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .dx-unified-orderby-select,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .dxch-orderby-select {
		width: 100% !important;
		min-width: 0 !important;
		height: 44px !important;
		min-height: 44px !important;
		margin: 0 !important;
		padding: 0 11px !important;
		border: 1px solid #d6e1e8 !important;
		border-right: 3px solid #005596 !important;
		border-radius: 0 !important;
		background: #ffffff !important;
		font-size: 11.4px !important;
		font-weight: 900 !important;
		box-shadow: none !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .woocommerce-result-count,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .dx-result-count,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .dx-unified-count,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .dxch-count {
		grid-area: count !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		min-height: 34px !important;
		height: auto !important;
		margin: 0 !important;
		padding: 7px 10px !important;
		border: 0 !important;
		border-top: 1px solid #dce6ec !important;
		border-right: 3px solid #d71920 !important;
		border-radius: 0 !important;
		background: #ffffff !important;
		font-size: 10.6px !important;
		font-weight: 850 !important;
		box-shadow: none !important;
		white-space: normal !important;
		text-align: center !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .woocommerce-result-count::before,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .dx-result-count::before,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .dx-unified-count::before,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .dxch-count::before {
		width: 6px !important;
		height: 6px !important;
		margin-left: 7px !important;
		box-shadow: 0 0 0 3px rgba(215,25,32,.11) !important;
	}

	body.dx-mobile-v1-enabled.archive.woocommerce .shop-container,
	body.dx-mobile-v1-enabled.tax-product_cat .shop-container,
	body.dx-mobile-v1-enabled.post-type-archive-product .shop-container {
		margin-top: 14px !important;
	}
}

/* V11.4 — Mobile shop header compact card layout */
@media only screen and (max-width: 849px) {
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title.category-page-title {
		border-bottom: 2px solid #005596 !important;
		box-shadow: inset 0 -2px 0 #d71920 !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title.category-page-title .page-title-inner {
		width: calc(100% - 20px) !important;
		padding: 10px 0 11px !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-header-layout {
		gap: 9px !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-title-box {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 7px !important;
		padding: 12px 12px 10px !important;
		border: 1px solid #d7e2e9 !important;
		border-right: 4px solid #005596 !important;
		background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%) !important;
		box-shadow: 0 5px 14px rgba(11,53,84,.045) !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title.category-page-title h1,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title.category-page-title .entry-title {
		margin: 0 !important;
		padding: 0 !important;
		font-size: clamp(19px, 5vw, 22px) !important;
		font-weight: 950 !important;
		line-height: 1.55 !important;
		letter-spacing: -.25px !important;
		text-align: right !important;
		border: 0 !important;
		overflow-wrap: anywhere !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title.category-page-title h1::after,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title.category-page-title .entry-title::after {
		display: block !important;
		width: 54px !important;
		height: 3px !important;
		margin: 6px 0 0 auto !important;
		background: linear-gradient(90deg, #d71920 0 55%, #005596 55% 100%) !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title .woocommerce-breadcrumb,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title .breadcrumbs,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title .dx-hs-breadcrumb,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title .dx-unified-breadcrumb,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .shop-page-title .dxch-breadcrumb {
		min-height: 31px !important;
		padding: 5px 0 0 !important;
		border: 0 !important;
		border-top: 1px solid #e1e9ee !important;
		background: transparent !important;
		box-shadow: none !important;
		font-size: 10px !important;
		color: #6c7f8e !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box {
		grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr) !important;
		grid-template-areas:
			"filter ordering"
			"count count" !important;
		gap: 7px !important;
		padding: 8px !important;
		border-top: 2px solid #005596 !important;
		background: #f7fafc !important;
		box-shadow: 0 4px 12px rgba(11,53,84,.04) !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .filter-button,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box a.filter-button,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box select.orderby,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .orderby,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .dx-unified-orderby-select,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .dxch-orderby-select {
		height: 40px !important;
		min-height: 40px !important;
		font-size: 10.8px !important;
	}

	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .woocommerce-result-count,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .dx-result-count,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .dx-unified-count,
	body.dx-mobile-v1-enabled.dx-hs-catalog-header-page .dx-final-tools-box .dxch-count {
		min-height: 30px !important;
		padding: 5px 8px !important;
		border-top: 1px solid #dfe8ed !important;
		border-right: 2px solid #d71920 !important;
		font-size: 10px !important;
	}

	body.dx-mobile-v1-enabled.archive.woocommerce .shop-container,
	body.dx-mobile-v1-enabled.tax-product_cat .shop-container,
	body.dx-mobile-v1-enabled.post-type-archive-product .shop-container {
		margin-top: 10px !important;
	}
}
