.product-video-page {
  padding-bottom: 0;
  background: #f5f2eb;
}

.gallery-skip {
  position: fixed;
  z-index: 4;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--surface);
  transform: translateY(-150%);
}

.gallery-skip:focus {
  transform: none;
}

.product-video-header {
  background: #f9f6ef;
  border-bottom: 1px solid #d9d3c5;
}

.product-video-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: 16px;
}

.product-video-brand {
  display: flex;
  align-items: center;
  min-height: 44px;
  width: min(53vw, 244px);
  mix-blend-mode: multiply;
}

.product-video-brand img {
  width: 100%;
  height: auto;
  clip-path: polygon(0 2%, 100% 2%, 100% 85%, 54% 95%, 0 100%);
}

.product-video-header .btn,
.product-video-nav .btn,
.product-video-player-header .btn {
  min-height: 44px;
  padding: 9px 14px;
  white-space: nowrap;
}

.product-video-intro {
  padding: clamp(36px, 7vw, 78px) 0 32px;
  background: #eaece1;
}

.product-video-intro h1 {
  margin-bottom: 12px;
  color: #292c23;
}

.product-video-intro .lead {
  margin-bottom: 22px;
  font-size: 1.08rem;
}

.product-video-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-video-section {
  padding: clamp(32px, 6vw, 60px) 0;
}

.product-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.product-video-card {
  overflow: hidden;
  border: 1px solid #d8d4c7;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(33, 30, 24, 0.06);
}

.product-video-card:hover {
  border-color: #615e4c;
}

.product-video-page a:focus-visible,
.product-video-page button:focus-visible {
  outline: 3px solid var(--burgundy);
  outline-offset: 3px;
}

.product-video-preview {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #dfded3;
}

.product-video-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-video-time {
  position: absolute;
  right: 9px;
  bottom: 9px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: #25251d;
  color: #fffdf8;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.product-video-caption {
  padding: 12px 15px 15px;
}

.product-video-caption h3,
.product-video-player-header h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.4;
}

.product-video-action {
  display: inline-block;
  margin-top: 4px;
  color: var(--burgundy);
  font-size: 0.94rem;
  font-weight: 700;
}

.product-video-page:has(.product-video-dialog[open]) {
  overflow: hidden;
}

.product-video-dialog {
  width: min(760px, calc(100vw - 20px));
  max-height: calc(100dvh - 20px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
}

.product-video-dialog::backdrop {
  background: rgba(26, 23, 21, 0.79);
}

.product-video-player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
}

.product-video-player video {
  width: 100%;
  max-height: calc(100dvh - 145px);
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #141412;
}

.product-video-fallback:not([hidden]) {
  display: block;
  padding: 8px 14px;
  text-decoration: underline;
}

.product-video-page footer a {
  text-decoration: underline;
}

@media (min-width: 570px) {
  .product-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 930px) {
  .product-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
