.vd-detail {
  --vd-ink: #171717;
  --vd-muted: #575755;
  --vd-line: #deded9;
  --vd-orange: #ff690f;
  display: block;
  width: 100%;
  min-height: 82vh;
  background-color: #fafaf8;
  color: var(--vd-ink);
  font-family: Inter, Arial, sans-serif;
}
.vd-detail *, .vd-lightbox * { box-sizing: border-box; }
.vd-wrap { width: min(1260px, 91%); margin-inline: auto; padding: 24px 0 54px; }
.vd-toolbar, .vd-actions, .vd-button, .vd-contact, .vd-count, .vd-source { display: flex; align-items: center; }
.vd-toolbar { justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.vd-actions { gap: 8px; }
.vd-button, .vd-thumb, .vd-photo-open { margin: 0; font-family: inherit; cursor: pointer; }
.vd-button {
  appearance: none;
  justify-content: center;
  gap: 8px;
  color: inherit;
  border: 0;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
}
.vd-back { padding: 11px 0; background: none; }
.vd-back:hover, .vd-source:hover { text-decoration: underline; text-underline-offset: 3px; }
.vd-toolbar-action {
  min-width: 42px;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid var(--vd-line);
  border-radius: 8px;
  background: #fff;
}
.vd-toolbar-action:hover { border-color: #777; }
.vd-fav[aria-pressed="true"] { color: #bc4200; }
.vd-fav[aria-pressed="true"] svg { fill: #ff690f; }
.vd-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); align-items: start; gap: clamp(24px, 4vw, 68px); }
.vd-info:only-child { grid-column: 1 / -1; }
.vd-gallery { min-width: 0; }
.vd-frame { position: relative; overflow: hidden; border-radius: 10px; background: #e7e6e2; isolation: isolate; }
.vd-track {
  display: flex;
  align-items: stretch;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: auto hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.vd-track::-webkit-scrollbar, .vd-thumbs::-webkit-scrollbar { display: none; }
.vd-slide { flex: 0 0 100%; height: 100%; min-width: 0; scroll-snap-align: start; }
.vd-photo-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; cursor: zoom-in; }
.vd-photo-open img { display: block; width: 100%; height: 100%; object-fit: contain; }
.vd-float {
  position: absolute;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 34%);
  border-radius: 50%;
  background: rgb(17 17 17 / 77%);
  color: #fff;
}
.vd-float:hover, .vd-light-control:hover { background: #161616; }
.vd-prev, .vd-next { top: 50%; transform: translateY(-50%); }
.vd-prev { left: 13px; }
.vd-next { right: 13px; }
.vd-expand { right: 13px; bottom: 13px; }
.vd-count {
  position: absolute;
  left: 13px;
  bottom: 13px;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 20px;
  background: rgb(17 17 17 / 82%);
  color: white;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.vd-thumbs { display: flex; gap: 8px; padding: 9px 0 2px; overflow: auto hidden; overscroll-behavior-x: contain; scrollbar-width: none; }
.vd-thumb { flex: 0 0 clamp(64px, 11%, 92px); display: block; aspect-ratio: 4/3; border: 2px solid transparent; border-radius: 7px; background: transparent; padding: 2px; }
.vd-thumb img { width: 100%; height: 100%; display: block; object-fit: contain; background: #e7e6e2; border-radius: 3px; }
.vd-thumb[aria-pressed="true"] { border-color: #d94d00; }
.vd-info { min-width: 0; }
.vd-brand { display: flex; align-items: center; gap: 10px; margin: 4px 0 8px; color: #82421e; font-size: 11px; font-weight: 750; letter-spacing: .135em; text-transform: uppercase; }
.vd-brand::before { content: ""; display: block; width: 20px; height: 2px; background: var(--vd-orange); }
.vd-info h1, .vd-detail h2, .vd-price { color: var(--vd-ink); }
.vd-info h1, .vd-detail h2 { font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif; }
.vd-info h1 { margin: 0; font-size: clamp(46px, 5vw, 78px); font-weight: 700; line-height: .99; letter-spacing: -.025em; overflow-wrap: anywhere; }
.vd-version { margin: 10px 0 0; color: var(--vd-muted); font-size: 16px; line-height: 1.45; }
.vd-price { margin: 25px 0 14px; font-weight: 750; font-size: clamp(24px, 2.5vw, 39px); letter-spacing: -.055em; line-height: 1.08; }
.vd-detail h2 { margin: 0 0 13px; font-size: 28px; font-weight: 650; line-height: 1.05; letter-spacing: -.012em; }
.vd-cta-wrap:empty { display: none; }
.vd-contact {
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 11px 18px;
  border-radius: 8px;
  background: var(--vd-orange);
  color: #171717;
  font-family: inherit;
  text-decoration: none;
  text-align: center;
  font-weight: 720;
  font-size: 14px;
  line-height: 1.22;
}
.vd-contact:hover { background: #ed5a00; }
.vd-contact svg, .vd-options svg { flex-shrink: 0; }
.vd-facts { margin-top: 25px; }
.vd-facts dl { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 18px; margin: 0; }
.vd-facts dl > div { border-top: 1px solid var(--vd-line); padding: 11px 0; min-width: 0; }
.vd-facts dt { font-size: 12px; margin-bottom: 4px; color: var(--vd-muted); }
.vd-facts dd { margin: 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.vd-options, .vd-notes { border-top: 1px solid var(--vd-line); margin-top: 30px; padding-top: 22px; }
.vd-options ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 11px 26px; margin: 0; padding: 0; list-style: none; }
.vd-options li { display: flex; align-items: baseline; gap: 7px; color: var(--vd-ink); font-size: 14px; line-height: 1.46; }
.vd-options li svg { align-self: flex-start; margin-top: 2px; color: #be4803; }
.vd-notes p { margin: 0; max-width: 76ch; font-size: 15px; color: var(--vd-muted); line-height: 1.62; white-space: pre-line; overflow-wrap: anywhere; }
.vd-source { gap: 5px; width: fit-content; margin-top: 27px; min-height: 36px; color: var(--vd-muted); font-size: 13px; }
.vd-copy-link { width: 100%; margin-bottom: 15px; padding: 10px; }
.vd-detail :is(a,button,input,[tabindex]):focus-visible, .vd-lightbox :is(button,[tabindex]):focus-visible { outline: 3px solid #e75500; outline-offset: 2px; }
.vd-track:focus-visible, .vd-photo-open:focus-visible { outline-offset: -4px!important; }
.vd-lightbox {
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  color: #fff;
  background: #111;
  font-family: Inter, Arial, sans-serif;
}
.vd-lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.vd-lightbox::backdrop { background: #111; }
.vd-lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: max(12px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) 10px max(18px, env(safe-area-inset-left)); }
.vd-lightbox-title, .vd-lightbox-tools, .vd-lightbox-nav { display: flex; align-items: center; gap: 12px; }
.vd-lightbox-title { min-width: 0; }
.vd-lightbox-title strong { max-width: 52vw; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; font-size: 16px; }
.vd-lightbox-title span { font-variant-numeric: tabular-nums; font-size: 12px; color: #bbb; white-space: nowrap; }
.vd-lightbox-tools { gap: 8px; }
.vd-light-control { width: 44px; height: 44px; padding: 0; border: 1px solid #777; border-radius: 50%; background: #292929; color: white; }
.vd-light-stage { width: 100%; height: 100%; overflow: hidden; overscroll-behavior: contain; }
.vd-light-stage img { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; cursor: zoom-in; }
.vd-light-stage.vd-zoomed { overflow: auto; }
.vd-light-stage.vd-zoomed img { width: 200%; height: 200%; cursor: zoom-out; }
.vd-lightbox-nav { position: absolute; inset: 50% 18px auto; justify-content: space-between; pointer-events: none; }
.vd-lightbox-nav button { pointer-events: auto; }
@media (max-width: 760px) {
  .vd-wrap { width: 100%; padding: 11px 18px 30px; }
  .vd-toolbar { margin-bottom: 12px; gap: 4px; }
  .vd-toolbar-action { min-width: 40px; min-height: 40px; padding: 9px; }
  .vd-layout { display: flex; flex-direction: column; gap: 18px; }
  .vd-info, .vd-gallery { width: 100%; }
  .vd-info h1 { font-size: clamp(41px, 10vw, 59px); }
  .vd-version { margin-top: 6px; font-size: 15px; }
  .vd-price { margin: 15px 0 0; font-size: 30px; }
  .vd-brand { margin: 0 0 7px; }
  .vd-thumb { flex-basis: 62px; }
  .vd-frame { border-radius: 8px; }
  .vd-count { left: 8px; bottom: 8px; }
  .vd-prev { left: 8px; }
  .vd-next, .vd-expand { right: 8px; }
  .vd-expand { bottom: 8px; }
  .vd-float { width: 40px; height: 40px; }
  .vd-facts { margin-top: 23px; }
  .vd-has-contact { padding-bottom: calc(var(--detail-dock-offset, 64px) + 67px + env(safe-area-inset-bottom, 0px)); }
  .vd-cta-wrap {
    position: fixed;
    inset: auto 0 calc(var(--detail-dock-offset, 64px) + env(safe-area-inset-bottom, 0px)) 0;
    z-index: 25;
    padding: 8px 16px;
    background: #fafaf8;
    border-top: 1px solid var(--vd-line);
  }
  .vd-contact { min-height: 47px; }
  .vd-lightbox[open] { grid-template-rows: auto minmax(0, 1fr) auto; }
  .vd-lightbox-nav { position: static; justify-content: center; gap: 20px; padding: 12px 0 max(12px, env(safe-area-inset-bottom, 0px)); }
  .vd-lightbox-title { gap: 7px; }
}
@media (max-width: 350px) {
  .vd-toolbar-action span { display: none; }
  .vd-lightbox-title strong { max-width: 38vw; }
}
@media (prefers-reduced-motion: reduce) {
  .vd-detail *, .vd-lightbox * { scroll-behavior: auto!important; }
}
