.page-hero{padding:110px 40px 50px;background:linear-gradient(135deg,#fff1f2 0%,#eff6ff 50%,#f0fdf4 100%);text-align:center}
.breadcrumb{display:flex;align-items:center;justify-content:center;gap:8px;font-size:0.82rem;color:var(--muted);margin-bottom:16px}
.breadcrumb a{color:var(--rose);text-decoration:none;font-weight:600}
.page-title{font-family:'Baloo 2',cursive;font-size:clamp(2rem,5vw,3.5rem);font-weight:900;color:var(--navy);letter-spacing:-1px}
.page-title span{color:var(--rose)}
.page-subtitle{color:var(--muted);font-size:1rem;margin-top:10px}

.gallery-wrap{
  /* max-width:1280px; */
  margin:0 auto;padding:30px 40px 80px}
.gallery-stats{display:flex;align-items:center;margin-bottom:22px}
.gstat{font-size:0.86rem;color:var(--muted);font-weight:600}
.gstat span{color:var(--rose);font-weight:800}

.gallery-grid{columns:4;gap:16px;column-gap:16px}
.gal-item{break-inside:avoid;margin-bottom:16px;cursor:pointer;border-radius:14px;overflow:hidden;border:2px solid var(--border);box-shadow:var(--shadow);transition:all 0.3s;position:relative;background:white}
.gal-item:hover{transform:translateY(-4px) scale(1.02);box-shadow:var(--shadow-lg);border-color:#ff3c6e}
.gal-item .img-wrap{width:100%;overflow:hidden;position:relative}
.gal-item .img-wrap img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 0.4s}
.gal-item:hover .img-wrap img{transform:scale(1.06)}
.gal-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(15,23,42,0.55),transparent);opacity:0;transition:all 0.3s;pointer-events:none}
.gal-item:hover .gal-overlay{opacity:1}
.gal-zoom{position:absolute;top:12px;right:12px;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,0.92);display:flex;align-items:center;justify-content:center;color:#ff3c6e;font-size:0.8rem;opacity:0;transition:all 0.2s;pointer-events:none}
.gal-item:hover .gal-zoom{opacity:1}

.gl-skel{break-inside:avoid;margin-bottom:16px;border-radius:14px;background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%);background-size:200% 100%;animation:shimmer 1.4s infinite}
@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}

/* ── LIGHTBOX ── */
#glLightbox{
  display:none;
  position:fixed;inset:0;z-index:99999;
  background:rgba(0,0,0,0.92);
  align-items:center;justify-content:center;
  padding:20px;
  animation:lbFadeIn 0.22s ease;
}
#glLightbox.lb-open{ display:flex; }
@keyframes lbFadeIn{from{opacity:0}to{opacity:1}}

.lb-wrap{
  max-width:860px;width:100%;
  display:flex;flex-direction:column;gap:0;
  animation:lbSlideUp 0.25s ease;
}
@keyframes lbSlideUp{from{transform:translateY(18px);opacity:0}to{transform:translateY(0);opacity:1}}

/* top bar */
.lb-topbar{
  display:flex;align-items:center;justify-content:space-between;
  padding:0 0 12px;
}
.lb-topbar-left{display:flex;align-items:center;gap:8px;}
.lb-dot{width:8px;height:8px;border-radius:50%;background:#ff3c6e;flex-shrink:0;}
.lb-label{font-size:0.72rem;color:rgba(255,255,255,0.45);letter-spacing:1.2px;text-transform:uppercase;}

/* ★ close button — fixed position on topbar, not relative to image */
.lb-close-btn{
  width:36px;height:36px;border-radius:50%;
  border:1px solid rgba(255,255,255,0.22);
  background:rgba(255,255,255,0.08);
  color:#fff;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  font-size:1rem;transition:all 0.2s;
  flex-shrink:0;
  line-height:1;
}
.lb-close-btn:hover{background:#ff3c6e;border-color:#ff3c6e;transform:scale(1.08);}

/* image stage */
.lb-stage{
  position:relative;border-radius:12px;overflow:hidden;
  background:#111;line-height:0;
}
#lbImg{
  width:100%;max-height:72vh;
  object-fit:contain;display:block;
  border-radius:12px;
  transition:opacity 0.18s ease;
}
.lb-veil{
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(0,0,0,0.45) 0%,transparent 50%);
  pointer-events:none;border-radius:12px;
}

/* prev / next — INSIDE stage, stop propagation */
.lb-arrow{
  position:absolute;top:50%;transform:translateY(-50%);
  width:42px;height:42px;border-radius:50%;
  border:1px solid rgba(255,255,255,0.25);
  background:rgba(0,0,0,0.45);
  color:#fff;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  font-size:1rem;transition:all 0.2s;
  backdrop-filter:blur(6px);
  z-index:2;
}
.lb-arrow:hover{background:#ff3c6e;border-color:#ff3c6e;}
.lb-arrow-prev{left:12px;}
.lb-arrow-next{right:12px;}

/* bottom bar */
.lb-bottombar{
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 0 0;
}
.lb-counter-txt{font-size:0.78rem;color:rgba(255,255,255,0.38);}
.lb-dots{display:flex;gap:5px;align-items:center;}
.lb-pip{
  height:3px;border-radius:2px;
  background:rgba(255,255,255,0.2);
  transition:all 0.25s;
}
.lb-pip.active{background:#ff3c6e;width:20px!important;}
.lb-esc-hint{font-size:0.68rem;color:rgba(255,255,255,0.25);letter-spacing:0.6px;}

.empty-state{text-align:center;padding:80px 20px;color:var(--muted)}
.empty-state i{font-size:3rem;color:#fecdd3;margin-bottom:14px;display:block}
.empty-state p{font-size:1rem;font-weight:600}

@media(max-width:1024px){.gallery-grid{columns:3}}
@media(max-width:768px){
  .page-hero{padding:90px 20px 40px}
  .gallery-wrap{padding-left:18px;padding-right:18px}
  .gallery-grid{columns:2}
}
@media(max-width:480px){.gallery-grid{columns:1}}