.epcp-noscroll { overflow: hidden; }
@media (max-width: 980px) {
  body.epcp-noscroll .ep-mvp {
    display: none !important;
  }
}

.epcp-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.epcp-card{
  width: min(1000px, 92vw);
  max-height: min(720px, 90vh);
  height: auto;
  background: #fff;
  padding: 18px;
  overflow: auto;
  box-shadow: -10px 0 30px rgba(0,0,0,.25);
  position: relative;
}

.epcp-close{
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: #fff !important;
  padding: 4px;
  line-height: 1;
  cursor: pointer;
}
.epcp-close svg{
  width: 22px;
  height: 22px;
  display: block;
}

.epcp-top{
  display: flex;
  gap: 10px;
  align-items: center;
  padding-top: 6px;
}

.epcp-check{
  font-size: 18px;
}

.epcp-added{
  font-weight: 600;
}

.epcp-hr{
  border: 0;
  border-top: 1px solid #e8e8e8;
  margin: 14px 0;
}

.epcp-cartline{
  display: flex;
  gap: 10px;
  align-items: center;
}

.epcp-carttitle{ font-size: 18px; }
.epcp-carticon svg{
  width: 22px;
  height: 22px;
  display: block;
}

.epcp-subtotal{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 14px 0;
}

.epcp-prices{
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
}
.epcp-now{ color: #c00; font-weight: 700; }
.epcp-was{ color: #777; text-decoration: line-through; }

.epcp-btn{
  display: block;
  text-align: center;
  padding: 14px 12px;
  border-radius: 0;
  margin: 10px 0;
  font-weight: 600;
  text-decoration: none;
}

.epcp-btn-primary{
  background: #111;
  color: #fff;
}

.epcp-btn-ghost{
  width: 100%;
  background: #fff;
  color: #111;
  border: 2px solid #111;
  cursor: pointer;
}

.epcp-related-title{
  margin: 10px 0 12px;
  font-size: 20px;
}

.epcp-related{
  /* your shortcode likely outputs its own layout;
     optionally constrain thumbnails here if needed */
}

.epcp-related section.rvpw-recently-view .kv-rv-header h2{
  font-size: 16px;
}

.epcp-related .kv-rv-slider{
  position: relative;
}

.epcp-related .kv-rv-track-wrap{
  overflow: hidden;
}

@media (max-width: 640px){
  .epcp-card{
    width: min(330px, 92vw);
    max-height: min(720px, 90vh);
    overflow: hidden;
  }
}
