
.ctv-gyg-grid{
  max-width:1200px;
  margin:0 auto;

  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap:18px;
}


@media (max-width: 1024px){
  .ctv-gyg-grid{
  max-width:1200px;
  margin:0 auto;
 grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .ctv-gyg-grid{
  max-width:1200px;
  margin:0 auto;
 grid-template-columns: 1fr; }
}

.ctv-gyg-card{
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.14);
  border:1px solid rgba(0,0,0,.08);
  display:flex;
  flex-direction:column;
}

.ctv-gyg-card-img img{
  width:100%;
  height:240px;
  object-fit:cover;
  display:block;
}

.ctv-gyg-card-body{
  padding:14px 14px 12px 14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.ctv-gyg-title{
  font-size:32px;
  line-height:1.05;
  font-weight:900;
  margin:0;
  color:#222;
}

.ctv-gyg-desc{
  margin:0;
  font-size:20px;
  line-height:1.45;
  color:#555;
  min-height:58px;
}

.ctv-gyg-meta{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:10px;
  margin-top:4px;
}

.ctv-gyg-rating{
  font-size:14px;
  color:#333;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.ctv-gyg-stars{
  font-size:16px;
  line-height:1;
  letter-spacing:1px;
  color:#f5a623;
}

.ctv-gyg-reviews{
  color:#666;
  font-size:14px;
}

.ctv-gyg-price{
  text-align:right;
  color:#222;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:2px;
}

.ctv-gyg-from{
  font-size:14px;
  color:#666;
  font-weight:500;
}

.ctv-gyg-amount{
  font-size:36px;
  font-weight:900;
  line-height:1;
}

.ctv-gyg-btn{
  margin-top:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:9px 12px;
  border-radius:9px;
  background:#5aa21b;
  color:#fff !important;
  font-weight:800;
  font-size:18px;
  text-decoration:none;
  width:100%;
}

.ctv-gyg-btn:hover{
  filter:brightness(0.95);
}


/* Clamp title to 2 lines and description to 3 lines */
.ctv-gyg-title{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}

.ctv-gyg-desc{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}
