.added-item span:empty {
	display: none;
}

.added-item span:empty+.v,
.added-item span:empty {
	display: none;
}

.added-item:has(span:empty) {
	display: none;
}

:root {
	--bg: #ECEAE4;
	--card: #F9FAF3;
	--border: #261C0114;
	--green: #24918A;
	--muted: #999;
	--text: #1a1a1a;
	--tab-active: #261C01;
	--tab-done: #F0F1E9;
	--r: 6px;
	--sh: 0 1px 6px rgba(0, 0, 0, .07);
}



/* ── DESKTOP LAYOUT ── */
.cw {
	/* 	max-width: 1100px; */
	margin: 0 auto;
	display: flex;
	gap: 24px;
	align-items: flex-start;
}

/* SIDEBAR */
.sidebar {
	/* 	flex: 0 0 215px; */
	width: 24%;
	background: var(--card);
	border-radius: var(--r);
	/* 	box-shadow: var(--sh); */
	padding: 16px;
	display: flex;
	flex-direction: column;
	/* 	gap: 2px; */
}

.tab-btn {
	/* 	width: 100%; */
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 24px;
	font-family: 'Poppins';
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.28px;
	color: #261C0199;
	background: transparent;
	border-bottom: 1px solid var(--border);
}

.tab-btn:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

/* active state set via JS class */
.tab-btn.active {
	background: var(--tab-active) !important;
	color: #fff !important;
	border-bottom-color: transparent;
	font-weight: 500;
}

/* has-sel state set via JS class */
.tab-btn.has-sel {
	background: var(--tab-done);
	color: #261C0199;
	border-color: #F9FAF3;
}

.tab-btn.active.has-sel {
	background: var(--tab-active) !important;
	color: #fff !important
}

.tab-btn .sel-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	display: none;
}

.tab-btn.has-sel .sel-icon {
	display: block;
}

.tab-btn.active .sel-icon {
	display: none;
}

/* OPTIONS PANEL */
.options-panel {
	flex: 1 1 0;
	min-width: 0;
}

.tab-pane {
	display: none;
}

.tab-pane.active {
	display: block;
}

/* GRID */
.opts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

/* CARD */
.opt-card {
	background: #F7F9F2;
	border-radius: 6px;
	border: 1px solid #F7F9F2;
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s;
	overflow: hidden;
	position: relative;
}

.opt-card:hover {
	border-color: #bbb;
}

.opt-card.selected {
	border-color: var(--green);
	box-shadow: box-shadow: 0px 11px 23px 0px #C8C9C01A;
}

.opt-img-wrap {
	position: relative;
	/* 	background: #f0ede8; */
	padding: 18px 14px 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 130px;
}

.opt-img-wrap img {
	width: 100%;
	max-height: 120px;
	object-fit: contain;
	display: block;
}

.unsel-circle {
	position: absolute;
	top: 13px;
	right: 13px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .7);
	/* 	border: 1.5px solid #ccc; */
}

.opt-card.selected .unsel-circle {
	display: none;
}

.check-badge {
	position: absolute;
	top: 13px;
	right: 13px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--green);
	display: none;
	align-items: center;
	justify-content: center;
}

.opt-card.selected .check-badge {
	display: flex;
}

.opt-info {
	padding: 12px 14px 14px;
	/* 	border-top: 1px solid #eee; */
}

.opt-name {
	font-size: 16px;
	font-weight: 500;
	letter-spacing: -0.32px;
	line-height: 1.1;
	color: #261C01;
}

.opt-pricing {
	display: flex;
	align-items: baseline;
	gap: 7px;
	flex-wrap: wrap;
	margin-top: 12px;
}

.opt-price {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: #261C01;
}

.opt-was {
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	color: #261c0187;
	text-decoration: line-through;
}

.empty-msg {
	color: var(--muted);
	font-size: .85rem;
	padding: 10px 4px;
}

/* SUMMARY */
.summary-panel {
	/* 	flex: 0 0 210px; */
	min-width: 0;
	width: 21%;
}

.sum-card {
	background: var(--card);
	border-radius: var(--r);
	padding: 40px 16px;
	/* 	box-shadow: var(--sh); */
	position: sticky;
	/* 	top: 20px; */
}

.sum-card h2 {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.1;
	margin-bottom: 24px;
	letter-spacing: -0.3px;
}

.sum-row {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	padding: 14px;
	color: #261C0199;
}

.sum-row .v {}

.sum-row.ma-sale {
	background-color: #EFF0E8;
	border-radius: 6px;
	margin-bottom: 24px;
}

.toggle-list-wrapper {
	background-color: #EFF0E8;
	padding: 16px;
	border-radius: 6px;
}

.added-toggle {
	display: flex;
	justify-content: space-between;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.32px;
	padding: 9px 0 5px;
	cursor: pointer;
	/* 	border-bottom: 1px solid var(--border); */
	margin-bottom: 4px;
}

.added-item {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	padding: 14px 0px;
	letter-spacing: -0.3px;
	color: #261C0199;
	gap: 10px;
}

.added-item .v {
	/* 	color: #2a7a72;
	font-weight: 600; */
}

.total-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-radius: var(--r);
	padding: 12px 16px;
	color: #4c4c4c;
	margin: 24px 0 8px 0;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.1;
	border: 1px solid var(--green);
}

.total-row .tp {
	font-weight: 600;
	color: #261C01;
}

.btn-basket {
	width: 100%;
	background: #24918A;
	color: #fff;
	border-radius: 6px;
	padding: 13px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	text-align: center;
	transition: background .15s;
}

.btn-basket:hover {
	background: #215f58;
}

/* ── MOBILE ACCORDION ── */
/* .mob-wrap {
display: none;
max-width: 500px;
margin: 0 auto
} */

.acc-item {
	margin-bottom: 6px;
	border-radius: var(--r);
	overflow: hidden;
	box-shadow: var(--sh);
}

.acc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	background: #3a3530;
	color: #fff;
	cursor: pointer;
	font-size: .88rem;
	font-weight: 600;
	gap: 8px;
	user-select: none;
}

.acc-header.has-sel {
	background: var(--tab-done);
	color: #444;
}

.acc-header .acc-left {
	display: flex;
	align-items: center;
	gap: 8px;
}

.acc-header .acc-left .sel-icon {
	width: 18px;
	height: 18px;
	display: none;
}

.acc-header.has-sel .acc-left .sel-icon {
	display: block;
}

.acc-icon {
	font-size: 1.1rem;
	font-weight: 700;
	flex-shrink: 0;
}

.acc-body {
	display: none;
	background: var(--bg);
	padding: 12px;
}

.acc-body.open {
	display: block;
}

.acc-body .opts-grid {
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

.mob-summary {
	background: var(--card);
	border-radius: var(--r);
	padding: 18px;
	box-shadow: var(--sh);
	margin-top: 10px;
}

.mob-summary h2 {
	font-size: .9rem;
	font-weight: 700;
	margin-bottom: 12px;
	line-height: 1.4;
}

/* ── BREAKPOINTS ── */
@media(max-width:995px) {
	.cw.wps-ss-container {
		flex-wrap: wrap;
	}

	.sidebar.wps-ss-sidebar {
		width: 33%;
	}

	.summary-panel {
		width: 100%;
	}

	.options-panel {
		width: 60%;
		flex: unset;
	}

	.opts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media(max-width:767px) {

	.sidebar.wps-ss-sidebar,
	.summary-panel,
	.options-panel {
		width: 100%;
	}

	.opts-grid {
		grid-template-columns: repeat(1, 1fr);
	}
}