/* A watchmaker's bench on warm stock. The documented specimen is the focal point. */
.vsf-product-detail {
	--folio-line: #e1d8ca;
	--folio-gold: #c5a572;
	--folio-ink: #22241f;
	--folio-muted: #635b4e;
	padding-block: 28px 64px;
}

.vsf-product-detail .woocommerce-breadcrumb {
	margin: 0 0 20px;
	color: #655b4c;
	font-size: .875rem;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.vsf-product-detail .woocommerce-breadcrumb a {
	color: #335445;
	text-underline-offset: 3px;
}

.vsf-product-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	gap: clamp(24px, 3vw, 48px);
	align-items: start;
	margin-bottom: 48px;
}

.vsf-product-gallery-column {
	position: sticky;
	top: calc(96px + var(--wp-admin--admin-bar--height, 0px));
	min-width: 0;
}

.vsf-product-placeholder {
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	background: #f9f8f6;
}

.vsf-product-gallery-column .vsf-photo-frame {
	border: 1px solid var(--folio-line);
	background: #f9f8f6;
}

.vsf-gallery-video {
	position: absolute;
	z-index: 1;
	inset: auto auto 10px 10px;
	min-height: 36px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0 10px;
	border: 1px solid #a78b5c;
	border-radius: 3px;
	background: #111410;
	color: #fae4bd;
	font: 600 .875rem/1.25 var(--lux-ui);
	text-decoration: none;
}

.vsf-gallery-video:hover {
	background: #272820;
	color: #fff1d2;
}

.vsf-thumbnails {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) 40px;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
}

.vsf-thumb-arrow {
	display: grid;
	width: 40px;
	height: 48px;
	place-items: center;
	padding: 0;
	border: 1px solid #9b8056;
	border-radius: 3px;
	background: #171a17;
	color: #f9e0b5;
	font: 400 26px/1 Arial, sans-serif;
	cursor: pointer;
	touch-action: manipulation;
}

.vsf-thumbnails .vsf-thumb-arrow:first-child { grid-area: 1 / 1; }
.vsf-thumbnails .vsf-photo-thumbs { grid-area: 1 / 2; }
.vsf-thumbnails .vsf-thumb-arrow:last-child { grid-area: 1 / 3; }

.vsf-thumb-arrow[hidden] {
	display: none;
}

.vsf-thumb-arrow:hover,
.vsf-thumb-arrow:focus-visible {
	background: #2b2d24;
}

.vsf-thumbnails .vsf-photo-thumbs {
	flex-wrap: nowrap;
	gap: 10px;
	margin: 0;
	padding: 2px;
	overflow-x: auto;
	scroll-behavior: smooth;
	touch-action: pan-x pan-y;
	-webkit-overflow-scrolling: touch;
}

.vsf-thumbnails .vsf-photo-thumb {
	flex: 0 0 76px;
	width: 76px;
	height: 76px;
	opacity: .62;
	transition: opacity 160ms ease-out, border-color 160ms ease-out;
}

.vsf-thumbnails .vsf-photo-thumb[aria-current="true"] {
	border: 2px solid #c5a572;
	box-shadow: none;
	opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
	.vsf-thumbnails .vsf-photo-thumbs { cursor: grab; }
	.vsf-thumbnails .vsf-photo-thumbs.is-dragging,
	.vsf-thumbnails .vsf-photo-thumbs.is-dragging a { cursor: grabbing; user-select: none; }
}

.vsf-buybox {
	min-width: 0;
	padding: clamp(20px, 2.5vw, 36px);
	border: 1px solid var(--folio-line);
	border-top: 2px solid var(--folio-gold);
	background: #fffdf8;
	color: var(--folio-ink);
}

.vsf-product-eyebrow {
	margin: 0 0 10px;
	color: #745a39;
	font: 600 .875rem/1.45 var(--lux-ui);
	letter-spacing: normal;
	text-transform: none;
}

.vsf-product-eyebrow > span {
	margin-inline: 3px;
}

.vsf-stock {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #6b5c49;
	font-size: .875rem;
	line-height: 1.4;
}

.vsf-stock.is-available {
	color: #22523c;
}

.vsf-stock.is-available::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #4e795f;
}

.vsf-buybox h1 {
	margin: 12px 0 16px;
	color: var(--folio-ink);
	font: 600 2rem/1.18 var(--lux-display);
	letter-spacing: -.01em;
	overflow-wrap: anywhere;
}

.vsf-buybox-price {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 0 0 20px;
}

.vsf-buybox-price .vsf-price {
	margin: 0;
	color: #163e2b;
	font: 500 1.5rem/1.2 var(--lux-mono);
	font-variant-numeric: tabular-nums;
}

.vsf-buybox-price .vsf-price del {
	margin-right: .2em;
	color: #6e6252;
	font-size: .625em;
}

.vsf-buybox-price .vsf-price ins {
	text-decoration: none;
}

.vsf-shipping-note {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 8px;
	border: 1px solid #ded0b9;
	border-radius: 2px;
	color: #4d503f;
	font-size: .875rem;
	line-height: 1.4;
	text-decoration: none;
}

.vsf-shipping-note:hover {
	border-color: #ad9366;
}

.vsf-quick-specs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin: 0 0 24px;
	padding: 1px;
	background: var(--folio-line);
}

.vsf-quick-specs div {
	min-width: 0;
	min-height: 54px;
	padding: 8px 10px;
	box-sizing: border-box;
	background: #f8f5ee;
}

.vsf-quick-specs dt {
	color: var(--folio-muted);
	font: 500 .8125rem/1.4 var(--lux-ui);
	overflow-wrap: anywhere;
}

.vsf-quick-specs dd {
	margin: 4px 0 0;
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.38;
	overflow-wrap: anywhere;
}

.vsf-buybox .cart {
	margin: 0 0 8px;
}

.vsf-buybox .cart:not(.variations_form):not(.grouped_form),
.vsf-buybox .woocommerce-variation-add-to-cart {
	display: flex;
	align-items: stretch;
	gap: 8px;
}

.vsf-buybox .cart::before,
.vsf-buybox .cart::after {
	display: none;
}

.vsf-buybox .cart .single_add_to_cart_button {
	flex: 1;
	min-height: 48px;
	padding: 10px 12px;
	border: 1px solid #0f3d28;
	border-radius: 2px;
	background: #0f3d28;
	color: #fffcef;
	font-family: var(--lux-ui);
	font-size: .9375rem;
	letter-spacing: normal;
	text-transform: none;
	line-height: 1.3;
	white-space: normal;
}

.vsf-buybox .cart .single_add_to_cart_button:hover {
	background: #174c35;
}

.vsf-buybox .cart .quantity {
	display: inline-flex;
	float: none;
	min-width: 0;
	align-items: center;
	margin: 0;
	border: 1px solid var(--folio-line);
	border-radius: 2px;
	background: #fffdf8;
}

.vsf-buybox .quantity input.qty {
	width: 42px;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #262620;
	font: 500 .9375rem/1 var(--lux-ui);
}

.vsf-buybox .quantity[data-qty-enhanced] input.qty {
	appearance: textfield;
}

.vsf-buybox .quantity[data-qty-enhanced] input.qty::-webkit-inner-spin-button,
.vsf-buybox .quantity[data-qty-enhanced] input.qty::-webkit-outer-spin-button {
	margin: 0;
	appearance: none;
}

.vsf-qty-step {
	min-width: 40px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #3c493c;
	font: 400 17px/1 var(--lux-ui);
	cursor: pointer;
}

.vsf-buybox .quantity:has(input[type=hidden]) .vsf-qty-step { display: none; }

.vsf-qty-step:not(:disabled):hover {
	background: #eee7d9;
}

.vsf-qc-request {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	box-sizing: border-box;
	padding: 8px 12px;
	border: 1px solid #a78959;
	border-radius: 2px;
	color: #303e32;
	font-size: .9375rem;
	font-weight: 600;
	text-decoration: none;
	line-height: 1.35;
}

.vsf-qc-request:hover {
	background: #f3ede0;
}

.vsf-buybox-trust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 20px 0 0;
	padding: 12px 0 0;
	border-top: 1px solid var(--folio-line);
	list-style: none;
	color: var(--folio-muted);
	font-size: .875rem;
	line-height: 1.45;
}

.vsf-buybox-trust li {
	padding-inline-start: 8px;
	border-inline-start: 1px solid #c9ad80;
	overflow-wrap: anywhere;
}

.vsf-product-detail :where(button, a, input, select):focus-visible {
	outline: 2px solid #a3824a;
	outline-offset: 2px;
}

.vsf-cinema {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: clamp(24px, 4vw, 64px);
	align-items: center;
	margin-block: 0 48px;
	padding: clamp(20px, 4vw, 56px);
	border: 1px solid #8c714c;
	background: #0b0e12;
	color: #f6eddf;
	scroll-margin-top: calc(112px + var(--wp-admin--admin-bar--height, 0px));
}

.vsf-cinema.is-landscape {
	grid-template-columns: minmax(0, 1fr);
}

.vsf-cinema .vsf-cinema-stage {
	display: grid;
	place-items: center;
	min-width: 0;
}

.vsf-cinema-frame {
	position: relative;
	width: 100%;
	max-width: 920px;
	aspect-ratio: var(--cinema-ratio, 16 / 9);
	overflow: hidden;
	border: 1px solid #6e5b42;
	border-radius: 3px;
	background: #14171b;
}

.is-portrait .vsf-cinema-frame {
	max-width: min(340px, var(--cinema-bound, 40.5svh));
}

.vsf-cinema-frame video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.vsf-cinema-play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	width: 64px;
	height: 64px;
	place-items: center;
	padding: 0;
	border: 1px solid #d7b67f;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	background: rgba(14, 16, 18, .84);
	color: #f6d6a0;
	font-size: 20px;
	cursor: pointer;
}

.vsf-cinema-play[hidden] {
	display: none;
}

.vsf-cinema-play:hover {
	background: #25231e;
}

.vsf-cinema-notes .vsf-product-eyebrow {
	margin-bottom: 8px;
	color: #d3b684;
}

.vsf-product-detail :is(.vsf-cinema-notes, .vsf-editorial, .vsf-atelier-qc, .vsf-related-inventory) h2 {
	margin: 0 0 16px;
	font: 600 clamp(1.625rem, 2.7vw, 2.5rem)/1.18 var(--lux-display);
	letter-spacing: -.015em;
}

.vsf-cinema-notes > p:not(.vsf-product-eyebrow),
.vsf-cinema-notes li span {
	color: #c9c1b4;
	font-size: 1rem;
	line-height: 1.5;
}

.vsf-cinema-notes ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 20px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.vsf-cinema-notes li {
	display: grid;
	gap: 4px;
	padding: 12px 0;
	border-top: 1px solid #504539;
}

.vsf-cinema-notes li strong {
	color: #f2e4cf;
	font-size: 1rem;
	font-weight: 600;
}

.vsf-editorial {
	display: grid;
	grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
	gap: clamp(24px, 4vw, 64px);
	align-items: start;
	margin-bottom: 48px;
}

.vsf-technical table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	border: 1px solid var(--folio-line);
}

.vsf-technical tr:nth-child(odd) {
	background: #eee9df;
}

.vsf-technical tr:nth-child(even) {
	background: #fdfbf6;
}

.vsf-technical :is(th, td) {
	padding: 9px 12px;
	border-bottom: 1px solid var(--folio-line);
	text-align: start;
	vertical-align: top;
	overflow-wrap: anywhere;
}

.vsf-technical th {
	width: 32%;
	color: #66543a;
	font: 600 .875rem/1.4 var(--lux-ui);
	text-transform: none;
}

.vsf-technical td {
	font-size: 1rem;
	line-height: 1.55;
}

.vsf-overview-copy {
	max-width: 66ch;
	color: #49483f;
	font-size: 1.0625rem;
	line-height: 1.65;
	overflow-wrap: anywhere;
}

.vsf-overview-copy > :first-child {
	margin-top: 0;
}

.vsf-overview-copy :is(h2, h3, h4) {
	padding-inline-start: 12px;
	border-inline-start: 2px solid var(--folio-gold);
}

.vsf-overview-copy ul {
	padding-inline-start: 1.25em;
}

.vsf-overview-copy li::marker {
	color: #8b6a3a;
	content: "◆  ";
}

.vsf-atelier-qc {
	margin-bottom: 48px;
	padding: clamp(16px, 2.5vw, 36px);
	border: 1px solid var(--folio-line);
	background: #fdfbf6;
}

.vsf-atelier-qc ol {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 20px;
	padding-inline-start: 0;
	list-style-position: inside;
}

.vsf-atelier-qc li {
	padding: 12px;
	border: 1px solid var(--folio-line);
	color: #66584a;
	font-size: .9375rem;
	line-height: 1.55;
}

.vsf-atelier-qc li::marker {
	color: #80643c;
	font: 600 .875rem/1.45 var(--lux-ui);
}

.vsf-atelier-qc h3 {
	display: inline;
	margin: 0;
	font: 600 1rem/1.4 var(--lux-ui);
}

.vsf-atelier-qc li p {
	margin: 8px 0 0;
}

.vsf-atelier-policy {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	padding-top: 12px;
	border-top: 1px solid var(--folio-line);
	font-size: .9375rem;
}

.vsf-atelier-policy p {
	margin: 0;
}

.vsf-atelier-policy a {
	color: #23533b;
	text-underline-offset: 3px;
}

@media (max-width: 1023px) {
	.vsf-atelier-qc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vsf-quick-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	.vsf-product-detail { padding-block: 16px 40px; }
	.vsf-product-detail .woocommerce-breadcrumb { margin-bottom: 12px; }
	.vsf-product-hero, .vsf-cinema, .vsf-editorial { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 32px; }
	.vsf-product-gallery-column { position: static; }
	.vsf-thumbnails { grid-template-columns: 38px minmax(0, 1fr) 38px; }
	.vsf-thumb-arrow { width: 38px; height: 44px; }
	.vsf-thumbnails .vsf-photo-thumb { flex-basis: 64px; width: 64px; height: 64px; }
	.vsf-buybox { padding: 16px; }
	.vsf-buybox h1 { font-size: 1.75rem; line-height: 1.18; }
	.vsf-buybox-price .vsf-price { font-size: 1.375rem; }
	.vsf-quick-specs { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 16px; }
	.vsf-quick-specs div { padding-inline: 6px; }
	.vsf-buybox-trust { margin-top: 16px; }
	.vsf-cinema { padding: 16px; scroll-margin-top: 96px; }
	.vsf-cinema-notes ul { gap: 0 12px; margin-top: 12px; }
	.vsf-atelier-qc { margin-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
	.vsf-thumbnails .vsf-photo-thumbs { scroll-behavior: auto; }
	.vsf-thumbnails .vsf-photo-thumb { transition: none; }
}
