
.nx-satc {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: var(--nx-satc-z, 9998);
	background: var(--nx-satc-bar-bg, #fff);
	color: var(--nx-satc-bar-text, #111);
	border-top: 1px solid var(--nx-satc-bar-border, #e8e8e8);
	min-height: var(--nx-satc-height, 72px);
	transform: translateY(110%);
	opacity: 0;
	visibility: hidden;
	transition: transform .22s ease, opacity .18s ease, visibility .22s ease;
	box-shadow: 0 -8px 26px rgba(0,0,0,.055);
	border-radius: var(--nx-satc-bar-radius, 0) var(--nx-satc-bar-radius, 0) 0 0;
}

.nx-satc.is-visible {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}

.nx-satc__inner {
	width: min(1180px, calc(100% - 40px));
	min-height: var(--nx-satc-height, 72px);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 10px 0;
}

.nx-satc__meta {
	min-width: 0;
	display: flex;
	align-items: baseline;
	gap: 14px;
}

.nx-satc__title {
	font-weight: 600;
	font-size: 15px;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 520px;
}

.nx-satc__price {
	font-size: 15px;
	white-space: nowrap;
}

.nx-satc__price del {
	opacity: .55;
	margin-right: 5px;
}

.nx-satc__button {
	appearance: none;
	border: 0;
	border-radius: var(--nx-satc-button-radius, 4px);
	background: var(--nx-satc-button-bg, #111);
	color: var(--nx-satc-button-text, #fff);
	min-height: 44px;
	padding: 10px 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: background .18s ease, color .18s ease, transform .12s ease;
	white-space: nowrap;
}

.nx-satc__button:hover,
.nx-satc__button:focus-visible {
	background: var(--nx-satc-button-hover-bg, #2b2b2b);
	color: var(--nx-satc-button-hover-text, #fff);
}

.nx-satc__button:active {
	transform: translateY(1px);
}

.nx-satc__icon {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: 0 0 auto;
}


/* Niezależny skład zawartości dla desktopu. */
.nx-satc[data-desktop-content="button_only"] .nx-satc__meta {
	display: none;
}

.nx-satc[data-desktop-content="name_button"] .nx-satc__price {
	display: none;
}

.nx-satc[data-desktop-content="price_button"] .nx-satc__title {
	display: none;
}

.nx-satc[data-desktop-content="button_only"] .nx-satc__inner {
	justify-content: flex-end;
}

.nx-satc-target-highlight {
	position: relative;
	animation: nxSatcPulse 1.2s ease 0s 2;
}

.nx-satc-target-highlight select,
.nx-satc-target-highlight input {
	outline: 2px solid var(--nx-satc-highlight, #ffb800) !important;
	outline-offset: 2px;
}

@keyframes nxSatcPulse {
	0%, 100% { filter: none; }
	50% { filter: drop-shadow(0 0 9px color-mix(in srgb, var(--nx-satc-highlight, #ffb800) 45%, transparent)); }
}

body.nx-satc-mobile .nx-satc[data-mobile-content] .nx-satc__inner {
	width: 100%;
	justify-content: space-between;
	padding: 9px 12px;
	gap: 12px;
}

/* Reset reguł desktopowych przed nałożeniem wybranego składu mobile. */
body.nx-satc-mobile .nx-satc[data-mobile-content] .nx-satc__meta {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
}

body.nx-satc-mobile .nx-satc[data-mobile-content] .nx-satc__title,
body.nx-satc-mobile .nx-satc[data-mobile-content] .nx-satc__price {
	display: block;
}

body.nx-satc-mobile .nx-satc__title {
	font-size: 13px;
	max-width: 48vw;
	margin-bottom: 2px;
}

body.nx-satc-mobile .nx-satc__price {
	font-size: 13px;
}

body.nx-satc-mobile .nx-satc__button {
	flex: 0 0 auto;
	padding: 10px 14px;
	min-height: 42px;
}

body.nx-satc-mobile .nx-satc[data-mobile-content="button_only"] .nx-satc__meta {
	display: none;
}

body.nx-satc-mobile .nx-satc[data-mobile-content="name_button"] .nx-satc__price {
	display: none;
}

body.nx-satc-mobile .nx-satc[data-mobile-content="price_button"] .nx-satc__title {
	display: none;
}

body.nx-satc-mobile .nx-satc[data-mobile-content="button_only"] .nx-satc__inner {
	justify-content: flex-end;
}

body.nx-satc-mobile .nx-satc[data-mobile-center="yes"] .nx-satc__inner {
	justify-content: center;
}

body.nx-satc-mobile .nx-satc[data-mobile-center="yes"] .nx-satc__meta {
	flex: 0 1 auto;
	text-align: center;
}

body.nx-satc-mobile .nx-satc[data-mobile-center="yes"] .nx-satc__title {
	max-width: 52vw;
}

body.nx-satc-mobile.nx-satc-visible {
	padding-bottom: calc(var(--nx-satc-height, 72px) + env(safe-area-inset-bottom, 0px));
}

body.nx-satc-mobile .nx-satc {
	padding-bottom: env(safe-area-inset-bottom, 0px);
}

