/* Nafis Mezoon V4.39 — quiet editorial icon navigation for image galleries.
   Overrides V4.26 text controls without changing slider/gallery click behavior. */
:root{
  --nm439-nav-fill:color-mix(in srgb,var(--bg-surface) 91%,transparent);
  --nm439-nav-line:color-mix(in srgb,var(--text-primary) 10%,transparent);
  --nm439-nav-active:color-mix(in srgb,var(--metal) 26%,transparent);
}
.nm439-chevron{
  width:20px;height:20px;display:block;flex:none;
  stroke:currentColor;stroke-width:1.65;
  transition:transform .2s ease;
  pointer-events:none;
}
/* Homepage full-bleed image slider */
.slider-nav-btn.slider-nav-prev,
.slider-nav-btn.slider-nav-next{
  width:44px!important;min-width:44px!important;height:44px!important;
  padding:0!important;display:grid;place-items:center;
  border-radius:50%!important;
  background:rgba(252,249,245,.88)!important;
  color:#423630!important;border:1px solid rgba(94,72,55,.12)!important;
  box-shadow:0 7px 23px -18px rgba(35,23,14,.28)!important;
  backdrop-filter:blur(12px);
}
.slider-nav-btn:hover:not(:disabled){
  background:#fff!important;border-color:rgba(159,130,104,.32)!important;
}
.slider-nav-btn:focus-visible,
#journal-prev:focus-visible,#journal-next:focus-visible,
body[data-page="product"] #content .nm412-nav:focus-visible,
body[data-page="product"] #content .nm439-lightbox-nav:focus-visible{
  outline:2px solid var(--metal)!important;outline-offset:3px;
}
/* Homepage hero reverses the physical left/right positions for English. */
html[dir="ltr"] .slider-nav-btn .nm439-chevron{transform:rotate(180deg)}
/* Journal carousel buttons retain disabled and click/scroll behavior */
#journal-prev,#journal-next{
  width:44px!important;min-width:44px!important;height:44px!important;
  padding:0!important;display:grid!important;place-items:center!important;
  border-radius:50%!important;
  color:var(--text-primary);
  background:var(--nm439-nav-fill);
  border:1px solid var(--nm439-nav-line);
  backdrop-filter:blur(10px);
}
#journal-prev:hover:not(:disabled),#journal-next:hover:not(:disabled){border-color:var(--nm439-nav-active)}
#journal-prev:disabled,#journal-next:disabled{opacity:.33!important}
/* Product galleries: both navigation overlays and lightbox actions use one visual language */
body[data-page="product"] #content .nm412-nav{
  width:44px!important;min-width:44px!important;height:44px!important;
  padding:0!important;border-radius:50%!important;
  display:grid!important;place-items:center!important;
  background:var(--nm439-nav-fill);
  border:1px solid var(--nm439-nav-line);
  box-shadow:0 7px 25px -19px rgba(46,31,21,.2);
  backdrop-filter:blur(10px);
}
body[data-page="product"] #content .nm412-nav:hover{
  border-color:var(--nm439-nav-active);
  background:var(--bg-surface);
}
body[data-page="product"] #content .nm439-lightbox-nav{
  width:44px;min-width:44px;height:44px;min-height:44px;
  padding:0;display:grid;place-items:center;
  background:var(--nm439-nav-fill);
  border:1px solid var(--nm439-nav-line);
  color:var(--text-primary);border-radius:50%;
  cursor:pointer;transition:background .2s,border-color .2s,transform .2s;
}
body[data-page="product"] #content .nm439-lightbox-nav:hover{
  background:var(--bg-surface);border-color:var(--nm439-nav-active);
  transform:translateY(-1px);
}
body[data-page="product"] #content .nm412-lightbox-actions{gap:clamp(18px,5vw,34px)}
body[data-page="product"] #content .nm412-lightbox-actions .nm439-lightbox-nav{padding:0!important;min-height:44px!important}
@media(max-width:500px){
 .slider-nav-btn.slider-nav-prev,.slider-nav-btn.slider-nav-next{
   width:42px!important;min-width:42px!important;height:42px!important;
 }
 body[data-page="product"] #content .nm412-nav{
   width:42px!important;min-width:42px!important;height:42px!important;
 }
 .nm439-chevron{width:18px;height:18px}
}
@media(prefers-reduced-motion:reduce){
 .nm439-chevron,
 body[data-page="product"] #content .nm439-lightbox-nav{transition:none!important}
}
