/* Kartica, radio kontrola, opis, bedž i cene. */
.sh-nlv-card {
	position: relative;
	min-width: 0;
	border-radius: var(--sh-nlv-card-radius);
	transition: background-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.sh-nlv-card.sh-nlv-surface--white {
	background: #fff;
}

.sh-nlv-card.sh-nlv-surface--mint {
	background: transparent;
}

.sh-nlv-input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.sh-nlv-card-label {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) auto auto;
	align-items: center;
	gap: clamp(14px, 2.2vw, 24px);
	min-height: 104px;
	margin: 0;
	padding: clamp(22px, 3vw, 32px) clamp(22px, 4vw, 48px);
	border: 3px solid transparent;
	border-radius: var(--sh-nlv-card-radius);
	color: var(--sh-nlv-text);
	cursor: pointer;
}

.sh-nlv-card:hover:not(.sh-nlv-is-disabled) {
	box-shadow: 0 8px 24px rgb(11 79 71 / 7%);
}

.sh-nlv-card.sh-nlv-is-disabled {
	opacity: 0.48;
}

.sh-nlv-card.sh-nlv-is-disabled .sh-nlv-card-label {
	cursor: not-allowed;
}

.sh-nlv-radio {
	display: block;
	position: relative;
	width: 30px;
	height: 30px;
	border: 3px solid var(--sh-nlv-text);
	border-radius: 50%;
	background: transparent;
	transition: background-color 180ms ease, border-color 180ms ease;
}

.sh-nlv-input:checked + .sh-nlv-card-label .sh-nlv-radio::after {
	content: "";
	position: absolute;
	inset: 5px;
	border-radius: 50%;
	background: var(--sh-nlv-accent);
}

.sh-nlv-input:focus-visible + .sh-nlv-card-label {
	border-color: var(--sh-nlv-focus);
	outline: 2px solid transparent;
	box-shadow: 0 0 0 2px var(--sh-nlv-selected);
}

.sh-nlv-selected--fill .sh-nlv-input:checked + .sh-nlv-card-label,
.sh-nlv-selected--fill_outline .sh-nlv-input:checked + .sh-nlv-card-label {
	background: var(--sh-nlv-selected);
}

.sh-nlv-selected--outline .sh-nlv-input:checked + .sh-nlv-card-label,
.sh-nlv-selected--fill_outline .sh-nlv-input:checked + .sh-nlv-card-label {
	border-color: var(--sh-nlv-focus);
}

/* Eksplicitna mint površina ostaje mint i kada je izabrana. */
.sh-nlv-card.sh-nlv-surface--mint .sh-nlv-input:checked + .sh-nlv-card-label {
	background: transparent;
}

.sh-nlv-copy,
.sh-nlv-description,
.sh-nlv-description-line,
.sh-nlv-shipping,
.sh-nlv-price-box,
.sh-nlv-current-price,
.sh-nlv-daily-price,
.sh-nlv-regular-price {
	display: block;
}

.sh-nlv-copy {
	min-width: 0;
}

.sh-nlv-title {
	display: block;
	margin: 0 0 5px;
	color: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.sh-nlv-description {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.sh-nlv-shipping {
	margin-top: 2px;
}

.sh-nlv-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 150px;
	max-width: 230px;
	min-height: 40px;
	padding: 8px 24px;
	border-radius: 999px;
	background: var(--sh-nlv-badge);
	color: #fff;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.15;
	text-align: center;
}

.sh-nlv-price-box {
	min-width: max-content;
	text-align: right;
	white-space: nowrap;
}

.sh-nlv-current-price {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.1;
}

.sh-nlv-current-price .woocommerce-Price-amount,
.sh-nlv-current-price .woocommerce-Price-currencySymbol,
.sh-nlv-daily-price .woocommerce-Price-amount,
.sh-nlv-regular-price .woocommerce-Price-amount {
	color: inherit;
}

.sh-nlv-daily-price {
	margin-top: 5px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
}

.sh-nlv-regular-price {
	margin-top: 5px;
	color: inherit;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.2;
	text-decoration-thickness: 1px;
}
