.kws-sc-mobile-dock,
.kws-sc-mobile-sheet,
.kws-sc-mobile-nav-backdrop {
	display: none;
}

body.kws-sc-mobile-nav-enabled.woocommerce-cart .wp-block-woocommerce-cart.alignwide {
	width: 100% !important;
	max-width: 100% !important;
	margin-inline: 0 !important;
}

@media (max-width: 880px) {
	html:has(body.kws-sc-mobile-nav-enabled),
	body.kws-sc-mobile-nav-enabled {
		max-width: 100%;
		overflow-x: clip;
	}

	body.kws-sc-mobile-nav-enabled {
		padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
	}

	body.kws-sc-mobile-nav-open {
		overflow: hidden;
	}

	.kws-sc-mobile-dock {
		position: fixed;
		z-index: 999990;
		right: 0;
		bottom: 0;
		left: 0;
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		min-height: calc(68px + env(safe-area-inset-bottom, 0px));
		padding: 4px max(8px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(8px, env(safe-area-inset-left, 0px));
		border-top: 1px solid rgba(15, 23, 42, .12);
		background: rgba(255, 255, 255, .97);
		box-shadow: 0 -10px 30px rgba(15, 23, 42, .12);
		-webkit-backdrop-filter: blur(14px);
		backdrop-filter: blur(14px);
	}

	.kws-sc-mobile-dock-item {
		position: relative;
		display: flex;
		min-width: 0;
		min-height: 60px;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		gap: 3px;
		margin: 0 !important;
		padding: 5px 4px !important;
		border: 0;
		border-radius: 13px;
		background: transparent !important;
		box-shadow: none !important;
		color: #3d4653 !important;
		font: 700 12px/1.1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
		text-decoration: none;
		text-transform: none !important;
		-webkit-appearance: none;
		appearance: none;
		-webkit-tap-highlight-color: transparent;
		cursor: pointer;
	}

	.kws-sc-mobile-dock-item:hover,
	.kws-sc-mobile-dock-item:focus-visible,
	.kws-sc-mobile-dock-item.is-active {
		background: #eef5ff !important;
		color: #1553a4 !important;
		text-decoration: none;
	}

	.kws-sc-mobile-dock-item:focus-visible,
	.kws-sc-mobile-sheet a:focus-visible,
	.kws-sc-mobile-sheet button:focus-visible {
		outline: 3px solid #efb321;
		outline-offset: 2px;
	}

	.kws-sc-mobile-dock-icon {
		position: relative;
		display: grid;
		width: 28px;
		height: 28px;
		place-items: center;
	}

	.kws-sc-mobile-dock svg,
	.kws-sc-mobile-sheet svg {
		display: block;
		width: 24px;
		height: 24px;
		fill: none;
		stroke: currentColor;
		stroke-linecap: round;
		stroke-linejoin: round;
		stroke-width: 1.9;
	}

	.kws-sc-cart-count {
		position: absolute;
		top: -5px;
		right: -10px;
		display: grid;
		min-width: 19px;
		height: 19px;
		place-items: center;
		padding: 0 5px;
		border: 2px solid #fff;
		border-radius: 999px;
		background: #c9282d;
		color: #fff;
		font-size: 10px;
		line-height: 1;
	}

	.kws-sc-cart-count.is-empty {
		display: none;
	}

	.kws-sc-mobile-nav-backdrop {
		position: fixed;
		z-index: 999970;
		inset: 0 0 calc(68px + env(safe-area-inset-bottom, 0px));
		display: block;
		background: rgba(8, 15, 29, .52);
		-webkit-backdrop-filter: blur(2px);
		backdrop-filter: blur(2px);
	}

	.kws-sc-mobile-sheet {
		position: fixed;
		z-index: 999980;
		right: 0;
		bottom: calc(68px + env(safe-area-inset-bottom, 0px));
		left: 0;
		display: block;
		max-height: calc(100dvh - 94px - env(safe-area-inset-bottom, 0px));
		overflow-y: auto;
		padding: 11px 20px 24px;
		border-radius: 24px 24px 0 0;
		background: #fff;
		box-shadow: 0 -18px 50px rgba(8, 15, 29, .24);
		color: #172033;
		-webkit-overflow-scrolling: touch;
	}

	.kws-sc-mobile-sheet[hidden],
	.kws-sc-mobile-nav-backdrop[hidden] {
		display: none;
	}

	.kws-sc-mobile-sheet-handle {
		width: 42px;
		height: 5px;
		margin: 0 auto 13px;
		border-radius: 999px;
		background: #ccd3dd;
	}

	.kws-sc-mobile-sheet-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 20px;
		margin-bottom: 13px;
	}

	.kws-sc-mobile-sheet-header h2 {
		margin: 2px 0 0;
		color: #172033;
		font: 800 27px/1.15 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	}

	.kws-sc-mobile-sheet-eyebrow {
		color: #687385;
		font: 700 11px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
		letter-spacing: .08em;
		text-transform: uppercase;
	}

	.kws-sc-mobile-sheet-close {
		display: grid;
		width: 46px;
		height: 46px;
		flex: 0 0 46px;
		place-items: center;
		margin: 0 !important;
		padding: 0 !important;
		border: 1px solid #d9dee6;
		border-radius: 999px;
		background: #f6f7f9 !important;
		box-shadow: none !important;
		color: #263143 !important;
		-webkit-appearance: none;
		appearance: none;
		cursor: pointer;
	}

	.kws-sc-mobile-sheet-close:hover,
	.kws-sc-mobile-sheet-close:focus {
		background: #eef5ff !important;
		color: #1553a4 !important;
	}

	.kws-sc-mobile-more-menu {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 9px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.kws-sc-mobile-more-menu li {
		margin: 0;
		padding: 0;
	}

	.kws-sc-mobile-more-menu a {
		display: flex;
		min-height: 54px;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 12px 14px;
		border: 1px solid #e0e5ec;
		border-radius: 14px;
		background: #f8fafc;
		color: #263143;
		font: 700 14px/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
		text-decoration: none;
	}

	.kws-sc-mobile-more-menu a:hover {
		border-color: #a9c6ec;
		background: #eef5ff;
		color: #1553a4;
		text-decoration: none;
	}

	.kws-sc-mobile-more-menu a svg {
		width: 18px;
		height: 18px;
		flex: 0 0 18px;
	}

	body.kws-sc-mobile-nav-compact-header .elementor-102 .elementor-element.elementor-element-03ce40e,
	body.kws-sc-mobile-nav-compact-header .elementor-102 .elementor-element.elementor-element-2ad566e {
		display: none !important;
	}

	body.kws-sc-mobile-nav-compact-header .elementor-102 .elementor-element.elementor-element-1061826d {
		width: 100% !important;
		max-width: 100% !important;
	}

	body.kws-sc-mobile-nav-compact-header .elementor-102 .elementor-element.elementor-element-e78604d {
		display: flex !important;
		width: 100% !important;
		max-width: 100% !important;
		min-height: 78px;
		align-items: center !important;
		justify-content: flex-start !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		gap: 14px !important;
		padding: 8px 18px !important;
	}

	body.kws-sc-mobile-nav-compact-header .elementor-102 .elementor-element.elementor-element-14ba4a1a {
		width: 66px !important;
		max-width: 66px !important;
		flex: 0 0 66px !important;
	}

	body.kws-sc-mobile-nav-compact-header .elementor-102 .elementor-element.elementor-element-14ba4a1a img {
		display: block;
		width: auto;
		max-width: 66px;
		max-height: 62px;
		object-fit: contain;
	}

	body.kws-sc-mobile-nav-compact-header .elementor-102 .elementor-element.elementor-element-75e1b44 {
		width: auto !important;
		max-width: none !important;
		flex: 1 1 auto !important;
	}

	body.kws-sc-mobile-nav-compact-header .elementor-102 .elementor-element.elementor-element-75e1b44 .elementor-heading-title {
		font-size: clamp(15px, 3.9vw, 23px) !important;
		line-height: 1.15 !important;
	}

}

@media (max-width: 420px) {
	.kws-sc-mobile-more-menu {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kws-sc-mobile-dock *,
	.kws-sc-mobile-sheet * {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
