html:has(body.product-videos-page) {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body.product-videos-page {
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100dvh;
}

body.product-videos-page .at-main {
  flex: 1 1 auto;
  display: block;
  min-height: calc(100dvh - 96px);
  padding-top: clamp(16px, 2.5vh, 28px);
  padding-bottom: clamp(32px, 5vh, 64px);
  max-width: min(1120px, 94vw);
  margin: 0 auto;
}

body.product-videos-page .at-main::before,
body.product-videos-page .at-main::after {
  display: none;
}

.at-nav-link--active {
  opacity: 1;
  border-bottom: 1px solid var(--at-accent, #c9a962);
}

.pv-status {
  text-align: center;
  color: var(--at-muted, rgba(255, 255, 255, 0.55));
  font-size: 14px;
  margin-bottom: 16px;
}

.pv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
}

.pv-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--at-muted, rgba(255, 255, 255, 0.5));
  padding: 48px 16px;
  font-size: 15px;
}

.pv-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 169, 98, 0.22);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 98, 0.45);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.pv-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.pv-card-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pv-card-cover--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(201, 169, 98, 0.65);
}

.pv-card-play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(201, 169, 98, 0.5);
  border-radius: 999px;
  color: #f5e6c8;
}

.pv-card-body {
  padding: 14px 16px 18px;
}

.pv-card-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--at-text, #f5f5f5);
}

.pv-card-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--at-muted, rgba(255, 255, 255, 0.55));
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
