:root {
	--st-cart-blue: #0e57f0;
	--st-cart-blue-dark: #0a46c7;
	--st-cart-navy: #0b2033;
	--st-cart-line: #d9e5ef;
	--st-cart-surface: #f3f6fb;
}

.stallon-mobile-actions,
.stallon-cart-summary {
	display: none;
}

.stallon-desktop-cart__icon,
.stallon-cart-summary__icon {
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
}

.stallon-desktop-cart__icon svg,
.stallon-mobile-action svg,
.stallon-cart-summary svg {
	display: block;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.rs-header__actions_item > a.stallon-desktop-cart::before {
	display: none !important;
	content: none !important;
}

@media (min-width: 992px) {
	.rs-header__actions_item > a.stallon-desktop-cart {
		position: relative;
		min-width: 88px;
		padding: 7px 14px 25px;
		flex-direction: column;
		justify-content: center;
		gap: 3px;
		color: var(--st-cart-blue);
		text-decoration: none;
	}

	.stallon-desktop-cart__icon svg {
		width: 27px;
		height: 27px;
	}

	.stallon-desktop-cart__label {
		display: block;
		font-size: 11px;
		font-weight: 700;
		line-height: 1;
		letter-spacing: .01em;
		color: inherit;
	}

	.rs-header__actions_item > a.stallon-desktop-cart .badge {
		top: auto;
		right: auto;
		bottom: 6px;
		left: 50%;
		transform: translateX(-50%);
		display: inline-grid;
		place-items: center;
		min-width: 28px;
		height: 16px;
		padding: 0 7px;
		border: 0;
		border-radius: 999px;
		background: var(--st-cart-blue);
		font-size: 9px;
		font-weight: 800;
		line-height: 16px;
		color: #fff;
	}

	.rs-header__actions_item > a.stallon-desktop-cart.is-empty .badge {
		background: #e8f0ff;
		color: var(--st-cart-blue);
	}

	.rs-header__actions_item > a.stallon-desktop-cart:hover .badge {
		background: #fff;
		color: var(--st-cart-blue);
	}
}

@media (min-width: 992px) and (max-width: 1169.98px) {
	.rs-header__actions_item > a.stallon-desktop-cart {
		min-width: 72px;
		padding-right: 10px;
		padding-left: 10px;
	}

	.stallon-desktop-cart__label {
		font-size: 10px;
	}
}

@media (max-width: 991.98px) {
	.rs-header__wrapper {
		align-items: center;
	}

	.rs-header__contact {
		order: 3 !important;
		margin: 0 0 0 auto !important;
	}

	.rs-header__contact_list > li:not(:first-child) {
		display: none !important;
	}

	.stallon-original-search-item,
	.stallon-original-cart-item {
		display: none !important;
	}

	.rs-header__wrapper > .stallon-mobile-actions {
		display: flex;
		order: 4;
		align-items: center;
		gap: 7px;
		margin-left: 8px;
		padding-right: 2px;
	}

	.stallon-mobile-action {
		position: relative;
		display: inline-grid;
		place-items: center;
		width: 44px;
		height: 44px;
		min-width: 44px;
		padding: 0;
		border: 1px solid var(--st-cart-line);
		border-radius: 12px;
		box-shadow: 0 5px 16px rgba(10, 32, 51, .09);
		text-decoration: none;
		transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
	}

	.stallon-mobile-action:active {
		transform: scale(.95);
	}

	.stallon-mobile-action:focus-visible,
	.stallon-cart-summary:focus-visible,
	.stallon-desktop-cart:focus-visible {
		outline: 3px solid rgba(14, 87, 240, .28);
		outline-offset: 2px;
	}

	.stallon-mobile-action svg {
		width: 22px;
		height: 22px;
	}

	.stallon-mobile-search {
		background: #fff;
		color: var(--st-cart-navy);
		cursor: pointer;
	}

	.stallon-mobile-search.is-unavailable {
		display: none;
	}

	.stallon-mobile-cart {
		border-color: var(--st-cart-blue);
		background: var(--st-cart-blue);
		color: #fff;
	}

	.stallon-mobile-cart:hover,
	.stallon-mobile-cart:focus-visible {
		background: var(--st-cart-blue-dark);
		color: #fff;
	}

	.stallon-cart-count {
		position: absolute;
		top: -6px;
		right: -5px;
		display: inline-grid;
		place-items: center;
		min-width: 20px;
		height: 20px;
		padding: 0 5px;
		border: 2px solid #fff;
		border-radius: 999px;
		background: var(--st-cart-navy);
		font-size: 10px;
		font-weight: 800;
		line-height: 1;
		color: #fff;
	}

	.stallon-mobile-actions.is-empty .stallon-cart-count {
		display: none;
	}

	.stallon-cart-summary.has-items {
		position: fixed;
		right: 12px;
		bottom: calc(12px + env(safe-area-inset-bottom));
		left: 12px;
		z-index: 999998;
		display: flex;
		align-items: center;
		min-height: 62px;
		padding: 9px 12px;
		border: 1px solid rgba(255, 255, 255, .14);
		border-radius: 18px;
		background: rgba(11, 32, 51, .97);
		box-shadow: 0 16px 38px rgba(5, 25, 43, .28);
		color: #fff;
		text-decoration: none;
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
	}

	body.woocommerce-cart .stallon-cart-summary,
	body.woocommerce-checkout .stallon-cart-summary {
		display: none !important;
	}

	.stallon-cart-summary__icon {
		width: 40px;
		height: 40px;
		border-radius: 12px;
		background: var(--st-cart-blue);
		color: #fff;
	}

	.stallon-cart-summary__icon svg {
		width: 22px;
		height: 22px;
	}

	.stallon-cart-summary__text {
		display: flex;
		min-width: 0;
		margin-left: 11px;
		flex-direction: column;
		line-height: 1.15;
	}

	.stallon-cart-summary__text small {
		margin-bottom: 3px;
		font-size: 10px;
		font-weight: 700;
		letter-spacing: .08em;
		text-transform: uppercase;
		color: #8fb4ef;
	}

	.stallon-cart-summary__text strong {
		font-size: 14px;
		font-weight: 750;
		white-space: nowrap;
	}

	.stallon-cart-summary__action {
		display: inline-flex;
		align-items: center;
		gap: 4px;
		margin-left: auto;
		padding: 9px 10px 9px 13px;
		border-radius: 11px;
		background: #fff;
		font-size: 12px;
		font-weight: 800;
		color: var(--st-cart-navy);
	}

	.stallon-cart-summary__action svg {
		width: 16px;
		height: 16px;
	}

	html.stallon-cart-has-items #stallon-free-assistant-root {
		bottom: calc(88px + env(safe-area-inset-bottom)) !important;
	}
}

@media (max-width: 430px) {
	.rs-header__wrapper > .stallon-mobile-actions {
		gap: 6px;
		margin-left: 6px;
	}

	.stallon-mobile-action {
		border-radius: 11px;
	}

	.stallon-cart-summary.has-items {
		right: 8px;
		bottom: calc(8px + env(safe-area-inset-bottom));
		left: 8px;
		min-height: 58px;
		border-radius: 16px;
	}
}

@media (max-width: 350px) {
	.stallon-mobile-search {
		display: none;
	}

	.stallon-cart-summary__action {
		padding-right: 8px;
		padding-left: 9px;
		font-size: 11px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.stallon-mobile-action {
		transition: none;
	}
}
