/**
 * NS Side Cart — drawer (wizualnie zbliżony do CartDrawer w projekcie NS).
 */

.ns-sc {
	--ns-sc-backdrop: rgba(21, 17, 13, 0.45);
	--ns-sc-panel: var(--paper, #fbf7f1);
	--ns-sc-white: #fff;
	--ns-sc-line: var(--line, #e5dbc8);
	--ns-sc-ink: var(--ink, #1a1a1a);
	--ns-sc-muted: var(--muted, #888);
	/* Akcent jak w tokenach marki (jasny pomarańcz), nie „głęboki brąz” */
	--ns-sc-orange: var(--orange, #e86d31);
	--ns-sc-beige-start: var(--paper-2, #f5ebe0);
	--ns-sc-beige-end: var(--paper-3, #ede3d3);
	position: fixed;
	inset: 0;
	z-index: 100000;
	pointer-events: none;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.22s ease, visibility 0.22s;
	font-family: var(--sans, Inter, system-ui, sans-serif);
	color: var(--ns-sc-ink);
}

.ns-sc.is-open {
	pointer-events: auto;
	visibility: visible;
	opacity: 1;
}

.ns-sc-backdrop {
	position: absolute;
	inset: 0;
	background: var(--ns-sc-backdrop);
	cursor: pointer;
}

.ns-sc-drawer {
	position: absolute;
	top: 0;
	right: 0;
	width: min(440px, 100%);
	max-width: 100vw;
	height: 100%;
	background: var(--ns-sc-panel);
	box-shadow: -20px 0 60px rgba(0, 0, 0, 0.18);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.ns-sc.is-open .ns-sc-drawer {
	transform: translateX(0);
}

/*
 * Loader globalny (np. pierwsze otwarcie) — z opóźnieniem po stronie JS.
 * Ilość / upsell / kupon itd. używają klas na pojedynczym elemencie.
 */
.ns-sc-drawer__body.ns-sc-drawer__region--busy,
.ns-sc-drawer__footer.ns-sc-drawer__region--busy {
	pointer-events: none;
}

.ns-sc-drawer__body.ns-sc-drawer__region--busy {
	position: relative;
	min-height: 120px;
}

.ns-sc-drawer__body.ns-sc-drawer__region--busy::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(251, 247, 241, 0.72);
	z-index: 6;
}

.ns-sc-drawer__body.ns-sc-drawer__region--busy::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 28px;
	height: 28px;
	margin: -14px 0 0 -14px;
	border: 2px solid var(--ns-sc-line);
	border-top-color: var(--ns-sc-orange);
	border-radius: 50%;
	animation: ns-sc-spin 0.65s linear infinite;
	z-index: 7;
}

.ns-sc-drawer__footer.ns-sc-drawer__region--busy {
	position: relative;
}

.ns-sc-drawer__footer.ns-sc-drawer__region--busy::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.55);
	z-index: 4;
}

/* Pozycja koszyka — tylko ta linia podczas AJAX */
.ns-sc-item.ns-sc-item--busy {
	pointer-events: none;
}

.ns-sc-item.ns-sc-item--busy::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(251, 247, 241, 0.72);
	z-index: 5;
}

.ns-sc-item.ns-sc-item--busy::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 40%;
	width: 22px;
	height: 22px;
	margin: -11px 0 0 -11px;
	border: 2px solid var(--ns-sc-line);
	border-top-color: var(--ns-sc-orange);
	border-radius: 50%;
	animation: ns-sc-spin 0.65s linear infinite;
	z-index: 6;
}

.ns-sc-upsells__row.ns-sc-upsells__row--busy {
	pointer-events: none;
}

.ns-sc-upsells__row.ns-sc-upsells__row--busy::after {
	content: '';
	position: absolute;
	inset: -2px;
	background: rgba(251, 247, 241, 0.75);
	border-radius: 10px;
	z-index: 3;
}

.ns-sc-upsells__row.ns-sc-upsells__row--busy::before {
	content: '';
	position: absolute;
	right: 10px;
	top: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	border: 2px solid var(--ns-sc-line);
	border-top-color: var(--ns-sc-orange);
	border-radius: 50%;
	animation: ns-sc-spin 0.65s linear infinite;
	z-index: 4;
}

.ns-sc-coupon.ns-sc-coupon--busy {
	pointer-events: none;
}

.ns-sc-coupon.ns-sc-coupon--busy::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(251, 247, 241, 0.65);
	border-radius: 10px;
	z-index: 3;
}

.ns-sc-addon.ns-sc-addon--busy {
	pointer-events: none;
}

.ns-sc-addon.ns-sc-addon--busy::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(251, 247, 241, 0.55);
	border-radius: 10px;
	z-index: 2;
}

@keyframes ns-sc-spin {
	to {
		transform: rotate(360deg);
	}
}

.ns-sc-live-status.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Header */
.ns-sc-drawer__header {
	padding: 18px 22px 14px;
	border-bottom: 1px solid var(--ns-sc-line);
	background: var(--ns-sc-white);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-shrink: 0;
}

.ns-sc-drawer__title {
	margin: 0;
	font-family: var(--display, 'Fraunces', 'Cormorant Garamond', Georgia, serif);
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.01em;
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
}

.ns-sc-drawer__count {
	font-size: 13px;
	color: var(--ns-sc-muted);
	font-weight: 500;
	font-family: var(--sans, Inter, system-ui, sans-serif);
	font-style: normal;
}

.ns-sc-drawer__close {
	width: 36px;
	height: 36px;
	border: 1px solid var(--ns-sc-line);
	border-radius: 50%;
	background: var(--ns-sc-white);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--ns-sc-ink);
	padding: 0;
}

.ns-sc-drawer__close:hover {
	opacity: 0.85;
}

/* Body scroll */
.ns-sc-drawer__body {
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	background: var(--ns-sc-panel);
	-webkit-overflow-scrolling: touch;
}

/* Rewards — RewardLadder z cart.jsx: białe tło, gradient paska, poświata kółek, flex etykiet */
.ns-sc-rewards {
	padding: 16px 22px 18px;
	background: var(--ns-sc-white);
	border-bottom: 1px solid var(--ns-sc-line);
	flex-shrink: 0;
}

.ns-sc-rewards__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.ns-sc-rewards__msg-cluster {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1;
	min-width: 0;
}

.ns-sc-rewards__gift-icon {
	flex-shrink: 0;
	color: var(--orange, var(--ns-sc-orange));
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.ns-sc-rewards__gift-icon svg {
	width: 12px;
	height: 12px;
}

.ns-sc-rewards__gift-icon--success {
	color: var(--orange, var(--ns-sc-orange));
}

.ns-sc-rewards__msg {
	margin: 0;
	flex: 1;
	min-width: 0;
	font-family: var(--sans, Inter, system-ui, sans-serif);
	font-size: 10px;
	font-weight: 600;
	color: var(--ns-sc-ink);
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ns-sc-rewards__msg--success {
	font-size: 9px;
	font-weight: 600;
	white-space: normal;
	overflow: visible;
	text-overflow: unset;
}

.ns-sc-rewards__inline-check {
	display: inline;
	margin-left: 4px;
	color: var(--orange, var(--ns-sc-orange));
	font-weight: 700;
}

.ns-sc-rewards__hl {
	font-weight: 600;
	color: var(--ns-sc-orange);
}

.ns-sc-rewards__ratio {
	flex-shrink: 0;
	font-family: var(--sans, Inter, system-ui, sans-serif);
	font-size: 7px;
	font-weight: 600;
	color: var(--ns-sc-muted);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
	line-height: 1.2;
	text-align: right;
}

.ns-sc-rewards__ratio-current {
	font-weight: 600;
	color: var(--ns-sc-muted);
	font-size: inherit;
}

.ns-sc-rewards__ratio-target {
	font-weight: 600;
	color: var(--ns-sc-muted);
	font-size: inherit;
}

.ns-sc-rewards__ratio .amount,
.ns-sc-rewards__ratio strong {
	font-size: inherit;
	font-weight: 600;
}

.ns-sc-rewards__ratio-sep {
	margin: 0 3px;
	opacity: 0.55;
	font-weight: 600;
}

.ns-sc-rewards__track {
	position: relative;
	height: 6px;
	margin: 0;
	border-radius: 3px;
	isolation: isolate;
}

.ns-sc-rewards__bar-bg {
	position: absolute;
	inset: 0;
	height: 6px;
	background: var(--paper-3, var(--ns-sc-beige-end));
	border-radius: 3px;
	overflow: hidden;
}

.ns-sc-rewards__bar-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--orange-2, #ff7b3a), var(--orange, var(--ns-sc-orange)));
	border-radius: 3px;
	transition: width 0.4s ease;
}

.ns-sc-rewards__nodes {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 6px;
	pointer-events: none;
	z-index: 2;
}

.ns-sc-rewards__node {
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}

.ns-sc-rewards__node-dot {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--ns-sc-white);
	border: 2px solid var(--line-2, var(--ns-sc-line));
	box-sizing: border-box;
	line-height: 1;
	color: var(--ns-sc-muted);
	transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ns-sc-rewards__node-value {
	font-family: var(--sans, Inter, system-ui, sans-serif);
	font-size: 8px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
}

.ns-sc-rewards__check-svg {
	display: block;
	color: #fff;
}

.ns-sc-rewards__node.is-done .ns-sc-rewards__node-dot {
	background: var(--orange, var(--ns-sc-orange));
	border-color: var(--orange, var(--ns-sc-orange));
	color: #fff;
	box-shadow: 0 0 0 4px rgba(232, 109, 49, 0.15);
}

.ns-sc-rewards__labels-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 6px;
	margin-top: 10px;
	padding-top: 2px;
}

.ns-sc-rewards__label-cell {
	flex: 1;
	min-width: 0;
	text-align: center;
}

.ns-sc-rewards__node-label {
	font-family: var(--sans, Inter, system-ui, sans-serif);
	font-size: 7px;
	font-weight: 600;
	color: var(--ns-sc-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1.2;
	display: block;
	overflow-wrap: anywhere;
	word-break: break-word;
	hyphens: auto;
}

.ns-sc-rewards__label-cell.is-done .ns-sc-rewards__node-label {
	color: var(--ns-sc-ink);
}

/* Items */
.ns-sc-empty {
	padding: 40px 22px;
	text-align: center;
	color: var(--ns-sc-muted);
	font-size: 14px;
}

.ns-sc-items {
	padding: 4px 22px 8px;
}

.ns-sc-item {
	position: relative;
	display: grid;
	grid-template-columns: 70px 1fr;
	gap: 12px;
	padding: 14px 0;
	border-top: 1px solid var(--ns-sc-line);
	align-items: flex-start;
}

/* Otwarta lista wariantów nad kolejnymi pozycjami */
.ns-sc-item:has(.ns-sc-variant-toggle[aria-expanded='true']) {
	z-index: 6;
}

.ns-sc-items .ns-sc-item:first-child {
	border-top: none;
}

/* Miniatura — ramka z gradientem; blend dla PNG na beżu */
.ns-sc-item__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 70px;
	flex-shrink: 0;
	background: linear-gradient(160deg, var(--ns-sc-beige-start), var(--ns-sc-beige-end));
	border: 1px solid var(--ns-sc-line);
	border-radius: 10px;
	overflow: hidden;
	box-sizing: border-box;
}

.ns-sc-item__thumb-link {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: inherit;
}

.ns-sc-item__thumb img,
.ns-sc-item__thumb .ns-sc-item__img-el {
	display: block;
	height: 80%;
	max-height: 80%;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	object-position: center center;
	vertical-align: middle;
	mix-blend-mode: darken;
	filter: none;
	-webkit-filter: none;
}

.ns-sc-item__row1 {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
}

.ns-sc-item__eyebrow {
	display: block;
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: var(--ns-sc-muted);
	text-transform: uppercase;
	margin-bottom: 2px;
}

.ns-sc-item__name {
	display: block;
	font-family: var(--sans, Inter, system-ui, sans-serif);
	font-size: 13px;
	font-weight: 600;
	color: var(--ns-sc-ink);
	line-height: 1.25;
	text-decoration: none;
}

.ns-sc-item__name:hover {
	text-decoration: underline;
}

.ns-sc-item__subline {
	font-size: 11px;
	color: var(--ns-sc-muted);
	margin-top: 4px;
	line-height: 1.35;
}

/* Pojemność + cena / szt. w jednej linii; lista wariantów absolute (drawer ma transform — fixed był źle pozycjonowany) */
.ns-sc-item__variant-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	margin-top: 6px;
}

.ns-sc-item__variant-wrap {
	position: relative;
	flex: 0 1 auto;
	min-width: 0;
	max-width: 100%;
	z-index: 4;
}

.ns-sc-item__unit-price {
	font-size: 11px;
	font-weight: 600;
	color: var(--ns-sc-muted);
	line-height: 1.2;
	white-space: nowrap;
}

.ns-sc-item__unit-price .amount {
	font-size: inherit;
	font-weight: inherit;
}

.ns-sc-variant-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	padding: 5px 8px;
	margin: 0;
	border: 1px solid rgba(21, 17, 13, 0.06);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 1px 2px rgba(21, 17, 13, 0.04);
	font-family: var(--sans, Inter, system-ui, sans-serif);
	font-size: 12px;
	font-weight: 600;
	color: var(--ns-sc-ink);
	cursor: pointer;
	line-height: 1.2;
	text-align: left;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ns-sc-variant-toggle:hover {
	border-color: rgba(21, 17, 13, 0.1);
	box-shadow: 0 1px 3px rgba(21, 17, 13, 0.06);
}

.ns-sc-variant-toggle__value {
	flex: 0 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--ns-sc-ink);
	font-size: 10px;
	font-weight: 600;
}

.ns-sc-variant-toggle__chevron-svg {
	flex-shrink: 0;
	color: var(--ns-sc-muted);
	transition: transform 0.2s ease;
}

.ns-sc-variant-toggle[aria-expanded='true'] .ns-sc-variant-toggle__chevron-svg {
	transform: rotate(180deg);
}

.ns-sc-variant-list {
	list-style: none;
	margin: 0;
	padding: 6px;
	position: absolute;
	left: 0;
	top: 100%;
	margin-top: 4px;
	min-width: 100%;
	width: max(100%, 160px);
	max-width: min(280px, calc(100vw - 48px));
	max-height: min(240px, 42vh);
	overflow-y: auto;
	box-sizing: border-box;
	background: var(--ns-sc-white);
	border: 1px solid var(--ns-sc-line);
	border-radius: 10px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
	z-index: 50;
}

.ns-sc-variant-list__item {
	margin: 0;
	padding: 0;
}

.ns-sc-variant-option {
	display: block;
	width: 100%;
	padding: 8px 10px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	text-align: left;
	color: var(--ns-sc-ink);
	cursor: pointer;
}

.ns-sc-variant-option:hover:not(:disabled) {
	background: rgba(0, 0, 0, 0.04);
}

.ns-sc-variant-option.is-current {
	color: var(--ns-sc-muted);
	font-weight: 500;
	cursor: default;
}

.ns-sc-item__price {
	font-family: var(--sans, Inter, system-ui, sans-serif);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.ns-sc-item__row2 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 8px;
}

.ns-sc-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--ns-sc-line);
	border-radius: 999px;
	overflow: hidden;
	background: var(--ns-sc-white);
	padding: 0 2px;
}

.ns-sc-qty__btn {
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	cursor: pointer;
	font-size: 17px;
	line-height: 1;
	color: var(--ns-sc-ink);
	flex-shrink: 0;
}

.ns-sc-qty__btn:hover {
	background: rgba(0, 0, 0, 0.05);
}

.ns-sc-qty__input {
	width: 32px;
	height: 28px;
	border: 0;
	text-align: center;
	font-size: 13px;
	font-weight: 600;
	font-family: inherit;
	padding: 0;
	background: transparent;
	-moz-appearance: textfield;
}

.ns-sc-qty__input::-webkit-outer-spin-button,
.ns-sc-qty__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.ns-sc-item__remove {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: transparent;
	border: 0;
	padding: 0;
	font-size: 11.5px;
	color: var(--ns-sc-muted);
	cursor: pointer;
	font-family: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.15s ease;
}

.ns-sc-item__remove:hover,
.ns-sc-item__remove:focus-visible {
	color: #c62828;
}

.ns-sc-item__remove-icon {
	display: inline-block;
	width: 12px;
	height: 12px;
	background: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 6h18M8 6V4a2 2 0 012-2h4a2 2 0 012 2v2m3 0v14a2 2 0 01-2 2H7a2 2 0 01-2-2V6'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 6h18M8 6V4a2 2 0 012-2h4a2 2 0 012 2v2m3 0v14a2 2 0 01-2 2H7a2 2 0 01-2-2V6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Upsells */
.ns-sc-upsells {
	margin: 10px 22px 0;
	padding: 14px;
	background: var(--ns-sc-white);
	border: 1px solid var(--ns-sc-line);
	border-radius: 12px;
}

.ns-sc-upsells__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
}

.ns-sc-upsells__title {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
}

.ns-sc-upsells__title-accent {
	color: var(--ns-sc-orange);
	font-style: italic;
	font-weight: 600;
	margin-left: 4px;
}

.ns-sc-upsells__hint {
	font-size: 10px;
	color: var(--ns-sc-muted);
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.ns-sc-upsells__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ns-sc-upsells__row {
	position: relative;
	display: grid;
	grid-template-columns: 54px 1fr auto;
	gap: 10px;
	align-items: center;
	padding: 8px 0;
}

.ns-sc-upsells__thumb {
	width: 54px;
	height: 54px;
	background: linear-gradient(160deg, var(--ns-sc-beige-start), var(--ns-sc-beige-end));
	border: 1px solid var(--ns-sc-line);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.ns-sc-upsells__thumb img {
	display: block;
	height: 80%;
	max-height: 80%;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	object-position: center center;
	mix-blend-mode: normal;
	filter: none;
	-webkit-filter: none;
}

.ns-sc-upsells__info {
	min-width: 0;
	line-height: 1.25;
}

.ns-sc-upsells__name {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--ns-sc-ink);
}

.ns-sc-upsells__price {
	font-size: 13px;
	font-weight: 600;
	margin-top: 2px;
	display: block;
}

.ns-sc-upsells__add {
	height: 32px;
	width: 32px;
	border-radius: 50%;
	background: var(--ns-sc-ink);
	color: #fff;
	border: 0;
	cursor: pointer;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	line-height: 1;
}

.ns-sc-upsells__add:hover {
	opacity: 0.88;
}

/* Addon */
.ns-sc-addon {
	position: relative;
	margin: 14px 22px 0;
	padding: 12px 14px;
	background: var(--ns-sc-white);
	border: 1px solid var(--ns-sc-line);
	border-radius: 10px;
}

.ns-sc-addon__label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	cursor: pointer;
	margin: 0;
}

.ns-sc-addon__check {
	margin-top: 4px;
	flex-shrink: 0;
	accent-color: var(--ns-sc-orange);
}

.ns-sc-addon__heading {
	display: block;
	font-size: 13px;
	margin-bottom: 4px;
}

.ns-sc-addon__desc {
	font-size: 12px;
	color: var(--ns-sc-muted);
	line-height: 1.35;
}

/* Coupon */
.ns-sc-coupon {
	position: relative;
	padding: 14px 22px 8px;
}

.ns-sc-coupon__toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 14px;
	background: var(--ns-sc-white);
	border: 1px solid var(--ns-sc-line);
	border-radius: 10px;
	cursor: pointer;
	font-family: inherit;
	text-align: left;
	font-size: 13px;
	font-weight: 500;
	color: var(--ns-sc-ink);
}

.ns-sc-coupon__toggle-icon {
	display: inline-flex;
	color: var(--ns-sc-orange);
	flex-shrink: 0;
}

.ns-sc-coupon__chevron {
	color: var(--ns-sc-muted);
	transition: transform 0.2s;
	display: inline-flex;
	flex-shrink: 0;
}

.ns-sc-coupon__toggle[aria-expanded="true"] .ns-sc-coupon__chevron {
	transform: rotate(90deg);
}

.ns-sc-coupon__panel {
	margin-top: 8px;
}

.ns-sc-coupon__row {
	display: flex;
	gap: 6px;
}

.ns-sc-coupon__input {
	flex: 1;
	height: 38px;
	padding: 0 12px;
	background: var(--ns-sc-white);
	border: 1px solid var(--ns-sc-line);
	border-radius: 8px;
	font-family: inherit;
	font-size: 13px;
}

.ns-sc-coupon__apply {
	height: 38px;
	padding: 0 14px;
	border-radius: 8px;
	background: var(--ns-sc-ink);
	color: #fff;
	border: 0;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	white-space: nowrap;
}

.ns-sc-coupon__applied {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ns-sc-coupon__card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	background: rgba(232, 109, 49, 0.06);
	border: 1px dashed var(--ns-sc-orange);
	border-radius: 12px;
}

.ns-sc-coupon__card-check {
	display: inline-flex;
	color: var(--ns-sc-orange);
	flex-shrink: 0;
}

.ns-sc-coupon__card-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ns-sc-coupon__card-code {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
}

.ns-sc-coupon__card-desc {
	font-size: 11px;
	color: var(--ns-sc-muted);
	line-height: 1.3;
}

.ns-sc-coupon__card-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px;
	border: 0;
	background: transparent;
	cursor: pointer;
	color: var(--ns-sc-muted);
	flex-shrink: 0;
	border-radius: 8px;
}

.ns-sc-coupon__card-remove:hover {
	color: var(--ns-sc-ink);
	background: rgba(0, 0, 0, 0.04);
}

/* Trust strip */
.ns-sc-trust {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
	padding: 4px 22px 16px;
}

.ns-sc-trust__cell {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	background: var(--ns-sc-white);
	border: 1px solid var(--ns-sc-line);
	border-radius: 8px;
	min-width: 0;
}

.ns-sc-trust__icon {
	display: inline-flex;
	color: var(--ns-sc-orange);
	flex-shrink: 0;
}

.ns-sc-trust__text {
	min-width: 0;
	line-height: 1.15;
}

.ns-sc-trust__text strong {
	display: block;
	font-size: 11px;
	font-weight: 600;
	color: var(--ns-sc-ink);
}

.ns-sc-trust__text span {
	font-size: 10px;
	color: var(--ns-sc-muted);
}

/* Footer */
.ns-sc-drawer__footer {
	background: var(--ns-sc-white);
	border-top: 1px solid var(--ns-sc-line);
	padding: 14px 22px 18px;
	flex-shrink: 0;
	box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.04);
}

.ns-sc-footer-empty {
	margin: 0;
	font-size: 13px;
	color: var(--ns-sc-muted);
	text-align: center;
	padding: 8px 0;
}

.ns-sc-summary {
	margin-bottom: 12px;
	font-size: 13px;
}

.ns-sc-summary__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 4px 0;
}

.ns-sc-summary__row--muted span:last-child {
	color: var(--ns-sc-muted);
}

.ns-sc-summary__row--coupon strong {
	color: var(--ns-sc-orange);
	font-weight: 600;
}

.ns-sc-summary__row--accent strong {
	color: var(--ns-sc-orange);
	font-weight: 600;
}

.ns-sc-summary-total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding: 12px 0 10px;
	margin-bottom: 4px;
	border-top: 1px solid var(--ns-sc-line);
}

.ns-sc-summary-total__label {
	font-size: 15px;
	font-weight: 600;
}

.ns-sc-summary-total__value {
	font-size: clamp(22px, 5vw, 26px);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1;
}

.ns-sc-footer-note {
	margin: 0 0 12px;
	font-size: 12px;
	color: var(--ns-sc-muted);
	text-align: center;
	line-height: 1.35;
}

.ns-sc-checkout {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0 22px;
	min-height: 56px;
	border-radius: 999px;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	gap: 12px;
	box-sizing: border-box;
}

.ns-sc-checkout__cart-svg {
	display: block;
	width: 22px;
	height: 24px;
	flex-shrink: 0;
}

.ns-sc-checkout__arrow-svg {
	display: block;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.ns-sc-checkout__label {
	flex: 1;
	text-align: center;
}

.ns-sc-paypo-hint {
	margin: 12px 0 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 11px;
	color: var(--ns-sc-muted);
}

.ns-sc-paypo-hint svg {
	flex-shrink: 0;
	color: var(--ns-sc-orange);
}

/* Fallback gdy motyw nie ładuje .ns-btn--lg */
.ns-sc-checkout.ns-btn--lg {
	min-height: 56px;
}

.ns-sc-drawer__body::-webkit-scrollbar,
.ns-sc-drawer::-webkit-scrollbar {
	width: 4px;
}

.ns-sc-drawer__body::-webkit-scrollbar-thumb,
.ns-sc-drawer::-webkit-scrollbar-thumb {
	background: var(--ns-sc-beige-end);
	border-radius: 99px;
}

@media (prefers-reduced-motion: reduce) {
	.ns-sc,
	.ns-sc-drawer,
	.ns-sc-rewards__bar-fill {
		transition: none;
	}

	.ns-sc-drawer__body.ns-sc-drawer__region--busy::before,
	.ns-sc-item.ns-sc-item--busy::before {
		animation: none;
		border-color: var(--ns-sc-orange);
	}
}
