.nlrp-widget {
	--nlrp-columns: 3;
	--nlrp-columns-tablet: 2;
	--nlrp-columns-mobile: 1;
	--nlrp-active-columns: var(--nlrp-columns);
	--nlrp-gap: 10px;
	--nlrp-card-radius: 12px;
	--nlrp-border-color: rgba(0, 0, 0, 0.08);
	--nlrp-title-color: #111111;
	--nlrp-muted-color: #555555;
	--nlrp-price-color: #111111;
	--nlrp-button-bg: #111111;
	--nlrp-button-color: #ffffff;
	position: relative;
	width: 100%;
}

.nlrp-widget,
.nlrp-widget * {
	box-sizing: border-box;
}

.nlrp-heading {
	margin: 0 0 18px;
	color: #111111;
	font-family: "Roboto Condensed", Arial, sans-serif;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: uppercase;
}

.nlrp-carousel-shell {
	position: relative;
	width: 100%;
}

.nlrp-products {
	width: 100%;
	overflow: hidden;
}

.nlrp-layout-grid .nlrp-products {
	overflow: visible;
}

.nlrp-track {
	display: grid;
	grid-template-columns: repeat(var(--nlrp-active-columns), minmax(0, 1fr));
	gap: var(--nlrp-gap);
}

.nlrp-layout-carousel .nlrp-track {
	display: flex;
	gap: 0;
}

.nlrp-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-width: 0;
	height: auto;
	gap: 15px;
	padding: 0 0 5px;
	background: #ffffff;
	border: 1px solid var(--nlrp-border-color);
	border-radius: var(--nlrp-card-radius);
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.nlrp-card-main {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.nlrp-image-link {
	display: block;
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	text-decoration: none;
}

.nlrp-product-image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 12px;
	transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
	will-change: transform;
}

.nlrp-card-content {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 10px 10px 0;
	min-width: 0;
	text-align: left;
}

.nlrp-product-title {
	margin: 0;
	color: var(--nlrp-title-color);
	font-family: "Roboto Condensed", Arial, sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.18;
	letter-spacing: 0;
}

.nlrp-product-title a {
	color: inherit;
	text-decoration: none;
}

.nlrp-product-title a:hover {
	color: inherit;
	text-decoration: none;
}

.nlrp-product-attribute {
	min-height: 1em;
	margin: -2px 0 0;
	color: var(--nlrp-muted-color);
	font-family: "Roboto Condensed", Arial, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.25;
}

.nlrp-product-price {
	margin: 0;
	color: var(--nlrp-price-color);
	font-family: "Roboto Condensed", Arial, sans-serif;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.25;
}

.nlrp-product-price .price,
.nlrp-product-price p {
	margin: 0;
}

.nlrp-product-price ins {
	background: transparent;
	text-decoration: none;
}

.nlrp-product-price del {
	opacity: 0.55;
	margin-right: 6px;
}

.nlrp-sale-badge {
	position: absolute;
	z-index: 2;
	top: 10px;
	left: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 24px;
	padding: 4px 8px;
	border-radius: 999px;
	background: #111111;
	color: #ffffff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

.nlrp-add-to-cart {
	padding: 0 5px;
}

.nlrp-atc-holder {
	display: flex;
	align-items: stretch;
	gap: 6px;
	width: 100%;
}

.nlrp-add-to-cart .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 38px;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid transparent;
	border-radius: 5px;
	background: var(--nlrp-button-bg);
	color: var(--nlrp-button-color);
	font-family: "Roboto Condensed", Arial, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nlrp-add-to-cart .button:hover,
.nlrp-add-to-cart .button:focus {
	background: #333333;
	color: #ffffff;
	text-decoration: none;
}

.nlrp-quantity {
	display: inline-grid;
	grid-template-columns: 28px 42px 28px;
	align-items: stretch;
	flex: 0 0 auto;
	min-height: 38px;
}

.nlrp-quantity button,
.nlrp-quantity input {
	width: 100%;
	min-width: 0;
	height: 38px;
	margin: 0;
	border: 1px solid #d8d8d8;
	background: #ffffff;
	color: #111111;
	font: inherit;
	line-height: 1;
	text-align: center;
	border-radius: 0;
	box-shadow: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nlrp-quantity button {
	cursor: pointer;
	padding: 0;
	font-weight: 600;
}

.nlrp-quantity .nlrp-qty-minus {
	border-radius: 5px 0 0 5px;
}

.nlrp-quantity .nlrp-qty-plus {
	border-radius: 0 5px 5px 0;
}

.nlrp-quantity input {
	-moz-appearance: textfield;
	border-left: 0;
	border-right: 0;
}

.nlrp-quantity input::-webkit-outer-spin-button,
.nlrp-quantity input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.nlrp-arrow {
	position: absolute;
	z-index: 5;
	top: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #111111;
	font: inherit;
	line-height: 0;
	transform: translateY(-50%);
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
	appearance: none;
	-webkit-appearance: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nlrp-arrow-icon {
	display: block;
	width: 10px;
	height: 10px;
	border-color: currentColor;
	border-style: solid;
	border-width: 2px 2px 0 0;
	pointer-events: none;
}

.nlrp-arrow-prev {
	left: 8px;
}

.nlrp-arrow-prev .nlrp-arrow-icon {
	transform: rotate(-135deg);
}

.nlrp-arrow-next {
	right: 8px;
}

.nlrp-arrow-next .nlrp-arrow-icon {
	transform: rotate(45deg);
}

.nlrp-arrow.swiper-button-disabled {
	opacity: 0.35;
	cursor: default;
}

.nlrp-no-swiper.nlrp-layout-carousel .nlrp-products {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.nlrp-no-swiper.nlrp-layout-carousel .nlrp-products::-webkit-scrollbar {
	display: none;
}

.nlrp-no-swiper.nlrp-layout-carousel .nlrp-product-card {
	flex: 0 0 calc((100% - (var(--nlrp-gap) * (var(--nlrp-active-columns) - 1))) / var(--nlrp-active-columns));
	margin-right: var(--nlrp-gap);
	scroll-snap-align: start;
}

.nlrp-empty {
	padding: 14px;
	border: 1px dashed #cfcfcf;
	border-radius: 8px;
	color: #555555;
	font-size: 14px;
}

@media (max-width: 1024px) {
	.nlrp-widget {
		--nlrp-active-columns: var(--nlrp-columns-tablet);
	}
}

@media (max-width: 767px) {
	.nlrp-widget {
		--nlrp-active-columns: var(--nlrp-columns-mobile);
	}

	.nlrp-product-card {
		gap: 10px;
		padding: 5px;
	}

	.nlrp-card-content {
		padding: 0;
	}

	.nlrp-product-title {
		font-size: 14px;
	}

	.nlrp-product-attribute {
		font-size: 12px;
	}

	.nlrp-product-price {
		font-size: 14px;
	}

	.nlrp-add-to-cart {
		padding: 0;
	}

	.nlrp-atc-holder {
		flex-direction: column;
	}

	.nlrp-add-to-cart .button {
		min-height: 34px;
		font-size: 12px;
	}

	.nlrp-quantity {
		grid-template-columns: 1fr 1.4fr 1fr;
		width: 100%;
	}

	.nlrp-quantity button,
	.nlrp-quantity input {
		height: 34px;
	}

}
