/* Themezur mobile polish pass
----------------------------------------------------------------- */

@media (max-width: 991px) {
	.tz-nav-toggle {
		min-width: 44px;
		min-height: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.tz-header-mobile {
		padding: 0.5rem 1rem 1.25rem;
	}

	.tz-header-mobile .tz-nav-list > li > a {
		min-height: 44px;
		display: flex;
		align-items: center;
		padding: 0.75rem 0.15rem;
		font-size: 1rem;
	}

	.tz-header-middle__actions a,
	.tz-header-middle__actions button {
		min-width: 40px;
		min-height: 40px;
	}

	.tz-header-middle__search-wrap {
		width: 100%;
		margin-top: 0.65rem;
	}

	.tz-header-middle__search input[type="search"] {
		min-height: 44px;
		font-size: 16px; /* prevent iOS zoom */
	}

	.tz-blog {
		padding: 1.75rem 0 2.5rem;
	}

	.tz-blog-card__body {
		padding: 1rem 1rem 1.15rem;
	}

	.tz-blog-card__more {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
	}

	.tz-footer-newsletter__row {
		flex-direction: column;
	}

	.tz-footer-newsletter input[type="email"],
	.tz-footer-newsletter button {
		width: 100%;
		min-height: 44px;
	}

	.tz-page-search {
		flex-direction: column;
	}

	.tz-page-search input[type="search"],
	.tz-page-search .tz-btn {
		width: 100%;
		min-height: 44px;
	}

	.tz-btt {
		right: max(0.85rem, env(safe-area-inset-right));
		bottom: max(0.85rem, env(safe-area-inset-bottom));
		width: 2.85rem;
		height: 2.85rem;
	}

	.tz-woo .woocommerce ul.products {
		gap: 0.85rem;
	}

	.tz-woo .woocommerce ul.products li.product .button {
		min-height: 42px;
		display: inline-flex;
		align-items: center;
	}

	.tz-breadcrumbs {
		padding-left: 1rem;
		padding-right: 1rem;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.tz-breadcrumbs__list {
		flex-wrap: nowrap;
		white-space: nowrap;
	}
}

@media (max-width: 520px) {
	.tz-header-top__inner {
		gap: 0.5rem;
	}

	.tz-blog-single__title {
		font-size: 1.55rem;
	}

	.tz-blog-author {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* -----------------------------------------------------------------
 * Mobile App-Style Bottom Navigation Bar & Mobile Drawer Tabs
 * ----------------------------------------------------------------- */

.tz-mobile-bottom-nav {
	display: none;
}

@media (max-width: 991px) {
	body {
		padding-bottom: 60px;
	}

	.tz-mobile-bottom-nav {
		display: flex;
		align-items: center;
		justify-content: space-around;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		height: 60px;
		background: color-mix(in srgb, var(--themezur-bg, #ffffff) 92%, transparent);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		border-top: 1px solid var(--tz-mid-border, #e2e8f0);
		z-index: 9999;
		box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
		padding: 4px 6px env(safe-area-inset-bottom);
	}

	.tz-mobile-bottom-nav__item {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2px;
		color: var(--tz-mid-muted, #64748b);
		text-decoration: none;
		background: transparent;
		border: none;
		padding: 4px 0;
		cursor: pointer;
		font-size: 0.68rem;
		font-weight: 600;
		line-height: 1;
		transition: color 140ms ease, transform 120ms ease;
	}

	.tz-mobile-bottom-nav__item:hover,
	.tz-mobile-bottom-nav__item:focus,
	.tz-mobile-bottom-nav__item.is-active {
		color: var(--tz-mid-accent, #2563eb);
	}

	.tz-mobile-bottom-nav__icon-wrap {
		position: relative;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.tz-mobile-bottom-nav .tz-cart-btn__count {
		top: -6px;
		right: -8px;
	}

	/* Drawer Tabs */
	.tz-mobile-drawer__tabs {
		display: flex;
		align-items: center;
		gap: 4px;
		padding: 4px;
		background: color-mix(in srgb, var(--tz-mid-text, #0f172a) 6%, transparent);
		border-radius: 8px;
		margin-bottom: 12px;
	}

	.tz-mobile-drawer__tab {
		flex: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		padding: 8px 12px;
		border: none;
		border-radius: 6px;
		background: transparent;
		color: var(--tz-mid-muted, #64748b);
		font-size: 0.85rem;
		font-weight: 600;
		cursor: pointer;
		transition: background 140ms ease, color 140ms ease;
	}

	.tz-mobile-drawer__tab.is-active {
		background: var(--themezur-bg, #ffffff);
		color: var(--tz-mid-accent, #2563eb);
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	}

	/* Categories Pane in Drawer */
	.tz-mobile-drawer__cats-list {
		list-style: none;
		padding: 0;
		margin: 0;
	}

	.tz-mobile-drawer__cats-list li {
		border-bottom: 1px solid color-mix(in srgb, var(--tz-mid-border, #e2e8f0) 50%, transparent);
	}

	.tz-mobile-drawer__cat-parent {
		display: block;
		padding: 10px 4px;
		font-size: 0.95rem;
		font-weight: 700;
		color: var(--tz-mid-text, #0f172a);
		text-decoration: none;
	}

	.tz-mobile-drawer__cat-children {
		list-style: none;
		padding-left: 14px;
		margin: 0 0 8px;
	}

	.tz-mobile-drawer__cat-children a {
		display: block;
		padding: 6px 4px;
		font-size: 0.88rem;
		color: var(--tz-mid-muted, #64748b);
		text-decoration: none;
	}

	.tz-mobile-drawer__footer-btn {
		display: flex;
		align-items: center;
		gap: 8px;
		font-size: 0.85rem;
		font-weight: 600;
		color: var(--tz-mid-text, #0f172a);
		text-decoration: none;
		background: transparent;
		border: none;
		padding: 8px 12px;
		border-radius: 6px;
		cursor: pointer;
	}
}

