/* =========================================================
   車両詳細ページ
========================================================= */

.bsk-bike-detail {
	background: #f7f7f7;
	padding: 40px 0 80px;
	color: #222;
}

.bsk-bike-detail__inner {
	width: min(1200px, calc(100% - 40px));
	margin: 0 auto;
}

.bsk-bike-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 30px;
	font-size: 14px;
	color: #777;
}

.bsk-bike-breadcrumb a {
	color: #444;
	text-decoration: none;
}

.bsk-bike-breadcrumb a:hover {
	text-decoration: underline;
}

.bsk-bike-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.85fr);
	gap: 40px;
	align-items: start;
	margin-bottom: 45px;
}

.bsk-bike-gallery__main {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	min-height: 430px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 14px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.bsk-bike-gallery__main-image {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 560px;
	object-fit: contain;
}

.bsk-bike-gallery__no-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 430px;
	color: #999;
	font-size: 28px;
	font-weight: 700;
}

.bsk-bike-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
	margin-top: 15px;
}

.bsk-bike-gallery__thumb {
	overflow: hidden;
	padding: 0;
	aspect-ratio: 1.35 / 1;
	background: #fff;
	border: 2px solid transparent;
	border-radius: 8px;
	cursor: pointer;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.bsk-bike-gallery__thumb:hover {
	transform: translateY(-2px);
}

.bsk-bike-gallery__thumb.is-active {
	border-color: #d40000;
}

.bsk-bike-gallery__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bsk-bike-summary {
	padding: 5px 0;
}

.bsk-bike-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 92px;
	margin-bottom: 12px;
	padding: 7px 15px;
	background: #087b39;
	border-radius: 999px;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.bsk-bike-status--sold {
	background: #c90000;
}

.bsk-bike-status--hidden {
	background: #777;
}

.bsk-bike-title {
	margin: 0 0 12px;
	font-size: clamp(34px, 4vw, 50px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: 0.01em;
}

.bsk-bike-rating {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 20px;
	border-bottom: 1px solid #ddd;
}

.bsk-bike-rating__stars {
	color: #f4b400;
	font-size: 22px;
	letter-spacing: 2px;
}

.bsk-bike-rating__text {
	color: #555;
	font-size: 15px;
	font-weight: 600;
}

.bsk-bike-prices {
	padding: 22px 0;
	border-bottom: 1px solid #ddd;
}

.bsk-bike-price-row {
	display: grid;
	grid-template-columns: 145px 1fr;
	align-items: center;
	gap: 20px;
	margin-bottom: 14px;
}

.bsk-bike-price-row:last-child {
	margin-bottom: 0;
}

.bsk-bike-price-row__label {
	font-size: 15px;
	font-weight: 700;
}

.bsk-bike-price-row__label small {
	display: block;
	margin-top: 3px;
	font-size: 12px;
	font-weight: 400;
}

.bsk-bike-price-row__value {
	text-align: right;
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 800;
	line-height: 1.1;
}

.bsk-bike-price-row__value--main {
	color: #d12121;
}

.bsk-bike-spec-list {
	margin-top: 18px;
	border-top: 1px solid #ddd;
}

.bsk-bike-spec-row {
	display: grid;
	grid-template-columns: 135px 1fr;
	border-bottom: 1px solid #ddd;
}

.bsk-bike-spec-row span,
.bsk-bike-spec-row strong {
	padding: 13px 15px;
	font-size: 14px;
}

.bsk-bike-spec-row span {
	background: #f1f1f1;
	font-weight: 700;
}

.bsk-bike-spec-row strong {
	background: #fff;
	font-weight: 500;
}

.bsk-bike-content-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 25px;
	margin-bottom: 35px;
}

.bsk-bike-box,
.bsk-bike-basic,
.bsk-bike-contact {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 12px;
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.04);
}

.bsk-bike-box {
	padding: 28px;
}

.bsk-bike-section-title {
	position: relative;
	margin: 0 0 24px;
	padding: 13px 16px 13px 23px;
	background: linear-gradient(90deg, #f1f1f1, #fff);
	font-size: 22px;
	font-weight: 800;
}

.bsk-bike-section-title::before {
	position: absolute;
	top: 13px;
	bottom: 13px;
	left: 8px;
	width: 3px;
	background: #d60000;
	content: "";
}

.bsk-bike-description {
	font-size: 16px;
	line-height: 2;
}

.bsk-bike-description p:last-child {
	margin-bottom: 0;
}

.bsk-bike-features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: 1px solid #ddd;
	border-left: 1px solid #ddd;
}

.bsk-bike-feature {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 62px;
	padding: 14px;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	font-size: 14px;
	font-weight: 700;
}

.bsk-bike-feature__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	background: #111;
	border-radius: 50%;
	color: #fff;
	font-size: 14px;
}

.bsk-bike-empty {
	color: #777;
}

.bsk-bike-contact {
	margin-bottom: 35px;
	padding: 30px;
}

.bsk-bike-contact__text h2 {
	margin: 0 0 8px;
	font-size: 27px;
	font-weight: 800;
}

.bsk-bike-contact__text p {
	margin: 0 0 24px;
	color: #555;
}

.bsk-bike-contact__actions {
	display: grid;
	grid-template-columns: 1.3fr 0.8fr;
	gap: 28px;
	align-items: center;
}

.bsk-bike-contact__button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	min-height: 70px;
	padding: 18px 30px;
	background: linear-gradient(135deg, #ec2424, #c90000);
	border-radius: 9px;
	box-shadow: 0 7px 20px rgba(210, 0, 0, 0.22);
	color: #fff;
	font-size: 20px;
	font-weight: 800;
	text-decoration: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.bsk-bike-contact__button:hover {
	color: #fff;
	opacity: 0.9;
	transform: translateY(-2px);
}

.bsk-bike-contact__button span {
	font-size: 30px;
	line-height: 1;
}

.bsk-bike-contact__phone {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-left: 28px;
	border-left: 1px solid #ddd;
}

.bsk-bike-contact__phone span {
	font-size: 14px;
	font-weight: 700;
}

.bsk-bike-contact__phone strong {
	font-size: clamp(26px, 3vw, 38px);
	line-height: 1.2;
}

.bsk-bike-contact__phone small {
	color: #555;
	font-size: 13px;
}

.bsk-bike-basic {
	padding: 28px;
}

.bsk-bike-basic__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	overflow: hidden;
	background: #ddd;
	border: 1px solid #ddd;
}

.bsk-bike-basic__item {
	display: grid;
	grid-template-columns: 110px 1fr;
	min-height: 56px;
	background: #fff;
}

.bsk-bike-basic__item span,
.bsk-bike-basic__item strong {
	display: flex;
	align-items: center;
	padding: 12px;
	font-size: 14px;
}

.bsk-bike-basic__item span {
	background: #f1f1f1;
	font-weight: 700;
}

.bsk-bike-basic__item strong {
	font-weight: 500;
}

/* タブレット */
@media (max-width: 980px) {

	.bsk-bike-hero {
		grid-template-columns: 1fr;
	}

	.bsk-bike-content-grid {
		grid-template-columns: 1fr;
	}

	.bsk-bike-contact__actions {
		grid-template-columns: 1fr;
	}

	.bsk-bike-contact__phone {
		padding-top: 20px;
		padding-left: 0;
		border-top: 1px solid #ddd;
		border-left: 0;
	}

	.bsk-bike-basic__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* スマートフォン */
@media (max-width: 600px) {

	.bsk-bike-detail {
		padding: 24px 0 55px;
	}

	.bsk-bike-detail__inner {
		width: min(100% - 24px, 1200px);
	}

	.bsk-bike-hero {
		gap: 25px;
	}

	.bsk-bike-gallery__main {
		min-height: 260px;
	}

	.bsk-bike-gallery__main-image {
		max-height: 360px;
	}

	.bsk-bike-gallery__thumbs {
		grid-template-columns: repeat(4, 1fr);
	}

	.bsk-bike-title {
		font-size: 32px;
	}

	.bsk-bike-price-row {
		grid-template-columns: 115px 1fr;
		gap: 10px;
	}

	.bsk-bike-price-row__value {
		font-size: 27px;
	}

	.bsk-bike-spec-row {
		grid-template-columns: 105px 1fr;
	}

	.bsk-bike-spec-row span,
	.bsk-bike-spec-row strong {
		padding: 12px 10px;
	}

	.bsk-bike-box,
	.bsk-bike-basic,
	.bsk-bike-contact {
		padding: 18px;
	}

	.bsk-bike-features {
		grid-template-columns: 1fr;
	}

	.bsk-bike-contact__button {
		padding: 16px;
		font-size: 17px;
	}

	.bsk-bike-basic__grid {
		grid-template-columns: 1fr;
	}

	.bsk-bike-basic__item {
		grid-template-columns: 100px 1fr;
	}
}
