.tbv-wine-single {
	font-family: var(--tbv-font-body);
	color: var(--tbv-color-fg);
	padding: 32px var(--tbv-gutter-mobile) 48px;
}

.tbv-wine-single__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

/* --- Bottle (mobile reorders first) --- */
.tbv-wine-single__bottle {
	position: relative;
	order: 1;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 260px;
}

.tbv-wine-single__bottle img {
	display: block;
	max-width: 100%;
	max-height: 320px;
	width: auto;
	height: auto;
	object-fit: contain;
}

/* --- Mobile prev/next arrow chips over the bottle --- */
.tbv-wine-single__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--tbv-color-bg);
	border: 1px solid var(--tbv-color-line);
	border-radius: 50%;
	color: var(--tbv-color-fg);
	text-decoration: none;
	font-size: 14px;
	line-height: 1;
	transition: background 0.2s ease;
}

.tbv-wine-single__nav:hover,
.tbv-wine-single__nav:focus-visible {
	background: var(--tbv-color-fg);
	color: var(--tbv-color-bg);
}

.tbv-wine-single__nav--prev {
	left: 8px;
}

.tbv-wine-single__nav--next {
	right: 8px;
}

/* --- Sidebar (hidden on mobile) --- */
.tbv-wine-single__sidebar {
	order: 4;
	display: none;
}

.tbv-wine-single__sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.tbv-wine-single__sidebar a {
	color: var(--tbv-color-muted);
	text-decoration: none;
	font-size: 18px;
	line-height: 1.2;
	transition: color 0.2s ease;
}

.tbv-wine-single__sidebar a:hover,
.tbv-wine-single__sidebar a:focus-visible {
	color: var(--tbv-color-fg);
}

.tbv-wine-single__sidebar li.is-current a,
.tbv-wine-single__sidebar a[aria-current="page"] {
	color: var(--tbv-color-fg);
	font-weight: 500;
	position: relative;
}

.tbv-wine-single__sidebar li.is-current a::before {
	content: "";
	position: absolute;
	left: -16px;
	top: 50%;
	width: 8px;
	height: 1px;
	background: var(--tbv-color-fg);
}

/* --- Details --- */
.tbv-wine-single__details {
	order: 2;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.tbv-wine-single__heading {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.tbv-wine-single__name {
	font-family: var(--tbv-font-body);
	font-size: 14px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--tbv-color-muted);
	margin: 0;
}

.tbv-wine-single__subtitle {
	font-family: var(--tbv-font-display);
	font-weight: 400;
	font-size: 28px;
	line-height: 1.15;
	margin: 0;
	letter-spacing: 0.01em;
}

.tbv-wine-single__vintage {
	font-size: 14px;
	color: var(--tbv-color-muted);
	margin: 0;
}

.tbv-wine-single__cta,
.tbv-wine-single__cta:hover,
.tbv-wine-single__cta:focus,
.tbv-wine-single__cta:focus-visible,
.tbv-wine-single__cta:active,
.tbv-wine-single__cta:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	min-height: 50px;
	background: var(--tbv-color-footer-bg);
	color: var(--tbv-color-footer-fg);
	text-decoration: none;
	font-family: var(--tbv-font-display);
	font-size: 14px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	padding: 12px 24px;
}

.tbv-wine-single__description {
	font-size: 14px;
	line-height: 1.7;
	color: var(--tbv-color-fg);
	margin: 0;
}

.tbv-wine-single__tasting h2,
.tbv-wine-single__technical h2 {
	font-family: var(--tbv-font-display);
	font-weight: 400;
	font-size: 20px;
	line-height: 1.2;
	margin: 0 0 12px;
	letter-spacing: 0.02em;
}

.tbv-wine-single__tasting p,
.tbv-wine-single__technical div {
	font-size: 13px;
	line-height: 1.6;
	margin: 0;
}

.tbv-wine-single__hero {
	order: 3;
	margin: 32px 0 0;
}

.tbv-wine-single__hero img {
	display: block;
	width: 100%;
	height: 426px;
	object-fit: cover;
	border-radius: var(--tbv-radius-card);
}

.tbv-wine-single__placeholder {
	padding: 24px;
	background: #fafafa;
	color: var(--tbv-color-muted);
	text-align: center;
	border: 1px dashed var(--tbv-color-line);
}

/* --- Desktop layout --- */
@media (min-width: 1024px) {
	.tbv-wine-single {
		padding: 80px 48px 80px;
	}

	.tbv-wine-single__layout {
		grid-template-columns: 239px 1fr 432px;
		grid-template-areas: "sidebar bottle details";
		column-gap: 80px;
		align-items: start;
		max-width: var(--tbv-container);
		margin: 0 auto;
	}

	.tbv-wine-single__sidebar {
		display: block;
		order: unset;
		grid-area: sidebar;
		position: sticky;
		top: 120px;
	}

	.tbv-wine-single__bottle {
		order: unset;
		grid-area: bottle;
		min-height: 600px;
	}

	.tbv-wine-single__bottle img {
		max-height: 600px;
	}

	.tbv-wine-single__details {
		order: unset;
		grid-area: details;
		gap: 40px;
	}

	.tbv-wine-single__name {
		font-size: 18px;
	}

	.tbv-wine-single__subtitle {
		font-size: 40px;
		line-height: 1.1;
	}

	.tbv-wine-single__description {
		font-size: 15px;
	}

	.tbv-wine-single__tasting h2,
	.tbv-wine-single__technical h2 {
		font-size: 24px;
	}

	.tbv-wine-single__tasting p,
	.tbv-wine-single__technical div {
		font-size: 14px;
	}

	.tbv-wine-single__hero {
		order: unset;
		margin-top: 80px;
		padding: 0 48px;
	}

	.tbv-wine-single__hero img {
		height: 703px;
		max-width: var(--tbv-container);
		margin: 0 auto;
	}

	.tbv-wine-single__nav {
		display: none;
	}
}

/* When the block has align=full, let the hero go edge-to-edge on desktop. */
.tbv-wine-single.alignfull .tbv-wine-single__hero {
	padding: 0;
}

.tbv-wine-single.alignfull .tbv-wine-single__hero img {
	max-width: none;
	border-radius: 0;
}
