body.single-product {
  --ink: #121212;
  --muted: rgba(18, 18, 18, .75);
  --line: rgba(18, 18, 18, .2);
  --serif: var(--sf-type);
  background: white;
}
.product-main {
  font: 400 16px/1.8 var(--sf-type);
  letter-spacing: .6px;
  color: var(--muted);
}
.product-main .product-info h1 {
  color: var(--ink);
  font: 400 40px/1.3 var(--sf-type);
  letter-spacing: .6px;
}
.product-main .price-line {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 1.3px;
}
.product-main .price-line > span:last-child,
.product-main .product-type,
.product-main .photo-caption,
.product-main #gallery-note { letter-spacing: .6px; }
.product-main .main-photo { background: #f6f6f6; }
.product-main .thumbs { gap: 8px; margin-top: 12px; }
.product-main .thumbs button {
  width: 108px;
  height: 96px;
  padding: 3px;
  background: white;
}
.product-main .thumbs button:hover,
.product-main .thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.product-main :focus-visible { outline-color: var(--ink); }
.product-main :is(input:not([type=hidden]),select,textarea) {
  border: 1px solid rgba(18,18,18,.55);
  border-radius: 0;
  color: var(--ink);
  background-color: white;
  font-family: inherit;
}
.product-main .variations th,
.product-main .quote-grid label,
.product-main .product-info summary { color: var(--ink); font-weight: 400; }
body.single-product .product-main :is(.primary,.single_add_to_cart_button.button.alt) {
  background: white;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  font: 400 15px/1.2 var(--sf-type);
  letter-spacing: 1px;
  min-height: 45px;
}
body.single-product .product-main .quote-box button.primary { background: var(--ink); color: white; }
.product-main .quote-box { background: #f6f6f6; scroll-margin-top: 82px; }
.product-main .quote-box h2 { font: 400 32px/1.3 var(--sf-type); color: var(--ink); }
.quote-variant { display: grid; gap: .4rem; margin: 1rem 0; }
.quote-variant select { max-width: 100%; min-width: 0; padding: .65rem; }
.product-description { max-width: 800px; margin: clamp(40px,5vw,72px) auto 0; overflow-wrap: anywhere; }
.product-description h2 { margin: 0 0 16px; font: 400 24px/1.3 var(--sf-type); color: var(--ink); }
.product-main .sg-notice { border-color: var(--ink); }
.single-product .product-main :is(.woocommerce-message,.woocommerce-info) { border-top-color: var(--ink)!important; }
.single-product .product-main :is(.woocommerce-message,.woocommerce-info)::before { color: var(--ink)!important; }
.product-related { margin-top: clamp(48px,6vw,88px); }
.product-related h2 { margin: 0 0 24px; color: var(--ink); font: 400 24px/1.3 var(--sf-type); }
.related-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.product-related .sf-product-card { text-decoration: none; }
.product-related .sf-product-info h3 { margin: 0; font-weight: 400; }
.product-related .sf-product-card:hover h3 { text-decoration: underline; }
.product-related .sf-product-info p { line-height: 1.5; letter-spacing: 1px; }
@media (max-width: 760px) {
  .product-main { font-size: 13px; }
  .product-main .product-info h1 { font-size: 30px; }
  .product-main .price-line { font-size: 16px; }
  .product-main .product-info details p,.product-main .product-intro { font-size: inherit; }
  .product-main .thumbs button { width: min(80px,calc((100% - 24px)/4)); height: auto; aspect-ratio: 1; }
  .product-main .quote-box h2 { font-size: 24px; }
  .product-related h2 { font-size: 20px; margin-bottom: 20px; }
  .related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-related .sf-product-info { padding: 14px 12px; }
}
