/* ==========================================================================
   Dashbiz responsive rules
   ========================================================================== */

@media (max-width: 1199px) {
	:root {
		--dashbiz-shell: 1080px;
	}

	.dashbiz-mainbar__inner {
		grid-template-columns: 165px minmax(280px, 1fr) auto;
		gap: 20px;
	}

	.dashbiz-header-actions {
		gap: 10px;
	}

	.dashbiz-menu {
		gap: 14px;
	}

	.dashbiz-menu > li > a {
		font-size: 12px;
	}

	.dashbiz-hero__inner {
		grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
		padding: 48px;
	}

	.dashbiz-category-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.dashbiz-video-grid--scroll {
		grid-template-columns: repeat(6, minmax(200px, 1fr));
	}

	.dashbiz-footer__grid {
		gap: 32px;
	}
}

@media (max-width: 1023px) {
	.admin-bar .dashbiz-header.is-sticky {
		top: 46px;
	}

	.dashbiz-shell,
	.dashbiz-reading-width {
		width: min(calc(100% - 32px), var(--dashbiz-shell));
	}

	.dashbiz-topbar__inner {
		grid-template-columns: 1fr auto;
	}

	.dashbiz-topbar__promo {
		display: none;
	}

	.dashbiz-mainbar__inner {
		grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) auto;
		min-height: 70px;
	}

	.dashbiz-menu-toggle {
		display: inline-grid;
	}

	.dashbiz-product-search select {
		display: none;
	}

	.dashbiz-product-search {
		grid-template-columns: minmax(0, 1fr) 48px;
	}

	.dashbiz-header-action > span {
		display: none;
	}

	.dashbiz-header-action {
		min-width: 42px;
	}

	.dashbiz-header-action .dashbiz-icon {
		margin: 0;
	}

	.dashbiz-navrow {
		display: none;
	}

	.dashbiz-hero {
		padding-top: 20px;
	}

	.dashbiz-hero__inner {
		grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
		min-height: 470px;
		padding: 40px;
	}

	.dashbiz-hero__content h1 {
		font-size: clamp(40px, 6vw, 56px);
	}

	.dashbiz-hero__description {
		font-size: 16px;
	}

	.dashbiz-floating-card--top {
		right: -8px;
	}

	.dashbiz-trust__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.dashbiz-trust__item {
		border-bottom: 1px solid var(--dashbiz-border);
	}

	.dashbiz-trust__item:nth-child(3) {
		border-right: 0;
	}

	.dashbiz-trust__item:nth-child(n+4) {
		border-bottom: 0;
	}

	.dashbiz-category-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.dashbiz-promo {
		grid-template-columns: minmax(0, 1fr) 100px;
		padding: 28px;
	}

	.woocommerce ul.products,
	.woocommerce-page ul.products,
	ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.dashbiz-video-grid--archive {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.dashbiz-newsletter__inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.dashbiz-brand-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.dashbiz-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dashbiz-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dashbiz-single-video__grid {
		grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
		gap: 34px;
	}

	.dashbiz-contact-grid {
		grid-template-columns: 0.8fr 1.2fr;
	}

	.woocommerce-cart .woocommerce,
	.woocommerce-checkout form.checkout {
		grid-template-columns: 1fr;
	}

	.woocommerce-checkout #order_review {
		position: static;
	}

	.woocommerce-account .woocommerce {
		grid-template-columns: 210px minmax(0, 1fr);
	}
}

@media (max-width: 767px) {
	:root {
		--dashbiz-radius-xl: 22px;
	}

	body {
		padding-bottom: 64px;
		font-size: 15px;
	}

	.admin-bar .dashbiz-header.is-sticky {
		top: 0;
	}

	#wpadminbar {
		position: fixed;
	}

	.dashbiz-shell,
	.dashbiz-reading-width {
		width: min(calc(100% - 24px), var(--dashbiz-shell));
	}

	.dashbiz-section {
		padding: 32px 0;
	}

	.dashbiz-section-heading {
		align-items: flex-start;
		margin-bottom: 18px;
	}

	.dashbiz-section-heading > div {
		max-width: 76%;
	}

	.dashbiz-section-heading h2 {
		font-size: 25px;
	}

	.dashbiz-section-heading p:not(.dashbiz-eyebrow) {
		display: none;
	}

	.dashbiz-topbar__inner {
		grid-template-columns: 1fr;
		justify-items: center;
		min-height: 30px;
		text-align: center;
	}

	.dashbiz-topbar__inner a {
		display: none;
	}

	.dashbiz-mainbar__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		min-height: 62px;
		gap: 8px;
	}

	.dashbiz-brand-wrap {
		min-width: 0;
	}

	.dashbiz-logo {
		max-width: 132px;
		font-size: 20px;
	}

	.dashbiz-logo__image {
		max-width: 132px;
		max-height: 42px;
	}

	.dashbiz-logo__mark {
		width: 34px;
		height: 34px;
	}

	.dashbiz-mainbar__inner > .dashbiz-product-search {
		grid-column: 1 / -1;
		order: 3;
		width: 100%;
		height: 44px;
		margin-bottom: 10px;
	}

	.dashbiz-header-actions {
		gap: 2px;
	}

	.dashbiz-header-action {
		width: 40px;
		min-width: 40px;
		height: 40px;
	}

	.dashbiz-header-action:nth-child(1),
	.dashbiz-header-action:nth-child(2) {
		display: none;
	}

	.dashbiz-header-action small {
		top: -1px;
		right: -1px;
	}

	.dashbiz-hero {
		padding: 12px 0 10px;
	}

	.dashbiz-hero__inner {
		grid-template-columns: 1fr;
		min-height: auto;
		padding: 32px 22px 20px;
	}

	.dashbiz-hero__content {
		text-align: left;
	}

	.dashbiz-hero__content h1 {
		font-size: clamp(36px, 11vw, 48px);
	}

	.dashbiz-hero__description {
		margin-bottom: 22px;
		font-size: 15px;
	}

	.dashbiz-hero__actions {
		flex-direction: column;
	}

	.dashbiz-hero__actions .dashbiz-button {
		width: 100%;
	}

	.dashbiz-hero__meta {
		gap: 10px;
		font-size: 11px;
	}

	.dashbiz-hero__visual {
		min-height: 300px;
		margin-top: 12px;
	}

	.dashbiz-hero__image {
		max-height: 310px;
	}

	.dashbiz-floating-card {
		padding: 9px 10px;
	}

	.dashbiz-floating-card--top {
		top: 8%;
		right: -4px;
	}

	.dashbiz-floating-card--bottom {
		bottom: 2%;
		left: 0;
	}

	.dashbiz-trust {
		overflow: hidden;
		padding: 6px 0 16px;
	}

	.dashbiz-trust__grid {
		display: flex;
		width: min(calc(100% - 24px), var(--dashbiz-shell));
		overflow-x: auto;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}

	.dashbiz-trust__grid::-webkit-scrollbar {
		display: none;
	}

	.dashbiz-trust__item {
		flex: 0 0 178px;
		justify-content: flex-start;
		min-height: 72px;
		border-right: 1px solid var(--dashbiz-border) !important;
		border-bottom: 0 !important;
		scroll-snap-align: start;
	}

	.dashbiz-trust__item:last-child {
		border-right: 0 !important;
	}

	.dashbiz-category-grid {
		display: flex;
		overflow-x: auto;
		gap: 11px;
		margin-right: -12px;
		padding-right: 12px;
		padding-bottom: 5px;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}

	.dashbiz-category-grid::-webkit-scrollbar {
		display: none;
	}

	.dashbiz-category-grid--page {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		overflow: visible;
		margin-right: auto;
		padding: 28px 0 46px;
	}

	.dashbiz-category-card {
		flex: 0 0 132px;
		min-height: 145px;
		padding: 15px 9px;
		scroll-snap-align: start;
	}

	.dashbiz-category-card--large {
		min-height: 170px;
	}

	.dashbiz-category-card__image {
		width: 72px;
		height: 72px;
	}

	.dashbiz-category-card__image img {
		width: 62px;
		height: 62px;
	}

	.dashbiz-promos {
		padding-top: 8px;
	}

	.dashbiz-promos__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.dashbiz-promo {
		grid-template-columns: minmax(0, 1fr) 84px;
		min-height: 190px;
		padding: 24px 20px;
	}

	.dashbiz-promo h2 {
		font-size: 26px;
	}

	.dashbiz-promo p {
		font-size: 13px;
	}

	.dashbiz-promo__art {
		width: 80px;
		height: 80px;
		border-radius: 24px;
	}

	.dashbiz-promo__art .dashbiz-icon {
		width: 44px;
		height: 44px;
	}

	.woocommerce ul.products,
	.woocommerce-page ul.products,
	ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.woocommerce ul.products li.product,
	.woocommerce-page ul.products li.product,
	ul.products li.product {
		padding: 9px 9px 13px;
		border-radius: 13px;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title,
	ul.products li.product .woocommerce-loop-product__title {
		min-height: 39px;
		font-size: 13px !important;
		line-height: 1.45;
	}

	.woocommerce ul.products li.product .price,
	ul.products li.product .price {
		font-size: 14px !important;
	}

	.woocommerce ul.products li.product .button,
	ul.products li.product .button {
		min-height: 39px;
		padding: 8px;
		font-size: 11px;
	}

	.dashbiz-product-badges {
		top: 15px;
		left: 15px;
	}

	.dashbiz-badge {
		min-height: 20px;
		padding: 3px 6px;
		font-size: 8px;
	}

	.dashbiz-wishlist-button {
		top: 13px;
		right: 13px;
		width: 32px;
		height: 32px;
	}

	.dashbiz-video-grid--scroll {
		grid-template-columns: repeat(6, 72vw);
		margin-right: -12px;
		padding-right: 12px;
	}

	.dashbiz-video-grid--archive {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 11px;
		padding: 28px 0 48px;
	}

	.dashbiz-video-card__media {
		aspect-ratio: 4 / 5;
	}

	.dashbiz-video-card__body {
		padding: 11px;
	}

	.dashbiz-video-card h3 {
		font-size: 12px;
	}

	.dashbiz-brand-grid {
		display: flex;
		overflow-x: auto;
		gap: 10px;
		scrollbar-width: none;
	}

	.dashbiz-brand-grid a {
		flex: 0 0 150px;
	}

	.dashbiz-newsletter {
		padding: 34px 0;
	}

	.dashbiz-newsletter__inner {
		padding: 30px 20px;
	}

	.dashbiz-form-row {
		grid-template-columns: 1fr;
	}

	.dashbiz-footer {
		padding: 40px 0 20px;
	}

	.dashbiz-footer__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.dashbiz-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		margin-top: 30px;
	}

	.dashbiz-mobile-bottom-nav {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 1200;
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		min-height: 62px;
		padding-bottom: env(safe-area-inset-bottom);
		border-top: 1px solid var(--dashbiz-border);
		background: rgba(255, 255, 255, 0.96);
		box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.08);
		backdrop-filter: blur(14px);
	}

	.dashbiz-mobile-bottom-nav a {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		min-width: 0;
		color: var(--dashbiz-text);
		font-size: 9px;
		font-weight: 650;
	}

	.dashbiz-mobile-bottom-nav a:hover,
	.dashbiz-mobile-bottom-nav a[aria-current="page"] {
		color: var(--dashbiz-primary);
	}

	.dashbiz-mobile-bottom-nav .dashbiz-icon {
		width: 21px;
		height: 21px;
	}

	.dashbiz-page-hero {
		padding: 34px 0 30px;
	}

	.dashbiz-page-hero h1 {
		font-size: 34px;
	}

	.dashbiz-post-grid {
		grid-template-columns: 1fr;
		padding: 28px 0 48px;
	}

	.dashbiz-contact-grid {
		grid-template-columns: 1fr;
		padding: 28px 0 50px;
	}

	.dashbiz-form-grid {
		grid-template-columns: 1fr;
	}

	.dashbiz-single-video {
		padding: 26px 0 48px;
	}

	.dashbiz-single-video__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.dashbiz-single-video__media {
		width: min(100%, 430px);
		margin-inline: auto;
	}

	.dashbiz-single-video__content {
		padding-top: 0;
	}

	.dashbiz-linked-product {
		grid-template-columns: 90px minmax(0, 1fr);
		padding: 14px;
	}

	.dashbiz-linked-product img {
		width: 90px;
		height: 90px;
	}

	.dashbiz-linked-product h2 {
		font-size: 16px;
	}

	.woocommerce-cart .woocommerce,
	.woocommerce-checkout form.checkout,
	.woocommerce-account .woocommerce {
		display: block;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation {
		margin-bottom: 18px;
	}

	.woocommerce-MyAccount-navigation ul {
		display: flex;
		overflow-x: auto;
		gap: 6px;
		scrollbar-width: none;
	}

	.woocommerce-MyAccount-navigation li {
		flex: 0 0 auto;
	}

	.woocommerce-MyAccount-navigation a {
		white-space: nowrap;
	}

	.woocommerce-cart-form {
		overflow-x: auto;
	}

	.woocommerce-cart table.cart {
		min-width: 660px;
	}

	.dashbiz-single-trust {
		grid-template-columns: 1fr;
	}

	.woocommerce div.product .woocommerce-tabs .panel {
		padding: 18px;
	}

	.single-product div.product .product_title {
		font-size: 32px;
	}

	.woocommerce-checkout #customer_details > div,
	.woocommerce-checkout #order_review,
	.cart-collaterals .cart_totals,
	.woocommerce-MyAccount-content {
		padding: 18px;
	}
}

@media (max-width: 389px) {
	.dashbiz-logo--text > span:last-child {
		display: none;
	}

	.dashbiz-mainbar__inner {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.dashbiz-hero__inner {
		padding-inline: 18px;
	}

	.dashbiz-hero__content h1 {
		font-size: 34px;
	}

	.woocommerce ul.products,
	.woocommerce-page ul.products,
	ul.products {
		gap: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

@media (max-width: 1024px) {
	.dashbiz-demo-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.dashbiz-demo-product-grid {
		display: flex;
		overflow-x: auto;
		gap: 12px;
		padding-bottom: 8px;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}

	.dashbiz-demo-product-grid::-webkit-scrollbar {
		display: none;
	}

	.dashbiz-demo-product-card {
		flex: 0 0 76vw;
		scroll-snap-align: start;
	}

	.dashbiz-content-section .wp-block-columns {
		display: block;
	}

	.dashbiz-content-section .wp-block-column {
		margin-bottom: 14px;
	}
}
