@media (min-width: 769px) {
	.tlmn-shell {
		display: none !important;
	}
}

@media (max-width: 768px) {
	body {
		padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
	}

	html.tlmn-app-shell-detected body,
	html.tlams-in-appmysite-client body,
	body.tl-in-appmysite {
		padding-bottom: 0;
	}

	html.tlmn-app-shell-detected .tlmn-shell,
	html.tlams-in-appmysite-client .tlmn-shell,
	body.tl-in-appmysite .tlmn-shell {
		display: none !important;
	}

	.tlmn-hide-theme-mobile-nav ~ .wd-toolbar,
	.tlmn-hide-theme-mobile-nav ~ .woodmart-toolbar,
	.tlmn-hide-theme-mobile-nav ~ .woodmart-sticky-footer,
	.tlmn-hide-theme-mobile-nav-active .wd-toolbar,
	.tlmn-hide-theme-mobile-nav-active .woodmart-toolbar,
	.tlmn-hide-theme-mobile-nav-active .woodmart-sticky-footer,
	.tlmn-hide-theme-mobile-nav-active .wd-sticky-btn,
	.tlmn-hide-theme-mobile-nav-active .wd-bottom-actions {
		display: none !important;
	}

	.tlmn-bar {
		position: fixed;
		z-index: 999998;
		right: 0;
		bottom: 0;
		left: 0;
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: minmax(0, 1fr);
		align-items: stretch;
		min-height: 64px;
		padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
		border-top: 1px solid rgba(26, 75, 51, 0.14);
		background: var(--tlmn-bar-bg, rgba(255, 255, 255, 0.96));
		box-shadow: 0 -12px 30px rgba(19, 48, 35, 0.13);
		color: var(--tlmn-bar-text, #1f2a24);
		overflow: visible;
	}

	.tlmn-glass .tlmn-bar {
		background: color-mix(in srgb, var(--tlmn-bar-bg, #ffffff) 88%, transparent);
		backdrop-filter: blur(18px) saturate(1.15);
		-webkit-backdrop-filter: blur(18px) saturate(1.15);
	}

	.tlmn-item {
		position: relative;
		display: flex;
		min-width: 0;
		min-height: 56px;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		gap: 3px;
		padding: 5px 3px;
		border: 0;
		border-radius: 8px;
		background: transparent;
		color: var(--tlmn-bar-text, #1f2a24);
		font: inherit;
		text-decoration: none;
		isolation: isolate;
		overflow: visible;
		-webkit-tap-highlight-color: transparent;
	}

	.tlmn-type-cart {
		z-index: 4;
	}

	.tlmn-type-more {
		z-index: 1;
	}

	.tlmn-item:focus-visible {
		outline: 2px solid #5bbf66;
		outline-offset: -2px;
	}

	.tlmn-item.is-active {
		color: var(--tlmn-active-text, #1f6b3e);
		background: var(--tlmn-active-bg, #eaf8ed);
	}

	.tlmn-item.is-active::before {
		content: "";
		position: absolute;
		top: 3px;
		width: 18px;
		height: 3px;
		border-radius: 999px;
		background: var(--tlmn-accent, #6fd35f);
	}

	.tlmn-icon {
		position: relative;
		display: inline-flex;
		width: 27px;
		height: 27px;
		align-items: center;
		justify-content: center;
		border-radius: 8px;
		color: inherit;
		background: var(--tlmn-icon-bg, #f1f7f2);
	}

	.tlmn-icon .dashicons {
		width: 25px;
		height: 25px;
		font-size: 25px;
		line-height: 25px;
	}

	.tlmn-icon-image {
		overflow: hidden;
		background: var(--tlmn-icon-bg, #f1f7f2);
	}

	.tlmn-icon-image img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.tlmn-label {
		display: block;
		width: 100%;
		overflow: hidden;
		color: inherit;
		font-size: 12px;
		font-weight: 700;
		line-height: 1.15;
		text-align: center;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.tlmn-badge {
		position: absolute;
		z-index: 20;
		top: -7px;
		right: -9px;
		min-width: 18px;
		height: 18px;
		padding: 0 5px;
		border-radius: 999px;
		background: var(--tlmn-badge-bg, #7ed957);
		color: #fff;
		font-size: 11px;
		font-weight: 800;
		line-height: 18px;
		text-align: center;
		box-shadow: 0 2px 6px rgba(32, 82, 43, 0.22);
	}

	.tlmn-more-panel[aria-hidden="true"] {
		pointer-events: none;
	}

	.tlmn-more-panel.is-open {
		pointer-events: auto !important;
		display: block !important;
		visibility: visible !important;
	}

	.tlmn-more-panel[aria-hidden="true"] .tlmn-more-backdrop,
	.tlmn-more-panel[aria-hidden="true"] .tlmn-more-sheet {
		opacity: 0;
	}

	.tlmn-more-panel.is-open .tlmn-more-backdrop,
	.tlmn-more-panel.is-open .tlmn-more-sheet {
		opacity: 1 !important;
		visibility: visible !important;
	}

	.tlmn-more-panel[aria-hidden="true"] .tlmn-more-sheet {
		transform: translateY(24px);
	}

	.tlmn-more-panel.is-open .tlmn-more-sheet {
		transform: translateY(0) !important;
	}

	.tlmn-more-backdrop {
		position: fixed;
		z-index: 2147483000;
		inset: 0;
		background: var(--tlmn-backdrop-bg, rgba(5, 20, 12, 0.42));
		transition: opacity 180ms ease;
	}

	.tlmn-more-sheet {
		position: fixed;
		z-index: 2147483001;
		right: 10px;
		bottom: calc(74px + env(safe-area-inset-bottom, 0px));
		left: 10px;
		max-height: min(72vh, 560px);
		overflow: auto;
		padding: 16px;
		border-radius: 18px 18px 14px 14px;
		background: var(--tlmn-sheet-bg, #ffffff);
		box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
		transition: opacity 180ms ease, transform 180ms ease;
	}

	.tlmn-glass .tlmn-more-sheet {
		background: color-mix(in srgb, var(--tlmn-sheet-bg, #ffffff) 92%, transparent);
		backdrop-filter: blur(18px) saturate(1.1);
		-webkit-backdrop-filter: blur(18px) saturate(1.1);
	}

	.tlmn-more-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin-bottom: 12px;
	}

	.tlmn-more-header h2 {
		margin: 0;
		color: var(--tlmn-active-text, #1f6b3e);
		font-size: 20px;
		font-weight: 800;
		line-height: 1.2;
	}

	.tlmn-close {
		display: inline-flex;
		width: 40px;
		height: 40px;
		align-items: center;
		justify-content: center;
		padding: 0;
		border: 0;
		border-radius: 999px;
		background: var(--tlmn-icon-bg, #f1f7f2);
		color: var(--tlmn-bar-text, #1f2a24);
	}

	.tlmn-more-grid {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 12px 8px;
	}

	.tlmn-item-more {
		min-height: 82px;
		padding: 9px 4px;
		border: 1px solid rgba(26, 75, 51, 0.1);
		background: color-mix(in srgb, var(--tlmn-sheet-bg, #ffffff) 94%, var(--tlmn-icon-bg, #f1f7f2));
	}

	.tlmn-item-more .tlmn-icon {
		width: 38px;
		height: 38px;
		margin-bottom: 4px;
		background: var(--tlmn-icon-bg, #f1f7f2);
	}

	.tlmn-item-more .tlmn-icon .dashicons {
		width: 26px;
		height: 26px;
		font-size: 26px;
		line-height: 26px;
	}

	.tlmn-item-more .tlmn-label {
		white-space: normal;
		overflow-wrap: anywhere;
		font-size: 12px;
		line-height: 1.18;
	}
}

@media (max-width: 380px) {
	.tlmn-label {
		font-size: 11px;
	}

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

@media (prefers-reduced-motion: reduce) {
	.tlmn-more-backdrop,
	.tlmn-more-sheet {
		transition: none !important;
	}
}
