/* iBook Smart Sell — front. Everything leans on the theme's own variables so
   the boxes read as part of the store, not as a plugin. */

.tss-box {
	background: #fff;
	border-radius: var(--wd-brd-radius, 20px);
	padding: 24px;
	margin: 24px 0;
	clear: both;
}
.tss-box .tss-head { margin-bottom: 16px; }
.tss-box .tss-title {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	color: var(--wd-title-color, #242424);
}
.tss-box .tss-sub { margin: 6px 0 0; color: #777; font-size: 14px; }
.tss-box .products { margin-bottom: 0 !important; }
@media (max-width: 768px) {
	.tss-box { padding: 16px; border-radius: 16px; }
	.tss-box .tss-title { font-size: 18px; }
}

/* ---------- Checkout order bump (minimal, theme tokens) ---------- */
.tss-bump {
	--tss-brand: var(--wd-primary-color, #048ed6);
	margin: 0 0 18px;
	border: 1px solid var(--brdcolor-gray-300, rgba(0, 0, 0, .105));
	border-radius: calc(var(--wd-brd-radius, 20px) * .7);
	background: #fff;
	transition: border-color .15s, background .15s;
}
.tss-bump.is-on { border-color: var(--tss-brand); background: color-mix(in srgb, var(--tss-brand) 4%, #fff); }
.tss-bump.is-busy { opacity: .6; pointer-events: none; }
.tss-bump__row { display: flex !important; align-items: center; gap: 12px; padding: 12px 14px; margin: 0 !important; cursor: pointer; font-weight: 400; }
.tss-bump__cb { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tss-bump__check { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--color-gray-300, #bbb); background: #fff; position: relative; transition: border-color .15s, background .15s; }
.tss-bump.is-on .tss-bump__check { background: var(--tss-brand); border-color: var(--tss-brand); }
.tss-bump.is-on .tss-bump__check::after { content: ""; position: absolute; top: 2px; left: 6px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tss-bump__cb:focus-visible + .tss-bump__check { box-shadow: 0 0 0 3px color-mix(in srgb, var(--tss-brand) 30%, transparent); }
.tss-bump__media { flex: 0 0 52px; }
.tss-bump__media img.tss-bump__img { display: block; width: 52px !important; height: 52px !important; object-fit: contain; border-radius: 10px; background: var(--bgcolor-gray-100, #f7f7f7); margin: 0 !important; }
.tss-bump__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.45; }
.tss-bump__title { font-size: 11.5px; font-weight: 600; color: var(--tss-brand); }
.tss-bump__name { font-size: 13.5px; font-weight: 600; color: var(--wd-title-color, #242424); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tss-bump__why { font-size: 12px; color: var(--wd-text-color, #777); }
.tss-bump__price { flex: 0 0 auto; font-size: 14px; font-weight: 700; white-space: nowrap; text-align: end; }
.tss-bump__price del { display: block; font-size: 12px; font-weight: 400; opacity: .6; }
.tss-bump__price ins { text-decoration: none; }
@media (max-width: 480px) {
	.tss-bump__row { gap: 10px; padding: 10px 12px; }
	.tss-bump__media { flex-basis: 46px; }
	.tss-bump__media img.tss-bump__img { width: 46px !important; height: 46px !important; }
}
