/* container */
.mm-pvh-hero {
  position: relative;
  width: 100%;
  min-height: clamp(420px, 65vh, 820px);
  overflow: hidden;
  isolation: isolate;
}

/* background video layer */
.mm-pvh-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
}
.mm-pvh-video, .mm-pvh-iframe, .mm-pvh-iframe-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mm-pvh-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0; /* shown only if JS forces it (video fail) */
  transition: opacity .3s ease;
}

/* overlay card */
.mm-pvh-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  width: min(380px, 92vw);
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  margin: 24px;
}

/* place card bottom-left on wide screens */
@media (min-width: 900px) {
  .mm-pvh-card {
    position: absolute;
    left: 32px;
    bottom: 32px;
    margin: 0;
  }
}

.mm-pvh-thumb img {
  display: block;
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #eee;
}

.mm-pvh-title {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 28px);
  line-height: 1.2;
}
.mm-pvh-price {
  font-weight: 600;
  font-size: 18px;
}

/* make default WC add-to-cart controls look tidy inside card */
.mm-pvh-cta form.cart {
  display: grid;
  gap: 10px;
}
.mm-pvh-cta .quantity input.qty { max-width: 100px; }
.mm-pvh-cta button.single_add_to_cart_button {
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
}
