/* =====================================================
   WoodMart Widgets — Numbered List Rows
   ===================================================== */

.wdwgt-nlist-wrap { width: 100%; box-sizing: border-box; }
.wdwgt-nlist-wrap * { box-sizing: border-box; }

.wdwgt-nlist-heading {
	margin: 0 0 30px;
	font-size: clamp(26px, 3.4vw, 42px);
	font-weight: 700;
	line-height: 1.3;
}

.wdwgt-nlist-rows {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.wdwgt-nlist-row {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	overflow: hidden;
	border-bottom: 1px solid rgba(255,255,255,0.15);
	text-decoration: none;
	color: inherit;
	cursor: default;
	transition: padding-inline 450ms cubic-bezier(.65,0,.35,1);
	isolation: isolate;
}

.wdwgt-nlist-row.is-clickable {
	cursor: pointer;
}

/* Sweep fill layer */
.wdwgt-nlist-fill {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-color: #12b587;
	transform: scaleX(0);
	transition: transform 450ms cubic-bezier(.65,0,.35,1);
	pointer-events: none;
}

.wdwgt-nlist-wrap[dir="rtl"] .wdwgt-nlist-fill { transform-origin: right center; }
.wdwgt-nlist-wrap[dir="ltr"] .wdwgt-nlist-fill { transform-origin: left center; }

.wdwgt-nlist-hover--sweep .wdwgt-nlist-row:hover .wdwgt-nlist-fill {
	transform: scaleX(1);
}

.wdwgt-nlist-hover--fade .wdwgt-nlist-fill {
	transform: none;
	opacity: 0;
	transition: opacity 450ms ease;
}
.wdwgt-nlist-hover--fade .wdwgt-nlist-row:hover .wdwgt-nlist-fill {
	opacity: 1;
}

.wdwgt-nlist-hover--none .wdwgt-nlist-fill { display: none; }

/* Slight breathing room on hover so the row feels alive */
.wdwgt-nlist-hover--sweep .wdwgt-nlist-row:hover,
.wdwgt-nlist-hover--fade .wdwgt-nlist-row:hover {
	padding-inline-start: calc(24px + 8px);
	padding-inline-end: calc(24px + 8px);
}

.wdwgt-nlist-text {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
}

.wdwgt-nlist-title {
	font-size: 20px;
	font-weight: 700;
	color: #ffffff;
	transition: color 450ms ease;
}

.wdwgt-nlist-desc {
	font-size: 14px;
	line-height: 1.7;
	color: rgba(255,255,255,0.65);
	margin-top: 8px;
	transition: color 450ms ease;
}

.wdwgt-nlist-number {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: #12b587;
	transition: color 450ms ease;
}

@media (max-width: 767px) {
	.wdwgt-nlist-row { gap: 14px; }
	.wdwgt-nlist-title { font-size: 17px; }
	.wdwgt-nlist-desc  { font-size: 13px; }
}
