/* =========================================================
   NEW ARRIVALS — SCROLL SAME AS LIBRARY BLOG
   ========================================================= */
#arrivals #newArrivalsBlogStyleViewport{
  position:relative !important;
  overflow:hidden !important;
  width:100% !important;
}

#arrivals #newArrivalsBlogStyleTrack{
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:18px !important;
  width:auto !important;
  max-width:none !important;
  transform:none !important;
  transition:none !important;
  animation:none !important;
  scroll-behavior:smooth !important;
}

/* 4 cards visible on desktop, matching the Blog carousel rhythm */
#arrivals #newArrivalsBlogStyleTrack > *{
  flex:0 0 calc((100% - 54px)/4) !important;
  width:calc((100% - 54px)/4) !important;
  min-width:calc((100% - 54px)/4) !important;
  box-sizing:border-box !important;
}

/* Arrow placement like Library Blog */
#arrivals #newArrivalsBlogPrev,
#arrivals #newArrivalsBlogNext{
  position:absolute !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  z-index:30 !important;
  width:42px !important;
  height:42px !important;
  border-radius:50% !important;
  display:grid !important;
  place-items:center !important;
  pointer-events:auto !important;
  cursor:pointer !important;
}

#arrivals #newArrivalsBlogPrev{
  left:-16px !important;
}

#arrivals #newArrivalsBlogNext{
  right:-16px !important;
}

@media(max-width:1000px){
  #arrivals #newArrivalsBlogStyleTrack > *{
    flex-basis:calc((100% - 36px)/3) !important;
    width:calc((100% - 36px)/3) !important;
    min-width:calc((100% - 36px)/3) !important;
  }
}

@media(max-width:760px){
  #arrivals #newArrivalsBlogStyleTrack > *{
    flex-basis:calc((100% - 18px)/2) !important;
    width:calc((100% - 18px)/2) !important;
    min-width:calc((100% - 18px)/2) !important;
  }
  #arrivals #newArrivalsBlogPrev{left:4px !important}
  #arrivals #newArrivalsBlogNext{right:4px !important}
}

@media(max-width:520px){
  #arrivals #newArrivalsBlogStyleTrack > *{
    flex-basis:84% !important;
    width:84% !important;
    min-width:84% !important;
  }
}
