html,
body {
	overflow-x: hidden;
}

.used-page {
	max-width: 1300px;
	margin: 0 auto;
	color: #0f172a;
}

.range-hero {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	height: 200px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #ffffff;
	margin-bottom: 40px;
}

.range-hero-bg {
	position: absolute;
	inset: 0;
	background-image: url("../Pictures/newused/Feature.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	filter: brightness(0.5);
	transform: scale(1.05);
}

.range-hero-content {
	position: relative;
	max-width: 900px;
	padding: 20px 16px;
}

.range-hero-content h1 {
	font-size: 36px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.range-hero-content p {
	font-size: 15px;
	line-height: 1.7;
	margin: 0;
}

@media (max-width: 700px) {
	.range-hero {
		height: 250px;
	}

	.range-hero-content h1 {
		font-size: 26px;
		letter-spacing: 0.12em;
	}

	.range-hero-content p {
		font-size: 14px;
	}
}

.used-btn {
	display: inline-block;
	padding: 12px 26px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	border-radius: 999px;
	border: 1px solid #2f7fdc;
	background: #2f7fdc;
	color: #ffffff;
	transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.used-btn:hover {
	background: #1f5fb0;
	transform: translateY(-2px);
}

.used-stock-section {
	max-width: 1200px;
	margin: 0 auto 70px;
	padding: 3vw;
}

.used-stock-header {
	text-align: center;
	margin-bottom: 24px;
}

.used-stock-header h2 {
	font-size: 20px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #111827;
	margin-bottom: 8px;
}

.used-stock-header p {
	font-size: 14px;
	color: #6b7280;
	max-width: 700px;
	margin: 0 auto;
	line-height: 1.6;
}

.used-boat {
	display: flex;
	gap: 24px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
	padding: 20px;
	margin-bottom: 28px;
}

.used-media {
	position: relative;
	width: 40%;
	border-radius: 14px;
	overflow: hidden;
	aspect-ratio: 16/10;
}

.used-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.img-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.55);
	border: none;
	color: #fff;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	cursor: pointer;
}

.img-btn.prev {
	left: 10px;
}

.img-btn.next {
	right: 10px;
}

.used-info {
	flex: 1;
}

.used-info h3 {
	margin-bottom: 6px;
}


.used-snippet {
	margin-bottom: 14px;
	line-height: 1.6;
}

.view-more {
	background: #2f7fdc;
	color: #fff;
	border: none;
	padding: 10px 18px;
	border-radius: 999px;
	font-weight: 700;
	cursor: pointer;
}

.boat-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.boat-modal.show {
	display: flex;
}

.modal-content {
	background: #fff;
	max-width: 900px;
	width: 90%;
	max-height: 90vh;
	overflow: auto;
	border-radius: 16px;
	padding: 20px;
}

.modal-content img {
	width: 100%;
	border-radius: 12px;
}

#modalThumbs {
	display: flex;
	gap: 10px;
	margin: 12px 0;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 6px;
}

#modalThumbs img {
	flex: 0 0 auto;
	width: 70px;
	height: 50px;
	object-fit: cover;
	cursor: pointer;
	border: 2px solid transparent;
	border-radius: 6px;
}

#modalThumbs img.active {
	border-color: #111;
}

.close {
	float: right;
	font-size: 28px;
	border: none;
	background: none;
	cursor: pointer;
}

@media(max-width:700px) {
	.used-boat {
		flex-direction: column;
	}

	.used-media {
		width: 100%;
	}

	.modal-content {
		width: 95%;
	}
}


.used-page section {
	margin: 0;
}

.used-page>section:nth-of-type(2) {
	display: flex;
	justify-content: center;
	padding: 0 16px 24px;
}

.used-stock-section {
	margin: 0 auto 28px;
	padding: 16px 3vw;
}

.used-stock-header {
	margin-bottom: 14px;
}

.used-info h3 {
	margin: 0 0 6px;
}

.used-snippet {
	margin: 0 0 14px;
}

.used-info {
	display: flex;
	flex-direction: column;
}

.view-more {
	margin-top: auto;
}

#modalMain {
	width: 100%;
	max-height: 60vh;
	object-fit: contain;
	background: #000;
}

.used-features {
	list-style: disc;
	list-style-position: outside;
	padding-left: 20px;
	margin: 10px 0 16px;
}

.used-features li {
	position: static;
	padding-left: 0;
}

.used-features li::before {
	content: none;
}

.used-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 10px;
}

.used-status {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
}

.used-status.in-stock {
	background: #2f7fdc;
}

.used-status.sold {
	background: #dc2626;
}

.used-price {
	font-size: 20px;
	font-weight: 900;
	letter-spacing: 0.02em;
	color: #111827;
	white-space: nowrap;
}


.used-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.used-title {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.2;
}

.used-meta {
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
}

.used-price {
	font-size: 18px;
	font-weight: 900;
	padding: 4px 10px;
	border-radius: 2px;
	white-space: nowrap;
}

.used-price.in-stock {
	background: #555555;
	color: #fff;
}

.used-price.sold {
	background: #dc2626;
	color: #fff;
}

.used-load-more-wrap {
	display: flex;
	justify-content: center;
	padding: 12px 0 32px;
}

.used-load-more {
	background: #2f7fdc;
	color: #fff;
	border: none;
	padding: 12px 26px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
}

.used-load-more:hover {
	background: #1f5fb0;
	transform: translateY(-2px);
}