/* Catalog ship cards on /rental_ferry/ (and other teplohod-index lists) */

.order__wrap > li.bft-card {
	overflow: hidden;
	border-radius: 14px;
	border: 1px solid #d5e2ec;
	background: #fff;
	box-shadow: 0 8px 22px rgba(15, 58, 110, 0.10);
	display: flex !important;
	flex-direction: column;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.order__wrap > li.bft-card:hover {
	box-shadow: 0 14px 28px rgba(15, 58, 110, 0.16);
	transform: translateY(-2px);
}

.bft-card .gallery-image-preview,
.bft-card .gallery-image-preview a,
.bft-card .order__block {
	width: 100%;
	max-width: none;
	height: auto;
}

.bft-card .gallery-image-preview {
	touch-action: pan-y;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	min-height: 0;
	aspect-ratio: 315 / 210;
}

.bft-card .gallery-image-preview a {
	height: 100%;
}

.bft-card .gallery-image-preview.is-dragging {
	cursor: grabbing;
}

.bft-card .gallery-image-preview.is-dragging a {
	pointer-events: none;
}

.bft-card .gallery-image-preview img,
.order__wrap > li.bft-card img {
	width: 100% !important;
	height: 100% !important;
	max-height: none;
	object-fit: cover;
}

.bft-card .gallery-image-preview .left,
.bft-card .gallery-image-preview .right {
	z-index: 4;
	width: 34px;
	height: 34px;
	opacity: 0.78;
	background: rgba(15, 58, 110, 0.78);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.bft-card .gallery-image-preview .data-gallery {
	z-index: 4;
	opacity: 0.85;
	min-width: 52px;
	width: auto;
	padding: 0 8px;
}

.bft-card .gallery-image-preview:hover .left,
.bft-card .gallery-image-preview:hover .right,
.bft-card .gallery-image-preview:hover .data-gallery {
	opacity: 1;
}

.bft-card__3d {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 6;
	margin: 0 !important;
	padding: 7px 10px;
	border-radius: 8px;
	background: rgba(11, 32, 58, 0.88);
	color: #fff !important;
	font-style: normal !important;
	font-size: 13px;
	line-height: 1;
	text-decoration: none !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.bft-card__3d b {
	color: #ffcc00 !important;
	font-size: 15px;
	text-shadow: none;
	margin-right: 2px;
}

.bft-card__3d:hover {
	background: #0f3a6e;
	color: #fff !important;
}

.bft-card .order__block {
	background: #fff;
	padding: 14px 14px 16px;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	height: auto !important;
}

.bft-card .text-name {
	text-align: left !important;
	font-size: 17px;
	line-height: 1.3;
	margin: 0 0 6px;
}

.bft-card .text-name a {
	color: #0f3a6e;
	text-decoration: none;
}

.bft-card .text-name a:hover {
	color: #1569a5;
}

.bft-card__meta {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 12px;
}

.bft-card .price {
	text-align: left !important;
	margin: 0;
	color: #1569a5;
	font-weight: 700;
	font-size: 15px;
}

.bft-card__qty {
	margin: 0;
	color: #5a6b7a;
	font-size: 13px;
	white-space: nowrap;
}

.bft-card .order-btn {
	width: 100%;
	margin: auto 0 0;
	border-radius: 10px;
	padding: 10px 0;
	background: #0f6cb2;
}

.bft-card .order-btn:hover {
	background: #0c5a96;
	color: #fff;
}

.bft-card .cat_action {
	z-index: 5;
	margin-top: 12px;
}

@media screen and (max-width: 720px) {
	.order__wrap > li.bft-card {
		transform: none;
	}

	.bft-card .gallery-image-preview .left,
	.bft-card .gallery-image-preview .right,
	.bft-card .gallery-image-preview .data-gallery {
		opacity: 1;
	}

	.bft-card .gallery-image-preview img {
		object-fit: cover;
	}
}
