/* Side cart — mockup 03 (po dodaniu) */
.cw-side-cart {
	position: fixed;
	inset: 0;
	z-index: 100001;
	pointer-events: none;
}

.cw-side-cart.is-open {
	pointer-events: auto;
}

body.cw-side-cart-open {
	overflow: hidden;
}

.cw-side-cart__overlay {
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 10, 0.45);
	opacity: 0;
	transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.cw-side-cart.is-open .cw-side-cart__overlay {
	opacity: 1;
}

.cw-side-cart__panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	height: 100%;
	width: min(480px, 100%);
	background: var(--cw-white, #fff);
	transform: translateX(100%);
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
	overflow: hidden;
	box-shadow: -8px 0 40px rgba(10, 10, 10, 0.12);
}

.cw-side-cart.is-open .cw-side-cart__panel {
	transform: translateX(0);
}

.cw-side-cart__inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
	padding: clamp(1.25rem, 4vw, 1.75rem);
	padding-top: clamp(1.5rem, 4vw, 2rem);
}

.cw-side-cart__close {
	position: absolute;
	top: clamp(1rem, 3vw, 1.35rem);
	right: clamp(1rem, 3vw, 1.35rem);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	min-width: 2.5rem;
	min-height: 2.5rem;
	padding: 0;
	border: 1px solid var(--cw-border, #e8e8e4);
	border-radius: 50%;
	background: var(--cw-black, #0a0a0a);
	color: #fff;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition:
		background 0.2s ease,
		border-color 0.2s ease;
}

.cw-side-cart__close-icon {
	display: block;
	width: 1.125rem;
	height: 1.125rem;
	flex-shrink: 0;
}

.cw-side-cart__close:hover,
.cw-side-cart__close:focus-visible {
	background: var(--cw-graphite, #2b2b2b);
	outline: none;
}

.cw-side-cart__header {
	flex-shrink: 0;
	padding-right: 2.5rem;
	margin-bottom: 1rem;
}

.cw-side-cart__kicker {
	margin: 0 0 0.35rem;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cw-gray-light, #9a9a96);
}

.cw-side-cart__title {
	margin: 0;
	font-size: clamp(1.375rem, 4vw, 1.625rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--cw-black, #0a0a0a);
}

.cw-side-cart__notice {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
	padding: 0.875rem 1rem;
	border-radius: 10px;
	background: #e8f7ee;
	border: 1px solid #c5e8d2;
	flex-shrink: 0;
}

.cw-side-cart__notice[hidden] {
	display: none !important;
}

.cw-side-cart.is-just-added .cw-side-cart__notice {
	display: flex;
}

.cw-side-cart__notice-icon {
	flex-shrink: 0;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	background: #1a7f4b;
	position: relative;
}

.cw-side-cart__notice-icon::after {
	content: "";
	position: absolute;
	left: 0.42rem;
	top: 0.28rem;
	width: 0.3rem;
	height: 0.55rem;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.cw-side-cart__notice-text {
	flex: 1;
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--cw-graphite, #2b2b2b);
}

.cw-side-cart__notice-text strong {
	font-weight: 600;
	color: var(--cw-black, #0a0a0a);
}

.cw-side-cart__notice-undo {
	flex-shrink: 0;
	border: 0;
	background: none;
	padding: 0;
	font-size: 0.8125rem;
	font-weight: 500;
	text-decoration: underline;
	color: var(--cw-black, #0a0a0a);
	cursor: pointer;
}

.cw-side-cart__body {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding-right: 0.15rem;
}

.cw-side-cart__items {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cw-side-cart__item {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 0.875rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--cw-border, #e8e8e4);
}

.cw-side-cart__item:last-child {
	border-bottom: none;
}

.cw-side-cart__thumb {
	position: relative;
}

.cw-side-cart__thumb img {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 8px;
	background: var(--cw-stone, #f5f5f3);
}

.cw-side-cart__badge {
	position: absolute;
	top: 0.35rem;
	left: 0.35rem;
	z-index: 1;
	padding: 0.15rem 0.35rem;
	border-radius: 4px;
	background: #1a7f4b;
	color: #fff;
	font-size: 0.5625rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
}

.cw-side-cart__details {
	min-width: 0;
}

.cw-side-cart__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
}

.cw-side-cart__name {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--cw-black, #0a0a0a);
	word-break: normal;
	overflow-wrap: break-word;
	hyphens: auto;
}

.cw-side-cart__price {
	flex: 0 0 auto;
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	white-space: nowrap;
	color: var(--cw-black, #0a0a0a);
}

.cw-side-cart__meta {
	margin: 0.35rem 0 0.65rem;
	font-size: 0.75rem;
	line-height: 1.45;
	color: var(--cw-gray, #6b6b6b);
}

.cw-side-cart__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.cw-side-cart__qty {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	min-height: 2.25rem;
	padding: 0 0.125rem;
	border: 1px solid var(--cw-border, #e8e8e4);
	border-radius: 8px;
	overflow: visible;
	background: var(--cw-white, #fff);
	box-sizing: border-box;
}

.cw-side-cart__qty-btn {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2.25rem;
	min-height: 0;
	border: 0;
	background: transparent;
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
	color: var(--cw-black, #0a0a0a);
	padding: 0;
}

.cw-side-cart__qty-btn:hover {
	background: var(--cw-stone, #f5f5f3);
}

.cw-side-cart__qty-input {
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.25rem;
	min-height: 0;
	margin: 0;
	border: 0;
	border-left: 1px solid var(--cw-border, #e8e8e4);
	border-right: 1px solid var(--cw-border, #e8e8e4);
	border-radius: 0;
	text-align: center;
	font-size: 0.9375rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	padding: 0;
	box-sizing: border-box;
	background: transparent;
	color: var(--cw-black, #0a0a0a);
	-moz-appearance: textfield;
	appearance: textfield;
}

.cw-side-cart__qty-input[type="number"] {
	min-height: 0;
	max-height: none;
}

.cw-side-cart__qty-input::-webkit-outer-spin-button,
.cw-side-cart__qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.cw-side-cart__remove {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	text-decoration: none;
	color: var(--cw-gray, #6b6b6b);
	-webkit-tap-highlight-color: transparent;
}

.cw-side-cart__remove-bubble {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	min-height: 2rem;
	padding: 0.35rem 0.7rem;
	border: 1px solid var(--cw-border, #e8e8e4);
	border-radius: var(--cw-btn-radius, 0.65rem);
	background: var(--cw-white, #fff);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1;
	white-space: nowrap;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.cw-side-cart__remove-mark {
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1;
	opacity: 0.5;
	transition: opacity 0.2s ease;
}

.cw-side-cart__remove-label {
	line-height: 1;
}

.cw-side-cart__remove:hover .cw-side-cart__remove-bubble,
.cw-side-cart__remove:focus-visible .cw-side-cart__remove-bubble {
	background: var(--cw-stone, #f5f5f3);
	border-color: var(--cw-graphite, #2b2b2b);
	color: var(--cw-black, #0a0a0a);
}

.cw-side-cart__remove:hover .cw-side-cart__remove-mark,
.cw-side-cart__remove:focus-visible .cw-side-cart__remove-mark {
	opacity: 0.75;
}

.cw-side-cart__remove:focus-visible {
	outline: none;
}

.cw-side-cart__remove:focus-visible .cw-side-cart__remove-bubble {
	outline: 2px solid rgba(10, 10, 10, 0.12);
	outline-offset: 2px;
}

/* Extras — montaż + gwarancja */
.cw-side-cart__extras {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--cw-border, #e8e8e4);
}

.cw-side-cart__extras-head {
	margin-bottom: 1rem;
}

.cw-side-cart__extras-eyebrow {
	margin: 0;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--cw-gray-light, #9a9a96);
}

.cw-side-cart__extras-count {
	font-size: 0.75rem;
	color: var(--cw-gray, #6b6b6b);
}

.cw-side-cart__extra-block {
	margin-bottom: 1rem;
	padding: 0.875rem;
	border-radius: 12px;
	background: var(--cw-stone, #f5f5f3);
	border: 1px solid var(--cw-border, #e8e8e4);
}

.cw-side-cart__extra-block:last-child {
	margin-bottom: 0;
}

.cw-side-cart__extra-intro {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	gap: 0.75rem;
	align-items: start;
	margin-bottom: 0.75rem;
}

.cw-side-cart__extra-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	min-width: 36px;
	min-height: 36px;
	padding: 8px;
	box-sizing: border-box;
	border-radius: 10px;
	background: var(--cw-white, #fff);
	border: 1px solid var(--cw-border, #e8e8e4);
	color: var(--cw-blue, #007eff);
	flex-shrink: 0;
	overflow: hidden;
	line-height: 0;
}

.cw-side-cart__extra-svg {
	display: block;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	overflow: visible;
}

.cw-side-cart__extra-title {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--cw-black, #0a0a0a);
}

.cw-side-cart__extra-for {
	margin: 0.15rem 0 0;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--cw-graphite, #2b2b2b);
}

.cw-side-cart__extra-desc {
	margin: 0.2rem 0 0;
	font-size: 0.75rem;
	line-height: 1.45;
	color: var(--cw-gray, #6b6b6b);
}

.cw-side-cart__assembly-modes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.25rem;
	margin: 0 0 0.75rem;
	padding: 0.25rem;
	border: 1px solid var(--cw-border, #e8e8e4);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.65);
}

.cw-side-cart__assembly-mode {
	margin: 0;
	padding: 0.45rem 0.4rem;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--cw-gray, #6b6b6b);
	font-family: inherit;
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.cw-side-cart__assembly-mode:hover,
.cw-side-cart__assembly-mode:focus-visible {
	background: rgba(255, 255, 255, 0.85);
	color: var(--cw-black, #0a0a0a);
	outline: none;
}

.cw-side-cart__assembly-mode.is-active {
	background: #fff;
	color: var(--cw-black, #0a0a0a);
	box-shadow: 0 1px 4px rgba(10, 10, 10, 0.08);
}

.cw-side-cart__extra-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
}

.cw-side-cart__extra-item {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.65rem;
	align-items: center;
	padding: 0.65rem 0.75rem;
	border-radius: 10px;
	background: var(--cw-white, #fff);
	border: 1px solid var(--cw-border, #e8e8e4);
}

.cw-side-cart__extra-item.is-featured {
	border-color: rgba(0, 126, 255, 0.35);
	box-shadow: 0 0 0 1px rgba(0, 126, 255, 0.08);
}

.cw-side-cart__extra-tag {
	position: absolute;
	top: -0.45rem;
	right: 0.65rem;
	padding: 0.1rem 0.45rem;
	border-radius: 999px;
	background: var(--cw-blue, #007eff);
	color: #fff;
	font-size: 0.5625rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.4;
}

.cw-side-cart__extra-name {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--cw-black, #0a0a0a);
}

.cw-side-cart__extra-meta {
	margin: 0.15rem 0 0;
	font-size: 0.6875rem;
	line-height: 1.4;
	color: var(--cw-gray, #6b6b6b);
}

.cw-side-cart__extra-action {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.35rem;
	flex-shrink: 0;
}

.cw-side-cart__extra-price {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--cw-black, #0a0a0a);
	white-space: nowrap;
}

.cw-side-cart__extra-add {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 4.25rem;
	padding: 0.35rem 0.65rem;
	border: 1px solid var(--cw-border, #e8e8e4);
	border-radius: var(--cw-btn-radius);
	background: transparent;
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	color: var(--cw-black, #0a0a0a);
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.cw-side-cart__extra-add:hover,
.cw-side-cart__extra-add:focus-visible {
	border-color: var(--cw-blue, #007eff);
	color: var(--cw-blue, #007eff);
}

.cw-side-cart__extra-add.is-loading {
	opacity: 0.55;
	pointer-events: none;
}

.cw-side-cart__extra-add:disabled {
	opacity: 0.7;
	cursor: default;
	pointer-events: none;
}

.cw-side-cart__extra-item.is-selected {
	border-color: var(--cw-blue, #007eff);
	background: rgba(0, 126, 255, 0.04);
}

.cw-side-cart__warranty-slots {
	display: grid;
	gap: 0.85rem;
	margin-top: 0.35rem;
}

.cw-side-cart__warranty-slot {
	display: grid;
	gap: 0.45rem;
	padding-top: 0.65rem;
	border-top: 1px solid var(--cw-border, #e8e8e4);
}

.cw-side-cart__warranty-slot:first-child {
	padding-top: 0;
	border-top: 0;
}

.cw-side-cart__warranty-slot-label {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--cw-gray, #6b6b6b);
}

/* Cross-sells */
.cw-side-cart__cross {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--cw-border, #e8e8e4);
}

.cw-side-cart__cross-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.cw-side-cart__cross-eyebrow {
	margin: 0;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--cw-gray-light, #9a9a96);
}

.cw-side-cart__cross-count {
	font-size: 0.75rem;
	color: var(--cw-gray, #6b6b6b);
}

.cw-side-cart__cross-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
}

.cw-side-cart__cross-item {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	gap: 0.65rem;
	align-items: center;
}

.cw-side-cart__cross-thumb img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 8px;
	background: var(--cw-stone, #f5f5f3);
}

.cw-side-cart__cross-name {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--cw-black, #0a0a0a);
}

.cw-side-cart__cross-price {
	margin: 0.15rem 0 0;
	font-size: 0.75rem;
	color: var(--cw-gray, #6b6b6b);
}

.cw-side-cart__cross-add {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border: 1px solid var(--cw-border, #e8e8e4);
	border-radius: 50%;
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	color: var(--cw-black, #0a0a0a);
}

.cw-side-cart__cross-add:hover {
	border-color: var(--cw-blue, #007eff);
	color: var(--cw-blue, #007eff);
}

/* Footer */
.cw-side-cart__footer {
	flex-shrink: 0;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--cw-border, #e8e8e4);
}

.cw-side-cart__totals {
	margin: 0 0 0.75rem;
}

.cw-side-cart__total-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.35rem;
	font-size: 0.875rem;
}

.cw-side-cart__total-row dt {
	margin: 0;
	font-weight: 400;
	color: var(--cw-gray, #6b6b6b);
}

.cw-side-cart__total-row dd {
	margin: 0;
	font-weight: 500;
	color: var(--cw-black, #0a0a0a);
}

.cw-side-cart__total-row dd.is-free {
	color: #1a7f4b;
	font-weight: 600;
}

.cw-side-cart__grand {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin: 0.75rem 0 1rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--cw-border, #e8e8e4);
}

.cw-side-cart__grand-label {
	font-size: 1rem;
	font-weight: 500;
	color: var(--cw-black, #0a0a0a);
}

.cw-side-cart__grand-value {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--cw-black, #0a0a0a);
}

.cw-side-cart__grand-value .woocommerce-Price-amount {
	font-weight: 700;
}

.cw-side-cart__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	margin-bottom: 0.875rem;
	padding: 0.875rem 1.5rem;
	border: 0;
	border-radius: 12px;
	background: var(--cw-blue, #007eff);
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.cw-side-cart__cta:hover,
.cw-side-cart__cta:focus-visible {
	background: var(--cw-blue-hover, #0066d6);
	color: #fff;
	text-decoration: none;
}

.cw-side-cart__cta--ghost {
	background: transparent;
	border: 1px solid var(--cw-border, #e8e8e4);
	color: var(--cw-black, #0a0a0a);
}

.cw-side-cart__links {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.cw-side-cart__link-cart {
	font-size: 0.8125rem;
	color: var(--cw-gray, #6b6b6b);
	text-decoration: underline;
}

.cw-side-cart__link-cart:hover {
	color: var(--cw-black, #0a0a0a);
}

.cw-side-cart__trust {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cw-gray-light, #9a9a96);
}

.cw-side-cart__trust-icon {
	width: 10px;
	height: 11px;
	border: 1.5px solid currentColor;
	border-radius: 2px 2px 0 0;
	position: relative;
}

.cw-side-cart__trust-icon::after {
	content: "";
	position: absolute;
	top: -4px;
	left: 50%;
	width: 7px;
	height: 5px;
	border: 1.5px solid currentColor;
	border-bottom: 0;
	border-radius: 6px 6px 0 0;
	transform: translateX(-50%);
}

.cw-side-cart__empty {
	padding: 2rem 0;
	text-align: center;
}

.cw-side-cart__empty p {
	margin: 0 0 1.25rem;
	font-size: var(--cw-text);
	color: var(--cw-gray, #6b6b6b);
}

/* Cart / checkout pages (plugin base) */
.woocommerce-cart .cw-container,
.woocommerce-checkout .cw-container {
	max-width: var(--cw-container, 1120px);
	margin: 0 auto;
}

.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td,
.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
	border-bottom: 1px solid var(--cw-border, #e8e8e4);
	padding: 1rem 0;
}

/* Premium checkout — layout płatności w motywie (cw-cart-checkout.css). */
.woocommerce-checkout .cw-checkout-block--payment #payment,
.woocommerce-checkout .cw-checkout-block--payment #payment ul.payment_methods {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
	margin: 0;
	width: 100%;
	max-width: none;
}

/* Konfigurator przycisku — mini koszyk (configurator.css pomijany na /koszyk/) */
.cw-side-cart__details .cw-cart-config-wrap {
	margin: 0.35rem 0 0.15rem;
}

.cw-side-cart__details .cw-cart-config-wrap--side-cart {
	margin: 0.45rem 0 0.1rem;
}

.cw-side-cart__details .cw-cart-config-wrap--side-cart .cw-cart-config--collapsible {
	border: 1px solid var(--cw-border, #e8e8e4);
	border-radius: 8px;
	background: var(--cw-stone-50, #fafaf8);
	overflow: hidden;
}

.cw-side-cart__details .cw-cart-config-wrap--side-cart .cw-cart-config__action {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.55rem 0.65rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--cw-black, #111);
	text-decoration: none;
	cursor: pointer;
	list-style: none;
}

.cw-side-cart__details .cw-cart-config-wrap--side-cart .cw-cart-config__action::-webkit-details-marker {
	display: none;
}

.cw-side-cart__details .cw-cart-config-wrap--side-cart .cw-cart-config__action::after {
	content: "+";
	font-size: 1rem;
	font-weight: 400;
	color: var(--cw-gray, #6b6b6b);
}

.cw-side-cart__details .cw-cart-config-wrap--side-cart .cw-cart-config--collapsible[open] > .cw-cart-config__action::after {
	content: "−";
}

.cw-side-cart__details .cw-cart-config-wrap--side-cart .cw-cart-config__body {
	padding: 0 0.65rem 0.65rem;
}

.cw-side-cart__details .cw-cart-config__panel,
.cw-side-cart__details .cw-cart-config__multi {
	padding: 0.65rem;
	border: 1px solid var(--cw-border, #e8e8e4);
	border-radius: 8px;
	background: #fff;
}

.cw-side-cart__details .cw-cart-config__slots--rows {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.cw-side-cart__details .cw-cart-config__slot-row {
	display: grid;
	grid-template-columns: minmax(3.5rem, 4.25rem) minmax(0, 1fr);
	gap: 0.45rem 0.65rem;
	align-items: center;
}

.cw-side-cart__details .cw-cart-config__slot-label {
	margin: 0;
	font-size: 0.6875rem;
	font-weight: 600;
	color: var(--cw-black, #111);
}

.cw-side-cart__details .cw-cart-config__multi-title {
	margin: 0 0 0.55rem;
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cw-gray, #6b6b6b);
}

.cw-side-cart__details .cw-cart-config__swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.cw-side-cart__details .cw-cart-config__swatch {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.15rem;
	min-width: calc(33.333% - 0.25rem);
	flex: 1 1 calc(33.333% - 0.25rem);
	padding: 0.4rem 0.25rem 0.35rem;
	border: 1px solid var(--cw-border, #e8e8e4);
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	text-align: center;
}

.cw-side-cart__details .cw-cart-config__swatch:has(input:checked) {
	border-color: var(--cw-blue, #007eff);
	box-shadow: 0 0 0 1px var(--cw-blue, #007eff);
}

.cw-side-cart__details .cw-cart-config__swatch input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.cw-side-cart__details .cw-cart-config__swatch-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 2rem;
}

.cw-side-cart__details .cw-cart-config__swatch-thumb img {
	width: 2rem;
	height: 2rem;
	object-fit: contain;
}

.cw-side-cart__details .cw-cart-config__swatch-name {
	font-size: 0.625rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--cw-graphite, #333);
}

.cw-side-cart__details .cw-cart-config__swatch .cw-config-option__price {
	font-size: 0.5625rem;
	font-weight: 600;
	color: var(--cw-blue, #007eff);
}

.cw-side-cart__details .cw-cart-config__swatch .cw-config-option__price--muted {
	color: var(--cw-gray, #6b6b6b);
	font-weight: 500;
}

.cw-side-cart__details .cw-cart-config__swatch.is-disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.cw-side-cart__details .cw-cart-config__swatches.is-saving {
	opacity: 0.55;
	pointer-events: none;
}

.cw-side-cart__details .cw-cart-config__selected {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.2rem 0.4rem;
	margin: 0 0 0.25rem;
	font-size: 0.75rem;
	line-height: 1.4;
	color: var(--cw-gray, #6b6b6b);
}

.cw-side-cart__details .cw-cart-config__selected-kicker {
	font-weight: 600;
	color: var(--cw-black, #111);
}

.cw-side-cart__details .cw-cart-config__selected-value {
	color: var(--cw-black, #111);
}

.cw-side-cart__details .cw-cart-config__selected-price {
	font-size: 0.6875rem;
	color: var(--cw-gray-light, #9a9a9a);
}

.cw-side-cart__details .cw-cart-config {
	margin: 0;
}

.cw-side-cart__details .cw-cart-config__action {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--cw-gray, #6b6b6b);
	text-decoration: underline;
	text-underline-offset: 0.12em;
	cursor: pointer;
	list-style: none;
}

.cw-side-cart__details .cw-cart-config__action:hover {
	color: var(--cw-black, #111);
}

.cw-side-cart__details .cw-cart-config__action::-webkit-details-marker {
	display: none;
}

.cw-side-cart__details .cw-cart-config__panel {
	margin-top: 0.5rem;
	padding: 0.65rem;
	border: 1px solid var(--cw-border, #e8e8e4);
	border-radius: 8px;
	background: var(--cw-stone-50, #fafaf8);
}

.cw-side-cart__details .cw-cart-config__title {
	margin: 0 0 0.5rem;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cw-gray, #6b6b6b);
}

.cw-side-cart__details .cw-cart-config__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem;
}

.cw-side-cart__details .cw-config-option {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	padding: 0.5rem 0.35rem;
	border: 1px solid var(--cw-border, #e8e8e4);
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	text-align: center;
}

.cw-side-cart__details .cw-config-option:has(input:checked) {
	border-color: var(--cw-blue, #007eff);
}

.cw-side-cart__details .cw-config-option input {
	position: absolute;
	opacity: 0;
}

.cw-side-cart__details .cw-config-option img {
	width: 44px;
	height: 44px;
	object-fit: contain;
}

.cw-side-cart__details .cw-config-option__label {
	font-size: 0.6875rem;
	font-weight: 500;
	line-height: 1.25;
}

.cw-side-cart__details .cw-config-option__price {
	font-size: 0.625rem;
	font-weight: 600;
	color: var(--cw-blue, #007eff);
}

.cw-side-cart__details .cw-config-option__price--muted {
	color: var(--cw-gray, #6b6b6b);
	font-weight: 500;
}

.cw-side-cart__details .cw-config-option.is-disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.cw-side-cart__details .cw-cart-config__grid.is-saving {
	opacity: 0.55;
	pointer-events: none;
}
