/* Galeria Barddal - HTML/CSS/JS puro */
.barddal-galeria-wrap{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:20px 15px;
  box-sizing:border-box;
  font-family:Arial, Helvetica, sans-serif;
}
.barddal-galeria-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(190px, 1fr));
  gap:22px;
}
.barddal-card-item{
  width:100%;
  text-align:center;
  font-family:Arial, Helvetica, sans-serif;
}
.barddal-card{
  width:100%;
  border:0 !important;
  background:transparent !important;
  cursor:pointer;
  padding:0 !important;
  margin:0 !important;
  text-align:center !important;
  box-shadow:0 8px 24px rgba(0,0,0,.10);
  border-radius:14px;
  overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease;
  display:block;
  font-family:Arial, Helvetica, sans-serif;
}
.barddal-card:hover{ transform:translateY(-4px); box-shadow:0 12px 30px rgba(0,0,0,.16); }
.barddal-card-thumb{
  width:100%;
  aspect-ratio:1/1;
  background:#eee;
  overflow:hidden;
}
.barddal-card-thumb img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.barddal-card-title{
  display:block !important;
  width:100%;
  box-sizing:border-box;
  background:transparent !important;
  font-size:16px !important;
  font-weight:700 !important;
  color:#111 !important;
  padding:12px 5px 0 !important;
  line-height:1.3 !important;
  text-align:center !important;
  text-decoration:none !important;
  min-height:0;
}
.barddal-lightbox{
  position:fixed;
  inset:0;
  z-index:999999;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.88);
  padding:24px;
  box-sizing:border-box;
}
.barddal-lightbox.is-open{ display:flex; }
.barddal-lightbox-box{
  position:relative;
  width:100%;
  max-width:1100px;
  height:100%;
  max-height:760px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.barddal-lightbox-title{
  color:#fff;
  font-size:20px;
  font-weight:700;
  margin:0 48px 14px;
  text-align:center;
}
.barddal-lightbox-img-wrap{
  width:100%;
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:0;
}
.barddal-lightbox-img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  display:block;
  border-radius:10px;
  box-shadow:0 15px 45px rgba(0,0,0,.45);
  background:#111;
}
.barddal-lightbox-count{
  color:#fff;
  margin-top:12px;
  font-size:14px;
  opacity:.9;
}
.barddal-lightbox-btn{
  position:absolute;
  z-index:2;
  width:46px;
  height:46px;
  border:0;
  border-radius:50%;
  color:#fff;
  background:rgba(0,0,0,.72);
  border:2px solid rgba(255,255,255,.92);
  text-shadow:0 2px 6px rgba(0,0,0,.9);
  font-size:34px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .2s ease;
}
.barddal-lightbox-btn:hover{ background:rgba(0,0,0,.9); }
.barddal-close{ top:0; right:0; font-size:32px; }
.barddal-prev{ left:0; top:50%; transform:translateY(-50%); }
.barddal-next{ right:0; top:50%; transform:translateY(-50%); }
body.barddal-no-scroll{ overflow:hidden; }
@media (max-width:768px){
  .barddal-galeria-grid{ grid-template-columns:1fr; gap:18px; }
  .barddal-card-title{ font-size:15px !important; padding:10px 4px 0 !important; }
  .barddal-lightbox{ padding:12px; }
  .barddal-lightbox-title{ font-size:16px; margin:0 46px 10px; }
  .barddal-lightbox-btn{ width:40px; height:40px; font-size:28px; }
  .barddal-prev{ left:5px; }
  .barddal-next{ right:5px; }
  .barddal-close{ top:4px; right:4px; }
}
@media (max-width:420px){
  .barddal-galeria-grid{ gap:12px; }
  .barddal-lightbox-img{ border-radius:6px; }
}
