/**
 * Homepage «Выгодные предложения по аренде» — modern cards (aligned with rent-hub).
 */
.specteh-offers {
	--so-orange: #ff8311;
	--so-orange-hover: #f67300;
	--so-text: #1a1a1a;
	--so-muted: #6b7280;
	--so-border: #e5e7eb;
	--so-bg: #f5f9ff;
	--so-card: #fff;
	--so-radius: 14px;
	font-family: Manrope, "Segoe UI", sans-serif;
}

body.home .moduletable.fullbg.mod_newslidesc.ntts,
body.home .moduletable.fullbg.ntts,
.moduletable.fullbg.ntts {
	background: var(--so-bg, #f5f9ff);
}

.specteh-offers__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 28px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}

.specteh-offers__title,
.ntts .specteh-offers__title.h2,
.specteh-offers .h2.specteh-offers__title {
	margin: 0;
	max-width: 18ch;
	font-family: Manrope, "Segoe UI", sans-serif;
	font-style: normal;
	font-weight: 800;
	font-size: clamp(1.75rem, 2.4vw, 2.5rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-transform: none;
	color: var(--so-text);
}

.specteh-offers__nav.newnav.st2 {
	position: static;
	display: flex;
	align-items: center;
	margin: 0;
	min-height: 0;
}

.specteh-offers__nav .nav {
	display: flex;
	gap: 10px;
	align-items: center;
}

/* Compact arrows — одна рамка, без SVG «окно в окне» */
.mod_newslidesc.ntts .specteh-offers__nav .owl-prev,
.mod_newslidesc.ntts .specteh-offers__nav .owl-next,
.specteh-offers__nav .owl-prev,
.specteh-offers__nav .owl-next {
	position: static !important;
	left: auto !important;
	right: auto !important;
	top: auto !important;
	bottom: auto !important;
	width: 44px !important;
	height: 44px !important;
	margin: 0;
	padding: 0;
	border: 1.5px solid var(--so-orange);
	border-radius: 12px;
	background: #fff !important;
	cursor: pointer;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	box-shadow: none !important;
	outline: none !important;
}

.mod_newslidesc.ntts .specteh-offers__nav .owl-prev:before,
.mod_newslidesc.ntts .specteh-offers__nav .owl-next:before,
.specteh-offers__nav .owl-prev:before,
.specteh-offers__nav .owl-next:before {
	content: "" !important;
	position: static !important;
	left: auto !important;
	right: auto !important;
	top: auto !important;
	display: block !important;
	width: 9px !important;
	height: 9px !important;
	border: none !important;
	border-radius: 0 !important;
	background: none !important;
	background-image: none !important;
	box-shadow: none !important;
	font-size: 0 !important;
	line-height: 0 !important;
	border-top: 2px solid var(--so-orange) !important;
	border-left: 2px solid var(--so-orange) !important;
	transform: rotate(-45deg);
}

.mod_newslidesc.ntts .specteh-offers__nav .owl-next:before,
.specteh-offers__nav .owl-next:before {
	transform: rotate(135deg);
	background: none !important;
	background-image: none !important;
}

.specteh-offers__nav .owl-prev:hover,
.specteh-offers__nav .owl-next:hover {
	background: #fff7ed !important;
	border-color: var(--so-orange-hover);
}

.specteh-offers__nav .owl-prev span,
.specteh-offers__nav .owl-next span {
	display: none !important;
}

.specteh-offers__slider.owl-carousel {
	display: block;
}

.specteh-offers__card.product-container.item,
.mod_newslidesc.ntts .specteh-offers__card.product-container.item {
	display: flex !important;
	flex-direction: column;
	height: 100%;
	margin: 0;
	padding: 0;
	background: var(--so-card);
	border: 1px solid var(--so-border);
	border-radius: var(--so-radius);
	overflow: hidden;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.specteh-offers__card.product-container.item:hover {
	border-color: #fdba74;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.specteh-offers__media {
	display: block;
	aspect-ratio: 4 / 3;
	background: #f3f4f6;
	overflow: hidden;
}

.specteh-offers__img,
.specteh-offers__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0 !important;
}

.specteh-offers__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1 1 auto;
	padding: 16px 16px 18px;
	min-height: 0;
}

.specteh-offers__name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--so-text) !important;
	text-decoration: none !important;
}

.specteh-offers__name:hover {
	color: var(--so-orange) !important;
}

.specteh-offers__desc {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.45;
	color: var(--so-muted);
}

.specteh-offers__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 6px;
}

.specteh-offers__price {
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.2;
	color: var(--so-text);
	letter-spacing: -0.01em;
}

.specteh-offers__price-unit {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--so-muted);
}

.specteh-offers__price--muted {
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--so-muted);
}

.specteh-offers__btn {
	flex: 0 0 auto;
	box-sizing: border-box;
	min-height: 42px;
	height: 42px;
	padding: 0 16px;
	border: 1.5px solid #86efac;
	border-radius: 10px;
	background: transparent;
	color: #15803d !important;
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 42px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	transform: none;
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
}

.specteh-offers__btn:hover,
.specteh-offers__btn:focus,
.specteh-offers__card:hover .specteh-offers__btn,
.mod_newslidesc.ntts .specteh-offers__card:hover .specteh-offers__btn,
.mod_newslidesc .specteh-offers .product-container.item:hover .specteh-offers__btn {
	background: #dcfce7 !important;
	color: #166534 !important;
	opacity: 1 !important;
	display: inline-flex !important;
	min-height: 42px !important;
	height: 42px !important;
	padding: 0 16px !important;
	margin: 0 !important;
	line-height: 42px !important;
	transform: none !important;
	border: 1.5px solid #4ade80 !important;
	width: auto !important;
}

/* Kill legacy absolute arrows / hover hide / margin jump inside offers */
.mod_newslidesc.ntts .specteh-offers .owl-prev,
.mod_newslidesc.ntts .specteh-offers .owl-next {
	transform: none !important;
}

.mod_newslidesc.ntts .specteh-offers__card.product-container.item,
.mod_newslidesc.ntts .specteh-offers__card.product-container.item:hover,
.mod_newslidesc.ntts .specteh-offers .product-container.item,
.mod_newslidesc.ntts .specteh-offers .product-container.item:hover {
	margin-bottom: 0 !important;
}

.mod_newslidesc.ntts .specteh-offers__card .poptechdesc,
.mod_newslidesc.ntts .specteh-offers__card .prnm_blk,
.mod_newslidesc.ntts .specteh-offers__card .nameblock_new {
	display: contents;
}

.mod_newslidesc.ntts .specteh-offers .product-container.item:hover .btn {
	display: none !important;
}

@media (max-width: 991.98px) {
	.specteh-offers__head {
		margin-bottom: 20px;
	}

	.specteh-offers__title,
	.ntts .specteh-offers__title.h2 {
		max-width: none;
	}
}

@media (max-width: 575.98px) {
	.specteh-offers__nav .owl-prev,
	.specteh-offers__nav .owl-next,
	.mod_newslidesc.ntts .specteh-offers__nav .owl-prev,
	.mod_newslidesc.ntts .specteh-offers__nav .owl-next {
		width: 42px !important;
		height: 42px !important;
	}

	.specteh-offers__body {
		padding: 14px;
	}

	.specteh-offers__meta {
		flex-wrap: wrap;
	}

	.specteh-offers__btn {
		width: 100%;
	}
}
