/* ===== Admin editor table small tweaks ===== */
.apt-table-editor .apt-actions { text-align:center; }
.apt-table-editor textarea.widefat.apt-desc-textarea {
  min-height: 160px;
  resize: vertical;
  font-size: 14px;
  line-height: 1.4;
}

/* ===== Front-End Product Table Styles (matches your requested layout) ===== */
.gg-list{max-width:1100px;margin:0 auto;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:#1f2937}
.gg-card{display:flex;gap:18px;align-items:flex-start;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:16px;margin:14px 0;box-shadow:0 2px 6px rgba(0,0,0,.04);position:relative}
.gg-ribbon{position:absolute;top:-10px;left:-10px;background:#2563eb;color:#fff;font-size:.75rem;font-weight:700;padding:6px 10px;border-radius:6px}
.gg-thumb{flex:0 0 120px}
.gg-thumb a{display:block}
.gg-thumb img{width:120px;height:120px;object-fit:cover;border-radius:10px;border:1px solid #e5e7eb}
.gg-body{flex:1 1 auto}
.gg-title{margin:0 0 6px 0;font-size:1.2rem;line-height:1.2}
.gg-title a{color:#2563eb;text-decoration:none;font-weight:600}
.gg-title a:hover{opacity:.9;text-decoration:none}
.gg-desc{margin:6px 0 12px 0;font-size:.95rem;color:#4b5563}

/* 2D Gradient Button (animated, non-underlined) */
.gg-btn{
  display:inline-block;
  padding:12px 18px;
  border-radius:12px;
  font-weight:800;
  color:#fff !important;
  text-decoration:none !important;
  background:linear-gradient(90deg,#ff7a18,#ff3d7f,#ff7a18);
  background-size:200% 100%;
  box-shadow:0 6px 0 rgba(180,64,18,.7), 0 10px 20px rgba(0,0,0,.15);
  transition:transform .08s ease, box-shadow .08s ease;
  animation:ggGradient 4s linear infinite;
  white-space:nowrap;
}
@keyframes ggGradient{
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
.gg-btn:hover{
  transform:translateY(1px);
  box-shadow:0 5px 0 rgba(180,64,18,.7), 0 8px 16px rgba(0,0,0,.15);
  text-decoration:none!important
}
.gg-btn:active{
  transform:translateY(2px);
  box-shadow:0 3px 0 rgba(180,64,18,.8), 0 5px 12px rgba(0,0,0,.2);
  text-decoration:none!important
}

@media (max-width:720px){
  .gg-card{flex-direction:column;align-items:stretch}
  .gg-thumb img{width:100%;height:auto}
  .gg-thumb{flex:0 0 auto}
}
