/* VastuGuruji widget + popup styles (extracted from post.css so ePaper cut pages render them too) */

.vgp--sidebar .vgp__grid{
  grid-template-columns:1fr;
  gap:8px;
}

.vgp--inline .vgp__grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}


.vgp--sidebar{
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}

.vgp--sidebar .vgp__card{
  grid-template-columns:80px minmax(0,1fr);
  gap:8px;
  align-items:start;
  border-radius:14px;
}

.vgp--sidebar .vgp__card:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(15,23,42,.08);
}

.vgp--sidebar .vgp__thumb{
  width:80px;
  height:80px;
}

.vgp--sidebar .vgp__rank{
  top:6px;
  left:6px;
  width:22px;
  height:22px;
  font-size:11px;
}

.vgp--sidebar .vgp__badge{
  top:6px;
  right:6px;
  font-size:9px;
  padding:4px 6px;
}

.vgp--sidebar .vgp__body{
  padding:8px 8px 8px 0;
}

.vgp--sidebar .vgp__name{
  font-size:14px;
  line-height:1.3;
}

.vgp--sidebar .vgp__ex{
  margin-top:5px;
  font-size:11.5px;
  line-height:1.4;
}

.vgp--sidebar .vgp__price{
  margin-top:8px;
}

.vgp--sidebar .vgp__now{
  font-size:12px;
}

.vgp--sidebar .vgp__cta{
  margin-top:7px;
  min-height:30px;
  padding:0 8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:#f3f4f6;
  color:#111827;
  font-size:11px;
}

.sb-widget-shell--products .vgp-lazy{display:block;min-height:350px}

  .vgp--inline .vgp__grid{
    grid-template-columns:1fr;
  }


/* Read-complete product popup (post page only) */
.sb-vg-pop{
  position:fixed;
  right:14px;
  bottom:14px;
  z-index:1200;
  width:clamp(290px, 30vw, 360px);
  max-width:calc(100vw - 20px);
  opacity:0;
  transform:translateY(16px);
  pointer-events:none;
  transition:opacity .22s ease, transform .22s ease;
}

.sb-vg-pop.is-visible{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

.sb-vg-pop[hidden]{
  display:none !important;
}

.sb-vg-pop__close{
  position:absolute;
  top:8px;
  right:8px;
  z-index:2;
  width:28px;
  height:28px;
  border:0;
  border-radius:999px;
  background:rgba(17,24,39,.9);
  color:#fff;
  font-size:18px;
  line-height:1;
  cursor:pointer;
}

.sb-vg-pop__card{
  display:grid;
  grid-template-columns:80px minmax(0,1fr);
  gap:9px;
  text-decoration:none;
  color:inherit;
  border:1px solid #dbe3ef;
  border-radius:12px;
  background:#fff;
  box-shadow:0 18px 44px rgba(15,23,42,.2);
  overflow:hidden;
  padding:8px;
}

.sb-vg-pop__kicker{
  grid-column:1/-1;
  display:block;
  font-size:11px;
  font-weight:700;
  color:#b71420;
  letter-spacing:.02em;
  text-transform:uppercase;
}

.sb-vg-pop__thumb{
  width:80px;
  height:80px;
  border-radius:9px;
  background:#f8fafc;
  overflow:hidden;
}

.sb-vg-pop__thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.sb-vg-pop__body{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:6px;
  padding-top:0;
}

.sb-vg-pop__title{
  font-size:13px;
  line-height:1.35;
  color:#111827;
  display:-webkit-box;
  -webkit-line-clamp:2;
  line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.sb-vg-pop__urgency{
  display:inline-block;
  align-self:flex-start;
  font-size:10px;
  line-height:1.2;
  font-weight:800;
  color:#991b1b;
  background:#fee2e2;
  border:1px solid #fecaca;
  border-radius:999px;
  padding:4px 8px;
}

.sb-vg-pop__note{
  font-size:11px;
  line-height:1.35;
  color:#374151;
}

.sb-vg-pop__price{
  font-size:14px;
  font-weight:800;
  color:#111827;
}

.sb-vg-pop__meta{
  font-size:10.5px;
  line-height:1.3;
  color:#6b7280;
}

.sb-vg-pop__cta{
  margin-top:auto;
  align-self:flex-start;
  font-size:11px;
  font-weight:700;
  color:#fff;
  background:#111827;
  border-radius:9px;
  padding:7px 10px;
  line-height:1;
}

  .sb-vg-pop{
    right:8px;
    left:auto;
    width:min(340px, calc(100vw - 16px));
    bottom:10px;
  }
