.nejgrow-atc-open {
	overflow: hidden;
}

.nejgrow-atc {
	--ng-green: #00631d;
	--ng-green-hover: #004d16;
	--ng-action: #00b517;
	--ng-text: #505050;
	--ng-head: #121212;
	--ng-line: #e3e5e3;
	--ng-soft: #f5f6f5;
	--ng-error: #c62828;
	--ng-sale: #fa3434;
	box-sizing: border-box;
	width: min(560px, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: #fff;
	color: var(--ng-text);
	font-family: Inter, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.45;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-y;
}

.nejgrow-atc::backdrop {
	background: rgba(18, 18, 18, .55);
}

.nejgrow-atc *,
.nejgrow-atc *::before,
.nejgrow-atc *::after {
	box-sizing: border-box;
}

.nejgrow-atc__inner {
	padding: 20px 20px 24px;
}

.nejgrow-atc__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.nejgrow-atc__title {
	margin: 0;
	color: var(--ng-head);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	outline: none;
}

.nejgrow-atc__title::before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-right: 8px;
	vertical-align: -3px;
	border-radius: 50%;
	background: var(--ng-action) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.nejgrow-atc__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	margin: -8px -8px 0 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--ng-head);
	cursor: pointer;
}

.nejgrow-atc__close:hover,
.nejgrow-atc__close:focus-visible {
	background: var(--ng-soft);
}

.nejgrow-atc__item {
	display: flex;
	gap: 14px;
	align-items: center;
}

.nejgrow-atc__item-img {
	flex: 0 0 80px;
	width: 80px;
	height: 80px;
	object-fit: contain;
	border: 1px solid var(--ng-line);
	border-radius: 8px;
	background: #fff;
}

.nejgrow-atc__item-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.nejgrow-atc__item-name {
	color: var(--ng-head);
	font-weight: 600;
}

.nejgrow-atc__item-meta,
.nejgrow-atc__item-qty {
	font-size: 14px;
}

.nejgrow-atc__item-free {
	color: var(--ng-green);
	font-size: 14px;
	font-weight: 600;
}

.nejgrow-atc__status {
	margin: 16px 0 8px;
	color: var(--ng-head);
	font-size: 14px;
	font-weight: 600;
}

.nejgrow-atc__ship {
	margin: 0 0 16px;
}

.nejgrow-atc__ship[hidden] {
	display: none;
}

.nejgrow-atc__ship-text {
	margin: 0 0 6px;
	font-size: 14px;
}

.nejgrow-atc__ship-text strong {
	color: var(--ng-head);
}

.nejgrow-atc__ship.is-free .nejgrow-atc__ship-text {
	color: var(--ng-green);
	font-weight: 600;
}

.nejgrow-atc__ship-bar {
	height: 6px;
	border-radius: 3px;
	background: var(--ng-line);
	overflow: hidden;
}

.nejgrow-atc__ship-bar span {
	display: block;
	height: 100%;
	border-radius: 3px;
	background: var(--ng-action);
	transition: width .3s ease;
}

.nejgrow-atc__actions {
	display: flex;
	gap: 10px;
}

.nejgrow-atc__continue,
.nejgrow-atc__go {
	display: inline-flex;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 14px;
	border-radius: 8px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.nejgrow-atc__continue {
	border: 1px solid var(--ng-green);
	background: #fff;
	color: var(--ng-green);
}

.nejgrow-atc__continue:hover,
.nejgrow-atc__continue:focus-visible {
	background: var(--ng-soft);
}

.nejgrow-atc__go,
.nejgrow-atc__go:visited {
	border: 1px solid var(--ng-green);
	background: var(--ng-green);
	color: #fff;
}

.nejgrow-atc__go:hover,
.nejgrow-atc__go:focus-visible {
	border-color: var(--ng-green-hover);
	background: var(--ng-green-hover);
	color: #fff;
}

.nejgrow-atc__upsell {
	margin-top: 18px;
}

.nejgrow-atc__upsell-label {
	margin: 0 0 8px;
	color: var(--ng-head);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

.nejgrow-atc__upsell-box {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 14px 14px 14px 16px;
	border: 1px solid var(--ng-line);
	border-radius: 8px;
	background: var(--ng-soft);
}

.nejgrow-atc__upsell-text {
	flex: 1 1 auto;
	min-width: 0;
}

.nejgrow-atc__upsell-title {
	margin: 0 0 2px;
	color: var(--ng-head);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.nejgrow-atc__upsell-value {
	display: block;
	color: var(--ng-sale);
	font-weight: 700;
}

.nejgrow-atc__upsell-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 6px;
	margin: 0;
	font-size: 14px;
}

.nejgrow-atc__upsell-line s {
	opacity: .8;
}

.nejgrow-atc__upsell-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 4px;
	background: var(--ng-sale);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
}

.nejgrow-atc__upsell-btn {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid var(--ng-green);
	border-radius: 8px;
	background: #fff;
	color: var(--ng-green);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
}

.nejgrow-atc__upsell-btn svg {
	flex: 0 0 auto;
}

.nejgrow-atc__upsell-btn:hover,
.nejgrow-atc__upsell-btn:focus-visible {
	background: var(--ng-green);
	color: #fff;
}

.nejgrow-atc__upsell-btn:disabled {
	opacity: .7;
	cursor: wait;
}

.nejgrow-atc__error,
.nejgrow-atc-error {
	color: var(--ng-error);
	font-size: 14px;
}

.nejgrow-atc__upsell .nejgrow-atc__error {
	margin: 8px 0 0;
}

.nejgrow-atc-error {
	width: 100%;
	margin: 0 0 10px;
}

.nejgrow-atc-error p {
	margin: 0;
}

.nejgrow-atc-ok {
	width: 100%;
	margin: 0 0 10px;
	color: #00631d;
	font-size: 14px;
	font-weight: 600;
}

.nejgrow-atc-ok a {
	color: #00631d;
	text-decoration: underline;
}

form.cart.nejgrow-atc-busy .single_add_to_cart_button {
	opacity: .7;
	cursor: wait;
}

.nejgrow-atc :focus-visible {
	outline: 2px solid var(--ng-green);
	outline-offset: 2px;
}

.nejgrow-atc .nejgrow-atc__title:focus,
.nejgrow-atc .nejgrow-atc__title:focus-visible {
	outline: none;
}

@media (max-width: 600px) {
	.nejgrow-atc {
		width: 100vw;
		max-width: 100vw;
		max-height: 92vh;
		max-height: 92dvh;
		margin: auto 0 0;
		border-radius: 8px 8px 0 0;
	}

	.nejgrow-atc__inner {
		padding: 16px 16px 20px;
	}

	.nejgrow-atc__title {
		font-size: 18px;
	}

	.nejgrow-atc__actions {
		flex-direction: column-reverse;
	}

	.nejgrow-atc__inner {
		padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	}

	.nejgrow-atc__upsell-box {
		flex-direction: column;
		align-items: stretch;
	}

	.nejgrow-atc__upsell-btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nejgrow-atc__ship-bar span {
		transition: none;
	}
}

.nejgrow-atc--zasadto {
	--ng-green: #0e5542;
	--ng-green-hover: #0a4535;
	--ng-action: #009913;
	--ng-text: #38332e;
	--ng-head: #38332e;
	--ng-line: #cac9c9;
	--ng-soft: #f9f9f9;
	border-top: 4px solid #0e5542;
	border-radius: 0;
	font-family: Roboto, Arial, sans-serif;
}

.nejgrow-atc--zasadto .nejgrow-atc__title {
	color: #0e5542;
	font-size: 22px;
	font-weight: 700;
}

.nejgrow-atc--zasadto .nejgrow-atc__item-name,
.nejgrow-atc--zasadto .nejgrow-atc__status {
	font-weight: 700;
}

.nejgrow-atc--zasadto .nejgrow-atc__item-img,
.nejgrow-atc--zasadto .nejgrow-atc__close {
	border-radius: 0;
}

.nejgrow-atc--zasadto .nejgrow-atc__ship {
	padding: 10px 12px;
	background: #d9eccf;
}

.nejgrow-atc--zasadto .nejgrow-atc__ship-text strong {
	color: #0e5542;
}

.nejgrow-atc--zasadto .nejgrow-atc__ship-bar,
.nejgrow-atc--zasadto .nejgrow-atc__ship-bar span {
	border-radius: 0;
}

.nejgrow-atc--zasadto .nejgrow-atc__ship-bar {
	background: #fff;
}

.nejgrow-atc--zasadto .nejgrow-atc__ship-bar span {
	background: #0e5542;
}

.nejgrow-atc--zasadto .nejgrow-atc__continue,
.nejgrow-atc--zasadto .nejgrow-atc__go {
	min-height: 48px;
	border-width: 2px;
	border-radius: 0;
	font-size: 16px;
	font-weight: 700;
}

@media (max-width: 600px) {
	.nejgrow-atc--zasadto {
		border-radius: 0;
	}

	.nejgrow-atc--zasadto .nejgrow-atc__title {
		font-size: 19px;
	}
}
