.sgg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; }
.sgg-cell { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; background: #f5f4f5; overflow: hidden; cursor: zoom-in; }
.sgg-cell img { width: 100% !important; height: 100% !important; max-width: 100%; object-fit: contain; display: block; margin: 0; }
@media (max-width: 900px) { .sgg-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 560px) { .sgg-grid { grid-template-columns: 1fr; } }

.sgg-lb { position: fixed; inset: 0; background: rgba(0,0,0,.88); display: none; align-items: center; justify-content: center; z-index: 999999; }
.sgg-lb.open { display: flex; }
.sgg-lb img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.sgg-lb button { position: absolute; background: none; border: 0; color: #fff; font-size: 44px; line-height: 1; cursor: pointer; padding: 12px 18px; }
.sgg-lb-close { top: 10px; right: 14px; }
.sgg-lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.sgg-lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
