/* Список виробів на головній і сторінка виробу */

.products-list {
  display: grid;
  gap: 20px;
}

.product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product__cta-ghost {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .25);
  transition: border-color .2s, background-color .2s;
}

.product__cta-ghost:hover {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .06);
}

.product__media a { display: block; height: 100%; }

/* ---------- Внутрішні сторінки: шапка завжди темна, контент нижче неї ---------- */

.page-inner .topbar {
  background: rgba(21, 30, 27, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.page-inner main {
  padding-top: 96px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--k-muted);
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.breadcrumbs a:hover { color: var(--k-brown); }

.breadcrumbs [aria-current] {
  font-weight: 600;
  color: var(--k-text);
}

/* Відео виробу */

.product-video {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: var(--k-dark);
}

.product-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-video__caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(21, 30, 27, .55);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.adv-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* 404 */

.not-found {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.not-found__code {
  font-family: "Play", "Noto Sans", sans-serif;
  font-size: clamp(72px, 12vw, 140px);
  line-height: 1;
  font-weight: 700;
  color: var(--k-gold);
}

.not-found p { margin: 0 0 28px; color: var(--k-muted); }

@media (max-width: 900px) {
  .adv-grid--3 { grid-template-columns: 1fr; }
  .page-inner main { padding-top: 80px; }
  .product-video { border-radius: 18px; }
}

.product-seo-text {
  max-width: 75ch;
  margin: -8px 0 28px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--k-muted);
}
