.product-main {
	padding: calc(var(--header-h) + var(--banner-h) + 40px) clamp(20px, 4vw, 56px) 0;
	max-width: 1400px;
	margin: 0 auto;
}

.breadcrumb {
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ink-soft);
	display: block;
	margin-bottom: 40px;
}

.breadcrumb a {
	text-decoration: none;
	color: var(--ink-soft);
}

.breadcrumb a:hover {
	color: var(--accent);
}

.product-top {
	display: flex;
	gap: 70px;
}

/* gallery */
.gallery {
	flex: 1.15 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.gallery-main {
	aspect-ratio: 1/1;
	background: var(--paper-soft);
	overflow: hidden;
	position: relative;
}

.gallery-main img,
.gallery-main video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.gallery-thumbs button {
	flex: 0 1 calc((100% - 10px * 5) / 6);
	min-width: 0;
	padding: 0;
	border: 2px solid transparent;
	background: var(--paper-soft);
	aspect-ratio: 1/1;
	overflow: hidden;
	cursor: pointer;
	position: relative;
}

.gallery-thumbs button img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gallery-thumbs button.is-active {
	border-color: var(--accent);
}

.gallery-thumbs button:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: -4px;
}

.gallery-thumbs button.is-video::after {
	content: '\25B6';
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: rgba(0,0,0,.25);
	font-size: 12px;
}

/* info panel */
.product-info {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.product-info .badge {
	align-self: flex-start;
	background: var(--accent);
	color: #fff;
	font-size: 11px;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 6px 12px;
}

.product-info h1 {
	font-size: clamp(30px, 3.4vw, 42px);
}

.product-info .subtitle {
	color: var(--ink-soft);
	font-size: 15px;
}

.product-info .price {
	font-family: var(--font-display);
	font-size: 32px;
}

.product-info .price-note {
	font-size: 13px;
	color: var(--ink-soft);
	max-width: 52ch;
}

.product-info .btn {
	width: 100%;
	justify-content: center;
	padding: 18px;
}

.spec-table {
	display: flex;
	flex-direction: column;
	gap: 0;
	border-top: 1px solid var(--line);
}

.spec-row {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	font-size: 14px;
}

.spec-row dt {
	color: var(--ink-soft);
	min-width: 130px;
}

.spec-row dd {
	margin: 0;
	text-align: right;
}

.delivery-note {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 14px;
	color: var(--ink-soft);
}

.delivery-note strong {
	color: var(--ink);
}

/* description */
.product-description {
	max-width: 900px;
	margin: 110px auto 130px;
	padding: 0 clamp(20px, 4vw, 56px);
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.product-description h2 {
	font-size: 30px;
}

.product-description p {
	color: var(--ink-soft);
	font-size: 16px;
}

#product-description-body {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

@media (max-width: 900px) {
	.product-top {
		flex-direction: column;
		gap: 34px;
	}
	.gallery,
	.product-info {
		flex: none;
		width: 100%;
	}
	.gallery-thumbs button {
		flex-basis: calc((100% - 10px * 4) / 5);
	}
}

@media (max-width: 340px) {
	.spec-row dt {
		min-width: 90px;
	}
}