.lws-advent-calendar-pro-streak {
	margin: 1em 0;
}

/* A visitor's page waits for the streak js/streak.js brings: unseen, its place kept, so that nothing jumps. */
.lws-advent-calendar-pro-streak-fixed[data-pending] {
	visibility: hidden;
}

.lws-advent-calendar-pro-streak__text {
	margin: 0 0 0.25em;
}

.lws-advent-calendar-pro-product {
	display: flex;
	align-items: center;
	gap: 0.75em;
}

.lws-advent-calendar-pro-product img {
	flex: none;
	width: 4em;
	height: auto;
}

.lws-advent-calendar-pro-cart {
	margin: 0.25em 0 0;
}

.lws-advent-calendar-pro-cart__button {
	box-sizing: border-box;
	width: 100%;
	padding-left: 0.25em;
	padding-right: 0.25em;
	font-size: 0.8em;
}

/* A themed cell has a fixed height: the button is one short line under the door, which keeps the rest. */
.lwsp .lws-advent-calendar__box .lws-advent-calendar-pro-cart {
	flex: none;
	margin: 3px 0 0;
}

.lwsp .lws-advent-calendar__box .lws-advent-calendar-pro-cart__button {
	display: block;
	height: 24px;
	min-height: 0;
	padding: 0 2px;
	overflow: hidden;
	border-radius: var(--lwsp-r);
	font-size: 0.68rem;
	line-height: 24px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Above the button a one-row door has room for one thing: its gift line here, its icon on a narrow calendar. */
@container (width > 640px) {
	.lwsp .lws-advent-calendar__box:has(.lws-advent-calendar-pro-cart):not(:has(.lwsp-dh2)) .lwsp-inside .lwsp-ico {
		display: none;
	}

	/* The box style lifts the gift on a card half behind the box: one line of it stays in sight. */
	.lwsp.lwsp-open-box .lws-advent-calendar__box:has(.lws-advent-calendar-pro-cart):not(:has(.lwsp-dh2)) .lwsp-gift {
		-webkit-line-clamp: 1;
	}
}

/* The check style draws its mark above the icon: beside the button the mark alone fits. */
.lwsp.lwsp-open-check .lws-advent-calendar__box--opened:has(.lws-advent-calendar-pro-cart) .lwsp-inside .lwsp-ico {
	display: none;
}
