/* BANUK Atelier Viewer V3 — clean, airy gallery controls. Staging only. */
body.single-product dialog.bn-atp-dialog,
body.single-product dialog.bn-gallery-modal {
  --bn-surface:#faf8f5;
  --bn-line:#e9e3df;
  --bn-ink:#231c23;
  background:var(--bn-surface)!important;
  padding:clamp(88px,10vh,110px) clamp(12px,6vw,88px) clamp(142px,21vh,185px)!important;
}
body.single-product dialog .bn-lb-caption {
  left:clamp(18px,3vw,52px);top:18px;transform:none;
  color:#6e5d69;font-size:11px;letter-spacing:.22em;font-weight:700;
}
body.single-product dialog .bn-lb-product-title {
  position:absolute;top:42px;left:clamp(18px,3vw,52px);z-index:10;
  max-width:min(63vw,640px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  color:#252125;font-size:clamp(13px,1.15vw,17px);font-weight:600;line-height:1.5;
  direction:rtl;text-align:left;pointer-events:none;
}
body.single-product dialog.bn-atp-dialog .bn-atp-dialog-close,
body.single-product dialog.bn-gallery-modal .bn-gallery-close,
body.single-product dialog .bn-lb-zoom-button {
  top:clamp(18px,3vh,30px)!important;inset-block-start:auto!important;
  width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;
  border:1px solid #e5dadf!important;border-radius:13px!important;
  background:#ffffffed!important;color:#382c38!important;
  box-shadow:0 5px 17px rgba(42,30,37,.07)!important;
}
body.single-product dialog.bn-atp-dialog .bn-atp-dialog-close,
body.single-product dialog.bn-gallery-modal .bn-gallery-close {right:clamp(17px,3vw,48px)!important;left:auto!important;}
body.single-product dialog .bn-lb-zoom-button {
  left:auto!important;right:calc(clamp(17px,3vw,48px) + 56px)!important;
}
body.single-product dialog .bn-lb-zoom-button[aria-pressed="true"]{background:#3e2346!important;color:#fff!important;}
body.single-product dialog.bn-atp-dialog .bn-atp-dialog-prev,
body.single-product dialog.bn-atp-dialog .bn-atp-dialog-next,
body.single-product dialog.bn-gallery-modal .bn-gallery-arrow {
  border-radius:15px!important;background:rgba(255,255,255,.94)!important;
  border:1px solid var(--bn-line)!important;color:#372a37!important;
  width:48px!important;height:54px!important;min-width:48px!important;min-height:54px!important;
  box-shadow:0 5px 22px rgba(42,30,37,.08)!important;
}
body.single-product dialog.bn-atp-dialog>img,
body.single-product dialog.bn-gallery-modal .bn-gallery-view,
body.single-product dialog.bn-color-dialog img.bn-color-modal-image {
  border-radius:3px!important;
  filter:drop-shadow(0 10px 24px rgba(48,36,42,.045));
}
body.single-product dialog .bn-lb-strip {
  height:91px;bottom:43px;gap:9px;
  padding:10px 12px;max-width:min(87vw,760px);
  border:1px solid #e9e1e0;border-radius:15px;
  background:rgba(255,255,255,.94);
  box-shadow:0 11px 36px rgba(40,29,36,.07);
  scrollbar-width:thin;
}
body.single-product dialog .bn-lb-thumb {
  height:70px;width:57px;flex-basis:57px;
  border:1px solid #e9e5e2;border-radius:9px;
  opacity:.65;background:#f9f7f4;
  transition:opacity .17s ease,border-color .17s ease,transform .17s ease;
}
body.single-product dialog .bn-lb-thumb:hover{opacity:1;transform:translateY(-1px);}
body.single-product dialog .bn-lb-thumb[aria-current="true"] {
  opacity:1;border:2px solid #3e2346;
}
body.single-product dialog .bn-atp-dialog-counter,
body.single-product dialog .bn-gallery-count {
  bottom:max(13px,env(safe-area-inset-bottom))!important;
  border:0;background:transparent!important;
  font-weight:700!important;font-variant-numeric:tabular-nums;min-width:72px;
}
body.single-product dialog .bn-lb-hint {
  position:absolute;bottom:18px;right:clamp(18px,3vw,50px);
  color:#786e74;font-size:11px;font-weight:500;direction:rtl;
  pointer-events:none;
}
body.single-product dialog.bn-atp-dialog button:focus-visible,
body.single-product dialog.bn-gallery-modal button:focus-visible{outline:3px solid #69436f!important;outline-offset:2px!important;}
@media(max-width:640px) {
 body.single-product dialog.bn-atp-dialog,body.single-product dialog.bn-gallery-modal {
  padding:76px 8px 135px!important;
 }
 body.single-product dialog .bn-lb-caption{top:14px;left:16px;font-size:9px;}
 body.single-product dialog .bn-lb-product-title{top:33px;left:16px;font-size:12px;max-width:calc(100vw - 142px);}
 body.single-product dialog.bn-atp-dialog .bn-atp-dialog-close,
 body.single-product dialog.bn-gallery-modal .bn-gallery-close,
 body.single-product dialog .bn-lb-zoom-button {
   width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;
   top:16px!important;border-radius:12px!important;
 }
 body.single-product dialog.bn-atp-dialog .bn-atp-dialog-close,
 body.single-product dialog.bn-gallery-modal .bn-gallery-close{right:12px!important;}
 body.single-product dialog .bn-lb-zoom-button{right:59px!important;}
 body.single-product dialog.bn-atp-dialog .bn-atp-dialog-prev,
 body.single-product dialog.bn-atp-dialog .bn-atp-dialog-next,
 body.single-product dialog.bn-gallery-modal .bn-gallery-arrow {
  top:51%!important;width:42px!important;height:48px!important;min-width:42px!important;min-height:48px!important;
  border-radius:13px!important;
 }
 body.single-product dialog .bn-lb-strip{
  bottom:39px;height:74px;max-width:calc(100vw - 24px);
  padding:7px 9px;border-radius:12px;
 }
 body.single-product dialog .bn-lb-thumb{height:58px;width:47px;flex-basis:47px;border-radius:7px;}
 body.single-product dialog .bn-lb-hint{display:none;}
 body.single-product dialog .bn-lb-swipe{bottom:121px;}
}
@media(prefers-reduced-motion:reduce) {
 body.single-product dialog .bn-lb-thumb{transition:none!important;}
}
