/*
 * produse.top p08b catalog: base look of the package blocks. The design package (p15) restyles these classes:
 *   .pt-series (+ __title / __list / __item / __item--current)   "Variante" on the product page
 *   .pt-video (+ __title / __frame / __play / __label)            product video, click-to-load
 *   .pt-float (+ __btn / __btn--whatsapp / __icon)                floating WhatsApp button, all pages
 *   .pt-category-banner                                           category banner (desktop / mobile)
 */
.pt-series {
  margin: 0 0 15px;
}

.pt-series__title {
  margin-bottom: 6px;
  font-weight: 700;
  text-transform: uppercase;
}

.pt-series__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.pt-series__item a {
  display: block;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: border-color .15s ease;
}

.pt-series__item a:hover,
.pt-series__item a:focus-visible,
.pt-series__item--current a {
  border-color: var(--pt-accent, rgb(239, 40, 9));
}

.pt-series__item img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
}

.pt-video {
  margin: 20px 0;
}

.pt-video__frame {
  position: relative;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 4px;
  overflow: hidden;
}

.pt-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.pt-video__play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: #111;
  color: #fff;
  cursor: pointer;
}

.pt-video__play:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.pt-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2000;
}

.pt-float__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--pt-whatsapp, #25d366);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  transition: transform .15s ease, box-shadow .15s ease;
}

.pt-float__btn:hover,
.pt-float__btn:focus-visible {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
}

.pt-float__icon {
  display: block;
}

.pt-category-banner {
  margin: 0 0 15px;
}

.pt-category-banner img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  .pt-float {
    right: 14px;
    bottom: 14px;
  }
}
