.dtps,
.dtps *,
.dtps *::before,
.dtps *::after {
	box-sizing: border-box;
}

.dtps {
	--dtps-gap: 22px;
	--dtps-card-width: 210px;
	--dtps-speed: 520ms;
	--dtps-active-card-y: -14px;
	--dtps-active-card-scale: 1.08;
	--dtps-card-hover-y: 0px;
	--dtps-card-hover-scale: 1;
	--dtps-eye-hover-scale: 1.08;
	position: relative;
	width: 100%;
	min-width: 0;
	color: #002b66;
}

.dtps-shell {
	position: relative;
	min-width: 0;
	padding: 18px 58px 24px;
}

.dtps-viewport {
	width: 100%;
	min-width: 0;
	overflow-x: hidden;
	overflow-y: visible;
	cursor: grab;
	touch-action: pan-y;
}

.dtps-viewport.is-dragging {
	cursor: grabbing;
}

.dtps-track {
	display: flex;
	align-items: stretch;
	gap: var(--dtps-gap);
	width: max-content;
	min-width: 100%;
	padding: 34px 0 28px;
	transform: translate3d(0, 0, 0);
	transition: transform var(--dtps-speed) cubic-bezier(.16, 1, .3, 1);
	will-change: transform;
}

.dtps-track.is-dragging {
	transition-duration: 0ms;
}

.dtps-item {
	flex: 0 0 var(--dtps-card-width);
	width: var(--dtps-card-width);
	min-width: 0;
	transition: transform .28s cubic-bezier(.16, 1, .3, 1), opacity .22s ease;
}

.dtps-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 276px;
	min-width: 0;
	padding: 12px 12px 14px;
	overflow: visible;
	border: 1px solid rgba(215, 180, 107, .34);
	border-radius: 18px;
	background: #fffaf3;
	box-shadow: 0 12px 32px rgba(0, 43, 102, .08);
	cursor: pointer;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease, transform .2s ease;
}

.dtps-card:hover {
	z-index: 1;
	background: #fff;
	box-shadow: 0 12px 32px rgba(0, 43, 102, .08);
	transform: translateY(var(--dtps-card-hover-y)) scale(var(--dtps-card-hover-scale));
}

.dtps-item.is-active .dtps-card {
	z-index: 4;
	border-color: #d7b46b;
	box-shadow: none;
	transform: translateY(var(--dtps-active-card-y)) scale(var(--dtps-active-card-scale));
}

.dtps-item.is-active .dtps-card:hover {
	transform: translateY(var(--dtps-active-card-y)) scale(var(--dtps-active-card-scale));
}

.dtps-image {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 160px;
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.dtps-image-border-no .dtps-image {
	border-width: 0;
}

.dtps-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	pointer-events: none;
	transition: transform .35s ease;
}

.dtps-card:hover .dtps-image img {
	transform: none;
}

.dtps-item.is-active .dtps-card:hover .dtps-image img {
	transform: scale(1.04);
}

.dtps-info {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	padding-top: 12px;
}

.dtps-title {
	display: block;
	width: 100%;
	min-width: 0;
	margin: 0 0 8px;
	overflow: hidden;
	color: #002b66;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dtps-meta {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	align-items: flex-end;
	justify-content: center;
	gap: 0;
	min-height: 38px;
	min-width: 0;
	padding-right: 0;
}

.dtps-gram {
	align-self: flex-end;
	display: block;
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	color: #c99f4a;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
}

.dtps-eye,
.dtps-arrow,
.dtps-modal-close {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	font: inherit;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.dtps-eye {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 20;
	width: 48px;
	height: 48px;
	min-width: 48px;
	min-height: 48px;
	padding: 14px;
	border: 1px solid rgba(215, 180, 107, .6);
	border-radius: 50%;
	color: #d7b46b;
	background: #002b66;
	box-shadow: 0 4px 14px rgba(0, 43, 102, .2);
	opacity: 0;
	visibility: hidden;
	transform: scale(.92);
	pointer-events: auto;
	transition: opacity .18s ease, visibility .18s ease, transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}

.dtps-card:hover .dtps-eye,
.dtps-eye:focus-visible,
.dtps-eye-always .dtps-eye {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
}

.dtps-eye:hover,
.dtps-eye:focus-visible {
	color: #002b66;
	background: #d7b46b;
	border-color: #d7b46b;
	outline: 0;
	transform: scale(var(--dtps-eye-hover-scale));
}

.dtps-eye i,
.dtps-eye svg,
.dtps-eye > span,
.dtps-eye > span > i,
.dtps-eye > span > svg,
.dtps-arrow i,
.dtps-arrow svg,
.dtps-arrow > span,
.dtps-arrow > span > i,
.dtps-arrow > span > svg {
	display: block;
	color: currentColor;
	fill: currentColor;
	stroke: currentColor;
	line-height: 1;
}

.dtps-eye i,
.dtps-eye > span > i,
.dtps-arrow i,
.dtps-arrow > span > i {
	font-size: 15px;
}

.dtps-eye svg,
.dtps-eye > span > svg,
.dtps-arrow svg,
.dtps-arrow > span > svg {
	width: 15px;
	height: 15px;
}

.dtps-arrow {
	position: absolute;
	top: 50%;
	z-index: 8;
	width: 54px;
	height: 54px;
	min-width: 54px;
	min-height: 54px;
	padding: 16px;
	border: 1px solid rgba(215, 180, 107, .5);
	border-radius: 50%;
	color: #d7b46b;
	background: #002b66;
	box-shadow: 0 8px 24px rgba(0, 43, 102, .18);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-50%) scale(.88);
	transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

.dtps-shell:hover .dtps-arrow,
.dtps:focus-within .dtps-arrow,
.dtps-arrows-always .dtps-arrow {
	opacity: 1;
	visibility: visible;
	transform: translateY(-50%) scale(1);
}

.dtps-arrow:hover,
.dtps-arrow:focus-visible {
	color: #002b66;
	background: #d7b46b;
	border-color: #d7b46b;
	outline: 0;
	transform: translateY(-50%) scale(1.08);
}

.dtps-arrow.is-disabled {
	opacity: .24;
	pointer-events: none;
}

.dtps-prev {
	left: 8px;
}

.dtps-next {
	right: 8px;
}

.dtps-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(0, 24, 56, .45);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .22s ease, visibility .22s ease;
}

.dtps-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.dtps-modal-card {
	--dtps-popup-image-size: 340px;
	position: relative;
	display: grid;
	grid-template-columns: minmax(220px, var(--dtps-popup-image-size)) minmax(0, 1fr);
	gap: 38px;
	width: min(860px, calc(100vw - 40px));
	max-width: 100%;
	padding: 34px;
	border: 1px solid rgba(215, 180, 107, .2);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 28px 80px rgba(0, 24, 56, .18);
	transform: translateY(14px) scale(.97);
	transition: transform .25s cubic-bezier(.16, 1, .3, 1);
}

.dtps-modal.is-open .dtps-modal-card {
	transform: translateY(0) scale(1);
}

.dtps-modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	color: rgba(0, 43, 102, .42);
	background: transparent;
	font-size: 22px;
	font-weight: 400;
}

.dtps-modal-close:hover,
.dtps-modal-close:focus-visible {
	color: #002b66;
	background: rgba(0, 43, 102, .06);
	outline: 0;
}

.dtps-modal-image {
	width: var(--dtps-popup-image-size);
	height: var(--dtps-popup-image-size);
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: transparent;
	align-self: start;
}

.dtps-modal-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
}

.dtps-modal.has-no-image .dtps-modal-card {
	grid-template-columns: minmax(0, 1fr);
}

.dtps-modal.has-no-image .dtps-modal-image {
	display: none;
}

.dtps-modal-content {
	min-width: 0;
	padding: 0 36px 0 0;
	text-align: left;
}

.dtps-modal-content h3 {
	margin: 0 0 14px;
	color: #4b4b4b;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0;
}

.dtps-modal-title-line {
	display: block;
	width: 38px;
	height: 4px;
	margin: 0 0 22px;
	background: #e3e3e3;
}

.dtps-modal-gram {
	margin-bottom: 26px;
	color: #555;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.45;
}

.dtps-modal-category {
	padding-top: 12px;
	border-top: 1px dotted rgba(0, 43, 102, .2);
	color: #555;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
}

.dtps-modal-category span {
	color: #002b66;
	font-weight: 700;
}

.dtps-divider {
	position: relative;
	height: 1px;
	margin: 22px 0 18px;
	background: rgba(0, 43, 102, .08);
}

.dtps-modal-description {
	margin: 0;
	padding: 18px 20px;
	border-left: 3px solid #d7b46b;
	border-radius: 0 12px 12px 0;
	color: rgba(0, 43, 102, .74);
	background: rgba(215, 180, 107, .08);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.7;
	letter-spacing: 0;
}

.dtps-modal-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	appearance: none;
	padding: 10px 22px;
	border: 1px solid #002b66;
	border-radius: 999px;
	color: #fff;
	background: #002b66;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(0, 43, 102, .18);
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.dtps-modal-button:hover,
.dtps-modal-button:focus-visible {
	color: #002b66;
	background: #d7b46b;
	border-color: #d7b46b;
	outline: 0;
	transform: translateY(-2px);
}

html.dtps-modal-open {
	overflow: hidden;
}

@media (max-width: 767px) {
	.dtps-shell {
		padding-right: 0;
		padding-left: 0;
	}

	.dtps-arrow {
		display: none;
	}

	.dtps-modal {
		align-items: flex-end;
		padding: 16px;
	}

	.dtps-modal-card {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
		width: 100%;
		padding: 22px;
	}

	.dtps-modal-image {
		width: 100%;
		height: min(var(--dtps-popup-image-size), 42vh);
	}

	.dtps-modal-content {
		padding-right: 28px;
	}

	.dtps-modal-content h3 {
		font-size: 24px;
	}

	.dtps-modal-gram {
		margin-bottom: 18px;
		font-size: 16px;
	}
}

@media (max-width: 430px) {
	.dtps-modal-card {
		grid-template-columns: minmax(0, 1fr);
	}

	.dtps-modal-image {
		width: 100%;
		height: min(var(--dtps-popup-image-size), 36vh);
	}

	.dtps-modal-content {
		padding-right: 0;
	}

	.dtps-modal-content h3 {
		font-size: 22px;
	}

	.dtps-modal-description {
		padding: 14px 16px;
		font-size: 13px;
	}

	.dtps-modal-button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dtps-track,
	.dtps-item,
	.dtps-card,
	.dtps-modal,
	.dtps-modal-card,
	.dtps-image img {
		transition-duration: .01ms;
	}
}
