.hamle-stand-gallery{max-width:var(--hsg-max);margin:0 auto;padding:8px 18px 30px;color:var(--hsg-text)}
.hsg-title{text-align:center;font-size:clamp(34px,4vw,58px);line-height:1.04;font-weight:750;margin:0 0 30px;color:var(--hsg-text);letter-spacing:-.035em;text-shadow:none!important}
.hsg-title span{color:var(--hsg-primary)}
.hsg-filters{display:grid;grid-template-columns:repeat(6,minmax(132px,1fr));gap:14px;margin:0 auto 42px}
.hsg-filter{appearance:none;border:1px solid rgba(16,24,40,.045);background:var(--hsg-button-bg);color:var(--hsg-filter-text);border-radius:var(--hsg-filter-radius);padding:var(--hsg-filter-py) var(--hsg-filter-px);font-size:var(--hsg-filter-size);font-weight:var(--hsg-filter-weight);line-height:1.15;cursor:pointer;transition:transform .18s ease,background .18s ease,color .18s ease,border-color .18s ease;box-shadow:none!important;text-shadow:none!important;letter-spacing:-.01em}
.hsg-filter:hover{transform:translateY(-1px);color:var(--hsg-primary);border-color:rgba(2,146,217,.14);box-shadow:none!important;text-shadow:none!important}
.hsg-filter.is-active{background:var(--hsg-primary);color:var(--hsg-filter-active-text);border-color:transparent;font-weight:var(--hsg-filter-active-weight);box-shadow:none!important;text-shadow:none!important}
/* v4.8 Doğal otomatik grid: sabit hücre yüksekliği yok; görseller kontrollü büyür, boşluklar paneldeki aralık kadar kalır. */
.hsg-grid{display:grid;grid-template-columns:repeat(var(--hsg-cols),minmax(0,1fr));column-gap:var(--hsg-gap);row-gap:var(--hsg-gap);align-items:end;justify-items:center;transition:opacity .18s ease,transform .18s ease;background:transparent!important;overflow:visible}
.hsg-grid.is-changing{opacity:.35;transform:translateY(5px)}
.hsg-item{background:transparent!important;text-align:center;min-width:0;width:100%;box-shadow:none!important;border:0!important;padding:0!important;margin:0!important;overflow:visible;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-height:0!important}
.hsg-image-button{display:flex!important;align-items:flex-end!important;justify-content:center!important;width:100%!important;height:auto!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;cursor:zoom-in;box-shadow:none!important;overflow:visible!important;line-height:0!important;position:relative!important}
.hsg-item img{display:block!important;width:auto!important;height:auto!important;max-width:min(100%,var(--hsg-thumb-w,280px))!important;max-height:var(--hsg-tile-h,360px)!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center bottom!important;margin:0 auto!important;border-radius:0;background:transparent!important;box-shadow:none;transform:none!important;transform-origin:center bottom!important}
.hsg-shadow .hsg-item img{filter:drop-shadow(0 10px 14px rgba(16,24,40,.10))}
.hsg-item h3{font-size:15px;margin:12px 0 0;font-weight:600;letter-spacing:-.01em}.hsg-link{text-decoration:none;color:inherit}.hsg-item.is-hidden{display:none}.hsg-anim-fade-up .hsg-item.is-visible{animation:hsgFadeUp .26s ease both}.hsg-anim-fade .hsg-item.is-visible{animation:hsgFade .2s ease both}@keyframes hsgFadeUp{from{opacity:0;transform:translateY(10px) scale(.99)}to{opacity:1;transform:none}}@keyframes hsgFade{from{opacity:0}to{opacity:1}}
.hsg-image-button:focus-visible{outline:3px solid var(--hsg-primary);outline-offset:6px}
.hsg-lightbox{position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,var(--hsg-lightbox-overlay,.82))!important;display:flex;align-items:center;justify-content:center;padding:36px!important;opacity:0;pointer-events:none;transition:opacity .18s ease;backdrop-filter:none!important}
.hsg-lightbox.is-open{opacity:1;pointer-events:auto}
.hsg-lightbox-inner{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#ffffff!important;width:auto!important;height:auto!important;max-width:min(92vw, calc(var(--hsg-lightbox-img-w,680px) + (var(--hsg-lightbox-padding,30px) * 2)))!important;max-height:calc(100vh - 80px)!important;padding:var(--hsg-lightbox-padding,30px)!important;border-radius:var(--hsg-lightbox-radius,8px)!important;box-shadow:0 28px 90px rgba(0,0,0,.38)!important;box-sizing:border-box!important;overflow:visible!important;animation:hsgLightboxIn .16s ease both}
.hsg-lightbox-frame{display:flex!important;align-items:center!important;justify-content:center!important;background:#ffffff!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:calc(100vh - 80px - (var(--hsg-lightbox-padding,30px) * 2))!important;overflow:visible!important;box-sizing:border-box!important}
.hsg-lightbox img{display:block!important;width:auto!important;height:auto!important;max-width:min(var(--hsg-lightbox-img-w,680px), calc(92vw - (var(--hsg-lightbox-padding,30px) * 2)))!important;max-height:min(var(--hsg-lightbox-img-h,78vh), calc(100vh - 110px - (var(--hsg-lightbox-padding,30px) * 2)))!important;object-fit:contain!important;object-position:center center!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;margin:auto!important;padding:0!important;transform:none!important;opacity:1!important}
.hsg-lightbox-close{position:absolute!important;right:-18px!important;top:-18px!important;width:42px!important;height:42px!important;border:0!important;border-radius:999px!important;background:#ffffff!important;color:#111827!important;font-size:26px!important;line-height:1!important;cursor:pointer!important;box-shadow:0 10px 30px rgba(0,0,0,.28)!important;z-index:1000001!important;display:flex!important;align-items:center!important;justify-content:center!important}
.hsg-lightbox-close:hover{transform:scale(1.04)}
@keyframes hsgLightboxIn{from{opacity:0;transform:scale(.985)}to{opacity:1;transform:scale(1)}}



/* v4.9 Profesyonel hover: Retail Showcase / Market vitrini. CSS only, JS yok. */
@media (hover:hover) and (pointer:fine){
  .hamle-stand-gallery .hsg-item{position:relative;isolation:isolate}
  .hamle-stand-gallery .hsg-image-button::before,
  .hamle-stand-gallery .hsg-image-button::after{content:"";position:absolute;left:50%;pointer-events:none;opacity:0;transition:opacity .24s ease,transform .24s ease;z-index:-1}
  .hamle-stand-gallery .hsg-image-button::before{bottom:6%;width:86%;height:70%;transform:translateX(-50%) translateY(4px) scale(.96);border-radius:18px;background:linear-gradient(to right,var(--hsg-hover-line-color,#1F2937) 1px,transparent 1px),linear-gradient(to bottom,var(--hsg-hover-line-color,#1F2937) 1px,transparent 1px),radial-gradient(ellipse at center,rgba(0,0,0,.55),transparent 70%);background-size:46px 100%,100% 58px,100% 100%;background-color:#fff;}
  .hamle-stand-gallery .hsg-image-button::after{bottom:1px;width:58%;height:20px;transform:translateX(-50%) scale(.94);border-radius:999px;background:radial-gradient(ellipse at center,rgba(0,0,0,.85),transparent 72%)}
  .hamle-stand-gallery.hsg-hover-soft-zoom .hsg-image-button:hover img{transform:translateY(-5px) scale(var(--hsg-hover-scale,1.04))!important}
  .hamle-stand-gallery.hsg-hover-premium-shadow .hsg-image-button:hover img{transform:translateY(-7px) scale(var(--hsg-hover-scale,1.04))!important;filter:drop-shadow(0 24px 26px rgba(0,0,0,var(--hsg-hover-shadow-opacity,.16)))}
  .hamle-stand-gallery.hsg-hover-retail-showcase .hsg-image-button:hover::before{opacity:var(--hsg-hover-bg-opacity,.08);transform:translateX(-50%) translateY(0) scale(1)}
  .hamle-stand-gallery.hsg-hover-retail-showcase .hsg-image-button:hover::after{opacity:var(--hsg-hover-shadow-opacity,.16);transform:translateX(-50%) translateY(0) scale(1)}
  .hamle-stand-gallery.hsg-hover-retail-showcase .hsg-image-button:hover img{transform:translateY(-8px) scale(var(--hsg-hover-scale,1.04))!important;filter:drop-shadow(0 24px 28px rgba(0,0,0,var(--hsg-hover-shadow-opacity,.16)))}
}

@media(max-width:1100px){.hsg-filters{grid-template-columns:repeat(3,minmax(140px,1fr))}.hsg-grid{grid-template-columns:repeat(var(--hsg-tablet),minmax(0,1fr))}.hsg-item img{max-height:calc(var(--hsg-tile-h,360px) * .88)!important}}
@media(max-width:720px){.hamle-stand-gallery{padding-left:16px;padding-right:16px}.hsg-title{font-size:clamp(34px,10vw,44px);line-height:.98;margin-bottom:24px}.hsg-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:32px}.hsg-filter{min-height:70px;padding:13px 10px;font-size:calc(var(--hsg-filter-size) - 1px);font-weight:var(--hsg-filter-weight);border-radius:calc(var(--hsg-filter-radius) - 2px);line-height:1.08;display:flex;align-items:center;justify-content:center}.hsg-filter.is-active{font-weight:var(--hsg-filter-active-weight)}.hsg-grid{grid-template-columns:repeat(var(--hsg-mobile),minmax(0,1fr));column-gap:24px;row-gap:34px}.hsg-image-button{height:auto!important}.hsg-item img{max-height:calc(300px * var(--hsg-mobile-boost,1.10))!important;max-width:min(100%, calc(var(--hsg-thumb-w,280px) * var(--hsg-mobile-boost,1.10)))!important}.hsg-lightbox{padding:22px!important}.hsg-lightbox-inner{max-width:calc(100vw - 44px)!important;max-height:calc(100vh - 70px)!important;padding:18px!important;border-radius:8px!important}.hsg-lightbox-frame{max-width:100%!important;max-height:calc(100vh - 106px)!important;min-width:0!important;min-height:0!important;background:#fff!important}.hsg-lightbox-close{right:-12px!important;top:-12px!important;width:38px!important;height:38px!important;font-size:23px!important}.hsg-lightbox img{max-width:calc(100vw - 80px)!important;max-height:calc(100vh - 130px)!important;background:transparent!important}}
@media(max-width:390px){.hsg-filter{font-size:15px;min-height:66px;border-radius:17px}.hsg-filters{gap:10px}.hamle-stand-gallery{padding-left:12px;padding-right:12px}.hsg-item img{max-height:calc(260px * var(--hsg-mobile-boost,1.10))!important}}

/* v4.7 Filigran - sadece istenirse çalışır */
.hsg-image-button{position:relative!important}
.hsg-watermark{position:absolute!important;z-index:3!important;pointer-events:none!important;opacity:var(--hsg-wm-opacity,.22)!important;color:#111827!important;font-size:var(--hsg-wm-size,15px)!important;font-weight:700!important;letter-spacing:.02em!important;line-height:1!important;padding:8px 10px!important;border-radius:999px!important;background:rgba(255,255,255,.72)!important;box-shadow:none!important;text-shadow:none!important;white-space:nowrap!important;backdrop-filter:blur(2px)!important}
.hsg-watermark img{display:block!important;max-width:96px!important;max-height:32px!important;width:auto!important;height:auto!important;opacity:1!important;background:transparent!important;transform:none!important}
.hsg-wm-bottom-right{right:12px!important;bottom:12px!important}.hsg-wm-bottom-left{left:12px!important;bottom:12px!important}.hsg-wm-top-right{right:12px!important;top:12px!important}.hsg-wm-top-left{left:12px!important;top:12px!important}.hsg-wm-center{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important}
.hsg-lightbox-watermark{position:absolute!important;z-index:5!important;pointer-events:none!important;opacity:var(--hsg-wm-opacity,.22)!important;color:#111827!important;font-size:calc(var(--hsg-wm-size,15px) + 3px)!important;font-weight:700!important;letter-spacing:.02em!important;line-height:1!important;padding:10px 13px!important;border-radius:999px!important;background:rgba(255,255,255,.72)!important;box-shadow:none!important;text-shadow:none!important;white-space:nowrap!important;backdrop-filter:blur(2px)!important}
.hsg-lightbox-watermark img{display:block!important;max-width:130px!important;max-height:42px!important;width:auto!important;height:auto!important;background:transparent!important;opacity:1!important}
.hsg-lightbox-watermark.hsg-wm-bottom-right{right:22px!important;bottom:22px!important}.hsg-lightbox-watermark.hsg-wm-bottom-left{left:22px!important;bottom:22px!important}.hsg-lightbox-watermark.hsg-wm-top-right{right:22px!important;top:22px!important}.hsg-lightbox-watermark.hsg-wm-top-left{left:22px!important;top:22px!important}.hsg-lightbox-watermark.hsg-wm-center{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important}
@media(max-width:720px){.hamle-stand-gallery:not(.hsg-watermark-mobile) .hsg-watermark,.hamle-stand-gallery:not(.hsg-watermark-mobile) ~ .hsg-lightbox .hsg-lightbox-watermark{display:none!important}.hsg-watermark{font-size:12px!important;padding:6px 8px!important}.hsg-lightbox-watermark{font-size:13px!important;padding:7px 9px!important}}

@media(max-width:720px){.hamle-stand-gallery:not(.hsg-hover-mobile) .hsg-image-button::before,.hamle-stand-gallery:not(.hsg-hover-mobile) .hsg-image-button::after{display:none!important}.hamle-stand-gallery:not(.hsg-hover-mobile) .hsg-image-button:hover img{transform:none!important;filter:none!important}}
